/**
 * Victory Engine Hero - Aspiration-Based High-Conversion Hero
 * Success-focused, empowering, achievement-driven design
 */

/* Hero Container */
.hero-victory-engine {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
    overflow: hidden;
    padding: 4rem 0;
}

/* Animated Success Particles */
.hero-success-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.success-particle {
    position: absolute;
    width: 180px;
    height: 220px;
    background: linear-gradient(135deg, rgba(200, 157, 92, 0.08), rgba(16, 185, 129, 0.06));
    border: 2px solid rgba(200, 157, 92, 0.2);
    border-radius: 8px;
    animation: float-success 25s infinite ease-in-out;
    opacity: 0;
}

.success-particle::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(200, 157, 92, 0.3);
    font-weight: 900;
}

.success-particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 28s; }
.success-particle:nth-child(2) { left: 25%; animation-delay: 4s; animation-duration: 24s; }
.success-particle:nth-child(3) { left: 45%; animation-delay: 8s; animation-duration: 30s; }
.success-particle:nth-child(4) { left: 65%; animation-delay: 12s; animation-duration: 26s; }
.success-particle:nth-child(5) { left: 85%; animation-delay: 16s; animation-duration: 22s; }

@keyframes float-success {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20vh) rotate(360deg);
        opacity: 0.4;
    }
}

/* Gradient Orbs */
.hero-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse-orb 8s ease-in-out infinite;
}

.orb-gold {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 157, 92, 0.4), transparent);
    top: 10%;
    right: 10%;
}

.orb-green {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent);
    bottom: 20%;
    left: 15%;
}

@keyframes pulse-orb {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

/* Hero Content */
.hero-victory-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Success Badge */
.hero-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(200, 157, 92, 0.2), rgba(16, 185, 129, 0.15));
    border: 2px solid var(--gold-primary);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    margin-bottom: 2rem;
    animation: shine-badge 3s ease-in-out infinite;
}

@keyframes shine-badge {
    0%, 100% {
        box-shadow: 0 0 20px rgba(200, 157, 92, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(200, 157, 92, 0.6);
    }
}

.badge-icon {
    width: 28px;
    height: 28px;
    color: var(--gold-primary);
}

.badge-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Headline */
.hero-victory-headline {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.headline-main {
    color: var(--white);
    display: block;
}

.headline-victory {
    background: linear-gradient(135deg, var(--gold-primary), var(--victory-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 0.5rem;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Success Counter */
.hero-success-counter {
    background: linear-gradient(135deg, rgba(200, 157, 92, 0.15), rgba(16, 185, 129, 0.1));
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin: 2.5rem auto;
    max-width: 700px;
    position: relative;
    overflow: hidden;
}

.hero-success-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--victory-green));
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.success-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-amount {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-primary), var(--victory-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.success-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Achievement Stats */
.hero-achievement-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.achievement-stat {
    text-align: center;
}

.achievement-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    padding: 12px;
    background: linear-gradient(135deg, rgba(200, 157, 92, 0.2), rgba(16, 185, 129, 0.15));
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
}

.achievement-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.achievement-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Subheadline */
.hero-victory-subheadline {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.subheadline-bold {
    color: var(--gold-primary);
    font-weight: 700;
}

/* CTA Container */
.hero-victory-cta-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-victory-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.hero-victory-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-victory-cta:hover::before {
    width: 400px;
    height: 400px;
}

.hero-victory-cta-primary {
    background: linear-gradient(135deg, var(--gold-primary), #d4a962);
    color: var(--navy-dark);
    box-shadow: 0 15px 50px rgba(200, 157, 92, 0.4);
}

.hero-victory-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(200, 157, 92, 0.6);
}

.hero-victory-cta-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--gold-primary);
}

.hero-victory-cta-secondary:hover {
    background: rgba(200, 157, 92, 0.15);
    border-color: var(--victory-green);
}

.hero-victory-cta-tertiary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: var(--victory-green);
    border-color: var(--victory-green);
}

.hero-victory-cta-tertiary:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.15));
}

.victory-cta-icon {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
}

.victory-cta-text {
    position: relative;
    z-index: 1;
}

/* Trust Proof Bar */
.hero-victory-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(200, 157, 92, 0.3);
}

.victory-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.victory-trust-icon {
    width: 22px;
    height: 22px;
    color: var(--victory-green);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-victory-engine {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-victory-headline {
        font-size: 2.25rem;
    }
    
    .success-amount {
        font-size: 3rem;
    }
    
    .hero-achievement-stats {
        gap: 2rem;
    }
    
    .achievement-value {
        font-size: 2rem;
    }
    
    .hero-victory-cta-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-victory-cta {
        width: 100%;
        justify-content: center;
    }
}

/* Victory Sparkle Animation */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

.success-counter::after {
    content: '✨';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    animation: sparkle 3s ease-in-out infinite;
}
