/* ==========================================================================
   MERTPIN VALORANT CUP — Esports Design System
   UTF-8 safe · No external fonts required
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Backgrounds */
    --bg-deep: #050509;
    --bg-base: #090911;
    --bg-elevated: #11111a;

    /* Brand */
    --primary: #ff263f;
    --primary-hover: #ff4d62;
    --primary-muted: rgba(255, 38, 63, 0.14);
    --primary-glow: rgba(255, 38, 63, 0.35);
    --secondary: #8b5cf6;
    --secondary-hover: #a78bfa;
    --secondary-muted: rgba(139, 92, 246, 0.14);
    --secondary-glow: rgba(139, 92, 246, 0.35);

    /* Semantic */
    --success: #22c55e;
    --success-muted: rgba(34, 197, 94, 0.14);
    --warning: #f59e0b;
    --warning-muted: rgba(245, 158, 11, 0.14);
    --danger: #ef4444;
    --danger-muted: rgba(239, 68, 68, 0.14);
    --info: #38bdf8;
    --info-muted: rgba(56, 189, 248, 0.14);

    /* Text */
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Surfaces */
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --card: rgba(15, 15, 24, 0.85);
    --card-solid: #0f0f18;
    --glass: rgba(17, 17, 26, 0.72);

    /* Layout */
    --container-max: 80rem;
    --sidebar-width: 17.5rem;
    --nav-height: 4.25rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 0.875rem;
    --radius-xl: 1.125rem;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 150ms var(--ease-out);
    --transition-base: 220ms var(--ease-out);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
    --shadow-neon: 0 0 24px var(--primary-glow);
    --shadow-neon-secondary: 0 0 24px var(--secondary-glow);

    /* Typography scale */
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: ui-monospace, "Cascadia Code", "Consolas", monospace;
    --text-xs: 0.6875rem;
    --text-sm: 0.8125rem;
    --text-base: 0.9375rem;
    --text-lg: 1.0625rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: clamp(2.25rem, 5vw, 3.5rem);
    --text-hero: clamp(2.75rem, 8vw, 5.5rem);
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 38, 63, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(139, 92, 246, 0.08), transparent),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 40%, var(--bg-deep) 100%);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

::selection {
    background: var(--primary);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.5em;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin: 0 0 1em;
}

.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }

.text-upper {
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.text-mono {
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}

.label-pro {
    display: block;
    margin-bottom: 0.375rem;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-title::before {
    content: "";
    width: 4px;
    height: 1.5rem;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    margin-top: 0.375rem;
    font-size: var(--text-sm);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.container-narrow {
    max-width: 56rem;
}

.container-wide {
    max-width: 96rem;
}

.page-shell {
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 3rem;
}

.stack-sm > * + * { margin-top: 0.75rem; }
.stack-md > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }

.grid-2 {
    display: grid;
    gap: 1.25rem;
}

.grid-3 {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   5. Public Navbar (.t-nav)
   -------------------------------------------------------------------------- */
.t-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--nav-height);
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 9, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.t-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.t-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.t-nav__logo {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
    font-size: var(--text-xs);
    font-weight: 900;
}

.t-nav__title {
    font-size: var(--text-sm);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    line-height: 1.2;
}

.t-nav__title span {
    display: block;
    font-size: var(--text-xs);
    color: var(--primary);
    letter-spacing: 0.24em;
}

.t-nav__links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

.t-nav__link {
    position: relative;
    padding: 0.5rem 0.875rem;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.t-nav__link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.t-nav__link.is-active,
.t-nav__link.active {
    color: var(--text);
    background: var(--primary-muted);
}

.t-nav__link.is-active::after,
.t-nav__link.active::after {
    content: "";
    position: absolute;
    left: 0.875rem;
    right: 0.875rem;
    bottom: 0.25rem;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    box-shadow: 0 0 8px var(--primary-glow);
}

.t-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.t-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.t-nav__mobile {
    display: none;
    position: fixed;
    inset: var(--nav-height) 0 0;
    z-index: 99;
    padding: 1rem 1.25rem 2rem;
    background: rgba(5, 5, 9, 0.96);
    backdrop-filter: blur(20px);
    overflow-y: auto;
}

.t-nav__mobile.is-open {
    display: block;
}

.t-nav__mobile .t-nav__link {
    display: block;
    padding: 0.875rem 1rem;
    margin-bottom: 0.25rem;
    font-size: var(--text-sm);
}

@media (min-width: 900px) {
    .t-nav__links { display: flex; }
    .t-nav__toggle { display: none; }
}

/* --------------------------------------------------------------------------
   6. Admin Layout
   -------------------------------------------------------------------------- */
.admin-shell {
    display: flex;
    min-height: 100vh;
    background: var(--bg-deep);
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 90;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    background: var(--bg-base);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

.admin-sidebar.is-open {
    transform: translateX(0);
}

.admin-sidebar__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: var(--nav-height);
    padding: 0 1.25rem;
    border-bottom: 1px solid var(--border);
}

.admin-sidebar__nav {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
}

.admin-sidebar__section {
    margin-bottom: 1.5rem;
}

.admin-sidebar__label {
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-dim);
}

.admin-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.125rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);
}

