/* ========================================
   ULTRA HERO SECTION STYLES
   Premium Animations & Effects
   ======================================== */

/* ===== HERO ULTRA CONTAINER ===== */
.hero-ultra {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

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

.hero-ultra .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(10, 10, 10, 0.85) 30%,
        rgba(20, 20, 20, 0.75) 60%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.hero-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

/* ===== PARTICLES ===== */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 100px 50px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(2px 2px at 200px 150px, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(1px 1px at 300px 250px, rgba(212, 175, 55, 0.5), transparent),
        radial-gradient(2px 2px at 400px 100px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(1px 1px at 500px 300px, rgba(212, 175, 55, 0.6), transparent),
        radial-gradient(2px 2px at 600px 200px, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(1px 1px at 700px 400px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(2px 2px at 800px 50px, rgba(212, 175, 55, 0.5), transparent),
        radial-gradient(1px 1px at 900px 350px, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(2px 2px at 1000px 150px, rgba(212, 175, 55, 0.4), transparent);
    background-size: 1100px 500px;
    animation: particleFloat 30s linear infinite;
}

.particles::after {
    animation-duration: 45s;
    animation-direction: reverse;
    opacity: 0.5;
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-500px) translateX(100px); }
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.2rem;
    animation: floatElement 8s ease-in-out infinite;
    opacity: 0.6;
}

.float-1 { top: 15%; left: 10%; animation-delay: 0s; }
.float-2 { top: 25%; right: 15%; animation-delay: 1.5s; }
.float-3 { bottom: 30%; left: 8%; animation-delay: 3s; }
.float-4 { top: 60%; right: 10%; animation-delay: 4.5s; }
.float-5 { bottom: 20%; right: 20%; animation-delay: 2s; }

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-25px) rotate(3deg); }
}

/* ===== ANIMATED LINES ===== */
.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    height: 1px;
    animation: lineSweep 8s ease-in-out infinite;
}

.line-1 { top: 30%; width: 100%; animation-delay: 0s; }
.line-2 { top: 50%; width: 80%; left: 10%; animation-delay: 2.5s; }
.line-3 { top: 70%; width: 60%; left: 20%; animation-delay: 5s; }

@keyframes lineSweep {
    0% { opacity: 0; transform: scaleX(0); transform-origin: left; }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); transform-origin: right; }
}

/* ===== HERO CONTENT ULTRA ===== */
.hero-content-ultra {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    padding: 0 30px;
    margin-top: 60px;
}

/* ===== BADGE ULTRA ===== */
.hero-badge-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.3), transparent 60%);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-badge-ultra {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: badgeSlideIn 1s ease-out forwards;
    opacity: 0;
    transform: translateY(-30px);
}

.hero-badge-ultra i {
    font-size: 0.8rem;
    animation: crownSpin 4s ease-in-out infinite;
}

@keyframes crownSpin {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

@keyframes badgeSlideIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== TITLE ULTRA ===== */
.hero-title-ultra {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: wordReveal 0.8s ease-out forwards;
    animation-delay: calc(var(--delay) * 0.15s + 0.5s);
}

.title-line-1 .word {
    color: #fff;
}

.gradient-word {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 30%, #D4AF37 60%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: wordReveal 0.8s ease-out forwards, gradientShift 3s ease-in-out infinite;
    animation-delay: calc(var(--delay) * 0.15s + 0.5s), 2s;
}

@keyframes wordReveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ===== SUBTITLE ULTRA ===== */
.hero-subtitle-container {
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.hero-subtitle-ultra {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.highlight-text {
    color: var(--gold-primary);
    font-weight: 600;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    animation: underlineGrow 0.8s ease-out 2.5s forwards;
}

@keyframes underlineGrow {
    to { transform: scaleX(1); }
}

/* ===== FEATURE PILLS ===== */
.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: #fff;
    transition: all 0.3s ease;
}

.feature-pill i {
    color: var(--gold-primary);
    font-size: 0.8rem;
}

.feature-pill:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

/* ===== CTA BUTTONS ULTRA ===== */
.hero-cta-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
}

.cta-button-primary,
.cta-button-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 60px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease;
}

