:root {
    /* PRIMARY COLORS */
    --c-deep-space: #050816;
    --c-cosmic-navy: #0b1120;
    --c-galaxy-blue: #172554;
    --c-nebula-purple: #7c3aed;
    --c-starlight-cyan: #22d3ee;
    --c-aurora-blue: #38bdf8;
    --c-planet-glow: #60a5fa;
    --c-cosmic-white: #f8fafc;
    --c-muted-text: #94a3b8;

    /* GRADIENTS */
    --g-galaxy: linear-gradient(135deg, #0f172a, #172554, #7c3aed);
    --g-nebula: linear-gradient(135deg, #7c3aed, #22d3ee);
    --g-starfield: linear-gradient(180deg, #050816, #0b1120);

    /* TYPOGRAPHY */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* EFFECTS */
    --glass-bg: rgba(11, 17, 32, 0.6);
    --glass-border: rgba(34, 211, 238, 0.2);
    --glow-cyan: 0 0 20px rgba(34, 211, 238, 0.4);
    --glow-purple: 0 0 30px rgba(124, 58, 237, 0.5);
    
    /* SPACING */
    --section-pad: 100px 0;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--c-deep-space);
}

body {
    font-family: var(--font-body);
    color: var(--c-cosmic-white);
    background: var(--c-deep-space);
    background-image: radial-gradient(circle at 50% 0%, var(--c-cosmic-navy) 0%, var(--c-deep-space) 100%);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
}

h2 span, h1 span {
    background: var(--g-nebula);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

p {
    color: var(--c-muted-text);
    margin-bottom: 1rem;
}

a {
    color: var(--c-starlight-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* LAYOUT */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.w-100 { width: 100%; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

section { padding: var(--section-pad); }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-glow {
    background: var(--g-nebula);
    color: #fff;
    border: none;
    box-shadow: var(--glow-cyan);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.8);
    transform: translateY(-2px);
}

.btn-primary {
    background: rgba(23, 37, 84, 0.8);
    border: 1px solid var(--c-starlight-cyan);
    color: var(--c-starlight-cyan);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: var(--c-starlight-cyan);
    color: var(--c-deep-space);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--c-muted-text);
    color: var(--c-cosmic-white);
}

.btn-outline:hover {
    border-color: var(--c-starlight-cyan);
    color: var(--c-starlight-cyan);
}

/* GLASSMORPHISM */
.holographic-panel, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* ANNOUNCEMENT BAR */
.announcement-bar {
    background: var(--g-galaxy);
    padding: 10px 0;
    font-size: 0.8rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.announcement-bar p { margin: 0; color: #fff; }
.announcement-bar span { opacity: 0.8; font-size: 0.75rem; margin-left: 10px; }

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--c-starlight-cyan);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* NAVIGATION */
.glass-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 8, 22, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-cosmic-white);
}

.brand-logo img { width: 32px; height: 32px; }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--c-cosmic-white);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-starlight-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-cosmic-white);
    transition: 0.3s;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 60px;
}

.starfield-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)), radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)), radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)), radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)), radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0)), radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 4s infinite alternate;
    opacity: 0.5;
    z-index: 0;
}

@keyframes twinkle { 0% { opacity: 0.3; } 100% { opacity: 0.8; } }

.nebula-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.2) 0%, transparent 40%), radial-gradient(circle at 20% 80%, rgba(34, 211, 238, 0.15) 0%, transparent 40%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid var(--c-starlight-cyan);
    color: var(--c-starlight-cyan);
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--c-cosmic-white);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.disclaimer-box {
    background: rgba(11, 17, 32, 0.7);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 20px;
    display: inline-block;
}

.disclaimer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.disclaimer-grid span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--c-muted-text);
}

.disclaimer-grid svg {
    color: var(--c-nebula-purple);
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.float-planet {
    position: absolute;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px rgba(34,211,238,0.3));
    animation: float 10s ease-in-out infinite;
}

.planet-1 { top: 15%; right: 10%; width: 120px; animation-delay: 0s; }
.planet-2 { bottom: 20%; left: 5%; width: 200px; filter: drop-shadow(0 0 30px rgba(124,58,237,0.3)); animation-delay: -5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* FEATURED GAME */
.featured-game {
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.section-header {
    margin-bottom: 50px;
}

.game-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.game-wrapper .glass-border {
    position: absolute;
    inset: -2px;
    background: var(--g-nebula);
    z-index: -1;
    border-radius: 18px;
    opacity: 0.5;
    filter: blur(10px);
}

.ui-accents .dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--c-starlight-cyan);
    border-radius: 50%;
}
.top-left { top: 15px; left: 15px; }
.top-right { top: 15px; right: 15px; }
.bottom-left { bottom: 15px; left: 15px; }
.bottom-right { bottom: 15px; right: 15px; }

