/* TournifyPK homepage blocks (mockup layout) */

.hp-shell {
    background: #030806;
}

.hp-wrap {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 768px) {
    .hp-wrap {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1280px) {
    .hp-wrap {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

.hp-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.hp-shell--v3 {
    background:
        radial-gradient(circle at 78% 6%, rgba(0, 255, 132, 0.14), transparent 26rem),
        linear-gradient(180deg, #030806 0%, #050806 48%, #020403 100%);
    color: #f6f8f7;
}

.hp-section--tight {
    padding-top: 1.75rem;
}

.hp-section--final {
    padding-bottom: 5rem;
}

.hp-hero-v3 {
    position: relative;
    min-height: clamp(680px, 92vh, 860px);
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hp-hero-v3__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    filter: saturate(0.9) contrast(1.08) brightness(0.72);
    transform: scale(1.02);
}

.hp-hero-v3::before,
.hp-hero-v3::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hp-hero-v3::before {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(2, 6, 4, 0.96) 0%, rgba(2, 6, 4, 0.8) 46%, rgba(2, 6, 4, 0.46) 100%),
        linear-gradient(180deg, rgba(2, 6, 4, 0.25) 0%, #030806 100%);
}

.hp-hero-v3::after {
    z-index: 0;
    border-bottom: 1px solid rgba(201, 211, 204, 0.12);
    background:
        linear-gradient(rgba(0, 255, 132, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 132, 0.026) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 78%);
}

.hp-hero-v3__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.hp-hero-v3__copy {
    max-width: 760px;
}

.hp-hero-v3__title {
    margin: 0;
    display: grid;
    gap: 0.02em;
    font-family: var(--font-heading, var(--font-display));
    font-size: clamp(3.4rem, 9vw, 7.8rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hp-hero-v3__title span:nth-child(2) {
    color: #00ff84;
    text-shadow: 0 0 28px rgba(0, 255, 132, 0.34);
}

.hp-hero-v3__subtitle {
    max-width: 40rem;
    margin: 1.35rem 0 0;
    color: #c9d3cc;
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    line-height: 1.65;
}

.hp-hero-v3__actions,
.hp-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.88rem 1.2rem;
    border: 1px solid rgba(201, 211, 204, 0.2);
    border-radius: 8px;
    color: #dbe5dc;
    background: rgba(201, 211, 204, 0.06);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hp-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 132, 0.55);
    color: #00ff84;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hp-btn--primary {
    border-color: transparent;
    background: #00ff84;
    color: #02140c;
    box-shadow: 0 0 34px rgba(0, 255, 132, 0.24);
}

.hp-btn--primary:hover {
    color: #02140c;
    background: #64ffad;
}

.hp-btn--ghost {
    background: rgba(5, 10, 7, 0.68);
    backdrop-filter: blur(14px);
}

.hp-btn .material-symbols-outlined {
    font-size: 1.12rem;
}

.hp-hero-v3__proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 620px;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hp-hero-v3__proof div {
    padding: 0.95rem;
    border: 1px solid rgba(201, 211, 204, 0.16);
    border-radius: 8px;
    background: rgba(5, 10, 7, 0.58);
    backdrop-filter: blur(16px);
}

.hp-hero-v3__proof strong {
    display: block;
    color: #00ff84;
    font-family: var(--font-heading, var(--font-display));
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1;
}

.hp-hero-v3__proof span {
    display: block;
    margin-top: 0.35rem;
    color: #9eb5aa;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hp-featured-card {
    overflow: hidden;
    border: 1px solid rgba(0, 255, 132, 0.26);
    border-radius: 8px;
    background: rgba(5, 10, 7, 0.82);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 255, 132, 0.1);
    backdrop-filter: blur(18px);
}

.hp-featured-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.hp-featured-card__body {
    padding: 1.15rem;
}

.hp-featured-card__status {
    display: inline-flex;
    margin-bottom: 0.8rem;
    padding: 0.28rem 0.62rem;
    border: 1px solid rgba(0, 255, 132, 0.32);
    color: #00ff84;
    background: rgba(0, 255, 132, 0.08);
    font-family: var(--font-display);
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hp-featured-card h2 {
    margin: 0;
    color: #f6f8f7;
    font-family: var(--font-heading, var(--font-display));
    font-size: clamp(1.15rem, 2.1vw, 1.55rem);
    line-height: 1.12;
    text-transform: uppercase;
}

.hp-featured-card p {
    margin: 0.55rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #9eb5aa;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hp-featured-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
}

.hp-featured-card__facts div {
    padding: 0.8rem;
    border: 1px solid rgba(201, 211, 204, 0.12);
    background: rgba(255, 255, 255, 0.035);
}

.hp-featured-card__facts span {
    display: block;
    color: #7e978b;
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-featured-card__facts strong {
    display: block;
    margin-top: 0.25rem;
    color: #dbe5dc;
    font-family: var(--font-display);
    font-size: 0.72rem;
}

.hp-featured-card__slots {
    height: 5px;
    margin: 1rem 0 1rem;
    overflow: hidden;
    background: rgba(201, 211, 204, 0.11);
}

.hp-featured-card__slots span {
    display: block;
    height: 100%;
    background: #00ff84;
    box-shadow: 0 0 18px rgba(0, 255, 132, 0.5);
}

.hp-featured-card__cta {
    width: 100%;
}

.hp-section-intro {
    max-width: 720px;
    margin-bottom: 1.35rem;
}

.hp-section-intro--split {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
}

.hp-section-intro h2,
.hp-final-cta h2 {
    margin: 0;
    color: #f6f8f7;
    font-family: var(--font-heading, var(--font-display));
    font-size: clamp(1.65rem, 4vw, 3.6rem);
    line-height: 0.96;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hp-section-intro p,
.hp-final-cta p {
    max-width: 42rem;
    margin: 0.7rem 0 0;
    color: #9eb5aa;
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    line-height: 1.65;
}

.hp-section-intro a {
    flex-shrink: 0;
    color: #00ff84;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.hp-games--v3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-tournaments--v3,
.hp-matches--v3,
.hp-paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hp-path {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
    border: 1px solid rgba(201, 211, 204, 0.15);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 255, 132, 0.1), transparent 12rem),
        rgba(9, 14, 11, 0.92);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hp-path:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 255, 132, 0.45);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 255, 132, 0.15), transparent 12rem),
        rgba(13, 20, 16, 0.96);
}

.hp-path .material-symbols-outlined {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: auto;
    border: 1px solid rgba(0, 255, 132, 0.28);
    border-radius: 8px;
    color: #00ff84;
    background: rgba(0, 255, 132, 0.07);
}

.hp-path strong {
    display: block;
    margin-top: 1.25rem;
    color: #f6f8f7;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hp-path small {
    display: block;
    margin-top: 0.6rem;
    color: #9eb5aa;
    font-size: 0.78rem;
    line-height: 1.55;
}

.hp-path em {
    display: block;
    margin-top: 1rem;
    color: #00ff84;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(0, 255, 132, 0.3);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 255, 132, 0.16), rgba(201, 211, 204, 0.04) 45%, rgba(3, 8, 6, 0.96)),
        #070d0a;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.hp-final-cta__actions {
    margin-top: 0;
    justify-content: flex-end;
}

.hp-empty {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    padding: 2rem;
    border: 1px dashed rgba(201, 211, 204, 0.24);
    border-radius: 8px;
    color: #9eb5aa;
    background: rgba(201, 211, 204, 0.04);
    text-align: center;
}

.hp-empty--hero {
    min-height: 360px;
    align-content: center;
}

.hp-empty .material-symbols-outlined {
    color: #00ff84;
    font-size: 2rem;
}

.hp-empty strong {
    color: #f6f8f7;
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-empty p {
    max-width: 24rem;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
}

@media (min-width: 1024px) {
    .hp-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* -- Bracket-corner cyber block -- */
.cyber-block {
    --cb-accent: #00ff84;
    --cb-glow: rgba(0, 255, 132, 0.22);
    position: relative;
    background: linear-gradient(165deg, rgba(7, 14, 11, 0.96), rgba(3, 8, 6, 0.98));
    border: 1px solid color-mix(in srgb, var(--cb-accent) 28%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cyber-block--muted-a,
.cyber-block--muted-b,
.cyber-block--gold,
.cyber-block--red {
    --cb-accent: #c9d3cc;
    --cb-glow: rgba(201, 211, 204, 0.2);
}

.cyber-block__corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--cb-accent);
    border-style: solid;
    pointer-events: none;
    filter: drop-shadow(0 0 6px var(--cb-glow));
}

.cyber-block__corner--tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.cyber-block__corner--tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.cyber-block__corner--bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.cyber-block__corner--br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* -- Section header -- */
.hp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.hp-head__title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(0.82rem, 1.6vw, 1rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f6f8f7;
}

.hp-head__title .material-symbols-outlined {
    color: var(--cb-accent, #00ff84);
    font-size: 1.35rem;
}

.hp-head__chevrons {
    color: var(--cb-accent, #00ff84);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.hp-head__link {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9eb5aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hp-head__link:hover {
    color: #00ff84;
}

/* -- Stats row -- */
.hp-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .hp-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

.hp-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    min-height: 88px;
}

.hp-stat__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--cb-accent) 45%, transparent);
    background: color-mix(in srgb, var(--cb-accent) 8%, transparent);
    color: var(--cb-accent);
    flex-shrink: 0;
}

.hp-stat__icon .material-symbols-outlined {
    font-size: 1.35rem;
}

.hp-stat__value {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800;
    line-height: 1;
    color: var(--cb-accent);
}

.hp-stat__label {
    margin-top: 0.2rem;
    font-family: var(--font-display);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9eb5aa;
}

/* -- Games strip -- */
.hp-games {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .hp-games {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .hp-games {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.hp-game {
    position: relative;
    display: block;
    min-height: 210px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-game:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.hp-game__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-game:hover .hp-game__img {
    transform: scale(1.06);
}

.hp-game__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(2, 8, 6, 0.55) 58%, rgba(2, 8, 6, 0.95) 100%);
}

.hp-game__top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cb-accent);
    box-shadow: 0 0 12px var(--cb-glow);
}

.hp-game__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0.65rem 0.85rem;
}

.hp-game__name {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f6f8f7;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.hp-game__meta {
    font-size: 0.52rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9eb5aa;
}

.hp-game__link {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cb-accent);
}

/* -- Tournament cards -- */
.hp-tournaments,
.hp-matches,
.hp-news {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .hp-tournaments,
    .hp-matches {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .hp-tournaments,
    .hp-matches,
    .hp-news {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hp-tournament {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.hp-tournament:hover {
    transform: translateY(-2px);
}

.hp-tournament__game {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9eb5aa;
    margin-bottom: 0.55rem;
}

.hp-tournament__game img {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 4px;
}

.hp-tournament__title {
    margin: 0 0 0.45rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    color: #f6f8f7;
    text-transform: uppercase;
}

.hp-tournament__date {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    color: var(--cb-accent);
    margin-bottom: 0.75rem;
}

.hp-tournament__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.hp-tournament__fact-label {
    font-size: 0.48rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6f8a7d;
}

.hp-tournament__fact-val {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    color: #dbe5dc;
}

.hp-tournament__slots {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 0.85rem;
    overflow: hidden;
}

.hp-tournament__slots > span {
    display: block;
    height: 100%;
    background: var(--cb-accent);
    box-shadow: 0 0 10px var(--cb-glow);
}

.hp-tournament__btn {
    margin-top: auto;
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.7rem 0.5rem;
    border: 1px solid color-mix(in srgb, var(--cb-accent) 55%, transparent);
    background: color-mix(in srgb, var(--cb-accent) 12%, transparent);
    color: var(--cb-accent);
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.hp-tournament:hover .hp-tournament__btn {
    background: var(--cb-accent);
    color: #02140c;
}

/* -- Match cards -- */
.hp-match {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
    transition: transform 0.2s ease;
}

.hp-match:hover {
    transform: translateY(-2px);
}

.hp-match__badge {
    align-self: flex-start;
    font-family: var(--font-display);
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.75rem;
    border: 1px solid currentColor;
}

.hp-match__badge--live { color: #00ff84; background: rgba(0, 255, 132, 0.12); }
.hp-match__badge--upcoming { color: #c9d3cc; background: rgba(201, 211, 204, 0.12); }
.hp-match__badge--done { color: #00ff84; background: rgba(0, 255, 132, 0.1); }

.hp-match__teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.hp-match__team {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.hp-match__logo {
    width: 42px;
    height: 42px;
    margin: 0 auto 0.35rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.hp-match__logo--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: #6f8a7d;
}

.hp-match__name {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f6f8f7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-match__vs {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    color: #c9d3cc;
    flex-shrink: 0;
}

.hp-match__score {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    color: #00ff84;
}

.hp-match__meta {
    font-size: 0.52rem;
    color: #9eb5aa;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.hp-match__actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.45rem;
}

.hp-match__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.65rem;
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid color-mix(in srgb, var(--cb-accent) 45%, transparent);
    color: var(--cb-accent);
    background: color-mix(in srgb, var(--cb-accent) 8%, transparent);
    transition: background 0.2s ease, color 0.2s ease;
}

.hp-match__btn:hover {
    background: var(--cb-accent);
    color: #02140c;
}

.hp-match__btn--ghost {
    --cb-accent: #9eb5aa;
}

/* -- Split panels -- */
.hp-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .hp-split {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .hp-split--steps-news {
        grid-template-columns: 0.95fr 1.05fr;
    }
}

.hp-bracket {
    padding: 1.25rem;
    overflow-x: auto;
}

.hp-bracket__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hp-bracket__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00ff84;
}

.hp-bracket__sub {
    font-size: 0.55rem;
    color: #9eb5aa;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hp-bracket__flow {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    min-width: 520px;
}

.hp-bracket__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.hp-bracket__round {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6f8a7d;
    margin-bottom: 0.15rem;
}

.hp-bracket__slot {
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(0, 255, 132, 0.18);
    background: rgba(0, 255, 132, 0.04);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #dbe5dc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-bracket__slot--winner {
    border-color: rgba(201, 211, 204, 0.45);
    color: #c9d3cc;
}

.hp-bracket__final {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    text-align: center;
    gap: 0.35rem;
    color: #c9d3cc;
    font-size: 0.52rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-bracket__final .material-symbols-outlined {
    font-size: 2rem;
    filter: drop-shadow(0 0 12px rgba(201, 211, 204, 0.28));
}

/* -- Leaderboard panel -- */
.hp-lb {
    padding: 1rem;
}

.hp-lb__tabs {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.hp-lb__tab {
    padding: 0.35rem 0.75rem;
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(201, 211, 204, 0.18);
    background: transparent;
    color: #9eb5aa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hp-lb__tab.is-active,
.hp-lb__tab:hover {
    color: #c9d3cc;
    border-color: rgba(201, 211, 204, 0.55);
    background: rgba(201, 211, 204, 0.08);
}

.hp-lb__row {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 0.55rem;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.hp-lb__row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.hp-lb__rank {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 800;
    color: #9eb5aa;
    text-align: center;
}

.hp-lb__rank--1,
.hp-lb__rank--2,
.hp-lb__rank--3 {
    color: #c9d3cc;
}

.hp-lb__player {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.hp-lb__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hp-lb__name {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f6f8f7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-lb__game {
    font-size: 0.48rem;
    color: #6f8a7d;
    text-transform: uppercase;
}

.hp-lb__stats {
    display: flex;
    gap: 0.65rem;
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9eb5aa;
}

.hp-lb__stats strong {
    color: #00ff84;
    font-weight: 800;
}

/* -- Steps -- */
.hp-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.25rem;
}

.hp-steps .hp-head {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .hp-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hp-step {
    position: relative;
    padding: 1rem 0.85rem;
    text-align: center;
}

.hp-step__num {
    width: 34px;
    height: 34px;
    margin: 0 auto 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 132, 0.45);
    color: #00ff84;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
}

.hp-step__icon {
    color: #00ff84;
    margin-bottom: 0.45rem;
}

.hp-step__title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f6f8f7;
}

.hp-step__desc {
    margin: 0 0 0.75rem;
    font-size: 0.68rem;
    line-height: 1.5;
    color: #9eb5aa;
}

.hp-step__btn {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 132, 0.35);
    color: #00ff84;
}

/* -- News cards -- */
.hp-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
    transition: transform 0.2s ease;
}

.hp-news-card:hover {
    transform: translateY(-2px);
}

.hp-news-card__img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.hp-news-card__body {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hp-news-card__tag {
    font-size: 0.48rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c9d3cc;
    margin-bottom: 0.35rem;
}

.hp-news-card__title {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    color: #f6f8f7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-news-card__date {
    margin-top: auto;
    font-size: 0.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6f8a7d;
}

/* -- Community banner -- */
.hp-community {
    position: relative;
    overflow: hidden;
    padding: 2rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hp-community__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) saturate(0.9);
}

.hp-community__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 8, 6, 0.92), rgba(2, 8, 6, 0.55));
}

.hp-community__content,
.hp-community__actions {
    position: relative;
    z-index: 1;
}

.hp-community__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f6f8f7;
}

.hp-community__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hp-community__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1.15rem;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-community__btn:hover {
    transform: translateY(-1px);
}

.hp-community__btn--discord {
    background: #c9d3cc;
    color: #fff;
    box-shadow: 0 0 18px rgba(201, 211, 204, 0.25);
}

.hp-community__btn--follow {
    background: rgba(0, 255, 132, 0.12);
    border-color: rgba(0, 255, 132, 0.45);
    color: #00ff84;
}

/* -- Host CTA -- */
.hp-host {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hp-host {
        grid-template-columns: 1.1fr 0.9fr auto;
        padding: 2rem;
    }
}

.hp-host__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.4vw, 1.65rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #f6f8f7;
}

.hp-host__title span {
    color: #c9d3cc;
}

.hp-host__body {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #9eb5aa;
    max-width: 36rem;
}

.hp-host__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.hp-host__feat {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #dbe5dc;
}

.hp-host__feat .material-symbols-outlined {
    font-size: 1rem;
    color: #c9d3cc;
}

.hp-host__art {
    max-width: 160px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.hp-host__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.95rem 1.35rem;
    background: linear-gradient(135deg, #c9d3cc, #9aa6a0);
    color: #1a1204;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0 24px rgba(201, 211, 204, 0.28);
    white-space: nowrap;
}

/* -- Esports footer -- */
.tpk-footer {
    margin-top: auto;
    background: linear-gradient(180deg, #030806 0%, #010403 100%);
    border-top: 1px solid rgba(0, 255, 132, 0.14);
    padding-top: 2.5rem;
    padding-bottom: 0;
}

.tpk-footer__panel {
    padding: 1.75rem 1.25rem 1.5rem;
}

@media (min-width: 768px) {
    .tpk-footer__panel {
        padding: 2rem 1.75rem 1.75rem;
    }
}

.tpk-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .tpk-footer__grid {
        grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
        gap: 1.5rem 1.25rem;
    }
}

@media (min-width: 1100px) {
    .tpk-footer__grid {
        grid-template-columns: 1.35fr 0.9fr 0.9fr 0.8fr 1fr 1.15fr;
    }
}

.tpk-footer__brand-logo {
    display: block;
    max-width: 200px;
    height: auto;
    margin-bottom: 0.85rem;
    filter: drop-shadow(0 4px 18px rgba(0, 255, 132, 0.15));
}

.tpk-footer__brand-name {
    margin: 0 0 0.65rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #00ff84;
}

.tpk-footer__tagline {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    line-height: 1.55;
    color: #9eb5aa;
    max-width: 22rem;
}

.tpk-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tpk-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 255, 132, 0.22);
    background: rgba(0, 255, 132, 0.04);
    color: #b9ccb2;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
}

.tpk-footer__social a:hover {
    color: #00ff84;
    border-color: rgba(0, 255, 132, 0.55);
    background: rgba(0, 255, 132, 0.1);
    box-shadow: 0 0 14px rgba(0, 255, 132, 0.2);
    transform: translateY(-1px);
}

.tpk-footer__social a.tpk-footer__social--discord:hover {
    color: #fff;
    background: #c9d3cc;
    border-color: #c9d3cc;
}

.tpk-footer__col-title {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00ff84;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tpk-footer__col-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #00ff84;
    border-left: 2px solid #00ff84;
    opacity: 0.85;
}

.tpk-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.tpk-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9eb5aa;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.tpk-footer__links a::before {
    content: '>';
    color: rgba(0, 255, 132, 0.45);
    font-weight: 700;
}

.tpk-footer__links a:hover {
    color: #00ff84;
    padding-left: 0.15rem;
}

.tpk-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #9eb5aa;
}

.tpk-footer__contact-item .material-symbols-outlined {
    font-size: 1rem;
    color: #c9d3cc;
    flex-shrink: 0;
    margin-top: 1px;
}

.tpk-footer__contact-item a {
    color: #dbe5dc;
    text-decoration: none;
}

.tpk-footer__contact-item a:hover {
    color: #00ff84;
}

.tpk-footer__newsletter-title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f6f8f7;
}

.tpk-footer__newsletter-copy {
    margin: 0 0 0.85rem;
    font-size: 0.68rem;
    line-height: 1.45;
    color: #6f8a7d;
}

.tpk-footer__newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tpk-footer__newsletter-input {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(0, 255, 132, 0.22);
    background: rgba(0, 0, 0, 0.35);
    color: #f6f8f7;
    font-size: 0.78rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tpk-footer__newsletter-input::placeholder {
    color: #6f8a7d;
}

.tpk-footer__newsletter-input:focus {
    border-color: rgba(0, 255, 132, 0.55);
    box-shadow: 0 0 0 2px rgba(0, 255, 132, 0.12);
}

.tpk-footer__newsletter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.72rem 1rem;
    border: none;
    background: linear-gradient(135deg, #00ff84, #00c86b);
    color: #02140c;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tpk-footer__newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(0, 255, 132, 0.35);
}

.tpk-footer__bar {
    margin-top: 1.25rem;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid rgba(0, 255, 132, 0.1);
    text-align: center;
}

.tpk-footer__copy {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6f8a7d;
}

.tpk-footer__disclaimer {
    margin: 0 auto;
    max-width: 52rem;
    font-size: 0.62rem;
    line-height: 1.55;
    color: #5a7268;
}

.tpk-footer__disclaimer strong {
    color: #7d9489;
    font-weight: 600;
}

.tpk-footer__pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    font-family: var(--font-display);
    font-size: 0.52rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #00ff84;
}

.tpk-footer__pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ff84;
    box-shadow: 0 0 10px #00ff84;
    animation: pulse-dot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Homepage real bracket preview */
.hp-bracket {
    min-height: 292px;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 26%, rgba(0, 255, 132, 0.08), transparent 18rem),
        linear-gradient(rgba(0, 255, 132, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 132, 0.018) 1px, transparent 1px);
    background-size: auto, 42px 42px, 42px 42px;
}

.hp-bracket__sub {
    display: grid;
    gap: 0.12rem;
    margin-top: 0.18rem;
}

.hp-bracket__sub strong {
    max-width: 34rem;
    color: #dbe5dc;
    font-family: var(--font-display);
    font-size: 0.62rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-bracket__board {
    display: grid;
    grid-template-columns: repeat(var(--hp-bracket-rounds), minmax(150px, 1fr)) 118px;
    gap: 0.8rem;
    min-width: min(760px, 100%);
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 132, 0.4) rgba(255, 255, 255, 0.05);
}

.hp-bracket__board::-webkit-scrollbar {
    height: 8px;
}

.hp-bracket__board::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 255, 132, 0.45);
}

