/* assets/css/style.css - The Game of Song: Vibrant Creative Cinema Styling */

:root {
    --color-bg-base: #08090f;
    --color-bg-card: rgba(18, 20, 32, 0.75);
    --color-fest-gold: #ffb703;
    --color-fest-pink: #ff007f;
    --color-fest-cyan: #00f0ff;
    --color-fest-purple: #8338ec;
    --color-fest-green: #06d6a0;
    --color-fest-orange: #fb5607;
}

body {
    background-color: var(--color-bg-base);
    color: #e2e8f0;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Regal Titles & Fonts */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Creative Iridescent & Rainbow Text Gradients */
.text-rainbow-gradient {
    background: linear-gradient(135deg, #ff007f 0%, #ffb703 30%, #00f0ff 70%, #8338ec 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.text-cyan-gradient {
    background: linear-gradient(135deg, #a7f3d0 0%, #00f0ff 60%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Shimmer Animation */
@keyframes rainbowFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-rainbow-flow {
    background-size: 300% 300%;
    animation: rainbowFlow 6s ease infinite;
}

/* Glowing Neon Borders */
.border-gradient-festive {
    position: relative;
    background: linear-gradient(135deg, rgba(255,0,127,0.3), rgba(0,240,255,0.3), rgba(255,183,3,0.3));
    padding: 1px;
    border-radius: 1rem;
}

.border-gradient-festive > * {
    background: #0d0f1a;
    border-radius: calc(1rem - 1px);
}

.border-gradient-festive:hover {
    background: linear-gradient(135deg, rgba(255,0,127,0.8), rgba(0,240,255,0.8), rgba(255,183,3,0.8));
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
}

/* Film Grain Texture */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Film Reel Border Accent */
.film-sprockets-top {
    background-image: radial-gradient(#1f2438 35%, transparent 40%);
    background-size: 20px 20px;
    background-position: 0 0;
    height: 14px;
}

/* Multi-Colored Sound Spectrum Visualizer */
.sound-spectrum-bar {
    width: 4px;
    border-radius: 4px;
    animation: spectrumDance 1.2s ease-in-out infinite alternate;
}

@keyframes spectrumDance {
    0% { height: 8px; }
    50% { height: 32px; }
    100% { height: 14px; }
}

.bar-1 { background: #ff007f; animation-delay: 0.0s; }
.bar-2 { background: #ffb703; animation-delay: 0.2s; }
.bar-3 { background: #00f0ff; animation-delay: 0.4s; }
.bar-4 { background: #06d6a0; animation-delay: 0.1s; }
.bar-5 { background: #8338ec; animation-delay: 0.5s; }
.bar-6 { background: #fb5607; animation-delay: 0.3s; }
.bar-7 { background: #ff007f; animation-delay: 0.6s; }
.bar-8 { background: #00f0ff; animation-delay: 0.25s; }

/* Horizontal Infinite Marquee Ticker */
.marquee-content {
    display: flex;
    animation: marqueeScroll 35s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #08090f;
}

::-webkit-scrollbar-thumb {
    background: #252b45;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00f0ff;
}

/* Vinyl Spin for Soundtrack */
@keyframes spinVinyl {
    100% { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spinVinyl 16s linear infinite;
}
