﻿/* =========================================
   TCC STRIKE KILLS
   WORLD CHAMPIONSHIP â€” SEASON 01
   ========================================= */

/* ---------- CONFIGURACIÃ“N GENERAL ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #050505;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}


/* ---------- HEADER ---------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: rgba(5, 5, 5, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);

    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 3px;
}

.logo span {
    display: block;
    color: #e50914;
    font-size: 9px;
    letter-spacing: 3px;
    margin-top: -5px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #bbbbbb;
    transition: 0.3s;
}

nav a:hover {
    color: #e50914;
}


/* ---------- HERO ---------- */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 140px 20px 100px;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 50% 45%, rgba(229, 9, 20, 0.28), transparent 32%),
        radial-gradient(circle at 15% 20%, rgba(229, 9, 20, 0.12), transparent 25%),
        radial-gradient(circle at 85% 70%, rgba(229, 9, 20, 0.10), transparent 25%),
        linear-gradient(135deg, #090909 0%, #020202 55%, #0b0000 100%);
}

.hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.season {
    color: #e50914;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(45px, 8vw, 100px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -3px;
}

.hero h1 span {
    display: block;
    color: #e50914;
}

.subtitle {
    margin-top: 30px;
    color: #bbbbbb;
    font-size: 18px;
    letter-spacing: 1px;
}

.slogan {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero button,
.register button {
    margin-top: 35px;

    padding: 17px 35px;

    background: #e50914;
    color: #ffffff;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;

    transition: 0.3s;
}

.hero button:hover,
.register button:hover {
    background: #ffffff;
    color: #050505;
    transform: translateY(-3px);
}


/* ---------- STATS ---------- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #222;
    border-bottom: 1px solid #222;

    background: #0b0b0b;
}

.stat {
    text-align: center;
    padding: 45px 20px;

    border-right: 1px solid #222;
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;
    color: #e50914;
    font-size: 38px;
    font-weight: 900;
}

.stat span {
    color: #888;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* ---------- SECCIONES ---------- */

.section {
    max-width: 1200px;
    margin: auto;
    padding: 120px 30px;
}

.section-label {
    color: #e50914;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.section h2 {
    font-size: clamp(35px, 5vw, 60px);
    font-weight: 900;
    margin-bottom: 55px;
}


/* ---------- STEPS ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step {
    padding: 35px;

    background: #0d0d0d;
    border: 1px solid #222;

    transition: 0.3s;
}

.step:hover {
    border-color: #e50914;
    transform: translateY(-5px);
}

.step span {
    color: #e50914;
    font-size: 13px;
    font-weight: 900;
}

.step h3 {
    margin-top: 20px;
    font-size: 17px;
}

.step p {
    margin-top: 12px;
    color: #888;
    font-size: 14px;
}


/* ---------- PREMIOS ---------- */

.prizes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.prize {
    text-align: center;
    padding: 45px 20px;

    background: #0d0d0d;
    border: 1px solid #222;
}

.prize span {
    font-size: 35px;
}

.prize h3 {
    margin-top: 20px;
    font-size: 13px;
    letter-spacing: 1px;
}

.prize strong {
    display: block;
    margin-top: 15px;

    color: #e50914;
    font-size: 32px;
}

.prize.mvp {
    border-color: #e50914;
}


/* ---------- DIVISIONES ---------- */

.divisions {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.divisions div {
    padding: 35px 10px;

    text-align: center;

    background: #0d0d0d;
    border: 1px solid #222;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;

    transition: 0.3s;
}

.divisions div:hover {
    background: #e50914;
    border-color: #e50914;
}

.division-info {
    max-width: 700px;
    margin-top: 30px;

    color: #777;
    font-size: 14px;
}


/* ---------- REGISTRO ---------- */

.register {
    padding: 140px 30px;

    text-align: center;

    background:
        radial-gradient(circle, rgba(229, 9, 20, 0.18), transparent 55%),
        #090909;
}

.register h2 {
    font-size: clamp(45px, 7vw, 80px);
    font-weight: 900;
}

.register p:not(.section-label) {
    max-width: 600px;
    margin: 20px auto;

    color: #999;
}


/* ---------- FOOTER ---------- */

footer {
    padding: 50px 30px;

    text-align: center;

    border-top: 1px solid #222;

    background: #030303;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 3px;
}

.footer-logo span {
    display: block;
    color: #e50914;
    font-size: 9px;
    letter-spacing: 3px;
}

footer p {
    margin-top: 15px;
    color: #777;
    font-size: 12px;
}


/* ---------- CUENTA DE JUGADOR ---------- */

.account-section {
    padding: 100px 8%;
    background: #080808;
}


/* ---------- PORTAL DE JUGADORES ---------- */

:root {
    --portal-bg: #05090d;
    --portal-panel: #0a121b;
    --portal-panel-strong: #0d1822;
    --portal-line: #253543;
    --portal-text: #f4f6f5;
    --portal-muted: #9ba7b1;
    --portal-gold: #f2c300;
    --portal-gold-dark: #b89300;
}

.portal-header {
    height: 84px;
    padding: 0 3%;
    gap: 26px;
    background: rgba(3, 8, 13, 0.95);
    border-bottom-color: #263542;
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    line-height: 0.9;
}

.portal-brand strong {
    color: #f6f6f3;
    font-size: 30px;
    font-style: italic;
    letter-spacing: -3px;
}

.portal-brand span {
    color: var(--portal-gold);
    font-size: 12px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: .8px;
}

.portal-brand small {
    display: block;
    margin-top: 3px;
    color: #e7e8e8;
    font-size: 8px;
    font-style: normal;
    letter-spacing: 1.7px;
}

.portal-nav {
    flex: 1;
    justify-content: center;
    gap: clamp(14px, 2vw, 31px);
}

.portal-nav a {
    position: relative;
    padding: 31px 0 28px;
    color: #e9ecee;
    font-size: 12px;
    letter-spacing: 0;
}

.portal-nav a:hover,
.portal-nav a.is-active {
    color: var(--portal-gold);
}

.portal-nav a.is-active::after {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    height: 2px;
    background: var(--portal-gold);
    content: "";
}

.portal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.portal-login,
.portal-register,
.portal-outline-button {
    padding: 12px 17px;
    border: 1px solid var(--portal-gold);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .2px;
    transition: .2s ease;
}

.portal-register {
    background: var(--portal-gold);
    color: #171400;
}

.portal-login:hover,
.portal-outline-button:hover {
    background: rgba(242, 195, 0, .13);
}

.portal-register:hover {
    background: #ffe366;
    transform: translateY(-1px);
}

.portal-hero {
    position: relative;
    min-height: 560px;
    padding: 164px 7% 138px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 7, 10, .98) 0%, rgba(3, 7, 10, .88) 33%, rgba(3, 7, 10, .13) 72%),
        linear-gradient(0deg, rgba(3, 7, 10, .95) 0%, transparent 38%),
        url("../assets/portal-hero.png") center / cover no-repeat;
}