.hp-bracket__col {
    min-width: 150px;
    position: relative;
}

.hp-bracket__col:not(:last-of-type)::after {
    content: "";
    position: absolute;
    top: 82px;
    right: -0.66rem;
    width: 0.68rem;
    height: 82px;
    border-top: 2px solid rgba(0, 255, 132, 0.72);
    border-right: 2px solid rgba(0, 255, 132, 0.72);
    border-bottom: 2px solid rgba(0, 255, 132, 0.72);
    filter: drop-shadow(0 0 8px rgba(0, 255, 132, 0.45));
    pointer-events: none;
}

.hp-bracket__round {
    display: grid;
    gap: 0.1rem;
    min-height: 34px;
    margin-bottom: 0.65rem;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f6f8f7;
    text-align: center;
}

.hp-bracket__round small {
    color: #7e978b;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
}

.hp-bracket__matches {
    display: grid;
    gap: 0.62rem;
}

.hp-bracket__match {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(180, 204, 194, 0.22);
    border-left: 2px solid rgba(0, 255, 132, 0.72);
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 58%, rgba(0, 0, 0, 0.18)),
        rgba(16, 24, 21, 0.94);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.04);
}

.hp-bracket__match.is-live {
    border-color: rgba(0, 255, 132, 0.66);
    box-shadow: 0 0 0 1px rgba(0, 255, 132, 0.16), 0 0 24px rgba(0, 255, 132, 0.16);
}

