:root {
    --color-bg: #050505;
    --color-gold: #FFD700;
    --color-cyan: #00f0ff;
}

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

html {
    background: var(--color-bg);
    overflow-x: hidden;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    overflow-x: hidden;
    background: var(--color-bg);
    color: #f5f5f5;
    font-family: 'Cormorant Garamond', serif;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}

.content-wrapper {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.display-font {
    font-family: 'Syncopate', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--x, -500px) var(--y, -500px), rgba(255, 215, 0, 0.1), transparent 40%);
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s;
}

.marquee-content {
    display: inline-flex;
    white-space: nowrap;
}

.split-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

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

.text-cyan {
    color: var(--color-cyan);
}

.gold-gradient {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.kickstarter-btn {
    background: linear-gradient(45deg, #05CE78, #00b4d8);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.kickstarter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.kickstarter-btn:hover::before {
    left: 100%;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.08);
}

.blur-bloom {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #FFD700;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .display-font {
        font-size: 0.6em;
    }
}

@keyframes titleGlitch {
    0%, 95% { text-shadow: none; }
    96%, 98% {
        text-shadow: 2px 0 #00f0ff, -2px 0 #FFD700;
        transform: translateX(-1px);
    }
    99% {
        text-shadow: -2px 0 #00f0ff, 2px 0 #FFD700;
        transform: translateX(1px);
    }
    100% { text-shadow: none; }
}

.glitch-title {
    animation: titleGlitch 2.5s infinite linear;
}

/* Custom Scrollbar for internal scroll areas like Modals */
.custom-scrollbar {
    -webkit-overflow-scrolling: touch;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.2);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.8);
}
