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

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

:root {
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --cyan-400: #22d3ee;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--slate-800);
}

a {
    color: var(--teal-600);
    text-decoration: none;
    transition: color 0.25s;
}

a:hover {
    color: var(--teal-500);
}

/* Top Navigation */
.top-nav {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-brand svg {
    width: 42px;
    height: 42px;
}

.site-brand span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--slate-800);
}

.menu-trigger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
}

.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-trigger span:nth-child(1) { top: 0; }
.menu-trigger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-trigger span:nth-child(3) { bottom: 0; }

.nav-menu ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-600);
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.selected {
    color: var(--teal-600);
}

/* Main Wrapper */
.main-wrapper {
    padding-top: 0;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--cyan-400) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.15;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-banner h1 .accent {
    color: var(--cyan-400);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.25s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
    color: white;
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Compliance Tags */
.compliance-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.tag svg {
    width: 18px;
    height: 18px;
    fill: var(--cyan-400);
}

/* Game Showcase */
.game-showcase {
    padding: 4rem 2rem;
    background: var(--slate-100);
}

.showcase-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.showcase-header h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.showcase-header p {
    color: var(--slate-600);
}

.game-frame {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.game-frame iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Highlights Grid */
.highlights-section {
    padding: 5rem 2rem;
    background: white;
}

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

.highlight-card {
    padding: 2rem;
    background: var(--slate-50);
    border-radius: 12px;
    border: 1px solid var(--slate-100);
    transition: all 0.3s;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    border-color: var(--teal-500);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.highlight-icon svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.highlight-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.highlight-card p {
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Bottom Footer */
.bottom-footer {
    background: var(--slate-900);
    padding: 3.5rem 2rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.support-links {
    display: flex;
    gap: 2rem;
}

.support-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.support-links a:hover {
    color: var(--cyan-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-nav a:hover {
    color: white;
}

.copyright-notice {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* Page Title Section */
.page-title-section {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    padding: 5rem 2rem 3rem;
    text-align: center;
}

.page-title-section h1 {
    font-size: 2.25rem;
    color: white;
}

/* Content Area */
.content-area {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.content-area h2 {
    font-size: 1.3rem;
    margin: 2.5rem 0 1rem;
    color: var(--teal-700);
}

.content-area p {
    color: var(--slate-600);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-area ul, .content-area ol {
    color: var(--slate-600);
    margin: 1rem 0 1rem 1.5rem;
    line-height: 1.8;
}

.content-area li {
    margin-bottom: 0.5rem;
}

/* Play Page Note */
.play-instructions {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(34, 211, 238, 0.1) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--teal-500);
}

.play-instructions p {
    color: var(--slate-700);
    font-size: 0.95rem;
    margin: 0;
}

/* Age Verification Overlay */
.verify-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1.5rem;
}

.verify-overlay.hidden {
    display: none;
}

.verify-modal {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    width: 100%;
}

.verify-modal h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.verify-modal p {
    color: var(--slate-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.verify-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.verify-btn {
    padding: 0.85rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s;
}

.verify-btn.accept {
    background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
    color: white;
}

.verify-btn.accept:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.verify-btn.reject {
    background: var(--slate-100);
    color: var(--slate-600);
}

.verify-btn.reject:hover {
    background: var(--slate-200);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-trigger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.open {
        max-height: 300px;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.875rem 2rem;
        text-align: center;
    }

    .hero-banner {
        padding: 3rem 1.5rem;
    }

    .game-frame iframe {
        height: 400px;
    }

    .compliance-tags {
        flex-direction: column;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .support-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-nav ul {
        justify-content: center;
    }

    .verify-actions {
        flex-direction: column;
    }
}