.hp-bracket__status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.34rem 0.48rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #8aa095;
    font-family: var(--font-display);
    font-size: 0.46rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-bracket__status span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #c9d3cc;
    box-shadow: 0 0 10px rgba(201, 211, 204, 0.38);
}

.hp-bracket__match.is-live .hp-bracket__status {
    color: #00ff84;
}

.hp-bracket__match.is-live .hp-bracket__status span {
    background: #00ff84;
    box-shadow: 0 0 12px rgba(0, 255, 132, 0.65);
}

.hp-bracket__team {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 26px;
    align-items: center;
    min-height: 33px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hp-bracket__team:first-of-type {
    border-top: 0;
}

.hp-bracket__team img {
    width: 22px;
    height: 22px;
    justify-self: center;
    border: 1px solid rgba(0, 255, 132, 0.32);
    border-radius: 5px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.36);
}

.hp-bracket__team span {
    min-width: 0;
    color: #dbe5dc;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-bracket__team strong {
    align-self: stretch;
    display: grid;
    place-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    color: #91ff94;
    font-family: var(--font-display);
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.18);
}

.hp-bracket__team.is-winner {
    background: linear-gradient(90deg, rgba(0, 255, 132, 0.18), rgba(0, 255, 132, 0.03));
}

.hp-bracket__team.is-winner span,
.hp-bracket__team.is-winner strong {
    color: #c9d3cc;
}

