/* ============================================================
   HERO.CSS — Platform hero section
   ============================================================ */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}

/* ── Background layers ─────────────────────────────────────── */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
}

.hero__bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(124, 58, 237, 0.85) 0%,
        rgba(15, 23, 42, 0.75) 50%,
        rgba(6, 182, 212, 0.4) 100%
    );
}

/* decorative blobs */
.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    pointer-events: none;
}

.hero__blob--1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.hero__blob--2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -80px;
}

/* ── Content ───────────────────────────────────────────────── */
.hero__content {
    position: relative;
    z-index: 1;
    padding-block: 6rem;
    max-width: 700px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 0.35rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.hero__tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}

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

.hero__title {
    font-size: clamp(2.2rem, 6vw, 3.75rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero__title-highlight {
    background: linear-gradient(135deg, #A78BFA 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 3rem;
}

/* ── Stats bar ─────────────────────────────────────────────── */
.hero__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hero__stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ── Club hero (used on /clubs/<slug>/) ────────────────────── */
.club-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    background: var(--dark-2);
    overflow: hidden;
}

.club-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.club-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.4) 100%);
}

.club-hero__content {
    position: relative;
    z-index: 1;
    padding-block: 3rem 3.5rem;
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.club-hero__logo-wrap {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(255,255,255,0.2);
}

.club-hero__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-hero__logo-initials {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

.club-hero__info {
    flex: 1;
}

.club-hero__name {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.club-hero__meta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.club-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