.admin-sidebar__link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.admin-sidebar__link.is-active,
.admin-sidebar__link.active {
    color: var(--text);
    background: var(--primary-muted);
    border-left-color: var(--primary);
}

.admin-sidebar__icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    opacity: 0.7;
}

.admin-sidebar__link.is-active .admin-sidebar__icon,
.admin-sidebar__link.active .admin-sidebar__icon {
    opacity: 1;
    color: var(--primary);
}

.admin-sidebar__footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
}

.admin-main {
    flex: 1;
    min-width: 0;
    margin-left: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--nav-height);
    padding: 0 1.25rem;
    border-bottom: 1px solid var(--border);
    background: rgba(9, 9, 17, 0.92);
    backdrop-filter: blur(12px);
}

.admin-topbar__title {
    font-size: var(--text-lg);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-content {
    padding: 1.5rem 1.25rem 3rem;
}

.admin-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 85;
    background: rgba(0, 0, 0, 0.6);
}

.admin-overlay.is-visible {
    display: block;
}

@media (min-width: 1024px) {
    .admin-sidebar {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: var(--sidebar-width);
    }

    .admin-sidebar-toggle {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   7. Glass Cards & Neon Borders
   -------------------------------------------------------------------------- */
.glass-card {
    position: relative;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.glass-card--compact {
    padding: 1rem;
}

.glass-card--flush {
    padding: 0;
    overflow: hidden;
}

.glass-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.glass-card__title {
    font-size: var(--text-sm);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.glass-card__body {
    color: var(--text-muted);
}

.neon-border {
    position: relative;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--card-solid), var(--card-solid)) padding-box,
        linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    border-radius: var(--radius-lg);
}

.neon-border::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    opacity: 0.35;
    filter: blur(12px);
}

.neon-border--primary {
    background:
        linear-gradient(var(--card-solid), var(--card-solid)) padding-box,
        linear-gradient(135deg, var(--primary), rgba(255, 38, 63, 0.4)) border-box;
}

.neon-border--secondary {
    background:
        linear-gradient(var(--card-solid), var(--card-solid)) padding-box,
        linear-gradient(135deg, var(--secondary), rgba(139, 92, 246, 0.4)) border-box;
}

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled,
.btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-sm {
    min-height: 2.125rem;
    padding: 0 0.875rem;
    font-size: 0.625rem;
}

.btn-lg {
    min-height: 3.25rem;
    padding: 0 1.75rem;
    font-size: var(--text-sm);
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-neon);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 16px var(--secondary-glow);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    box-shadow: var(--shadow-neon-secondary);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-muted);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-icon {
    width: 2.75rem;
    min-width: 2.75rem;
    padding: 0;
}

/* --------------------------------------------------------------------------
   9. Status Badges
   -------------------------------------------------------------------------- */
.badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.badge::before,
.status-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-pending,
.status-pending {
    color: var(--warning);
    background: var(--warning-muted);
    border-color: rgba(245, 158, 11, 0.25);
}

.badge-pending::before,
.status-pending::before {
    background: var(--warning);
}

.badge-live,
.status-live {
    color: var(--danger);
    background: var(--danger-muted);
    border-color: rgba(239, 68, 68, 0.25);
    animation: pulse-live 2s ease-in-out infinite;
}

