/* =============================================
   HERO SECTION — Premium Hero with Gradient Mesh
   ============================================= */

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

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Animated gradient spheres — richer, larger, slower */
.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 25s infinite ease-in-out;
}

.sphere-1 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, #f0a830 0%, #e63946 100%);
    top: -350px;
    right: -200px;
}

.sphere-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    bottom: -300px;
    left: -300px;
    animation-delay: -7s;
}

.sphere-3 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #ffd06b 0%, #c78520 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -12s;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-40px, -25px) scale(1.08);
    }
    50% {
        transform: translate(25px, -40px) scale(0.92);
    }
    75% {
        transform: translate(-25px, 25px) scale(1.04);
    }
}

/* Hero content */
.hero-content {
    text-align: center;
    z-index: 1;
    padding: 10vh 24px 0;
}

.hero-greeting {
    display: block;
    font-size: 1.15rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Name with crown wrapper */
.hero-name-wrapper {
    display: block;
    position: relative;
}

.hero-name {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(4rem, 13vw, 11rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 30%, var(--primary-color) 70%, #ffffff 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* Crown container — positioned above the name */
.crown-container {
    display: block;
    position: relative;
    width: 100%;
    height: 90px;
    margin-bottom: -15px;
}

.crown-svg {
    width: 110px;
    height: 85px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 10px rgba(240, 168, 48, 0.5));
    animation: crownFloat 3s ease-in-out infinite, crownGlow 2s ease-in-out infinite alternate;
}

@keyframes crownFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(-3deg);
    }
    25% {
        transform: translateX(-50%) translateY(-6px) rotate(2deg);
    }
    50% {
        transform: translateX(-50%) translateY(-2px) rotate(-2deg);
    }
    75% {
        transform: translateX(-50%) translateY(-8px) rotate(3deg);
    }
}

@keyframes crownGlow {
    0% {
        filter: drop-shadow(0 0 8px rgba(240, 168, 48, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(240, 168, 48, 0.7)) drop-shadow(0 0 40px rgba(240, 168, 48, 0.2));
    }
}

.hero-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

/* Scroll indicator — minimal pulse */
.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.scroll-indicator.hidden {
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 1.5px solid rgba(240, 168, 48, 0.3);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}