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

:root {
    --gradient-1: #667eea;
    --gradient-2: #764ba2;
    --gradient-3: #f093fb;
    --accent: #00d9ff;
    --white: #ffffff;
    --dark: #1e1e2e;
    --gray: #6b7280;
}

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

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 50%, var(--gradient-3) 100%);
    min-height: 100vh;
    color: var(--white);
    line-height: 1.7;
}

.wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

header {
    background: rgba(30, 30, 46, 0.9);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

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

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

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: 0.3s;
}

.menu-toggle.open span:first-child {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
}

.intro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 25px 80px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.intro-text h1 {
    font-family: 'Righteous', cursive;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.intro-text h1 .highlight {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.intro-text p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 35px;
    font-weight: 300;
}

.cta-btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--accent);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.5);
}

.intro-visual {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-visual iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 20px;
}

.cards-row {
    padding: 80px 25px;
    background: rgba(30, 30, 46, 0.5);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-family: 'Righteous', cursive;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.card p {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 300;
}

.game-area {
    padding: 100px 25px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Righteous', cursive;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.game-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(30, 30, 46, 0.8);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.game-wrapper iframe {
    width: 100%;
    height: 550px;
    border: none;
    border-radius: 20px;
}

.about-block {
    padding: 100px 25px;
    background: rgba(30, 30, 46, 0.7);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-family: 'Righteous', cursive;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--accent);
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 300;
}

.features-section {
    padding: 80px 25px;
}

.features-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 20px 35px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.2);
}

.feature-pill .icon {
    font-size: 1.5rem;
}

.feature-pill span {
    font-weight: 600;
}

footer {
    background: var(--dark);
    padding: 60px 25px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.responsible-row {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.responsible-row p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 15px;
}

.responsible-row a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.85rem;
}

.responsible-row a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 25px;
    font-size: 0.8rem;
    opacity: 0.5;
}

.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(30, 30, 46, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-box {
    background: linear-gradient(145deg, var(--gradient-1), var(--gradient-2));
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.age-modal-box h2 {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    margin-bottom: 20px;
}

.age-modal-box p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.age-modal-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.age-modal-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.age-modal-btn.accept {
    background: var(--accent);
    color: var(--dark);
}

.age-modal-btn.accept:hover {
    transform: scale(1.05);
}

.age-modal-btn.decline {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.age-modal-btn.decline:hover {
    background: rgba(255, 255, 255, 0.3);
}

.page-top {
    padding: 150px 25px 70px;
    text-align: center;
    background: rgba(30, 30, 46, 0.5);
}

.page-top h1 {
    font-family: 'Righteous', cursive;
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-top p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.page-body {
    padding: 60px 25px;
    max-width: 900px;
    margin: 0 auto;
}

.page-body h2 {
    font-family: 'Righteous', cursive;
    font-size: 1.6rem;
    color: var(--accent);
    margin: 40px 0 18px;
}

.page-body p {
    margin-bottom: 18px;
    opacity: 0.9;
}

.page-body ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-body li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.play-info-box {
    background: rgba(0, 217, 255, 0.15);
    border-radius: 20px;
    padding: 25px 30px;
    margin-bottom: 40px;
    border-left: 5px solid var(--accent);
}

.play-info-box h3 {
    font-family: 'Righteous', cursive;
    color: var(--accent);
    margin-bottom: 10px;
}

.play-info-box p {
    margin: 0;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .intro-text h1 {
        font-size: 2.5rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: rgba(30, 30, 46, 0.98);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    nav.open {
        max-height: 350px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li a::before {
        display: none;
    }
    
    .intro-text h1 {
        font-size: 2rem;
    }
    
    .game-wrapper iframe,
    .intro-visual iframe {
        height: 350px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .responsible-row a {
        display: block;
        margin: 10px 0;
    }
    
    .age-modal-btns {
        flex-direction: column;
    }
    
    .age-modal-btn {
        width: 100%;
    }
    
    .features-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-pill {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