.portal-hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.portal-kicker,
.portal-card-kicker {
    color: var(--portal-gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.3px;
}

.portal-hero h1 {
    margin: 12px 0 18px;
    color: #f9f9f4;
    font-size: clamp(44px, 6.2vw, 88px);
    font-style: italic;
    line-height: .82;
    letter-spacing: -4px;
}

.portal-hero h1 span {
    color: var(--portal-gold);
}

.portal-tagline {
    max-width: 510px;
    color: #e0e4e4;
    font-size: clamp(15px, 1.5vw, 20px);
    letter-spacing: 2px;
    line-height: 1.45;
    text-transform: uppercase;
}

.portal-hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 31px;
}

.portal-text-link,
.portal-outline-link {
    color: var(--portal-gold);
    font-size: 12px;
    font-weight: 800;
}

.portal-hero-stats {
    position: absolute;
    right: 6%;
    bottom: 28px;
    left: 6%;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.portal-hero-stats article {
    display: flex;
    align-items: center;
    gap: 11px;
}

.portal-hero-stats article > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(242, 195, 0, .55);
    border-radius: 50%;
    color: var(--portal-gold);
    font-size: 19px;
}

.portal-hero-stats strong,
.portal-hero-stats small {
    display: block;
}

.portal-hero-stats strong {
    font-size: 11px;
}

.portal-hero-stats small {
    color: #c1c8cc;
    font-size: 9px;
    line-height: 1.35;
}

.portal-dashboard {
    padding: 28px 4% 54px;
    background: var(--portal-bg);
}

.portal-grid {
    display: grid;
    grid-template-columns: 1.18fr 1fr 1fr;
    gap: 16px;
    max-width: 1500px;
    margin: auto;
}