.badge-live::before,
.status-live::before {
    background: var(--danger);
    box-shadow: 0 0 6px var(--danger);
}

.badge-completed,
.status-completed {
    color: var(--success);
    background: var(--success-muted);
    border-color: rgba(34, 197, 94, 0.25);
}

.badge-completed::before,
.status-completed::before {
    background: var(--success);
}

.badge-disputed,
.status-disputed {
    color: #fb7185;
    background: rgba(251, 113, 133, 0.14);
    border-color: rgba(251, 113, 133, 0.25);
}

.badge-disputed::before,
.status-disputed::before {
    background: #fb7185;
}

.badge-approved,
.status-approved {
    color: var(--success);
    background: var(--success-muted);
    border-color: rgba(34, 197, 94, 0.25);
}

.badge-rejected,
.status-rejected {
    color: var(--danger);
    background: var(--danger-muted);
    border-color: rgba(239, 68, 68, 0.25);
}

.badge-draft,
.status-draft {
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.1);
    border-color: var(--border);
}

.badge-scheduled,
.status-scheduled {
    color: var(--info);
    background: var(--info-muted);
    border-color: rgba(56, 189, 248, 0.25);
}

.badge-scheduled::before,
.status-scheduled::before {
    background: var(--info);
}

.badge-cancelled,
.status-cancelled {
    color: var(--text-dim);
    background: rgba(100, 116, 139, 0.12);
    border-color: var(--border);
}

.badge-bye,
.status-bye {
    color: var(--secondary);
    background: var(--secondary-muted);
    border-color: rgba(139, 92, 246, 0.25);
}

.badge-tbd,
.status-tbd {
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.08);
    border-color: var(--border);
    font-style: italic;
}

.badge-tbd::before,
.status-tbd::before {
    display: none;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* --------------------------------------------------------------------------
   10. Hero Section (.hero-pro)
   -------------------------------------------------------------------------- */
.hero-pro {
    position: relative;
    min-height: calc(100vh - var(--nav-height));
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.hero-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 38, 63, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 38, 63, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
    pointer-events: none;
}

.hero-pro::after {
    content: "";
    position: absolute;
    right: -10%;
    top: 10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15), transparent 70%);
    pointer-events: none;
}

.hero-pro__inner {
    position: relative;
    z-index: 1;
}

.hero-pro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.375rem 0.875rem;
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    border: 1px solid rgba(255, 38, 63, 0.3);
    background: var(--primary-muted);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.hero-pro__title {
    max-width: 14ch;
    margin: 0;
    font-size: var(--text-hero);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
}

.hero-pro__title-accent {
    display: block;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-pro__desc {
    max-width: 36rem;
    margin-top: 1.5rem;
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--text-muted);
}

.hero-pro__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.hero-pro__meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-pro__meta-label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-dim);
}

.hero-pro__meta-value {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
}

.hero-pro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-pro__visual {
    position: relative;
    margin-top: 3rem;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(255, 38, 63, 0.08), rgba(139, 92, 246, 0.08)),
        var(--bg-elevated);
    overflow: hidden;
}

.hero-pro__visual::before {
    content: "LIVE";
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.625rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: #fff;
    background: var(--danger);
    border-radius: var(--radius-sm);
}

@media (min-width: 1024px) {
    .hero-pro__grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
        gap: 3rem;
    }

    .hero-pro__visual {
        margin-top: 0;
    }
}

/* --------------------------------------------------------------------------
   11. Stat Cards Grid (.stat-grid-pro)
   -------------------------------------------------------------------------- */
.stat-grid-pro {
    display: grid;
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--border);
    overflow: hidden;
}

.stat-grid-pro__item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-elevated);
    transition: background var(--transition-fast);
}

.stat-grid-pro__item:hover {
    background: var(--card-solid);
}

.stat-grid-pro__icon {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-muted);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}