.hp-bracket__champion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    padding: 0.8rem 0.65rem;
    border: 1px solid rgba(201, 211, 204, 0.26);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(201, 211, 204, 0.08), rgba(0, 0, 0, 0.14));
    text-align: center;
    gap: 0.38rem;
    color: #c9d3cc;
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-bracket__champion .material-symbols-outlined {
    font-size: 2.15rem;
    filter: drop-shadow(0 0 12px rgba(201, 211, 204, 0.28));
}

.hp-bracket__champion small {
    color: #9eb5aa;
    font-size: 0.5rem;
}

.hp-bracket__champion strong {
    max-width: 100%;
    color: #f6f8f7;
    font-size: 0.7rem;
    overflow-wrap: anywhere;
}

.hp-bracket__empty {
    min-height: 170px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.35rem;
    color: #9eb5aa;
    text-align: center;
}

.hp-bracket__empty .material-symbols-outlined {
    color: #00ff84;
    font-size: 2rem;
}

.hp-bracket__empty strong {
    color: #f6f8f7;
    font-family: var(--font-display);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.hp-bracket__empty p {
    margin: 0;
    max-width: 24rem;
    font-size: 0.75rem;
    line-height: 1.5;
}

@media (max-width: 720px) {
    .hp-bracket__board {
        grid-template-columns: repeat(var(--hp-bracket-rounds), minmax(158px, 1fr)) 112px;
        min-width: 620px;
    }
}

/* Homepage v3 overrides: keep the conversion path intentionally edited. */
.hp-shell--v3 .hp-games--v3 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hp-shell--v3 .hp-tournaments--v3,
.hp-shell--v3 .hp-matches--v3,
.hp-shell--v3 .hp-paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-shell--v3 .hp-match__badge--live,
.hp-shell--v3 .hp-match__badge--upcoming,
.hp-shell--v3 .hp-match__badge--done {
    color: #00ff84;
    background: rgba(0, 255, 132, 0.1);
}

.hp-shell--v3 .hp-match__vs,
.hp-shell--v3 .hp-match__score {
    color: #00ff84;
}

.hp-shell--v3 .cyber-block {
    border-radius: 8px;
}

@media (max-width: 1180px) {
    .hp-shell--v3 .hp-games--v3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hp-hero-v3 {
        min-height: auto;
    }

    .hp-hero-v3__inner {
        grid-template-columns: 1fr;
        padding-top: 4rem;
    }

    .hp-featured-card {
        max-width: 560px;
    }

    .hp-section-intro--split,
    .hp-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .hp-shell--v3 .hp-tournaments--v3,
    .hp-shell--v3 .hp-matches--v3,
    .hp-shell--v3 .hp-paths {
        grid-template-columns: 1fr;
    }

    .hp-final-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .hp-hero-v3__inner {
        padding-top: 3rem;
        padding-bottom: 2.5rem;
    }

    .hp-hero-v3__actions,
    .hp-final-cta__actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .hp-btn {
        width: 100%;
    }

    .hp-hero-v3__proof,
    .hp-featured-card__facts,
    .hp-shell--v3 .hp-games--v3 {
        grid-template-columns: 1fr;
    }

    .hp-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hp-path {
        min-height: 0;
    }
}

/* V5 reference-inspired landing page, data-driven content */
.hp-shell--v5 {
    min-height: 100vh;
    color: #f7fff8;
    background:
        radial-gradient(circle at 6% 12%, rgba(120, 255, 0, 0.16), transparent 18rem),
        radial-gradient(circle at 86% 6%, rgba(0, 255, 150, 0.15), transparent 24rem),
        linear-gradient(180deg, #010505 0%, #030908 58%, #020403 100%);
    overflow: hidden;
}

.hp-shell--v5 a {
    text-decoration: none;
}

.hp5-hero {
    position: relative;
    min-height: 620px;
    padding: clamp(1.25rem, 3vw, 2.3rem) clamp(1rem, 4vw, 4.8rem) 1rem;
    isolation: isolate;
}

.hp5-hero__media {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: center;
    filter: saturate(1.08) contrast(1.08) brightness(0.78);
    transform: scale(1.015);
}

.hp5-hero::before,
.hp5-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hp5-hero::before {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(1, 5, 5, 0.95) 0%, rgba(1, 5, 5, 0.56) 34%, rgba(1, 5, 5, 0.18) 62%, rgba(1, 5, 5, 0.82) 100%),
        linear-gradient(180deg, rgba(1, 5, 5, 0.1) 0%, rgba(1, 5, 5, 0.42) 72%, #030908 100%);
}

.hp5-hero::after {
    z-index: -1;
    background:
        radial-gradient(circle at 48% 18%, rgba(131, 255, 18, 0.22), transparent 17rem),
        linear-gradient(rgba(131, 255, 18, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(131, 255, 18, 0.026) 1px, transparent 1px);
    background-size: auto, 84px 84px, 84px 84px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 88%);
}

.hp5-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: center;
    max-width: 1680px;
    min-height: 430px;
    margin: 0 auto;
    min-width: 0;
}

.hp5-hero__copy {
    max-width: 650px;
}

.hp5-hero__copy h1 {
    margin: 0;
    display: grid;
    font-family: var(--font-heading, var(--font-display));
    font-size: clamp(3.35rem, 7vw, 6.7rem);
    font-style: italic;
    font-weight: 950;
    line-height: 0.88;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hp5-hero__copy h1 span:nth-child(2) {
    color: #89ff08;
    text-shadow: 0 0 28px rgba(137, 255, 8, 0.38);
}

.hp5-hero__copy strong {
    display: block;
    margin-top: 1rem;
    color: #fff;
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    font-weight: 900;
    line-height: 1.25;
}

.hp5-hero__copy p {
    max-width: 34rem;
    margin: 0.7rem 0 0;
    color: #d2ded6;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.6;
}

.hp5-actions,
.hp5-final > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.55rem;
}

.hp5-btn {
    min-height: 48px;
    min-width: 170px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.86rem 1.35rem;
    border: 1px solid rgba(137, 255, 8, 0.34);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 10px 50%);
    color: #effff0;
    background: rgba(0, 0, 0, 0.38);
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.hp5-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.hp5-btn--primary {
    color: #081405;
    border-color: transparent;
    background: linear-gradient(135deg, #b6ff18, #60ff00);
    box-shadow: 0 0 30px rgba(137, 255, 8, 0.28);
}

.hp5-btn .material-symbols-outlined {
    font-size: 1.05rem;
}

.hp5-featured {
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem;
    border: 1px solid rgba(137, 255, 8, 0.46);
    background: rgba(3, 10, 8, 0.84);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 34px rgba(137, 255, 8, 0.14);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.hp5-panel-title,
.hp5-section-head h2 {
    display: flex;
    align-items: center;
    gap: 0.48rem;
    margin: 0;
    color: #c8ff54;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.hp5-panel-title {
    padding: 0 0 0.65rem;
}

.hp5-panel-title .material-symbols-outlined {
    font-size: 1rem;
}

.hp5-panel-title em {
    margin-left: auto;
    padding: 0.28rem 0.62rem;
    color: #fff;
    background: #d71929;
    border-radius: 999px;
    font-size: 0.62rem;
    font-style: normal;
    box-shadow: 0 0 14px rgba(215, 25, 41, 0.55);
}

.hp5-featured > img {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    display: block;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hp5-featured__body {
    padding: 0.85rem 0.25rem 0.1rem;
}

.hp5-featured h2 {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading, var(--font-display));
    font-size: clamp(1.65rem, 2vw, 2.25rem);
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hp5-featured__top,
.hp5-featured__facts {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.hp5-featured__top {
    grid-template-columns: 1fr 1fr;
}

.hp5-featured__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp5-featured__top > div,
.hp5-featured__facts > div {
    min-width: 0;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
}

.hp5-featured small,
.hp5-stats small,
.hp5-game small,
.hp5-why-grid small {
    display: block;
    color: #a8b9ad;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.hp5-featured strong,
.hp5-featured__top span {
    display: block;
    margin-top: 0.22rem;
    color: #f5fff8;
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 950;
    line-height: 1.15;
}

.hp5-featured__top > div:first-child strong {
    color: #ffe84d;
    font-size: 1.28rem;
}

.hp5-featured__facts .material-symbols-outlined {
    color: #89ff08;
    font-size: 1.25rem;
}

.hp5-progress {
    height: 6px;
    margin-top: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
}

.hp5-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #89ff08, #d6ff33);
}

.hp5-featured__cta {
    width: 100%;
    margin-top: 0.85rem;
}

.hp5-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 760px;
    margin: -2.8rem auto 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(4, 10, 9, 0.78);
    backdrop-filter: blur(18px);
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%);
}

.hp5-stats div {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.7rem;
    align-content: center;
    padding: 0.7rem 1.1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hp5-stats div:last-child {
    border-right: 0;
}

.hp5-stats .material-symbols-outlined {
    grid-row: span 2;
    align-self: center;
    color: #89ff08;
    font-size: 1.8rem;
}

.hp5-stats strong {
    color: #fff;
    font-family: var(--font-heading, var(--font-display));
    font-size: 1.2rem;
    line-height: 1;
}

.hp5-live,
.hp5-section,
.hp5-final {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, 1700px);
    margin-left: auto;
    margin-right: auto;
}

.hp5-live {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 170px;
    align-items: stretch;
    margin-top: 0.8rem;
    border: 1px solid rgba(137, 255, 8, 0.2);
    background: rgba(5, 10, 9, 0.78);
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
}

.hp5-live__label,
.hp5-live__all {
    display: grid;
    align-content: center;
    padding: 1rem 1.2rem;
}

.hp5-live__label {
    grid-template-columns: auto 1fr;
    column-gap: 0.6rem;
}

.hp5-live__label span {
    width: 12px;
    height: 12px;
    margin-top: 0.15rem;
    border-radius: 999px;
    background: #ef2a2a;
    box-shadow: 0 0 16px #ef2a2a;
}

.hp5-live__label strong,
.hp5-live__all {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 950;
    text-transform: uppercase;
}

.hp5-live__label small {
    grid-column: 2;
    color: #aab8ae;
    font-size: 0.72rem;
}

.hp5-live__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 0.75rem;
}

.hp5-match {
    min-width: 0;
    padding: 0.75rem;
    color: #f5fff8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
}

.hp5-match--live {
    border-color: rgba(239, 42, 42, 0.36);
}

.hp5-match > span,
.hp5-match em {
    display: block;
    color: #aab8ae;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 850;
    text-transform: uppercase;
}

.hp5-match em {
    width: fit-content;
    margin-top: 0.45rem;
    padding: 0.12rem 0.45rem;
    color: #fff;
    background: #ef2a2a;
    border-radius: 999px;
}

.hp5-match div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.4rem;
    text-align: center;
}

.hp5-match strong {
    min-width: 0;
    color: #f5fff8;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp5-match b {
    color: #fff;
    font-family: var(--font-heading, var(--font-display));
    font-size: 1.25rem;
}

.hp5-live__all {
    justify-items: center;
    text-align: center;
    color: #f5fff8;
    font-size: 0.72rem;
}

.hp5-live__all .material-symbols-outlined {
    color: #89ff08;
}

.hp5-section {
    margin-top: 1rem;
}

.hp5-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
}