.portal-card {
    min-height: 240px;
    padding: 24px;
    border: 1px solid var(--portal-line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(14, 27, 38, .96), rgba(5, 12, 18, .96));
    box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.portal-card h2 {
    margin: 13px 0 8px;
    color: var(--portal-text);
    font-size: clamp(21px, 2vw, 30px);
    line-height: 1.05;
}

.portal-card > p:not(.portal-card-kicker),
.portal-card li small {
    color: var(--portal-muted);
    font-size: 13px;
}

.portal-tournament-card {
    min-height: 300px;
    background:
        linear-gradient(0deg, rgba(6, 12, 17, .98), rgba(6, 12, 17, .28)),
        radial-gradient(circle at 70% 20%, rgba(242, 195, 0, .35), transparent 33%),
        #111c25;
}

.portal-tournament-card .portal-register {
    width: 100%;
    margin-top: 76px;
}

.portal-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.portal-card-heading p {
    font-size: 12px;
    font-weight: 900;
}

.portal-card-heading span {
    padding: 4px 7px;
    border-radius: 4px;
    background: #d92d38;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.portal-match-card .portal-outline-link,
.portal-standings-card .portal-outline-link {
    display: block;
    margin-top: 46px;
    padding: 11px;
    border: 1px solid var(--portal-gold-dark);
    border-radius: 5px;
    text-align: center;
}

.portal-standing-head {
    display: grid;
    grid-template-columns: 28px 1fr 34px;
    gap: 8px;
    margin-top: 17px;
    padding: 7px 9px;
    background: rgba(0, 0, 0, .18);
    color: #b9c3c9;
    font-size: 11px;
}

.portal-standings-empty {
    min-height: 72px;
    padding: 16px 9px;
    color: var(--portal-muted);
    font-size: 12px;
}

.portal-champion-card,
.portal-mvp-card {
    min-height: 190px;
}

.portal-news-card {
    grid-column: 3;
    grid-row: span 2;
}

.portal-news-card ul {
    display: grid;
    gap: 17px;
    margin-top: 18px;
    list-style: none;
}

.portal-news-card li {
    display: flex;
    gap: 11px;
}

.portal-news-card li > span {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border: 1px solid var(--portal-gold-dark);
    border-radius: 4px;
    color: var(--portal-gold);
    font-size: 10px;
    font-weight: 900;
}

.portal-news-card li strong,
.portal-news-card li small {
    display: block;
}

.portal-news-card li strong {
    font-size: 12px;
    line-height: 1.35;
}

.portal-rules {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    align-items: center;
    gap: 28px;
    max-width: 1500px;
    margin: 16px auto 0;
    padding: 25px 30px;
    border: 1px solid var(--portal-line);
    border-radius: 8px;
    background: #09131c;
}

.portal-rules h2 {
    margin-top: 7px;
    color: #fff;
    font-size: 21px;
    line-height: 1.1;
}

.portal-rules > p {
    color: var(--portal-muted);
    font-size: 13px;
}

.portal-outline-button {
    white-space: nowrap;
}

/* ---------- MODAL DE CUENTA ---------- */

.account-modal {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 26px;
    overflow-y: auto;
    background: rgba(1, 5, 9, .82);
    backdrop-filter: blur(8px);
}

.account-modal[hidden] {
    display: none;
}

.account-modal-panel {
    position: relative;
    width: min(1080px, 100%);
    max-height: calc(100vh - 52px);
    padding: 42px;
    overflow-y: auto;
    border: 1px solid #3a4c59;
    border-radius: 12px;
    background: #08111a;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.account-modal .account-section,
.account-modal-panel .account-header {
    padding: 0;
}

.account-modal .account-header h2,
.account-modal .account-card h3,
.account-modal .account-status h3 {
    color: #fff;
}

.account-modal .account-header > p:last-child,
.account-modal .account-card label,
.account-modal .account-status > p:not(.account-status-label) {
    color: var(--portal-muted);
}

.account-modal .account-card,
.account-modal .account-status {
    border-color: var(--portal-line);
    background: #0c1721;
}

.account-modal .account-card-label,
.account-modal .account-status-label,
.account-modal .section-label {
    color: var(--portal-gold);
}

.account-modal .account-card input {
    border-color: #344552;
    background: #050b11;
}

.account-modal .account-card input:focus {
    border-color: var(--portal-gold);
}

.account-modal .account-primary-button {
    border-color: var(--portal-gold);
    background: var(--portal-gold);
    color: #171400;
}

.account-modal .account-secondary-button {
    border-color: var(--portal-gold);
}

.account-close {
    position: absolute;
    top: 16px;
    right: 19px;
    width: 34px;
    height: 34px;
    border: 1px solid #455966;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 25px;
    line-height: 1;
}

.account-modal-open {
    overflow: hidden;
}

@media (max-width: 1080px) {
    .portal-nav {
        display: none;
    }

    .portal-header {
        justify-content: space-between;
    }

    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-news-card {
        grid-column: auto;
        grid-row: auto;
    }

    .portal-rules {
        grid-template-columns: 1fr 1fr;
    }

    .portal-rules .portal-outline-button {
        grid-column: span 2;
    }
}

@media (max-width: 700px) {
    .portal-header {
        height: 68px;
        padding: 0 16px;
    }

    .portal-brand strong {
        font-size: 25px;
    }

    .portal-brand span {
        font-size: 9px;
    }

    .portal-actions {
        gap: 5px;
    }

    .portal-actions button {
        padding: 9px 8px;
        font-size: 9px;
    }

    .portal-hero {
        min-height: 650px;
        padding: 115px 7% 218px;
        background-position: 66% center;
    }

    .portal-hero h1 {
        letter-spacing: -2px;
    }

    .portal-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .portal-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        right: 7%;
        bottom: 22px;
        left: 7%;
        gap: 12px 9px;
    }

    .portal-hero-stats article > span {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }

    .portal-hero-stats strong {
        font-size: 9px;
    }

    .portal-hero-stats small {
        font-size: 8px;
    }

    .portal-dashboard {
        padding: 17px 4% 32px;
    }

    .portal-grid,
    .portal-rules {
        grid-template-columns: 1fr;
    }

    .portal-card {
        min-height: 0;
    }

    .portal-tournament-card .portal-register,
    .portal-match-card .portal-outline-link,
    .portal-standings-card .portal-outline-link {
        margin-top: 30px;
    }

    .portal-rules .portal-outline-button {
        grid-column: auto;
    }

    .account-modal {
        padding: 12px;
        place-items: start center;
    }

    .account-modal-panel {
        max-height: none;
        padding: 37px 18px 22px;
    }
}

.account-header {
    max-width: 760px;
    margin-bottom: 36px;
}

.account-header h2 {
    margin: 10px 0;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: 1px;
}

.account-header > p:last-child {
    color: #999;
    line-height: 1.6;
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(420px, 1.3fr);
    gap: 24px;
    max-width: 1180px;
}

.account-card,
.account-status {
    padding: 32px;
    background: #101010;
    border: 1px solid #292929;
}

.account-card-label,
.account-status-label {
    margin: 0 0 10px;
    color: #e50914;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.account-card h3,
.account-status h3 {
    margin: 0 0 28px;
    color: #fff;
    font-size: 23px;
}

.account-card label {
    display: block;
    margin: 18px 0 8px;
    color: #bbb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.account-card label span {
    color: #777;
    font-weight: 400;
}

.account-card input {
    box-sizing: border-box;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #333;
    border-radius: 0;
    outline: none;
    background: #070707;
    color: #fff;
}

.account-card input:focus {
    border-color: #e50914;
}

.account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.account-primary-button,
.account-secondary-button {
    width: 100%;
    margin-top: 26px;
    padding: 15px;
    border: 1px solid #e50914;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    transition: 0.2s ease;
}

.account-primary-button {
    background: #e50914;
    color: #fff;
}

.account-primary-button:hover {
    background: #fff;
    color: #111;
}

.account-secondary-button {
    background: transparent;
    color: #fff;
}

.account-secondary-button:hover {
    border-color: #fff;
}

.account-message {
    min-height: 20px;
    margin: 14px 0 0;
    color: #bbb;
    font-size: 13px;
    line-height: 1.4;
}

.account-message.is-error {
    color: #ff7177;
}

.account-message.is-success {
    color: #77dd92;
}

.account-status {
    max-width: 560px;
}

.account-status h3 {
    margin-bottom: 8px;
}

.account-status > p:not(.account-status-label) {
    color: #aaa;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .prizes {
        grid-template-columns: repeat(2, 1fr);
    }

    .divisions {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .stats {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .prizes {
        grid-template-columns: 1fr;
    }

    .divisions {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        letter-spacing: -1px;
    }
}

/* ---------- SISTEMA DE PUNTUACIÃ“N ---------- */

.score-intro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.score-rule {
    padding: 25px;

    background: #0d0d0d;
    border: 1px solid #222;

    text-align: center;
}

.score-rule strong {
    display: block;

    color: #e50914;

    font-size: 15px;
    letter-spacing: 1px;
}

.score-rule span {
    display: block;

    margin-top: 8px;

    color: #888;
    font-size: 13px;
}

.score-table-wrapper {
    max-height: 620px;
    overflow-y: auto;

    border: 1px solid #222;
    background: #090909;
}

.score-table {
    width: 100%;
    border-collapse: collapse;
}

.score-table th {
    position: sticky;
    top: 0;

    padding: 18px;

    background: #e50914;
    color: #ffffff;

    font-size: 12px;
    letter-spacing: 2px;

    text-align: left;
}

.score-table th:last-child,
.score-table td:last-child {
    text-align: right;
}

.score-table td {
    padding: 14px 18px;

    border-bottom: 1px solid #1c1c1c;

    color: #bbbbbb;

    font-size: 14px;
}

.score-table td:last-child {
    color: #ffffff;
    font-weight: 900;
}

.score-table tr:hover td {
    background: #111111;
}

.score-formula {
    margin-top: 30px;
    padding: 30px;

    text-align: center;

    background: #0d0d0d;
    border: 1px solid #e50914;
}

.score-formula span {
    display: block;

    color: #888;

    font-size: 11px;
    letter-spacing: 3px;
}

.score-formula strong {
    display: block;

    margin-top: 10px;

    color: #ffffff;

    font-size: 20px;
    letter-spacing: 1px;
}


/* ---------- RESPONSIVE: PUNTUACIÃ“N ---------- */

@media (max-width: 700px) {

    .score-intro {
        grid-template-columns: 1fr;
    }

    .score-table th,
    .score-table td {
        padding: 12px;
    }

    .score-formula strong {
        font-size: 16px;
    }
}

/* ---------- CAMINO AL CAMPEONATO ---------- */

.championship-path {
    padding: 120px 30px;

    background:
        radial-gradient(
            circle at center,
            rgba(229, 9, 20, 0.10),
            transparent 50%
        ),
        #070707;
}

.path-header {
    max-width: 900px;
    margin: 0 auto 70px;

    text-align: center;
}

.path-header h2 {
    font-size: clamp(35px, 5vw, 60px);
    font-weight: 900;
}

.path-header p:last-child {
    max-width: 650px;
    margin: 20px auto 0;

    color: #888;
}

.path {
    max-width: 1000px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.path-item {
    width: 180px;
    min-height: 150px;

    padding: 25px 15px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    background: #0d0d0d;
    border: 1px solid #252525;

    transition: 0.3s;
}

.path-item:hover {
    border-color: #e50914;
    transform: translateY(-5px);
}

.path-number {
    color: #e50914;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.path-item strong {
    margin-top: 12px;

    font-size: 15px;
    font-weight: 900;
}

.path-item small {
    margin-top: 8px;

    color: #777;

    font-size: 11px;
    line-height: 1.5;
}

.path-line {
    width: 35px;
    height: 2px;

    background: #e50914;
}

.path-item.champion {
    border-color: #e50914;

    background:
        radial-gradient(
            circle,
            rgba(229, 9, 20, 0.15),
            #0d0d0d 70%
        );
}


/* ---------- CAPITÃN ---------- */

.captain-rule {
    max-width: 900px;

    margin: 70px auto 0;

    padding: 30px;

    display: flex;
    align-items: center;
    gap: 25px;

    background: #0d0d0d;
    border: 1px solid #222;
}

.captain-icon {
    min-width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e50914;

    color: #e50914;

    font-size: 22px;
}

.captain-rule strong {
    font-size: 14px;
    letter-spacing: 2px;
}

.captain-rule p {
    margin-top: 8px;

    color: #888;

    font-size: 13px;
}

/* ---------- LEGADO PUBLICO ---------- */

.legacy-section {
    background: #090909;
}

.legacy-highlights,
.legacy-grid {
    max-width: 1000px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.legacy-highlight,
.legacy-panel {
    background: #111111;
    border: 1px solid #242424;
    padding: 28px;
}

.legacy-highlight {
    display: grid;
    gap: 8px;
}

.legacy-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #e50914;
    color: #e50914;
    font-weight: 900;
    letter-spacing: 1px;
}

.legacy-highlight small,
.legacy-panel-heading small {
    color: #e50914;
    font-size: 10px;
    letter-spacing: 2px;
}

.legacy-highlight strong {
    font-size: 24px;
    letter-spacing: 1px;
}

.legacy-highlight > span:last-child,
.legacy-empty {
    color: #777777;
    font-size: 13px;
}

.legacy-panel-heading h3 {
    margin-top: 6px;
    font-size: 20px;
}

.legacy-grid {
    margin-top: 18px;
}

.legacy-list,
.badge-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.legacy-entry,
.badge-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #242424;
    font-size: 13px;
}

.badge-entry span:last-child {
    color: #e50914;
    font-size: 11px;
    letter-spacing: 1px;
}

@media (max-width: 700px) {
    .legacy-highlights,
    .legacy-grid {
        grid-template-columns: 1fr;
    }
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 1000px) {

    .path {
        flex-direction: column;
    }

    .path-line {
        width: 2px;
        height: 30px;
    }

    .path-item {
        width: min(100%, 350px);
    }
}

@media (max-width: 600px) {

    .championship-path {
        padding: 90px 20px;
    }

    .captain-rule {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- REGISTRO DE EQUIPOS ---------- */

.register {
    padding: 120px 20px;
    background:
        radial-gradient(
            circle at top center,
            rgba(229, 9, 20, 0.12),
            transparent 45%
        ),
        #050505;
}

.register-header {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.register-header h2 {
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 900;
}

.register-header > p:last-child {
    margin-top: 10px;
    color: #888;
}

.registration-container {
    max-width: 1000px;
    margin: auto;
}

.registration-section {
    margin-bottom: 25px;
    padding: 35px;

    background: #0d0d0d;
    border: 1px solid #222;
}

.registration-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.registration-title > span {
    color: #e50914;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.registration-title h3 {
    font-size: 18px;
    font-weight: 900;
}

.registration-title p {
    margin-top: 4px;
    color: #777;
    font-size: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;

    color: #999;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.form-group input,
.player-fields input {
    width: 100%;

    padding: 15px;

    background: #080808;
    border: 1px solid #292929;

    color: #ffffff;

    outline: none;

    font-family: inherit;
    font-size: 13px;

    transition: 0.3s;
}

.form-group input:focus,
.player-fields input:focus {
    border-color: #e50914;
}

.form-group input::placeholder,
.player-fields input::placeholder {
    color: #555;
}


/* ---------- JUGADORES ---------- */

.player-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.player-card {
    display: grid;
    grid-template-columns: 55px 1fr;
    align-items: center;

    padding: 15px;

    background: #080808;
    border: 1px solid #202020;
}

.captain-card {
    border-color: #e50914;
}

.player-number {
    color: #e50914;
    font-size: 12px;
    font-weight: 900;
}

.player-card strong {
    font-size: 13px;
}

.player-card small {
    display: block;
    margin-top: 3px;
    color: #666;
    font-size: 11px;
}

.player-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}


/* ---------- REGLAS ---------- */

.registration-rules {
    margin-top: 35px;
    padding: 30px;

    background: #0b0b0b;
    border: 1px solid #222;
}

.registration-rules h3 {
    margin-bottom: 20px;

    color: #e50914;

    font-size: 12px;
    letter-spacing: 2px;
}

.registration-rules label {
    display: block;

    margin: 13px 0;

    color: #999;

    font-size: 13px;
}

.registration-rules input {
    margin-right: 10px;
    accent-color: #e50914;
}


/* ---------- BOTÃ“N ---------- */

.register-team-button {
    display: block;

    width: 100%;

    margin-top: 25px;
    padding: 20px;

    background: #e50914;
    color: #ffffff;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;

    transition: 0.3s;
}

.register-team-button:hover {
    background: #ffffff;
    color: #050505;
    transform: translateY(-3px);
}

.registration-note {
    margin-top: 15px;

    text-align: center;

    color: #666;

    font-size: 12px;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 700px) {

    .registration-section {
        padding: 25px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .player-fields {
        grid-template-columns: 1fr;
    }

    .player-card {
        grid-template-columns: 40px 1fr;
    }

    .account-section {
        padding: 70px 6%;
    }

    .account-grid,
    .account-form-grid {
        grid-template-columns: 1fr;
    }

    .account-card,
    .account-status {
        padding: 24px 18px;
    }
}


/* =========================================================
   TCC STRIKE KILLS â€” PLAYER PORTAL VISUAL SYSTEM
   NUEVA IDENTIDAD VISUAL
   ========================================================= */

#playerApp {
    --tcc-red: #d71920;
    --tcc-red-bright: #ff252f;
    --tcc-red-dark: #7f0b10;
    --tcc-black: #030507;
    --tcc-black-2: #070a0e;
    --tcc-panel: rgba(9, 13, 18, 0.96);
    --tcc-panel-2: rgba(13, 18, 24, 0.94);
    --tcc-line: rgba(255,255,255,.08);
    --tcc-text: #f4f6f8;
    --tcc-muted: #8f99a3;

    position: relative !important;
    min-height: 100vh !important;

    background:
        linear-gradient(
            90deg,
            rgba(3,5,7,.98) 0%,
            rgba(3,5,7,.90) 42%,
            rgba(3,5,7,.72) 72%,
            rgba(3,5,7,.88) 100%
        ),
        radial-gradient(
            circle at 82% 20%,
            rgba(215,25,32,.16),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #030507 0%,
            #06090d 45%,
            #020305 100%
        ) !important;

    overflow: hidden !important;
}


/* ---------------------------------------------------------
   TEXTURAS / AMBIENTE
   --------------------------------------------------------- */

#playerApp::before {
    content: "";
    position: fixed;
    inset: 0;

    pointer-events: none;
    z-index: 0;

    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(215,25,32,.10),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            transparent 0%,
            rgba(255,255,255,.015) 50%,
            transparent 100%
        );

    opacity: .95;
}

#playerApp::after {
    content: "";

    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;

    width: 38%;

    pointer-events: none;
    z-index: 0;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(215,25,32,.05) 100%
        );

    clip-path: polygon(
        35% 0,
        100% 0,
        100% 100%,
        0 100%
    );
}


/* ---------------------------------------------------------
   CONTENIDO
   --------------------------------------------------------- */

#playerApp .player-shell {
    position: relative !important;
    z-index: 1 !important;
}


/* ---------------------------------------------------------
   CABECERA
   --------------------------------------------------------- */

#playerApp .player-header {
    position: relative !important;

    padding-bottom: 18px !important;
    margin-bottom: 30px !important;

    border-bottom: 1px solid var(--tcc-line) !important;
}

#playerApp .player-header::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 120px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--tcc-red),
            transparent
        );
}


