/* =============================================
   VERTEX RP — Hero Section
   ============================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background layers */
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(8, 11, 16, 0.25) 0%,
            rgba(8, 11, 16, 0.05) 25%,
            rgba(8, 11, 16, 0.35) 65%,
            rgba(8, 11, 16, 1) 100%
        ),
        url('../assets/img/hero-bg.jpg') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 25s ease-in-out infinite alternate;
}

/* If no custom hero image, use a gradient fallback */
.hero-bg.no-image {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(76, 224, 179, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(76, 224, 179, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, #080b10 0%, #0e1319 40%, #111820 100%);
    animation: none;
    transform: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 45%, transparent 0%, rgba(8, 11, 16, 0.55) 70%),
        linear-gradient(180deg, transparent 55%, var(--bg-dark) 100%);
}

/* Particles container */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 920px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px;
    background: var(--accent-glow-subtle);
    border: 1px solid rgba(76, 224, 179, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 9vw, 8rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -2px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-title .line-vertex {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #b8c4d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .line-rp {
    display: block;
    background: linear-gradient(135deg, var(--accent) 0%, #3be8c0 50%, var(--accent-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px var(--accent-glow));
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.75;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.1s;
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2.2s ease-in-out infinite;
}