.hp5-section-head h2 {
    color: #fff;
    font-size: 1.28rem;
    font-style: italic;
}

.hp5-section-head h2::before {
    content: "";
    width: 7px;
    height: 18px;
    background: #89ff08;
    box-shadow: 0 0 14px #89ff08;
}

.hp5-section-head p {
    margin: 0.15rem 0 0;
    color: #618074;
    font-size: 0.78rem;
    font-style: italic;
    text-transform: uppercase;
}

.hp5-section-head a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #c8ff54;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hp5-game-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}

.hp5-game {
    position: relative;
    min-height: 142px;
    overflow: hidden;
    border: 1px solid rgba(137, 255, 8, 0.28);
    color: #fff;
    background: #06100e;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp5-game:hover {
    transform: translateY(-3px);
    border-color: rgba(137, 255, 8, 0.75);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34), 0 0 22px rgba(137, 255, 8, 0.16);
}

.hp5-game img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp5-game span {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.82) 100%);
}

.hp5-game strong,
.hp5-game small {
    position: absolute;
    left: 1rem;
    right: 1rem;
    z-index: 1;
}

.hp5-game strong {
    bottom: 2.15rem;
    color: #fff;
    font-family: var(--font-heading, var(--font-display));
    font-size: 1.08rem;
    line-height: 1;
    text-transform: uppercase;
}

