/*
|--------------------------------------------------------------------------
| RuniverseHub — COMMERCIAL-PROFILES-1.0B Athlete Commercial Demo CSS
|--------------------------------------------------------------------------
| Capa visual pública para atleta: demo/real, score, métricas, evolución,
| mejores marcas, logros, presencia y resultados. No contiene lógica ni SQL.
|--------------------------------------------------------------------------
*/

.rh-cp-ath-showcase {
    --cp-ath-cyan: #22d3ee;
    --cp-ath-teal: #2dd4bf;
    --cp-ath-emerald: #34d399;
    --cp-ath-bg: rgba(2, 6, 23, .72);
    --cp-ath-line: rgba(34, 211, 238, .18);
    --cp-ath-text: #e5f7fb;
    --cp-ath-muted: rgba(226, 232, 240, .68);
    position: relative;
    overflow: hidden;
    margin: 28px 0;
    padding: 24px;
    border: 1px solid var(--cp-ath-line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 10% 0%, rgba(34, 211, 238, .18), transparent 34%),
        radial-gradient(circle at 90% 12%, rgba(45, 212, 191, .14), transparent 36%),
        linear-gradient(135deg, rgba(15, 23, 42, .94), rgba(2, 6, 23, .90));
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
    color: var(--cp-ath-text);
}

.rh-cp-ath-showcase::before {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(34, 211, 238, .14), transparent 28%, rgba(45, 212, 191, .12) 72%, transparent);
    opacity: .86;
}

.rh-cp-ath-showcase > * {
    position: relative;
    z-index: 1;
}

.rh-cp-ath-showcase.is-demo {
    border-color: rgba(34, 211, 238, .34);
}

.rh-cp-ath-showcase.is-demo .rh-cp-ath-kicker {
    color: #071017;
    background: linear-gradient(135deg, var(--cp-ath-cyan), var(--cp-ath-teal));
    border-color: transparent;
}

.rh-cp-ath-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.rh-cp-ath-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
    padding: 6px 10px;
    border: 1px solid rgba(34, 211, 238, .28);
    border-radius: 999px;
    background: rgba(34, 211, 238, .10);
    color: var(--cp-ath-cyan);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rh-cp-ath-head h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -.045em;
}

.rh-cp-ath-head p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--cp-ath-muted);
    font-size: .98rem;
    line-height: 1.55;
}

.rh-cp-ath-toggle {
    display: inline-flex;
    flex-shrink: 0;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(34, 211, 238, .16);
    border-radius: 999px;
    background: rgba(15, 23, 42, .74);
}

.rh-cp-ath-toggle a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    color: rgba(226, 232, 240, .72);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.rh-cp-ath-toggle a:hover {
    transform: translateY(-1px);
    color: #fff;
    background: rgba(34, 211, 238, .10);
}

.rh-cp-ath-toggle a.is-active {
    color: #071017;
    background: linear-gradient(135deg, var(--cp-ath-cyan), var(--cp-ath-teal));
}

.rh-cp-ath-disclaimer {
    margin: 12px 0 18px;
    padding: 11px 13px;
    border: 1px solid rgba(34, 211, 238, .14);
    border-radius: 16px;
    background: rgba(15, 23, 42, .62);
    color: rgba(226, 232, 240, .76);
    font-size: 12px;
    line-height: 1.45;
}

.rh-cp-ath-score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.rh-cp-ath-score-card {
    min-height: 164px;
    padding: 18px;
    border: 1px solid rgba(34, 211, 238, .15);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 10%, rgba(34, 211, 238, .20), transparent 38%),
        rgba(2, 6, 23, .42);
}

.rh-cp-ath-score-card.is-commercial {
    background:
        radial-gradient(circle at 90% 10%, rgba(45, 212, 191, .18), transparent 38%),
        rgba(2, 6, 23, .42);
}

.rh-cp-ath-score-card span,
.rh-cp-ath-panel-head span {
    display: block;
    color: rgba(226, 232, 240, .60);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rh-cp-ath-score-card strong {
    display: block;
    margin-top: 8px;
    color: var(--cp-ath-cyan);
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    line-height: .95;
    font-weight: 950;
    letter-spacing: -.055em;
}

.rh-cp-ath-score-card strong small {
    color: rgba(226, 232, 240, .56);
    font-size: .88rem;
    letter-spacing: 0;
}

.rh-cp-ath-score-card p {
    min-height: 20px;
    margin: 8px 0 14px;
    color: var(--cp-ath-muted);
    font-size: 13px;
}

.rh-cp-ath-score-card i,
.rh-cp-ath-mix i {
    display: block;
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .17);
}

.rh-cp-ath-score-card i b,
.rh-cp-ath-mix i b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cp-ath-cyan), var(--cp-ath-teal), var(--cp-ath-emerald));
}

.rh-cp-ath-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.rh-cp-ath-metrics article {
    position: relative;
    overflow: hidden;
    min-height: 116px;
    padding: 14px;
    border: 1px solid rgba(34, 211, 238, .13);
    border-radius: 18px;
    background: rgba(15, 23, 42, .58);
}

.rh-cp-ath-metrics article::after {
    content: "";
    position: absolute;
    top: -22px;
    right: -22px;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: rgba(34, 211, 238, .10);
    filter: blur(12px);
}

