@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --arctic-blue: #0f172a;
    --ice-blue: #1e3a5f;
    --glacier: #38bdf8;
    --frost: #7dd3fc;
    --snow-white: #f0f9ff;
    --aurora-green: #34d399;
    --deep-ice: #0c1426;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--arctic-blue);
    color: var(--snow-white);
    line-height: 1.8;
}

.top-nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.92) 100%);
    backdrop-filter: blur(8px);
}

.top-nav-inner {
    max-width: 1350px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--glacier);
    text-decoration: none;
    letter-spacing: 2px;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--frost);
    margin: 6px 0;
    transition: 0.3s;
    border-radius: 1px;
}

.mobile-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-list ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--frost);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--glacier);
}

.site-wrapper {
    padding-top: 80px;
}

.welcome-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 20% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(52, 211, 153, 0.08) 0%, transparent 50%),
                var(--arctic-blue);
    padding: 4rem 2rem;
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.welcome-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--snow-white);
}

.welcome-content h1 span {
    color: var(--glacier);
}

.welcome-content p {
    font-size: 1.15rem;
    color: var(--frost);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.frost-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--arctic-blue);
    background: linear-gradient(135deg, var(--glacier), var(--frost));
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.frost-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

.section-area {
    max-width: 1350px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.area-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--glacier);
}

.ice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.ice-card {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.6), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
}

.ice-card:hover {
    border-color: var(--glacier);
    transform: translateY(-5px);
}

.ice-card .symbol {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.ice-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--snow-white);
    margin-bottom: 1rem;
}

.ice-card p {
    color: var(--frost);
    font-size: 0.95rem;
    font-weight: 300;
}

.game-zone {
    background: var(--deep-ice);
    padding: 5rem 2rem;
}

.game-frame {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--arctic-blue);
    border: 2px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.game-frame iframe {
    width: 100%;
    height: 570px;
    border: none;
    display: block;
}

.duo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.duo-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--glacier);
    margin-bottom: 1.5rem;
}

.duo-text p {
    color: var(--frost);
    margin-bottom: 1rem;
    font-weight: 300;
}

.duo-image {
    background: linear-gradient(135deg, var(--ice-blue), var(--arctic-blue));
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.bottom-footer {
    background: var(--deep-ice);
    padding: 3.5rem 2rem;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.bottom-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--frost);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--glacier);
}

.help-resources {
    padding-top: 2rem;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.help-resources p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.help-resources a {
    color: var(--aurora-green);
    margin: 0 0.75rem;
    text-decoration: none;
    font-size: 0.85rem;
}

.help-resources a:hover {
    text-decoration: underline;
}

.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 20, 38, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-box {
    background: linear-gradient(135deg, var(--ice-blue), var(--arctic-blue));
    border: 2px solid var(--glacier);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 480px;
    margin: 1rem;
}

.age-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--glacier);
    margin-bottom: 1.5rem;
}

.age-box p {
    color: var(--frost);
    margin-bottom: 2rem;
    font-weight: 300;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-yes {
    background: linear-gradient(135deg, var(--glacier), var(--frost));
    color: var(--arctic-blue);
}

.btn-no {
    background: transparent;
    border: 1px solid var(--frost) !important;
    color: var(--frost);
}

.btn-yes:hover, .btn-no:hover {
    transform: scale(1.05);
}

.page-top {
    padding: 9rem 2rem 4rem;
    text-align: center;
    background: radial-gradient(ellipse at center top, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
}

.page-top h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--glacier);
}

.text-area {
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.text-area h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--glacier);
    margin: 2.5rem 0 1rem;
}

.text-area p {
    color: var(--frost);
    margin-bottom: 1rem;
    font-weight: 300;
}

.text-area ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.text-area li {
    color: var(--frost);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.game-instructions {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.5), rgba(15, 23, 42, 0.7));
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.game-instructions h3 {
    font-family: 'Playfair Display', serif;
    color: var(--glacier);
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .duo-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--arctic-blue);
        padding: 5rem 2rem;
        transition: right 0.3s;
        border-left: 1px solid rgba(56, 189, 248, 0.2);
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .top-nav-inner {
        padding: 1rem 1.5rem;
    }
    
    .section-area {
        padding: 4rem 1.5rem;
    }
    
    .game-frame iframe {
        height: 400px;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .page-top h1 {
        font-size: 2rem;
    }
}