.iframe-container {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* EXPLORE */
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content { flex: 1; }
.split-visual { flex: 1; position: relative; }

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-cosmic-white);
    font-family: var(--font-heading);
}

.feature-list .icon { color: var(--c-starlight-cyan); }

.split-visual img {
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
    border: 1px solid var(--glass-border);
}

.hover-elevate {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-elevate:hover {
    transform: translateY(-10px) scale(1.02);
}

/* FEATURES GRID */
.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.1);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(23, 37, 84, 0.5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.card-icon img { width: 32px; height: 32px; filter: invert(1) sepia(1) saturate(5) hue-rotate(180deg); } /* Cyanizer hack for SVGs if black */

/* STATS */
.mission-highlights {
    background: var(--g-galaxy);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--c-starlight-cyan);
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--c-cosmic-white);
    opacity: 0.8;
}

/* EXPLORATION CARDS */
.explore-card {
    background: var(--glass-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.explore-card:hover {
    border-color: var(--c-nebula-purple);
}

.explore-img {
    height: 250px;
    overflow: hidden;
}

.explore-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.explore-card:hover .explore-img img {
    transform: scale(1.1);
}

.explore-info {
    padding: 30px;
}

/* GALACTIC GALLERY */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.gallery-item.span-2 {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,8,22,0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--c-starlight-cyan);
}

/* TIMELINE */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: var(--g-nebula);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--c-deep-space);
    border: 2px solid var(--c-starlight-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-starlight-cyan);
}

.timeline-content {
    padding: 24px;
}

.timeline-content h3 { color: var(--c-nebula-purple); margin-bottom: 10px; }

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--c-cosmic-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover { color: var(--c-starlight-cyan); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p { margin-bottom: 20px; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .icon { transform: rotate(45deg); color: var(--c-starlight-cyan); }
.icon { transition: transform 0.3s ease; }

/* BLOG / INSIGHTS */
.blog-card {
    overflow: hidden;
    transition: 0.3s;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.blog-content { padding: 24px; }
.blog-date {
    display: block;
    font-size: 0.8rem;
    color: var(--c-starlight-cyan);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.blog-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.blog-card:hover { transform: translateY(-5px); border-color: var(--c-nebula-purple); }

/* NEWSLETTER */
.newsletter-box {
    padding: 60px;
    text-align: center;
    background: url('assets/images/nebula-bg-pattern.png') center/cover, var(--glass-bg);
    border-color: rgba(124, 58, 237, 0.4);
}

.newsletter-content { max-width: 600px; margin: 0 auto 30px; }

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--c-starlight-cyan);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
}

/* CONTACT */
.contact-form-wrapper { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--c-cosmic-white);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--c-starlight-cyan);
}
.contact-details { margin-top: 40px; }
.detail-item { margin-bottom: 20px; }
.detail-item h4 { color: var(--c-starlight-cyan); font-size: 1rem; margin-bottom: 5px; }

/* FOOTER */
.site-footer {
    background: var(--c-cosmic-navy);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 80px;
}

.footer-brand p { margin-top: 20px; font-size: 0.9rem; }
.footer-logo { height: 40px; width: auto; }

.footer-links h4, .footer-disclaimer h4 {
    color: var(--c-cosmic-white);
    margin-bottom: 20px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--c-muted-text); font-size: 0.9rem; }
.footer-links a:hover { color: var(--c-starlight-cyan); padding-left: 5px; }

.age-badge {
    display: inline-block;
    padding: 8px 12px;
    border: 2px solid var(--c-nebula-purple);
    border-radius: 50%;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.small-text { font-size: 0.8rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    margin-top: 60px;
    font-size: 0.85rem;
    color: var(--c-muted-text);
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--c-starlight-cyan);
    padding: 20px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

.cookie-banner.show { bottom: 0; }
.cookie-content { flex: 1; margin-right: 40px; }
.cookie-content p { margin: 0; font-size: 0.9rem; }
.cookie-actions { display: flex; gap: 15px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .split-layout { flex-direction: column; }
    .gallery-masonry { grid-template-columns: 1fr; }
    .gallery-item.span-2 { grid-column: span 1; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--c-cosmic-navy);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: flex; }
    .nav-cta { display: none; }
    .cookie-banner { flex-direction: column; text-align: center; gap: 20px; }
    .cookie-content { margin-right: 0; }
    .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .stat-number { font-size: 2.5rem; }
    .btn { width: 100%; }
}

/* LEGAL PAGES SPECIFIC STYLES */
.legal-container {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 40px;
}
.legal-container h1 { font-size: 2.5rem; margin-bottom: 20px; color: var(--c-starlight-cyan); }
.legal-container h2 { font-size: 1.5rem; margin-top: 30px; margin-bottom: 15px; color: var(--c-cosmic-white); }
.legal-container p { margin-bottom: 15px; }
.legal-container ul { margin-bottom: 20px; padding-left: 20px; color: var(--c-muted-text); }
.legal-container li { margin-bottom: 10px; }