.hp5-game small {
    bottom: 0.9rem;
}

.hp5-why-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}

.hp5-why-grid div {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.75rem;
    align-content: center;
    padding: 0.9rem;
    border: 1px solid rgba(137, 255, 8, 0.22);
    background: rgba(7, 13, 12, 0.78);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.hp5-why-grid .material-symbols-outlined {
    grid-row: span 2;
    color: #c8ff54;
    font-size: 2rem;
    text-shadow: 0 0 16px rgba(137, 255, 8, 0.4);
}

.hp5-why-grid strong {
    color: #fff;
    font-size: 0.86rem;
    line-height: 1.15;
}

.hp5-final {
    margin-top: 1.1rem;
    padding: 1rem clamp(1rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.2rem, 5vw, 5rem);
    border-top: 1px solid rgba(137, 255, 8, 0.16);
    background: linear-gradient(90deg, transparent, rgba(137, 255, 8, 0.08), transparent);
    text-align: center;
}

.hp5-final h2 {
    margin: 0;
    color: #89ff08;
    font-family: var(--font-heading, var(--font-display));
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    font-style: italic;
    line-height: 1;
    text-transform: uppercase;
}

.hp5-final p {
    margin: 0.2rem 0 0;
    color: #d2ded6;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.hp5-final .hp5-actions,
.hp5-final > div:last-child {
    margin-top: 0;
}

@media (max-width: 1280px) {
    .hp5-hero__inner {
        grid-template-columns: 1fr;
    }

    .hp5-featured {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .hp5-stats,
    .hp5-live {
        margin-top: 1rem;
    }

    .hp5-live {
        grid-template-columns: 1fr;
    }

    .hp5-live__rail,
    .hp5-game-grid,
    .hp5-why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hp5-hero {
        padding: 1rem;
    }

    .hp5-hero__copy h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .hp5-featured {
        max-width: 100%;
    }

    .hp5-actions,
    .hp5-final,
    .hp5-final > div:last-child,
    .hp5-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .hp5-btn {
        width: 100%;
    }

    .hp5-stats,
    .hp5-featured__top,
    .hp5-featured__facts,
    .hp5-live__rail,
    .hp5-game-grid,
    .hp5-why-grid {
        grid-template-columns: 1fr;
    }

    .hp5-stats {
        clip-path: none;
    }

    .hp5-stats div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hp5-game {
        min-height: 176px;
    }
}