.stat-grid-pro__label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.stat-grid-pro__value {
    font-size: var(--text-2xl);
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-grid-pro__delta {
    font-size: var(--text-xs);
    color: var(--success);
}

.stat-grid-pro__delta.is-negative {
    color: var(--danger);
}

@media (min-width: 640px) {
    .stat-grid-pro {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stat-grid-pro {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   12. Team Cards (.team-card-pro)
   -------------------------------------------------------------------------- */
.team-card-pro {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.team-card-pro:hover {
    border-color: rgba(255, 38, 63, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.team-card-pro__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-card-pro__logo {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: var(--text-lg);
    font-weight: 900;
    color: var(--primary);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.team-card-pro__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-pro__info {
    flex: 1;
    min-width: 0;
}

.team-card-pro__name {
    margin: 0;
    font-size: var(--text-base);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-card-pro__tag {
    margin-top: 0.125rem;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.team-card-pro__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.team-card-pro__stat {
    text-align: center;
}

.team-card-pro__stat-value {
    display: block;
    font-size: var(--text-lg);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.team-card-pro__stat-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.team-card-pro__roster {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.team-card-pro__player {
    padding: 0.2rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
}

.team-card-pro.is-qualified {
    border-color: rgba(34, 197, 94, 0.35);
}

.team-card-pro.is-qualified::after {
    content: "QUALIFIED";
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.5625rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--success);
}

/* --------------------------------------------------------------------------
   13. Bracket System (.bracket-pro)
   -------------------------------------------------------------------------- */
.bracket-pro {
    position: relative;
    display: flex;
    gap: 2.5rem;
    padding: 1.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-elevated);
}

.bracket-pro::-webkit-scrollbar {
    height: 6px;
}

.bracket-pro::-webkit-scrollbar-track {
    background: var(--bg-elevated);
    border-radius: 3px;
}

.bracket-pro::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.bracket-pro__scroll-hint {
    display: none;
    margin-bottom: 0.75rem;
    font-size: var(--text-xs);
    color: var(--text-dim);
    text-align: center;
}

@media (max-width: 767px) {
    .bracket-pro__scroll-hint {
        display: block;
    }
}

.bracket-round-col {
    position: relative;
    flex: 0 0 auto;
    min-width: 15rem;
    display: flex;
    flex-direction: column;
}

.bracket-round-col__title {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.bracket-round-col__matches {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex: 1;
    gap: 1.5rem;
}

.bracket-round-col__match-wrap {
    position: relative;
}

/* Connector lines between rounds */
.bracket-round-col:not(:last-child) .bracket-round-col__match-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1.25rem;
    width: 1.25rem;
    height: 1px;
    background: var(--border-strong);
}

.bracket-round-col:not(:last-child) .bracket-round-col__match-wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -1.25rem;
    width: 1px;
    height: calc(100% + 1.5rem);
    background: var(--border-strong);
    transform: translateY(-50%);
}

.bracket-round-col__match-wrap:first-child::before {
    height: 50%;
    top: 50%;
}

.bracket-round-col__match-wrap:last-child::before {
    height: 50%;
    top: 0;
    transform: none;
}

.bracket-round-col__match-wrap:only-child::before {
    display: none;
}

/* Match card (bracket) */
.match-card-pro {
    position: relative;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card-solid);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.match-card-pro__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0.625rem;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.match-card-pro__team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    font-size: var(--text-sm);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-fast);
}

.match-card-pro__team:last-child {
    border-bottom: none;
}

.match-card-pro__team-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-card-pro__score {
    min-width: 1.5rem;
    font-family: var(--font-mono);
    font-weight: 800;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Bracket match states */
.match-card-pro__team.is-winner {
    background: rgba(34, 197, 94, 0.08);
    color: var(--text);
}

.match-card-pro__team.is-winner .match-card-pro__score {
    color: var(--success);
}

.match-card-pro__team.is-loser {
    opacity: 0.45;
}

.match-card-pro__team.is-tbd {
    color: var(--text-muted);
    font-style: italic;
}

.match-card-pro__team.is-bye {
    color: var(--secondary);
    background: var(--secondary-muted);
}

.match-card-pro.is-live {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.15);
}

.match-card-pro.is-live .match-card-pro__header {
    color: var(--danger);
    background: var(--danger-muted);
}

.match-card-pro.is-completed {
    border-color: rgba(34, 197, 94, 0.25);
}

.match-card-pro.is-pending {
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   14. Public Match Cards (.match-card-public)
   -------------------------------------------------------------------------- */
.match-card-public {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    overflow: hidden;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.match-card-public:hover {
    border-color: rgba(255, 38, 63, 0.25);
    transform: translateY(-1px);
}

.match-card-public__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.match-card-public__round {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.match-card-public__time {
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    color: var(--text-dim);
}

.match-card-public__body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
}

.match-card-public__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.match-card-public__team--away {
    order: 3;
}

.match-card-public__team-logo {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-weight: 900;
    font-size: var(--text-sm);
}

.match-card-public__team-name {
    font-size: var(--text-sm);
    font-weight: 800;
    text-transform: uppercase;
}

.match-card-public__vs {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.match-card-public__score-display {
    font-size: var(--text-2xl);
    font-weight: 900;
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
}

.match-card-public__vs-label {
    font-size: 0.625rem;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 0.16em;
}

.match-card-public__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.01);
}

.match-card-public.is-live {
    border-color: rgba(239, 68, 68, 0.4);
}

.match-card-public.is-live .match-card-public__score-display {
    color: var(--danger);
}

/* --------------------------------------------------------------------------
   15. Tabs (.tabs-pro)
   -------------------------------------------------------------------------- */
.tabs-pro {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tabs-pro__list {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tabs-pro__tab {
    flex: 1 0 auto;
    min-width: fit-content;
    padding: 0.625rem 1rem;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}

.tabs-pro__tab:hover {
    color: var(--text);
}

.tabs-pro__tab.is-active,
.tabs-pro__tab.active {
    color: var(--text);
    background: var(--primary-muted);
    box-shadow: inset 0 0 0 1px rgba(255, 38, 63, 0.25);
}

.tabs-pro__panel {
    display: none;
}

.tabs-pro__panel.is-active,
.tabs-pro__panel.active {
    display: block;
}

.tabs-pro--underline .tabs-pro__list {
    padding: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
}

.tabs-pro--underline .tabs-pro__tab {
    border-radius: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tabs-pro--underline .tabs-pro__tab.is-active,
.tabs-pro--underline .tabs-pro__tab.active {
    background: transparent;
    box-shadow: none;
    border-bottom-color: var(--primary);
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   16. Standings Table (.standings-table)
   -------------------------------------------------------------------------- */
.standings-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    text-align: left;
}

.standings-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.standings-table th {
    padding: 0.875rem 1rem;
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.standings-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.standings-table tbody tr:last-child td {
    border-bottom: none;
}

.standings-table tbody tr {
    transition: background var(--transition-fast);
}

.standings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.standings-table__rank {
    width: 3rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    color: var(--text-dim);
}

.standings-table__rank--top {
    color: var(--primary);
}

.standings-table__team {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.standings-table__team-logo {
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: var(--text-xs);
    font-weight: 900;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

.standings-table__stat {
    font-family: var(--font-mono);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.standings-table__points {
    font-weight: 900;
    color: var(--primary);
}

.standings-table tr.is-playoff {
    background: rgba(34, 197, 94, 0.04);
}

.standings-table tr.is-eliminated {
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   17. Admin Dashboard Cards
   -------------------------------------------------------------------------- */
.admin-dash-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .admin-dash-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .admin-dash-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .admin-dash-grid__wide {
        grid-column: span 2;
    }

    .admin-dash-grid__full {
        grid-column: 1 / -1;
    }
}

.admin-dash-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
}

.admin-dash-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.admin-dash-card__label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.admin-dash-card__value {
    font-size: var(--text-3xl);
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.admin-dash-card__trend {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--text-xs);
    font-weight: 700;
}

.admin-dash-card__trend.is-up {
    color: var(--success);
}

.admin-dash-card__trend.is-down {
    color: var(--danger);
}

.admin-dash-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
}

.admin-dash-card__icon--primary {
    color: var(--primary);
    background: var(--primary-muted);
}

.admin-dash-card__icon--secondary {
    color: var(--secondary);
    background: var(--secondary-muted);
}

.admin-dash-card__icon--success {
    color: var(--success);
    background: var(--success-muted);
}

.admin-dash-card__icon--warning {
    color: var(--warning);
    background: var(--warning-muted);
}

.admin-dash-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-dash-card__list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--text-sm);
}

.admin-dash-card__list-item:last-child {
    border-bottom: none;
}

.admin-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   18. Filter Bar (.filter-bar)
   -------------------------------------------------------------------------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
}

.filter-bar__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.filter-bar__label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.filter-bar__input,
.filter-bar select,
.filter-bar input[type="text"],
.filter-bar input[type="search"],
.filter-bar input[type="date"] {
    min-height: 2.375rem;
    padding: 0 0.75rem;
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--card-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast);
}

.filter-bar__input:focus,
.filter-bar select:focus,
.filter-bar input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-bar__spacer {
    flex: 1;
}

.filter-bar__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast);
}

.filter-bar__chip:hover,
.filter-bar__chip.is-active {
    color: var(--text);
    border-color: var(--primary);
    background: var(--primary-muted);
}

@media (max-width: 639px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-bar__group {
        width: 100%;
    }

    .filter-bar__input,
    .filter-bar select,
    .filter-bar input {
        flex: 1;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   19. Modals (.modal-pro)
   -------------------------------------------------------------------------- */
.modal-pro-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.modal-pro-backdrop.is-open {
    display: flex;
}

.modal-pro {
    width: 100%;
    max-width: 32rem;
    max-height: calc(100vh - 2.5rem);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    background: var(--bg-base);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modal-in 240ms var(--ease-out);
}

.modal-pro--lg {
    max-width: 48rem;
}

.modal-pro__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-pro__title {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.modal-pro__close {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast);
}

.modal-pro__close:hover {
    color: var(--text);
    border-color: var(--border-strong);
}

.modal-pro__body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    color: var(--text-muted);
}

.modal-pro__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --------------------------------------------------------------------------
   20. Alerts (.alert-pro)
   -------------------------------------------------------------------------- */
.alert-pro {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.125rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card);
}

.alert-pro__icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
}

.alert-pro__content {
    flex: 1;
    min-width: 0;
}

.alert-pro__title {
    margin: 0 0 0.25rem;
    font-size: var(--text-sm);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.alert-pro__message {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.alert-pro__close {
    flex-shrink: 0;
    padding: 0;
    color: var(--text-dim);
    background: none;
    border: none;
    cursor: pointer;
}

.alert-pro--success {
    border-color: rgba(34, 197, 94, 0.3);
    background: var(--success-muted);
}

.alert-pro--success .alert-pro__title {
    color: var(--success);
}

.alert-pro--warning {
    border-color: rgba(245, 158, 11, 0.3);
    background: var(--warning-muted);
}

.alert-pro--warning .alert-pro__title {
    color: var(--warning);
}

.alert-pro--danger {
    border-color: rgba(239, 68, 68, 0.3);
    background: var(--danger-muted);
}

.alert-pro--danger .alert-pro__title {
    color: var(--danger);
}

.alert-pro--info {
    border-color: rgba(56, 189, 248, 0.3);
    background: var(--info-muted);
}

.alert-pro--info .alert-pro__title {
    color: var(--info);
}

/* --------------------------------------------------------------------------
   21. Form Elements (shared)
   -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    min-height: 2.75rem;
    padding: 0 0.875rem;
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--card-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-muted);
}

.form-control::placeholder {
    color: var(--text-dim);
}

textarea.form-control {
    min-height: 6rem;
    padding: 0.75rem 0.875rem;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   22. Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }

.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 1.5rem; }

.w-full { width: 100%; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.divider {
    height: 1px;
    margin: 1.5rem 0;
    background: var(--border);
}

.clip-slash {
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}

.grid-mask {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* --------------------------------------------------------------------------
   23. Mobile Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 899px) {
    .hide-mobile {
        display: none !important;
    }

    .hero-pro {
        min-height: auto;
        padding-top: 2rem;
    }

    .hero-pro__title {
        max-width: none;
    }

    .admin-content {
        padding: 1rem 1rem 2rem;
    }
}

@media (min-width: 900px) {
    .hide-desktop {
        display: none !important;
    }
}

@media (max-width: 639px) {
    :root {
        --nav-height: 3.75rem;
    }

    .container {
        padding-inline: 1rem;
    }

    .match-card-public__body {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .match-card-public__team--away {
        order: unset;
    }

    .match-card-public__vs {
        order: unset;
        padding: 0.5rem 0;
    }

    .btn-lg {
        width: 100%;
    }

    .hero-pro__actions .btn {
        flex: 1;
    }

    .tabs-pro__tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.625rem;
    }

    .standings-table th,
    .standings-table td {
        padding: 0.625rem 0.75rem;
    }

    .modal-pro {
        max-height: calc(100vh - 1rem);
        border-radius: var(--radius-lg);
    }

    .modal-pro__header,
    .modal-pro__body,
    .modal-pro__footer {
        padding-inline: 1rem;
    }
}

/* --------------------------------------------------------------------------
   20. Blade View Compatibility Layer
   -------------------------------------------------------------------------- */
.admin-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: var(--text-sm);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
}

.admin-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-page-head h1 {
    margin: 0;
    font-size: var(--text-2xl);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-stat-grid,
.section-pro .stat-grid-pro {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.stat-card-pro {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1.125rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
}

.stat-card-pro span {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.stat-card-pro strong {
    font-size: var(--text-2xl);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.admin-grid-2 {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 900px) {
    .admin-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--text-sm);
}

.list-row:last-child {
    border-bottom: none;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-pro-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 960px) {
    .hero-pro-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-pro h1 {
    margin: 0.5rem 0 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
}

.hero-pro h1 span {
    display: block;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-kicker,
.panel-label {
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-tags li {
    padding: 0.375rem 0.75rem;
    font-size: var(--text-xs);
    font-weight: 700;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-live-stat {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.hero-live-stat:last-child {
    border-bottom: none;
}

.section-pro {
    padding: 2.5rem 0;
}

.page-head {
    padding: 2rem 0 1rem;
    border-bottom: 1px solid var(--border);
}

.section-title {
    margin: 0.25rem 0 0;
    font-size: var(--text-2xl);
    font-weight: 900;
    text-transform: uppercase;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-muted);
}

.back-link:hover {
    color: var(--primary);
}

.tabs-pro {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tabs-pro a {
    padding: 0.625rem 1rem;
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
}

.tabs-pro a.is-active {
    color: var(--text);
    border-color: rgba(255, 38, 63, 0.35);
    background: var(--primary-muted);
}

.match-grid-public,
.match-admin-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}

.match-card-public-head,
.match-admin-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.match-vs {
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
}

.match-vs span {
    color: var(--text-dim);
    font-weight: 700;
}

.match-scoreline {
    margin: 0.5rem 0;
    font-size: var(--text-xl);
    font-weight: 900;
    font-family: var(--font-mono);
}

.match-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.match-meta-list li {
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.match-card-public-actions {
    display: flex;
    gap: 0.5rem;
}

.table-card {
    padding: 0;
    overflow: hidden;
}

.table-card-head {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.table-scroll {
    overflow-x: auto;
}

.admin-table-pro {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.admin-table-pro th,
.admin-table-pro td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.admin-table-pro th {
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
}

.rank-pill {
    display: inline-grid;
    place-items: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    font-weight: 900;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
}

.standings-table tr.row-top .rank-pill {
    color: var(--primary);
    border: 1px solid rgba(255, 38, 63, 0.35);
    box-shadow: 0 0 12px rgba(255, 38, 63, 0.15);
}

.standings-table tr.row-eliminated {
    opacity: 0.45;
}

.recent-form {
    display: inline-flex;
    gap: 0.25rem;
}

.recent-form i {
    display: inline-grid;
    place-items: center;
    width: 1.25rem;
    height: 1.25rem;
    font-style: normal;
    font-size: 0.625rem;
    font-weight: 900;
    border-radius: var(--radius-sm);
}

.form-w {
    color: var(--success);
    background: var(--success-muted);
}

.form-l {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.12);
}

.rules-list {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.admin-login-body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1.5rem;
    background: var(--bg-deep);
}

.admin-login-card {
    width: 100%;
    max-width: 24rem;
}

.admin-login-card h1 {
    margin: 0 0 0.25rem;
    font-size: var(--text-xl);
    font-weight: 900;
    text-transform: uppercase;
}

.form-label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1rem;
}

.form-grid-2 {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.checkbox-row,
.radio-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.demo-steps {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 2;
    color: var(--text-muted);
}

.demo-steps .is-done {
    color: var(--success);
}

.detail-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--text-sm);
}

.info-row .label {
    color: var(--text-muted);
}

.empty-state {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.site-footer {
    padding: 1.5rem 0 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-dim);
    font-size: var(--text-xs);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