/* ---------------------------------------------------------
   MARCA
   --------------------------------------------------------- */

#playerApp .player-brand {
    position: relative;
}

#playerApp .player-brand-mark {
    color: #fff !important;
    text-shadow:
        0 0 12px rgba(215,25,32,.18);
}

#playerApp .player-brand-mark span {
    color: var(--tcc-red) !important;
}

#playerApp .player-brand-text strong {
    color: #fff;
    letter-spacing: 2.5px;
}

#playerApp .player-brand-text small {
    color: var(--tcc-muted);
}


/* ---------------------------------------------------------
   BOTONES
   --------------------------------------------------------- */

#playerApp .player-header-button {
    position: relative;

    border: 1px solid rgba(215,25,32,.55) !important;

    background:
        linear-gradient(
            180deg,
            rgba(215,25,32,.08),
            rgba(215,25,32,.02)
        ) !important;

    color: #fff !important;

    text-transform: uppercase;

    transition:
        .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

#playerApp .player-header-button:hover {
    background:
        linear-gradient(
            180deg,
            rgba(215,25,32,.24),
            rgba(215,25,32,.08)
        ) !important;

    border-color: var(--tcc-red-bright) !important;

    box-shadow:
        0 0 0 1px rgba(215,25,32,.10),
        0 0 18px rgba(215,25,32,.20);

    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   BIENVENIDA
   --------------------------------------------------------- */

