@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;600;700&family=Inter:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0D1117;
    color: #C9D1D9;
    min-height: 100vh;
    line-height: 1.7;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

header {
    background: #161B22;
    border-bottom: 1px solid #00D9A3;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #00D9A3;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-icon {
    width: 45px;
    height: 45px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: #8B949E;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00D9A3;
    transition: width 0.3s ease;
}

nav a:hover::before {
    width: 100%;
}

nav a:hover {
    color: #00D9A3;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #00D9A3;
    border-radius: 2px;
    transition: all 0.3s ease;
}

main {
    padding: 3rem 0;
}

.hero {
    background: #161B22;
    padding: 5rem 3rem;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 3rem;
    border: 1px solid #30363D;
}

h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 4.5rem;
    color: #00D9A3;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    color: #6EE7B7;
    margin: 2.5rem 0 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.9rem;
    color: #00D9A3;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.subtitle {
    font-size: 1.4rem;
    color: #8B949E;
    font-weight: 400;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.notice-card {
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 5px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.notice-card:hover {
    border-color: #00D9A3;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 217, 163, 0.2);
}

.notice-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.game-container {
    background: #161B22;
    border: 1px solid #00D9A3;
    border-radius: 5px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 3px;
    background: #000;
}

.content-section {
    background: #161B22;
    border-left: 3px solid #00D9A3;
    padding: 2.5rem;
    margin: 2.5rem 0;
    border-radius: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.feature-box {
    background: #0D1117;
    padding: 2rem;
    border-radius: 5px;
    border: 1px solid #30363D;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: #00D9A3;
    transform: translateX(5px);
}

footer {
    background: #161B22;
    border-top: 1px solid #00D9A3;
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.responsible-links a {
    color: #0D1117;
    background: #00D9A3;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 3px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.responsible-links a:hover {
    background: #6EE7B7;
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    color: #8B949E;
    font-size: 0.95rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #161B22;
    padding: 3rem;
    border-radius: 5px;
    text-align: center;
    max-width: 500px;
    border: 2px solid #00D9A3;
}

.modal-content h2 {
    margin-top: 0;
    color: #00D9A3;
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 3px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-yes {
    background: #00D9A3;
    color: #0D1117;
}

.btn-yes:hover {
    background: #6EE7B7;
    transform: scale(1.05);
}

.btn-no {
    background: #F85149;
    color: white;
}

.btn-no:hover {
    background: #DA3633;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #161B22;
        transition: right 0.3s ease;
        padding: 5rem 2rem;
        border-left: 1px solid #00D9A3;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .game-frame {
        height: 500px;
    }

    .notice-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}