.rh-cp-ath-metrics span {
    display: block;
    color: rgba(226, 232, 240, .58);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rh-cp-ath-metrics strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.rh-cp-ath-metrics p {
    margin: 7px 0 0;
    color: rgba(226, 232, 240, .55);
    font-size: 11px;
    line-height: 1.35;
}

.rh-cp-ath-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 14px;
    margin-bottom: 14px;
}

.rh-cp-ath-grid.is-secondary {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.rh-cp-ath-panel,
.rh-cp-ath-results,
.rh-cp-ath-cta {
    border: 1px solid rgba(34, 211, 238, .13);
    border-radius: 22px;
    background: rgba(2, 6, 23, .42);
}

.rh-cp-ath-panel,
.rh-cp-ath-results {
    padding: 18px;
}

.rh-cp-ath-panel-head {
    margin-bottom: 14px;
}

.rh-cp-ath-panel-head h3 {
    margin: 5px 0 0;
    color: #fff;
    font-size: 1.04rem;
    font-weight: 900;
    letter-spacing: -.02em;
}

.rh-cp-ath-bars {
    display: flex;
    align-items: end;
    gap: 7px;
    height: 170px;
    padding: 12px 10px 26px;
    border-radius: 18px;
    background:
        linear-gradient(to top, rgba(34, 211, 238, .07) 1px, transparent 1px) 0 0 / 100% 25%,
        rgba(15, 23, 42, .48);
}

.rh-cp-ath-bars div {
    position: relative;
    flex: 1;
    display: flex;
    align-items: end;
    justify-content: center;
    height: 100%;
    min-width: 8px;
}

.rh-cp-ath-bars i {
    display: block;
    width: 100%;
    min-height: 6px;
    border-radius: 9px 9px 3px 3px;
    background: linear-gradient(to top, rgba(6, 182, 212, .82), rgba(45, 212, 191, .98));
    box-shadow: 0 0 22px rgba(34, 211, 238, .16);
}

.rh-cp-ath-bars em {
    position: absolute;
    bottom: -19px;
    color: rgba(226, 232, 240, .58);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.rh-cp-ath-note {
    margin: 12px 0 0;
    color: rgba(226, 232, 240, .58);
    font-size: 11px;
    line-height: 1.4;
}

.rh-cp-ath-bests {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.rh-cp-ath-bests div {
    padding: 13px;
    border: 1px solid rgba(34, 211, 238, .12);
    border-radius: 16px;
    background: rgba(15, 23, 42, .54);
}

.rh-cp-ath-bests span {
    color: var(--cp-ath-cyan);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.rh-cp-ath-bests strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 950;
    letter-spacing: -.04em;
}

.rh-cp-ath-bests p {
    margin: 4px 0 0;
    color: rgba(226, 232, 240, .58);
    font-size: 11px;
    line-height: 1.35;
}

.rh-cp-ath-achievements,
.rh-cp-ath-presence {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.rh-cp-ath-achievements span,
.rh-cp-ath-presence span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 9px 11px;
    border: 1px solid rgba(34, 211, 238, .13);
    border-radius: 999px;
    background: rgba(15, 23, 42, .58);
    color: rgba(226, 232, 240, .84);
    font-size: 12px;
    font-weight: 750;
}

.rh-cp-ath-achievements span::before {
    content: "🏆";
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, .18));
}

.rh-cp-ath-presence span {
    border-radius: 16px;
}

.rh-cp-ath-presence strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(34, 211, 238, .14);
    color: var(--cp-ath-cyan);
    font-size: 11px;
}

.rh-cp-ath-result-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.rh-cp-ath-result-list article {
    padding: 14px;
    border: 1px solid rgba(34, 211, 238, .13);
    border-radius: 18px;
    background: rgba(15, 23, 42, .56);
}

.rh-cp-ath-result-list strong {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.25;
}

.rh-cp-ath-result-list p {
    margin: 6px 0 9px;
    color: rgba(226, 232, 240, .58);
    font-size: 11px;
    line-height: 1.35;
}

.rh-cp-ath-result-list em {
    color: var(--cp-ath-cyan);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.rh-cp-ath-cta {
    margin-top: 14px;
    padding: 24px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(34, 211, 238, .18), transparent 50%),
        linear-gradient(135deg, rgba(34, 211, 238, .08), rgba(2, 6, 23, .46), rgba(45, 212, 191, .08));
}

.rh-cp-ath-cta h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 950;
    letter-spacing: -.04em;
}

.rh-cp-ath-cta p {
    max-width: 680px;
    margin: 8px auto 0;
    color: var(--cp-ath-muted);
    font-size: .96rem;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .rh-cp-ath-head,
    .rh-cp-ath-score-grid,
    .rh-cp-ath-grid,
    .rh-cp-ath-grid.is-secondary {
        grid-template-columns: 1fr;
    }

    .rh-cp-ath-head {
        display: grid;
    }

    .rh-cp-ath-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rh-cp-ath-result-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rh-cp-ath-showcase {
        margin: 20px 0;
        padding: 16px;
        border-radius: 22px;
    }

    .rh-cp-ath-toggle {
        width: 100%;
    }

    .rh-cp-ath-toggle a {
        flex: 1;
        min-height: 44px;
    }

    .rh-cp-ath-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-cp-ath-bests,
    .rh-cp-ath-result-list {
        grid-template-columns: 1fr;
    }

    .rh-cp-ath-bars {
        height: 138px;
        gap: 5px;
    }
}