#playerApp .player-kicker {
    color: var(--tcc-red-bright) !important;
    position: relative;
}

#playerApp .player-welcome h1 {
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: -1.5px !important;
    text-shadow:
        0 4px 20px rgba(0,0,0,.55);
}

#playerApp .player-welcome p {
    color: var(--tcc-muted) !important;
}


/* ---------------------------------------------------------
   TARJETAS
   --------------------------------------------------------- */

#playerApp .player-card {
    position: relative !important;

    background:
        linear-gradient(
            145deg,
            rgba(13,18,24,.98),
            rgba(5,8,12,.98)
        ) !important;

    border:
        1px solid
        rgba(255,255,255,.08) !important;

    border-radius: 4px !important;

    box-shadow:
        0 16px 45px rgba(0,0,0,.28);

    overflow: hidden;
}

#playerApp .player-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 70px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--tcc-red),
            transparent
        );
}

#playerApp .player-card::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 90px;
    height: 90px;

    background:
        linear-gradient(
            135deg,
            rgba(215,25,32,.08),
            transparent 70%
        );

    pointer-events: none;
}


/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

#playerApp .player-card-label {
    color: var(--tcc-red-bright) !important;

    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 2.5px !important;
}


/* ---------------------------------------------------------
   TÃTULOS
   --------------------------------------------------------- */

#playerApp .player-card h2,
#playerApp .player-card h3 {
    color: #fff !important;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   BLOQUES INTERNOS
   --------------------------------------------------------- */

#playerApp .player-info-item,
#playerApp .player-member,
#playerApp .player-formation-state {
    background:
        linear-gradient(
            145deg,
            rgba(6,10,14,.98),
            rgba(3,6,9,.98)
        ) !important;

    border:
        1px solid
        rgba(255,255,255,.07) !important;

    border-radius: 2px !important;
}

