@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

body {
    background-color: white;
    color: #333;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

header {
    background-color: white;
    padding-top: 40px;
    padding-bottom: 30px;
    text-align: center;
}

.main-title {
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0 40px 0;
    letter-spacing: -2px;
}

.main-title a {
    color: black;
}

.gnb {
    background-color: #8F00FF;
    border-radius: 6px;
    padding: 0;
    overflow: hidden;

    width: 100%;
    margin: 0 auto;

    display: flex;
}

.gnb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    width: 100%;
}

.gnb li {
    flex: 1;
    text-align: center;
}

.gnb a {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
    transition: 0.1s;
}

.gnb a:hover,
.gnb a.active {
    background-color: #6400C4;
    color: white;
    font-weight: 800;
}

.sub-gnb {
    margin-top: 15px;
    text-align: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.sub-gnb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 40px;
}

.sub-gnb a {
    font-size: 1rem;
    color: #888;
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.sub-gnb a:hover,
.sub-gnb a.sub-active {
    color: #6200ea;
    border-bottom: 2px solid #6200ea;
    font-weight: bold;
}

.year-selector {
    text-align: left;
    margin-bottom: 20px;
}

.year-btn {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #555;
    font-size: 0.9rem;
    background: white;
    margin-right: 5px;
    transition: 0.2s;
}

.year-btn:hover {
    background: #f5f5f5;
}

.year-btn.year-active {
    background: #333;
    color: white;
    border-color: #333;
}

.content-area {
    padding: 0 20px 50px 20px;
    text-align: center;
    line-height: 1.6;
    color: #666;
    min-height: 500px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 10px;
}

.awards-top-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
    margin-top: 30px;
}

.top-card {
    flex: 1;
    text-align: center;
}

.top-card h3 {
    margin: 15px 0 5px 0;
    font-size: 1.2rem;
    color: #333;
}

.top-card p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 50px 0;
}

.awards-category {
    margin-bottom: 60px;
    text-align: left;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 5px solid #E8D9FF;
}

.nominee-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.nominee-card {
    text-align: center;
}

.nominee-name {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #444;
    font-weight: bold;
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {

    .awards-top-section {
        flex-direction: column;
    }

    .nominee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.simple-intro {
    max-width: 800px;
    margin: 50px auto;
    text-align: left;
    padding: 0 20px;
    color: #333;
}

.intro-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.intro-group {
    margin-bottom: 40px;
}

.intro-group h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.intro-group p {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    color: #444;
}

strong {
    color: #000;
    font-weight: 800;
}

.small-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

@media (max-width: 768px) {

    .container {
        padding: 0 15px;
    }

    .content-area {
        padding: 20px 10px;
    }

    header {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .gnb {
        height: auto;
        border-radius: 8px;
    }

    .gnb ul {
        flex-wrap: wrap;
    }

    .gnb li {
        flex: 0 0 50%;
        width: 50%;
        box-sizing: border-box;

        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .gnb li:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }

    .gnb li:nth-last-child(1),
    .gnb li:nth-last-child(2) {
        border-bottom: none;
    }

    .gnb a {
        padding: 12px 0;
        font-size: 0.95rem;
    }

    .sub-gnb {
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .sub-gnb ul {
        gap: 20px;
        justify-content: center;
    }

    .sub-gnb a {
        font-size: 0.9rem;
    }

    .awards-top-section {
        flex-direction: column;
        gap: 30px;
    }

    .top-card {
        margin-bottom: 10px;
    }

    .nominee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .nominee-name {
        font-size: 0.85rem;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .video-title {
        font-size: 0.85rem;
        padding: 8px;
    }

    .video-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .video-thumbnail {
        width: 100px;
        height: auto;
    }

    .comment-table th,
    .comment-table td {
        padding: 8px;
        font-size: 0.85rem;
    }

    .comment-table td:first-child {
        width: 30%;
        min-width: 60px;
    }

    .simple-intro {
        padding: 0 5px;
        margin: 30px auto;
    }

    .intro-title {
        font-size: 1.3rem;
    }
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
        max-width: 80%;
    }
}

.channel-btn {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 8px;
    font-size: 0.8rem;
    color: white;
    background-color: #ff0000;
    border-radius: 4px;
    text-decoration: none;
    vertical-align: middle;
    transition: 0.2s;
    font-weight: bold;
}

.channel-btn:hover {
    background-color: #cc0000;
}