* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: #2d3436;
    background: #f8f9fa;
}

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(10px);
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3.5rem 3rem;
    border-radius: 25px;
    text-align: center;
    max-width: 480px;
    color: white;
    box-shadow: 0 25px 80px rgba(102, 126, 234, 0.5);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.age-modal-content p {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    opacity: 0.95;
}

.age-question {
    font-weight: 600;
    font-size: 1.15rem !important;
    margin-top: 1.5rem !important;
}

.age-actions {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.age-actions button {
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-confirm {
    background: #06d6a0;
    color: white;
}

.btn-confirm:hover {
    background: #05b589;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 214, 160, 0.4);
}

.btn-deny {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-deny:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.top-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.top-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #06d6a0;
    transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-item:hover {
    color: white;
}

.nav-item.active {
    color: white;
    font-weight: 600;
}

.page-content {
    min-height: 100vh;
}

.banner {
    background: linear-gradient(135deg, #06d6a0 0%, #05b589 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
}

.banner-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.banner-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features {
    padding: 5rem 0;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.feature-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #06d6a0;
    box-shadow: 0 15px 40px rgba(6, 214, 160, 0.2);
}

.feature-emoji {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #667eea;
    font-weight: 700;
}

.game-section {
    padding: 5rem 0;
    background: #f1f3f5;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #2d3436;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    font-size: 1.2rem;
    color: #636e72;
}

.game-wrapper {
    width: 100%;
    height: 650px;
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.game-embed {
    width: 100%;
    height: 100%;
    border: none;
}

.content-blocks {
    padding: 5rem 0;
    background: white;
}

.block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.content-block {
    padding: 3rem;
    border-radius: 20px;
    color: white;
}

.content-block.teal {
    background: linear-gradient(135deg, #06d6a0 0%, #05b589 100%);
}

.content-block.purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.content-block.mint {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.content-block h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.content-block p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.play-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.play-intro h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.intro-text {
    font-size: 1.3rem;
}

.game-info {
    padding: 3rem 0;
    background: white;
}

.info-panel {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid #06d6a0;
}

.info-panel h3 {
    font-family: 'Montserrat', sans-serif;
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.play-instructions {
    list-style-position: inside;
    line-height: 2.2;
}

.play-instructions li {
    margin-bottom: 0.5rem;
}

.game-area {
    padding: 3rem 0 5rem 0;
    background: white;
}

.legal-page {
    padding: 5rem 0;
    background: white;
}

.legal-page h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.last-updated {
    color: #636e72;
    font-style: italic;
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9rem;
    color: #2d3436;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.9;
}

.legal-section ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #ffc107;
}

.highlight-box h2 {
    color: #856404;
}

.highlight-box p {
    color: #856404;
}

.main-footer {
    background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
    color: white;
    padding: 4rem 0 2rem 0;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.help-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.help-links a {
    color: #06d6a0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.help-links a:hover {
    color: #05b589;
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .top-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .top-nav.active {
        transform: translateX(0);
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .banner-badges {
        flex-direction: column;
        align-items: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .game-wrapper {
        height: 450px;
    }

    .block-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .play-intro h1 {
        font-size: 2.2rem;
    }

    .legal-page h1 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