#playerApp .player-info-item:hover,
#playerApp .player-member:hover {
    border-color:
        rgba(215,25,32,.28) !important;

    background:
        linear-gradient(
            145deg,
            rgba(13,9,11,.98),
            rgba(4,7,10,.98)
        ) !important;
}


/* ---------------------------------------------------------
   ESTADO
   --------------------------------------------------------- */

#playerApp .player-state-badge {
    border-radius: 2px !important;

    border-color:
        rgba(215,25,32,.42) !important;

    background:
        rgba(215,25,32,.08) !important;

    color: #fff !important;
}


/* ---------------------------------------------------------
   BOTONES DE MODALIDAD
   --------------------------------------------------------- */

#playerApp .player-mode-button {
    border:
        1px solid
        rgba(215,25,32,.46) !important;

    background:
        linear-gradient(
            145deg,
            rgba(12,16,21,.98),
            rgba(5,8,12,.98)
        ) !important;

    border-radius: 3px !important;
}

#playerApp .player-mode-button:hover {
    border-color:
        var(--tcc-red-bright) !important;

    background:
        linear-gradient(
            145deg,
            rgba(25,10,12,.98),
            rgba(7,9,13,.98)
        ) !important;

    box-shadow:
        0 0 0 1px rgba(215,25,32,.12),
        0 0 25px rgba(215,25,32,.18);
}


/* ---------------------------------------------------------
   TABLAS
   --------------------------------------------------------- */

#playerApp table {
    background: transparent;
}

#playerApp table thead tr {
    background:
        linear-gradient(
            90deg,
            rgba(215,25,32,.10),
            rgba(7,11,16,.96)
        ) !important;

    border-bottom:
        1px solid
        rgba(215,25,32,.32) !important;
}

#playerApp table th {
    color: #b7bec5 !important;

    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .9px !important;
}

#playerApp table tbody tr {
    background:
        rgba(5,8,12,.72);

    border-bottom:
        1px solid
        rgba(255,255,255,.055);
}

#playerApp table tbody tr:hover {
    background:
        rgba(215,25,32,.055) !important;
}


/* ---------------------------------------------------------
   SCROLL HORIZONTAL
   --------------------------------------------------------- */

#playerApp [style*="overflow-x:auto"] {
    scrollbar-width: thin;

    scrollbar-color:
        var(--tcc-red)
        #05080c;
}

#playerApp [style*="overflow-x:auto"]::-webkit-scrollbar {
    height: 7px;
}

#playerApp [style*="overflow-x:auto"]::-webkit-scrollbar-track {
    background: #05080c;
}

#playerApp [style*="overflow-x:auto"]::-webkit-scrollbar-thumb {
    background: #7f0b10;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 650px) {

    #playerApp .player-card {
        border-radius: 3px !important;
    }

    #playerApp .player-welcome h1 {
        font-size: 34px !important;
    }

    #playerApp .player-header {
        margin-bottom: 24px !important;
    }

}


#playerApp {
    position: relative !important;
    min-height: 100vh !important;
    overflow: hidden !important;

    background:
        linear-gradient(
            90deg,
            rgba(3,5,7,.98) 0%,
            rgba(3,5,7,.94) 32%,
            rgba(3,5,7,.78) 62%,
            rgba(3,5,7,.92) 100%
        ),
        #030507 !important;
}


/* =========================================================
   LOGO OFICIAL TCC
   ========================================================= */

#playerApp .player-brand-logo {
    display: block;

    width: 78px;
    height: 78px;

    object-fit: contain;

    flex-shrink: 0;
}


/* =========================================================
   TCC PLAYER PORTAL â€” ENCABEZADO OFICIAL
   ========================================================= */

#playerApp .player-welcome {
    position: relative !important;

    min-height: 360px !important;

    margin:
        0 0 28px 0 !important;

    padding:
        190px 44px 38px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;

    overflow: hidden !important;

    border:
        1px solid
        rgba(215,25,32,.42) !important;

    border-radius: 4px !important;

    background:
        linear-gradient(
            90deg,
            rgba(3,5,7,.96) 0%,
            rgba(3,5,7,.82) 34%,
            rgba(3,5,7,.25) 68%,
            rgba(3,5,7,.42) 100%
        ),
        linear-gradient(
            0deg,
            rgba(3,5,7,.88) 0%,
            transparent 48%
        ),
        url("../assets/portal-header.png")
        center center / cover no-repeat !important;

    box-shadow:
        0 20px 55px rgba(0,0,0,.40),
        inset 0 0 80px rgba(0,0,0,.28);
}


/* LÃ­nea roja superior */

#playerApp .player-welcome::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 190px;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #ff252f,
            #d71920,
            transparent
        );

    z-index: 2;
}


/* Oscurecimiento inferior */

#playerApp .player-welcome::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 48%;

    background:
        linear-gradient(
            0deg,
            rgba(3,5,7,.92),
            transparent
        );

    pointer-events: none;

    z-index: 0;
}


/* Contenido */

#playerApp .player-welcome > * {
    position: relative;

    z-index: 1;
}


/* CUENTA DE JUGADOR */

#playerApp .player-welcome .player-kicker {
    margin-bottom: 10px !important;

    color: #ff252f !important;

    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
}


/* NOMBRE DEL JUGADOR */

#playerApp .player-welcome h1 {
    max-width: 850px;

    margin:
        0 0 8px 0 !important;

    color: #ffffff !important;

    font-size:
        clamp(38px, 5vw, 64px) !important;

    line-height: .95 !important;

    font-weight: 900 !important;

    letter-spacing:
        -1.5px !important;

    text-transform:
        uppercase !important;

    text-shadow:
        0 4px 22px rgba(0,0,0,.80);
}


/* DESCRIPCIÃ“N */

#playerApp .player-welcome > p:last-child {
    max-width: 650px;

    color: #c1c7cc !important;

    font-size: 15px !important;

    line-height: 1.45 !important;
}


/* MOBILE */

@media (max-width: 700px) {

    #playerApp .player-welcome {
        min-height: 430px !important;

        padding:
            230px 22px 28px !important;

        background-position:
            58% center !important;
    }

    #playerApp .player-welcome h1 {
        font-size: 34px !important;
    }

}



/* =========================================================
   TCC â€” AISLAMIENTO DE PORTALES
   ========================================================= */

/* ---------------------------------------------------------
   PORTAL PÃšBLICO
   --------------------------------------------------------- */

.public-portal-body header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}


