/* VERZUZ Global Styles - Authentic Look & Feel */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@200;300;400;500;600;700&family=Impact&display=swap');

/* Root Variables - VERZUZ Colors */
:root {
    --verzuz-gold: #FFD700;
    --verzuz-red: #FF0000;
    --verzuz-black: #000000;
    --verzuz-white: #FFFFFF;
    --verzuz-dark-bg: #0a0a0a;
    --verzuz-gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --verzuz-gradient-red: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

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

/* Body Styling - Black Background Like Real VERZUZ */
body {
    font-family: 'Oswald', sans-serif;
    background: var(--verzuz-black);
    color: var(--verzuz-white);
    min-height: 100vh;
    letter-spacing: 0.5px;
}

/* Headers - VERZUZ Style Uses Bold, Impact-Like Fonts */
h1, h2, h3, h4, h5, h6,
.logo,
.section-title,
.header-title {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1, .logo {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--verzuz-gold);
    text-shadow: 4px 4px 0 var(--verzuz-red),
                 -2px -2px 0 rgba(255, 255, 255, 0.3);
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--verzuz-gold);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--verzuz-white);
}

/* Body Text - Clean and Readable */
p, span, div, label, input, button {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Buttons - VERZUZ Style */
button,
.btn,
.primary-button,
.join-button,
.search-button {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 40px;
    border: 3px solid var(--verzuz-gold);
    background: var(--verzuz-black);
    color: var(--verzuz-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button:hover,
.btn:hover {
    background: var(--verzuz-gold);
    color: var(--verzuz-black);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

button:active,
.btn:active {
    transform: scale(0.98);
}

/* Input Fields - VERZUZ Style */
input[type="text"],
input[type="search"],
textarea {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    padding: 15px 20px;
    border: 2px solid var(--verzuz-gold);
    background: rgba(255, 255, 255, 0.05);
    color: var(--verzuz-white);
    letter-spacing: 1px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--verzuz-red);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* Cards/Sections - Red Accents Like VERZUZ */
.section,
.card,
.result-card {
    background: var(--verzuz-black);
    border: 3px solid var(--verzuz-gold);
    border-radius: 0;
    padding: 30px;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--verzuz-gradient-red);
}

/* VERZUZ Logo Styling */
.verzuz-logo,
.logo {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    color: var(--verzuz-gold);
    text-shadow:
        4px 4px 0 var(--verzuz-red),
        8px 8px 0 rgba(0, 0, 0, 0.5),
        -2px -2px 0 rgba(255, 255, 255, 0.3);
    letter-spacing: 8px;
    text-transform: uppercase;
    position: relative;
}

/* SVG Logo Container */
.verzuz-logo-svg {
    display: inline-block;
    width: clamp(200px, 40vw, 400px);
    height: auto;
    margin: 20px auto;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.5));
    animation: logo-glow 3s ease-in-out infinite;
}

.verzuz-logo-svg svg {
    width: 100%;
    height: auto;
}

/* Logo glow animation */
@keyframes logo-glow {
    0%, 100% {
        filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 10px 50px rgba(255, 215, 0, 0.9))
                drop-shadow(0 0 20px rgba(255, 0, 0, 0.5));
    }
}

/* Logo hover effect */
.verzuz-logo-svg:hover {
    animation: logo-pulse 0.5s ease-in-out;
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Status Messages */
.status-ready {
    color: var(--verzuz-gold);
}

.status-processing {
    color: var(--verzuz-red);
}

.status-pending {
    color: rgba(255, 255, 255, 0.6);
}

/* Navigation */
nav, .nav {
    background: var(--verzuz-black);
    border-bottom: 3px solid var(--verzuz-gold);
}

nav a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--verzuz-gold);
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--verzuz-red);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

/* Mos Def Guide - Update to Match */
.mos-def-bubble,
.bubble-content {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
}

.bubble-header span:last-child {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* Waiting Screens */
.waiting-logo,
.waiting-text {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
}

/* Results/Cards */
.result-title,
.song-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--verzuz-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Singer Names */
.singer-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--verzuz-white);
    text-transform: uppercase;
}

/* Counters/Numbers */
.counter,
.timer,
.score {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--verzuz-red);
    text-shadow: 2px 2px 0 var(--verzuz-gold);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .logo {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    button, .btn {
        font-size: 1.2rem;
        padding: 12px 30px;
    }
}

/* Animation - VERZUZ Style Pulse */
@keyframes verzuz-pulse {
    0%, 100% {
        text-shadow:
            4px 4px 0 var(--verzuz-red),
            -2px -2px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow:
            6px 6px 0 var(--verzuz-red),
            -3px -3px 0 rgba(255, 255, 255, 0.5),
            0 0 40px rgba(255, 215, 0, 0.8);
    }
}

.verzuz-animate {
    animation: verzuz-pulse 2s ease-in-out infinite;
}

/* Scrollbar - Keep it VERZUZ themed */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--verzuz-black);
}

::-webkit-scrollbar-thumb {
    background: var(--verzuz-gold);
    border: 2px solid var(--verzuz-black);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--verzuz-red);
}
