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

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

:root {
    --teal: #14b8a6;
    --dark-teal: #0d9488;
    --light-teal: #5eead4;
    --slate: #0f172a;
    --gray: #334155;
    --light: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--slate);
    color: var(--light);
    line-height: 1.7;
}

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

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 35px;
    max-width: 1500px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area svg {
    width: 42px;
    height: 42px;
}

.site-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--teal);
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-menu a {
    font-weight: 500;
    transition: color 0.3s;
}

.main-menu a:hover {
    color: var(--teal);
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--teal);
}

/* Hero */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    padding: 100px 40px;
    gap: 50px;
    background: linear-gradient(135deg, var(--slate), var(--gray));
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.15;
}

.hero-text h1 span {
    color: var(--teal);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 500px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--teal);
    color: var(--slate);
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: var(--light-teal);
    transform: translateY(-2px);
}

.hero-game {
    background: var(--gray);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.hero-game iframe {
    width: 100%;
    height: 480px;
    border: none;
    border-radius: 10px;
}

/* Info Section */
.info-section {
    padding: 80px 30px;
    background: var(--gray);
}

.info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
}

.info-card {
    background: var(--slate);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(20, 184, 166, 0.15);
}

.info-card .icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.info-card h3 {
    color: var(--teal);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

/* Game Area */
.game-area {
    padding: 100px 30px;
    background: var(--slate);
}

.area-title {
    text-align: center;
    margin-bottom: 50px;
}

.area-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.area-title h2 span {
    color: var(--teal);
}

.game-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--gray);
    border-radius: 20px;
    padding: 20px;
    border: 2px solid var(--teal);
}

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

/* Features */
.features-section {
    padding: 100px 30px;
    background: linear-gradient(180deg, var(--gray), var(--slate));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(20, 184, 166, 0.08);
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(20, 184, 166, 0.15);
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    color: var(--light-teal);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Footer */
.main-footer {
    background: var(--slate);
    padding: 55px 30px 30px;
    border-top: 1px solid rgba(20, 184, 166, 0.2);
}

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

.help-section h4 {
    color: var(--teal);
    margin-bottom: 18px;
}

.help-section a {
    color: var(--light-teal);
    margin: 0 15px;
    transition: opacity 0.3s;
}

.help-section a:hover {
    opacity: 0.7;
}

.footer-copy {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(248, 250, 252, 0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Age Check */
.age-check {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.check-box {
    background: var(--gray);
    border: 2px solid var(--teal);
    border-radius: 20px;
    padding: 45px 40px;
    text-align: center;
    max-width: 480px;
}

.check-box h2 {
    color: var(--teal);
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.check-box p {
    margin-bottom: 28px;
    opacity: 0.9;
}

.check-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.check-btns button {
    padding: 13px 38px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-confirm {
    background: var(--teal);
    color: var(--slate);
    border: none;
}

.btn-confirm:hover {
    background: var(--light-teal);
}

.btn-exit {
    background: transparent;
    border: 1px solid var(--light);
    color: var(--light);
}

.btn-exit:hover {
    background: rgba(248, 250, 252, 0.1);
}

/* Page Title */
.page-title {
    padding: 145px 30px 75px;
    text-align: center;
    background: linear-gradient(135deg, var(--slate), var(--gray));
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.page-title h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-title h1 span {
    color: var(--teal);
}

/* Content Area */
.content-area {
    padding: 65px 30px;
    max-width: 880px;
    margin: 0 auto;
}

.content-area h2 {
    color: var(--teal);
    font-size: 1.35rem;
    margin: 32px 0 16px;
}

.content-area h2:first-child {
    margin-top: 0;
}

.content-area p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.content-area ul {
    margin: 16px 0 16px 26px;
}

.content-area li {
    margin-bottom: 9px;
}

/* Play Page */
.play-title {
    padding: 135px 30px 45px;
    text-align: center;
}

.play-title h1 {
    font-size: 2.6rem;
    margin-bottom: 18px;
}

.play-title h1 span {
    color: var(--teal);
}

.play-title .desc {
    max-width: 680px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .info-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--slate);
        padding: 22px;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.4s;
        border-bottom: 1px solid var(--teal);
    }
    
    .main-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-menu ul {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .hero-game iframe {
        height: 350px;
    }
    
    .info-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .game-wrapper iframe {
        height: 380px;
    }
    
    .check-box {
        margin: 20px;
        padding: 32px 22px;
    }
    
    .check-btns {
        flex-direction: column;
    }
}