/* ---------------------------------------------------------
   PORTAL DEL JUGADOR
   --------------------------------------------------------- */

/*
   El portal del jugador NO debe heredar estilos
   generales del portal pÃºblico.
*/

.player-portal-body {
    background: #030507 !important;
}

.player-portal-body nav {
    all: unset;
}

.player-portal-body a {
    color: inherit;
    text-decoration: none;
}

.player-portal-body button {
    font-family: Arial, Helvetica, sans-serif;
}



/* =========================================================
   TCC STRIKE KILLS â€” PLAYER PORTAL
   CABECERA + HERO OFICIAL
   ========================================================= */

#playerApp {
    background:
        linear-gradient(
            180deg,
            #020304 0%,
            #05080c 45%,
            #020304 100%
        ) !important;
}


/* =========================================================
   TOPBAR
   ========================================================= */

#playerApp .tcc-player-topbar {

    position: relative;

    z-index: 20;

    display: flex;

    align-items: center;

    gap: 22px;

    width: 100%;

    min-height: 84px;

    padding:
        10px 22px;

    background:
        linear-gradient(
            180deg,
            #030405 0%,
            #080a0d 100%
        );

    border-bottom:
        1px solid
        rgba(215,25,32,.45);

    box-shadow:
        0 8px 35px rgba(0,0,0,.45);
}


/* =========================================================
   LOGO
   ========================================================= */

#playerApp .tcc-player-logo {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 78px;
    height: 62px;

    flex-shrink: 0;

    text-decoration: none;
}

#playerApp .tcc-player-logo img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 12px
            rgba(215,25,32,.18)
        );
}


/* =========================================================
   MARCA
   ========================================================= */

#playerApp .tcc-player-brand {

    display: flex;

    flex-direction: column;

    min-width: 205px;
}

#playerApp .tcc-player-brand strong {

    color: #ffffff;

    font-size: 15px;

    font-weight: 900;

    letter-spacing: 1.5px;
}

#playerApp .tcc-player-brand span {

    margin-top: 4px;

    color: #929aa3;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.8px;
}


/* =========================================================
   NAVEGACIÃ“N
   ========================================================= */

#playerApp .tcc-player-nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 24px;

    flex: 1;
}

#playerApp .tcc-player-nav a {

    position: relative;

    padding: 30px 2px;

    color: #adb4bb;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .7px;

    text-decoration: none;

    transition:
        color .2s ease;
}

#playerApp .tcc-player-nav a::after {

    content: "";

    position: absolute;

    right: 0;
    bottom: 18px;
    left: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d71920,
            transparent
        );

    transform:
        scaleX(0);

    transition:
        transform .2s ease;
}

#playerApp .tcc-player-nav a:hover {

    color: #ffffff;
}

#playerApp .tcc-player-nav a:hover::after {

    transform:
        scaleX(1);
}


/* =========================================================
   USUARIO
   ========================================================= */

#playerApp .tcc-player-user {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

#playerApp .tcc-player-user-info {

    display: flex;

    flex-direction: column;

    min-width: 105px;

    text-align: right;
}

#playerApp .tcc-player-user-info strong {

    color: #ffffff;

    font-size: 11px;

    font-weight: 900;
}

#playerApp .tcc-player-user-info span {

    margin-top: 3px;

    color: #d71920;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .8px;
}


/* =========================================================
   BOTONES
   ========================================================= */

#playerApp .tcc-player-action {

    padding:
        9px 11px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 2px;

    background:
        rgba(255,255,255,.025);

    color: #c4c9ce;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .7px;

    white-space: nowrap;

    cursor: pointer;

    transition:
        .2s ease;
}

#playerApp .tcc-player-action:hover {

    color: #ffffff;

    border-color:
        rgba(215,25,32,.55);

    background:
        rgba(215,25,32,.08);
}

#playerApp .tcc-player-action-red {

    color: #ffffff;

    border-color:
        rgba(215,25,32,.5);

    background:
        rgba(215,25,32,.08);
}


/* =========================================================
   HERO
   ========================================================= */

#playerApp .tcc-player-hero {

    position: relative;

    min-height: 390px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding:
        32px 48px 34px;

    overflow: hidden;

    border-bottom:
        1px solid
        rgba(215,25,32,.34);

    background-image:
        url("../assets/portal-header.png");

    background-position:
        center center;

    background-size:
        cover;

    background-repeat:
        no-repeat;
}


/* Oscurecimiento */

#playerApp .tcc-player-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2,4,6,.94) 0%,
            rgba(2,4,6,.76) 31%,
            rgba(2,4,6,.22) 66%,
            rgba(2,4,6,.52) 100%
        ),
        linear-gradient(
            0deg,
            rgba(2,4,6,.86) 0%,
            rgba(2,4,6,.08) 65%
        );

    pointer-events: none;
}


/* LÃ­nea roja */

#playerApp .tcc-player-hero::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 210px;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #ff252f,
            #d71920,
            transparent
        );

    z-index: 3;
}


/* Contenido izquierdo */

#playerApp .tcc-player-hero-content {

    position: relative;

    z-index: 4;

    max-width: 700px;

    transform: translateY(12px);
}

#playerApp .tcc-player-hero-kicker {

    margin-bottom: 9px;

    color: #ff252f;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2.6px;
}

#playerApp .tcc-player-hero-content h1 {

    margin: 0 0 10px;

    color: #ffffff;

    font-size:
        clamp(36px, 4.5vw, 60px);

    line-height: .92;

    font-weight: 900;

    letter-spacing: -1.7px;

    text-transform: uppercase;

    text-shadow:
        0 5px 25px
        rgba(0,0,0,.78);
}

#playerApp .tcc-player-hero-content > p:last-child {

    max-width: 570px;

    color: #c4c9ce;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   INFORMACIÃ“N EQUIPO
   ========================================================= */

#playerApp .tcc-player-hero-team {

    position: relative;

    z-index: 4;

    min-width: 300px;

    padding:
        22px 24px;

    border-left:
        2px solid
        #d71920;

    background:
        rgba(3,5,7,.68);

    backdrop-filter:
        blur(5px);
    transform: translateY(10px);
}

#playerApp .tcc-player-hero-team span {

    display: block;

    color: #9199a2;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.7px;
}

#playerApp .tcc-player-hero-team strong {

    display: block;

    margin-top: 7px;

    color: #ffffff;

    font-size: 22px;

    font-weight: 900;
}

