/**
 * ============================================
 * RESPINNERSTV - Hero Section
 * ============================================
 */

/* ============================================
   HERO CONTAINER
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
}

/* ============================================
   HERO BACKGROUND
   ============================================ */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Static Grid - No Animation */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(var(--color-primary-rgb), 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
}

/* Glow Orbs - Static with reduced opacity */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
}

.glow-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -200px;
    right: -200px;
}

.glow-orb-2 {
    width: 350px;
    height: 350px;
    background: var(--color-secondary);
    bottom: -100px;
    left: -100px;
}

.glow-orb-3 {
    width: 250px;
    height: 250px;
    background: var(--color-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
}

/* ============================================
   HERO CONTENT
   ============================================ */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-10) var(--space-6);
    width: 100%;
    max-width: 1000px;
}

/* ============================================
   LIVE BADGE
   ============================================ */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    background: var(--bg-glass);
    border: 1px solid var(--alpha-white-10);
    border-radius: var(--border-radius-full);
    margin-bottom: var(--space-8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
}

.live-dot-pulse {
    width: 12px;
    height: 12px;
    background: var(--text-muted);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.live-badge.is-live .live-dot-pulse {
    background: var(--color-danger);
    animation: pulseLive 1.5s infinite;
}

.live-badge.is-live .live-status-text {
    color: var(--color-danger);
}

/* ============================================
   HERO TITLE
   ============================================ */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-6);
    text-shadow: 0 0 60px rgba(var(--color-primary-rgb), 0.5);
}

.title-line {
    display: block;
}

.title-accent {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   HERO SUBTITLE
   ============================================ */
.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

/* ============================================
   HERO JACKPOT
   ============================================ */
.hero-jackpot {
    margin-bottom: var(--space-10);
}

.jackpot-label {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.jackpot-amount {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(var(--color-accent-rgb), 0.5));
}

/* ============================================
   HERO BUTTONS
   ============================================ */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
    margin-bottom: var(--space-16);
}

/* ============================================
   SCROLL INDICATOR (site-wide) - Animated Mouse + Arrows
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--alpha-white-50);
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 20;
    cursor: pointer;
    transition: opacity var(--transition-normal);
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.9);
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--alpha-white-40);
    border-radius: 13px;
    position: relative;
    display: flex;
    justify-content: center;
}

.scroll-mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--alpha-white-60);
    border-radius: 2px;
    margin-top: 8px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1;
}

.scroll-arrows span {
    display: block;
    font-size: 1rem;
    opacity: 0;
    animation: scrollArrowFade 1.5s ease-in-out infinite;
}

.scroll-arrows span:nth-child(1) { animation-delay: 0s; }
.scroll-arrows span:nth-child(2) { animation-delay: 0.15s; }
.scroll-arrows span:nth-child(3) { animation-delay: 0.3s; }

/* Legacy .scroll-arrow (backwards compat) */
.scroll-arrow {
    display: none;
}

/* ============================================
   HERO → CONTENT BACKGROUND TRANSITION
   Smooth gradient fade from hero overlay to normal bg
   ============================================ */
.hero-bg-transition {
    position: relative;
    width: 100%;
    height: 120px;
    margin-top: -120px;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 10, 20, 0.3) 20%,
        rgba(10, 10, 20, 0.7) 60%,
        var(--bg, #0a0a14) 100%
    );
}

/* Alternative: use ::after on hero containers */
.bonuses-hero::after,
.stream-hero::after,
.community-hero::after,
.about-hero::after,
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 10, 15, 0.4) 30%,
        rgba(10, 10, 15, 0.85) 70%,
        rgba(10, 10, 15, 1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   RESPONSIVE - LARGE DESKTOP
   ============================================ */
@media (min-width: 2200px) {
    .hero-title {
        font-size: 9rem;
    }

    .glow-orb-1 {
        width: 800px;
        height: 800px;
    }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }
    
    .glow-orb-1 {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -100px;
    }
    
    .glow-orb-2 {
        width: 300px;
        height: 300px;
    }
    
    .glow-orb-3 {
        width: 200px;
        height: 200px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .hero {
        padding-top: var(--nav-height-mobile);
        min-height: calc(100vh - var(--nav-height-mobile));
    }
    
    .hero-content {
        padding: var(--space-6) var(--space-4);
    }
    
    .hero-title {
        font-size: clamp(2rem, 15vw, 4rem);
        margin-bottom: var(--space-4);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }
    
    .hero-description {
        font-size: var(--font-size-base);
    }
    
    .hero-jackpot {
        margin-bottom: var(--space-8);
    }
    
    .jackpot-amount {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
        margin-bottom: var(--space-10);
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .live-badge {
        padding: var(--space-2) var(--space-4);
        margin-bottom: var(--space-6);
    }
    
    .live-indicator {
        font-size: var(--font-size-xs);
    }
    
    .scroll-indicator {
        bottom: var(--space-6);
    }
    
    .glow-orb-1,
    .glow-orb-2 {
        width: 250px;
        height: 250px;
        filter: blur(60px);
    }
    
    .glow-orb-3 {
        display: none;
    }
    
    .grid-overlay {
        background-size: 30px 30px;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 14vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        letter-spacing: 0.05em;
    }
    
    .jackpot-amount {
        font-size: 1.5rem;
    }
    
    .live-badge {
        padding: var(--space-2) var(--space-3);
    }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--nav-height-mobile) + var(--space-8)) 0 var(--space-8);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-jackpot {
        margin-bottom: var(--space-4);
    }
    
    .hero-buttons {
        flex-direction: row;
        margin-bottom: var(--space-4);
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ============================================
   HERO SECTION (Multi-page version)
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: var(--bg);
}

.hero-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-section .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section .hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section .title-line {
    display: block;
    font-family: 'Exo 2', sans-serif;
}

.hero-section .title-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 5rem;
}

.hero-section .hero-tagline {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: center;
}

.hero-section .hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    background: var(--accent, #22c55e);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



/* Hero Section Responsive */
@media (max-width: 768px) {
    .hero-section .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section .title-accent {
        font-size: 3rem;
    }
    
    .hero-section .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-section .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-section .hero-buttons .btn {
        width: 100%;
    }
}
