/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 8rem 5% 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Floating background blobs */
.gradient-sphere,
.gradient-sphere-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.gradient-sphere {
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.gradient-sphere-2 {
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, var(--accent) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 3.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem;
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(193, 154, 107, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Text column */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero h1 {
    color: var(--primary);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    display: block;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: clamp(1rem, 2vw, 1.4rem);
}

.hero-badge i {
    margin-inline-end: 0.5rem;
}

.hero h1 .highlight {
    display: block;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-points {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    list-style: none;
    font-size: 1.15rem;
}

.hero-points i {
    margin-inline-end: 0.6rem;
    color: var(--accent);
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-manage-link {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
    margin-top: -0.75rem;
    padding: 0.6rem 1.1rem;
    border: 1px dashed var(--glass-border);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-manage-link strong,
.hero-manage-link i {
    color: var(--primary);
}

.hero-manage-link:hover {
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.06);
}

/* Stats box */
.stats {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotate 15s linear infinite;
    pointer-events: none;
}

.stat-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    text-align: center;
}

.stat-item i {
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.2);
}

.stat-number {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 1px;
}

.stat-label {
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.stat-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 30px;
    height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.stat-item:hover .stat-label::after {
    width: 50px;
}

/* Animation column */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-emblem {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    padding: 1.5rem;
}

.hero-emblem img {
    display: block;
    width: 100%;
    height: 100%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(30px, -30px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .hero {
        min-height: auto;
        padding: 7rem 1.25rem 4rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-emblem {
        max-width: 300px;
    }

    .hero-text {
        align-items: center;
        text-align: center;
    }

    .hero-points {
        align-items: flex-start;
        text-align: start;
    }

    .cta-group {
        align-items: center;
        width: 100%;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 6rem 0.75rem 3rem;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-emblem {
        max-width: 230px;
        padding: 1rem;
    }

    .hero-points {
        font-size: 1rem;
    }

    .cta-buttons,
    .cta-buttons > a {
        width: 100%;
    }

    .stats {
        justify-content: space-around;
        gap: 1rem;
        width: 100%;
        padding: 1rem;
    }

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

    .stat-label {
        font-size: 0.85rem;
    }
}