#playerApp .tcc-player-hero-team small {

    display: block;

    margin-top: 6px;

    color: #28d85c;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .7px;
}


/* =========================================================
   RESTO DEL PORTAL
   ========================================================= */

#playerApp .player-grid {

    position: relative;

    z-index: 5;

    padding-top: 24px !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    #playerApp .tcc-player-nav {

        gap: 12px;
    }

    #playerApp .tcc-player-brand {

        display: none;
    }

}

@media (max-width: 800px) {

    #playerApp .tcc-player-topbar {

        flex-wrap: wrap;

        padding:
            12px 16px;
    }

    #playerApp .tcc-player-nav {

        order: 3;

        width: 100%;

        overflow-x: auto;

        justify-content: flex-start;
    }

    #playerApp .tcc-player-nav a {

        padding:
            10px 2px;
    }

    #playerApp .tcc-player-user {

        margin-left: auto;
    }

    #playerApp .tcc-player-hero {

        min-height: 500px;

        flex-direction: column;

        align-items: flex-start;

        justify-content: flex-end;

        padding:
            30px 24px 30px;

        background-position:
            58% center;
    }

    #playerApp .tcc-player-hero-team {
    width: 100%;
    transform: translateY(10px);
}

}

@media (max-width: 560px) {

    #playerApp .tcc-player-user-info {

        display: none;
    }

    #playerApp .tcc-player-action {

        font-size: 7px;

        padding:
            8px 9px;
    }

}


/* =========================================================
   OCULTAR CABECERA ANTIGUA DEL PORTAL DEL JUGADOR
   ========================================================= */

body.player-portal-body > header {
    display: none !important;
}


/* FIX: los headers internos del portal no deben comportarse como cabecera global */
#playerApp .team-layout > header {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    z-index: auto !important;
}


/* =========================================================
   DASHBOARD · ÚLTIMAS PARTIDAS / CALENDARIO
   ========================================================= */

#playerApp #playerDashRecentMatches,
#playerApp #playerDashCalendar {
    margin-top: 16px !important;
    gap: 8px !important;
}

/* Filas del dashboard */
#playerApp #playerDashRecentMatches .player-info-item,
#playerApp #playerDashCalendar .player-info-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    min-height: 58px !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
}

/* Etiqueta superior */
#playerApp #playerDashRecentMatches .player-info-item span,
#playerApp #playerDashCalendar .player-info-item span {
    color: #8b949e !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* Valor principal */
#playerApp #playerDashRecentMatches .player-info-item strong,
#playerApp #playerDashCalendar .player-info-item strong {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-align: right !important;
}

/* Número de partida más visible */
#playerApp #playerDashRecentMatches .player-info-item span,
#playerApp #playerDashCalendar .player-info-item span {
    flex: 1 !important;
}

/* Estado / resultado */
#playerApp #playerDashRecentMatches .player-info-item strong {
    letter-spacing: .2px;
}

/* Calendario */
#playerApp #playerDashCalendar .player-info-item strong {
    letter-spacing: .3px;
}

/* Responsive */
@media (max-width: 700px) {

    #playerApp #playerDashRecentMatches .player-info-item,
    #playerApp #playerDashCalendar .player-info-item {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 5px !important;
    }

    #playerApp #playerDashRecentMatches .player-info-item strong,
    #playerApp #playerDashCalendar .player-info-item strong {
        text-align: left !important;
    }

}


/* =========================================================
   DASHBOARD · DETALLE MI EQUIPO
   ========================================================= */

#playerApp #playerDashTeamDetailClose {
    width:auto !important;
    min-width:110px !important;
    max-width:160px !important;
    min-height:40px !important;
    padding:0 18px !important;
    margin:0 !important;
}


/* =========================================================
   DASHBOARD · PRÓXIMA PARTIDA
   ========================================================= */

#playerApp #playerDashNextMatch {
    white-space: nowrap !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
}

#playerApp #playerDashNextMatchInfo {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#playerApp article:has(#playerDashNextMatch)
    .player-info-item {
    padding: 12px 10px !important;
}

#playerApp article:has(#playerDashNextMatch)
    .player-info-item strong {
    white-space: nowrap !important;
    font-size: 16px !important;
}

#playerApp article:has(#playerDashNextMatch)
    .player-info-item span {
    font-size: 9px !important;
}

#playerApp article:has(#playerDashNextMatch)
    > div:nth-of-type(2) {
    grid-template-columns:
        .8fr
        1fr
        1.5fr !important;
    gap: 8px !important;
}


/* =========================================================
   AJUSTE · PRÓXIMA PARTIDA EN DASHBOARD
   ========================================================= */

#playerApp article:has(#playerDashNextMatch) {
    min-width: 0 !important;
    overflow: hidden !important;
}

#playerApp article:has(#playerDashNextMatch)
    > div:first-of-type {
    min-width: 0 !important;
}

#playerApp #playerDashNextMatch {
    min-width: 0 !important;
    white-space: nowrap !important;
}

#playerApp #playerDashNextMatchInfo {
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#playerApp #playerDashNextMatchStatus {
    min-width: 0 !important;
    width: auto !important;
    max-width: 108px !important;
    flex-shrink: 1 !important;
    padding: 9px 10px !important;
    font-size: 9px !important;
}

#playerApp article:has(#playerDashNextMatch)
    .player-info-item {
    min-width: 0 !important;
}

#playerApp article:has(#playerDashNextMatch)
    .player-info-item strong {
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#playerApp article:has(#playerDashNextMatch)
    > div:nth-of-type(2) {
    grid-template-columns:
        .8fr
        1fr
        1.35fr !important;
    gap: 6px !important;
}

/* =========================================================
   AJUSTE FINAL · ESTADO PRÓXIMA PARTIDA
   ========================================================= */

#playerApp article:has(#playerDashNextMatch)
    > div:first-of-type {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 92px !important;
    align-items:center !important;
    gap:12px !important;
    width:100% !important;
}

#playerApp #playerDashNextMatchStatus {
    width:92px !important;
    min-width:92px !important;
    max-width:92px !important;
    box-sizing:border-box !important;
    padding:9px 4px !important;
    margin:0 !important;
    overflow:visible !important;
    white-space:nowrap !important;
    text-overflow:clip !important;
    text-align:center !important;
    font-size:8px !important;
    letter-spacing:.7px !important;
}

#playerApp #playerDashNextMatch {
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}