:root {
    --bg-primary: #140d0a;
    --bg-secondary: #2a1a12;
    --text-primary: #fff7ed;
    --text-secondary: #fed7aa;
    --text-muted: #9a3412;
    
    --accent-orange: #ea580c;
    --accent-gold: #f59e0b;
    --accent-pink: #db2777;
    
    --grad-orange: linear-gradient(135deg, #ea580c, #fb923c);
    --grad-gold: linear-gradient(135deg, #f59e0b, #facc15);
    --grad-pink: linear-gradient(135deg, #db2777, #f472b6);
    
    --glow-orange: rgba(234, 88, 12, 0.45);
    --glow-gold: rgba(245, 158, 11, 0.4);
    --glow-pink: rgba(244, 114, 182, 0.35);
    
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --container-max: 1280px;
    --space-desktop: 120px;
    --space-tablet: 80px;
    --space-mobile: 60px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-orange { color: var(--accent-orange); }
.text-gold { color: var(--accent-gold); }
.text-pink { color: var(--accent-pink); }

/* Typography */
h1, h2, h3, h4, h5 {
    line-height: 1.2;
    font-weight: 800;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.btn-primary {
    background: var(--grad-orange);
    color: #fff;
    box-shadow: 0 4px 20px var(--glow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px var(--glow-orange);
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-outline {
    background: var(--glass-bg);
    border: 1px solid var(--accent-gold);
    color: var(--text-primary);
    backdrop-filter: blur(16px);
}

.btn-outline:hover {
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 4px 20px var(--glow-gold);
}

/* Header */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-max);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,255,255,0.02);
    animation: slideDown 0.8s ease-out;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand svg {
    width: 28px;
    height: 28px;
    fill: url(#orange-grad);
    animation: kite-float 4s ease-in-out infinite;
}

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

.nav-links a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(to bottom, #2a1a12 0%, #140d0a 100%);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(234, 88, 12, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.hero-kites {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

.kite-bg {
    position: absolute;
    opacity: 0.6;
    animation: drift 20s linear infinite;
}

.kite-1 { top: 20%; left: 10%; width: 60px; animation-duration: 25s; animation-delay: 0s; }
.kite-2 { top: 40%; right: 15%; width: 45px; animation-duration: 30s; animation-delay: -5s; }
.kite-3 { top: 60%; left: 20%; width: 80px; animation-duration: 22s; animation-delay: -10s; }
.kite-4 { top: 15%; right: 30%; width: 50px; animation-duration: 28s; animation-delay: -15s; }

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.hero-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-kite {
    width: 100%;
    max-width: 380px;
    filter: drop-shadow(0 0 50px rgba(234, 88, 12, 0.6));
    animation: kite-float 6s ease-in-out infinite;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.legal-disclaimer {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--glass-bg);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid var(--glass-border);
}

/* Game Section */
.game-section {
    padding: var(--space-desktop) 0;
    position: relative;
    z-index: 10;
}

.game-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
    animation: pulseGlow 4s ease-in-out infinite;
}

.game-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

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

/* Features Section */
.features-section {
    padding: var(--space-desktop) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px var(--glow-gold);
}

.fc-1 { grid-column: span 7; }
.fc-2 { grid-column: span 5; }
.fc-3 { grid-column: span 5; }
.fc-4 { grid-column: span 7; }

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

/* Generic Pages (Terms, Privacy, etc) */
.page-header {
    padding-top: 180px;
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(to bottom, #2a1a12 0%, #140d0a 100%);
    position: relative;
}

.page-content {
    padding: 60px 0 120px;
    max-width: 800px;
    margin: 0 auto;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
}

.glass-panel h2 { margin-top: 2rem; color: var(--accent-gold); }
.glass-panel p, .glass-panel ul { margin-bottom: 1.5rem; color: var(--text-secondary); }
.glass-panel ul { padding-left: 20px; }

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px var(--glow-orange);
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

.footer-legal-box {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.footer-legal-box p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

.warning-banner {
    background: rgba(219, 39, 119, 0.1);
    border-left: 4px solid var(--accent-pink);
    padding: 15px 20px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
    font-weight: 600;
}

/* Animations */
@keyframes slideDown {
    from { transform: translate(-50%, -100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; filter: blur(10px); }
    50% { opacity: 0.6; filter: blur(15px); }
}

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -20px) rotate(5deg); }
    66% { transform: translate(-20px, 15px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes kite-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 992px) {
    .fc-1, .fc-2, .fc-3, .fc-4 { grid-column: span 12; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero {
        padding-top: 120px;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-visual {
        display: none;
    }
    .site-header {
        width: 95%;
        padding: 12px 20px;
    }
    .game-wrapper {
        padding: 15px;
    }
    .game-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}