.cta-button-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #B8860B 100%);
    color: #0a0a0a;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.cta-button-primary .btn-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 100%);
    transition: left 0.4s ease;
}

.cta-button-primary:hover .btn-bg {
    left: 0;
}

.cta-button-primary .btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-button-primary .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.cta-button-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.5);
}

.cta-button-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.cta-button-secondary .btn-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-primary);
    border-radius: 60px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button-secondary:hover .btn-border {
    opacity: 1;
}

.cta-button-secondary .btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-button-secondary .pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-primary);
    border-radius: 60px;
    animation: pulseRing 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

.cta-button-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    transform: translateY(-5px);
}

/* ===== STATS ULTRA ===== */
.hero-stats-ultra {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.3s forwards;
}

.stat-card {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.3rem;
    color: var(--gold-primary);
}

.stat-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 8px;
}

.stat-number-ultra {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.stat-label-ultra {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-bar {
    width: 80%;
    height: 3px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 3px;
    margin: 12px auto 0;
    overflow: hidden;
}

.stat-bar-fill {
    width: 0;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 3px;
    animation: barFill 1.5s ease-out 3s forwards;
}

@keyframes barFill {
    to { width: var(--width); }
}

/* ===== SCROLL INDICATOR ULTRA ===== */
.scroll-indicator-ultra {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s ease-out 3s forwards;
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(212, 175, 55, 0.7);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--gold-primary);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { top: 0; opacity: 1; }
    50% { top: 40px; opacity: 0.5; }
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-arrow i {
    color: var(--gold-primary);
    font-size: 0.8rem;
    animation: scrollArrow 1.5s ease-in-out infinite;
}

.scroll-arrow i:nth-child(2) {
    margin-top: -8px;
    animation-delay: 0.2s;
}

@keyframes scrollArrow {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(5px); }
}

/* ===== CORNER ACCENTS ===== */
.corner-accent {
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 5;
    pointer-events: none;
}

.corner-accent::before,
.corner-accent::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.top-left {
    top: 30px;
    left: 30px;
}
.top-left::before {
    width: 60px;
    height: 2px;
    top: 0;
    left: 0;
}
.top-left::after {
    width: 2px;
    height: 60px;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, var(--gold-primary), transparent);
}

.top-right {
    top: 30px;
    right: 30px;
}
.top-right::before {
    width: 60px;
    height: 2px;
    top: 0;
    right: 0;
    background: linear-gradient(270deg, var(--gold-primary), transparent);
}
.top-right::after {
    width: 2px;
    height: 60px;
    top: 0;
    right: 0;
    background: linear-gradient(180deg, var(--gold-primary), transparent);
}

.bottom-left {
    bottom: 30px;
    left: 30px;
}
.bottom-left::before {
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
}
.bottom-left::after {
    width: 2px;
    height: 60px;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, var(--gold-primary), transparent);
}

.bottom-right {
    bottom: 30px;
    right: 30px;
}
.bottom-right::before {
    width: 60px;
    height: 2px;
    bottom: 0;
    right: 0;
    background: linear-gradient(270deg, var(--gold-primary), transparent);
}
.bottom-right::after {
    width: 2px;
    height: 60px;
    bottom: 0;
    right: 0;
    background: linear-gradient(0deg, var(--gold-primary), transparent);
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeIn {
    to { opacity: 1; }
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-stats-ultra {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .floating-elements {
        display: none;
    }

    .hero-features {
        gap: 10px;
    }

    .feature-pill {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .corner-accent {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-content-ultra {
        margin-top: 80px;
    }

    .hero-badge-ultra {
        font-size: 0.75rem;
        padding: 12px 20px;
        letter-spacing: 2px;
    }

    .hero-title-ultra {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero-subtitle-ultra {
        font-size: 1rem;
    }

    .hero-cta-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        max-width: 320px;
        padding: 18px 30px;
        font-size: 0.95rem;
    }

    .hero-stats-ultra {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number-ultra {
        font-size: 2rem;
    }

    .stat-label-ultra {
        font-size: 0.7rem;
    }

    .scroll-indicator-ultra {
        bottom: 20px;
    }

    .scroll-line {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .feature-pill {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}
