:root {
    --primary: #007bff;
    --bg: #121212;
    --text: #fff;
    --muted: #b3b3b3;
    --card: #1e1e1e;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--text);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.3rem;
    cursor: default;
}

.menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    color: var(--text);
    text-decoration: none;
}

.btn-join {
    background: var(--primary);
    padding: 8px 16px;
    border-radius: 999px;
    color: white;
    transition: 0.2s;
}

.btn-join:hover {
    color: white;
    opacity: 0.85;
}

#hero {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80");

    background-size: cover;
    background-position: center;
}

#hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#hero h1 {
    font-size: 2.4rem;
    margin: 0;
}

#hero span {
    color: var(--primary);
}

#hero p {
    color: var(--muted);
    margin: 0;
}

.cta-button {
    margin-top: 10px;
    padding: 12px 22px;
    background: #f7e600;
    color: #000;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease !important;
}

.cta-button:hover {
    opacity: 0.9;
    background: #dfd005;
    transform: translateY(-2px) !important;
}

section {
    padding: 100px 0;
}

h2 {
    text-align: center;
    margin-bottom: 50px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    cursor: default;
    background: var(--card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

ul {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
}

footer {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #0d0d0d;
    color: var(--muted);
}

footer strong {
    color: var(--text);
    font-weight: 700;
}

footer .notice {
    font-size: 0.85rem;
    margin: 15px 0;
    line-height: 1.6;
    color: #888;
}

footer .notice strong {
    color: #ff4d4d;
    font-weight: normal;
}

.mobile-br {
    display: none;
}

footer .maker a {
    color: #777
}

#rules ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 800px;
}

#rules li {
    cursor: default;
    background: var(--card);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    color: var(--text);
    transition: transform 0.2s ease;
}

#rules li:hover {
    transform: translateX(10px);
    background: #252525;
}

#rules li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2rem;
}

#rules li.forbidden {
    border-left-color: #ff4d4d;
    color: #ff4d4d;
}

#rules li.forbidden::before {
    content: "✕";
    color: #ff4d4d;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.person-card {
    cursor: default;
    background: var(--card);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.person-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.person-card .img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.person-card h3 {
    margin: 10px 0 5px;
}

.role {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 10px;
}

.desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

.intro-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 10px auto 0;
    object-fit: contain;
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 1.7rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .menu {
        gap: 12px;
        font-size: 0.9rem;
    }

    section {
        padding: 60px 0;
    }

    #hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    #hero .container img {
        width: 120px !important;
    }

    .nav {
        height: auto;
        padding: 15px 0;
        flex-direction: column;
        gap: 10px;
    }

    .menu {
        gap: 15px;
        font-size: 0.85rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #rules ul {
        grid-template-columns: 1fr;
        width: 100%;
    }

    #rules li {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    #rules li:hover {
        transform: none;
    }

    footer {
        font-size: 0.8rem;
    }
}
