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

:root {
    /* Base Colors */
    --deep-night: #0e0a07;
    --warm-earth: #1a120d;
    --card-surface: rgba(255, 255, 255, 0.05);
    
    /* Accent Colors */
    --sunset-gold: #f59e0b;
    --safari-orange: #f97316;
    --royal-bronze: #b45309;
    --soft-glow: #fde68a;
    
    /* Text Colors */
    --text-primary: #fff7ed;
    --text-secondary: #fed7aa;
    
    /* Layout & Spacing */
    --max-width: 1400px;
    --spacing-desktop: 100px;
    --spacing-tablet: 70px;
    --spacing-mobile: 50px;
    
    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    background-color: var(--deep-night);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* =========================================
   UTILITIES
========================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-gold { color: var(--sunset-gold); }

.section-padding {
    padding: var(--spacing-desktop) 0;
}

@media (max-width: 991px) {
    .section-padding { padding: var(--spacing-tablet) 0; }
}

@media (max-width: 767px) {
    .section-padding { padding: var(--spacing-mobile) 0; }
}

/* =========================================
   ANIMATIONS & EFFECTS
========================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.2); }
    50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.5); }
    100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.2); }
}

@keyframes floatDust {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

.dust-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.dust-particle {
    position: absolute;
    width: 3px; height: 3px;
    background: var(--soft-glow);
    border-radius: 50%;
    filter: blur(1px);
    animation: floatDust 15s infinite linear;
}

/* Generative Delays for Dust */
.dust-particle:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; }
.dust-particle:nth-child(2) { left: 25%; animation-duration: 22s; animation-delay: 4s; }
.dust-particle:nth-child(3) { left: 40%; animation-duration: 15s; animation-delay: 2s; }
.dust-particle:nth-child(4) { left: 60%; animation-duration: 25s; animation-delay: 8s; }
.dust-particle:nth-child(5) { left: 80%; animation-duration: 19s; animation-delay: 1s; }
.dust-particle:nth-child(6) { left: 90%; animation-duration: 21s; animation-delay: 5s; }

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sunset-gold), var(--safari-orange));
    color: var(--deep-night);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
    color: var(--deep-night);
}

.btn-primary:hover::before {
    left: 150%;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(14, 10, 7, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    transition: var(--transition-smooth);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sunset-gold);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0%; height: 2px;
    background: linear-gradient(90deg, var(--sunset-gold), var(--safari-orange));
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--sunset-gold);
}

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

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--sunset-gold);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: block; }
    
    .mobile-menu-active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: rgba(14, 10, 7, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    }
    
    .mobile-menu-active .nav-cta {
        display: flex;
        position: absolute;
        top: 300px; left: 0; width: 100%;
        justify-content: center;
        background: rgba(14, 10, 7, 0.95);
        padding-bottom: 30px;
    }
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(to bottom, rgba(14, 10, 7, 0.3), var(--deep-night)), 
                url('images/photo-1516426122078-c23e76319801.png') center/cover no-repeat;
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 200px;
    background: linear-gradient(to top, var(--deep-night), transparent);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 20px;
    background: linear-gradient(to bottom, var(--text-primary), var(--sunset-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero p.lead {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* =========================================
   DISCLAIMERS & LEGAL
========================================= */
.disclaimer-banner {
    background: var(--card-surface);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 700px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(5px);
}

.disclaimer-icon {
    font-size: 2rem;
    color: var(--safari-orange);
}

.disclaimer-text h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--sunset-gold);
    margin-bottom: 5px;
}

.disclaimer-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* =========================================
   GAME SECTION (THE THRONE)
========================================= */
.game-section {
    background: var(--deep-night);
    position: relative;
    z-index: 3;
}

.game-header {
    text-align: center;
    margin-bottom: 50px;
}

.game-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--sunset-gold);
    display: inline-block;
    position: relative;
}

.game-header h2::before, .game-header h2::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--royal-bronze);
}
.game-header h2::before { left: -40px; }
.game-header h2::after { right: -40px; }

.game-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(145deg, var(--warm-earth), var(--deep-night));
    border-radius: 24px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 30px rgba(245, 158, 11, 0.1);
    animation: pulseGlow 4s infinite;
    position: relative;
    transition: var(--transition-smooth);
}

.game-wrapper:hover {
    transform: scale(1.01);
    box-shadow: 0 25px 60px rgba(0,0,0,0.9), inset 0 0 50px rgba(245, 158, 11, 0.2);
}

.game-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 16px;
    overflow: hidden;
}

.game-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

@media (max-width: 767px) {
    .game-wrapper {
        border-radius: 12px;
        padding: 10px;
        width: 100%;
    }
    .game-container {
        border-radius: 8px;
    }
}

/* =========================================
   FEATURES / INFO CARDS
========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--card-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--sunset-gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* =========================================
   PAGE CONTENT (About, Terms, etc.)
========================================= */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(to bottom, rgba(26, 18, 13, 0.9), var(--deep-night)),
                url('images/photo-1483315682054-d1db1dd19448.png') center/cover no-repeat;
    text-align: center;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.page-header h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--sunset-gold);
}

.content-box {
    background: var(--card-surface);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

.content-box h2 {
    color: var(--sunset-gold);
    margin-bottom: 20px;
    margin-top: 30px;
}

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

.content-box p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.content-box ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.content-box ul li {
    margin-bottom: 10px;
    position: relative;
}

.content-box ul li::before {
    content: '✦';
    color: var(--safari-orange);
    position: absolute;
    left: -20px;
}

@media (max-width: 767px) {
    .content-box { padding: 30px 20px; }
}

/* =========================================
   CONTACT FORM
========================================= */
.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    color: var(--sunset-gold);
}

.form-group input, .form-group textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--sunset-gold);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

/* =========================================
   FOOTER
========================================= */
footer {
    background: var(--warm-earth);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 400px;
}

.footer-links h4 {
    color: var(--sunset-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--sunset-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(254, 215, 170, 0.5);
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}