/* ============================================================
   ALGA ARENA — Design System
   Version: 1.0.0
   Author: ALGA ARENA Frontend System
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
    /* Brand */
    --brand-name: "ALGA ARENA";

    /* Surfaces */
    --arena-bg:            #090B0F;
    --arena-surface-01:    #0F1117;
    --arena-surface-02:    #161820;
    --arena-surface-03:    #1D2030;
    --arena-surface-04:    #242840;
    --arena-border:        rgba(255,255,255,0.07);
    --arena-border-strong: rgba(255,255,255,0.14);
    --arena-border-accent: rgba(0,212,255,0.25);

    /* Text */
    --arena-text-primary:   #EEF0F4;
    --arena-text-secondary: #8B92A5;
    --arena-text-muted:     #4E5569;
    --arena-text-inverse:   #090B0F;
    --arena-text-accent:    #00D4FF;

    /* Accents */
    --arena-accent:        #00D4FF;   /* electric cyan */
    --arena-accent-dark:   #0098B8;
    --arena-accent-glow:   rgba(0,212,255,0.15);
    --arena-warm:          #F5A623;   /* amber */
    --arena-warm-glow:     rgba(245,166,35,0.15);
    --arena-violet:        #7C5CFC;   /* violet/premium */
    --arena-violet-glow:   rgba(124,92,252,0.15);
    --arena-red:           #FF3B57;   /* danger/live */
    --arena-green:         #22D47E;   /* success/win */
    --arena-green-dark:    #15A059;

    /* Status colors */
    --status-live:     #FF3B57;
    --status-online:   #22D47E;
    --status-away:     #F5A623;
    --status-offline:  #4E5569;
    --status-win:      #22D47E;
    --status-loss:     #FF3B57;
    --status-draw:     #8B92A5;

    /* Rank colors */
    --rank-bronze:    #CD7F32;
    --rank-silver:    #A8B4C0;
    --rank-gold:      #FFD700;
    --rank-platinum:  #E5E4E2;
    --rank-diamond:   #B9F2FF;
    --rank-mythic:    #FF3B57;
    --rank-legend:    #7C5CFC;

    /* Spacing */
    --sp-1:  4px;   --sp-2:  8px;   --sp-3:  12px;
    --sp-4:  16px;  --sp-5:  20px;  --sp-6:  24px;
    --sp-8:  32px;  --sp-10: 40px;  --sp-12: 48px;
    --sp-16: 64px;  --sp-20: 80px;  --sp-24: 96px;
    --sp-32: 128px;

    /* Radius */
    --r-xs:   2px;   --r-sm:   4px;   --r-md:   8px;
    --r-lg:   12px;  --r-xl:   16px;  --r-2xl:  24px;
    --r-3xl:  32px;  --r-full: 9999px;

    /* Shadows */
    --shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.5);
    --shadow-lg:    0 8px 32px rgba(0,0,0,0.6);
    --shadow-xl:    0 16px 64px rgba(0,0,0,0.7);
    --shadow-accent: 0 0 32px rgba(0,212,255,0.12);
    --shadow-glow:   0 0 48px rgba(0,212,255,0.2);
    --shadow-warm:   0 0 32px rgba(245,166,35,0.15);
    --shadow-violet: 0 0 32px rgba(124,92,252,0.2);

    /* Layout */
    --header-h:        64px;
    --sidebar-w:       240px;
    --sidebar-rail-w:  68px;
    --content-max:     1440px;
    --page-max:        1200px;

    /* Z-index */
    --z-0:      0;
    --z-base:   1;
    --z-raised: 10;
    --z-sticky: 100;
    --z-drop:   200;
    --z-overlay:300;
    --z-modal:  400;
    --z-toast:  500;

    /* Motion */
    --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-expo:    cubic-bezier(0.7, 0, 0.84, 0);
    --ease-inout:      cubic-bezier(0.76, 0, 0.24, 1);
    --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast:   120ms;
    --dur-base:   220ms;
    --dur-slow:   400ms;
    --dur-scene:  900ms;
    --dur-hero:   1400ms;
}

/* ============================================================
   2. GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    background-color: var(--arena-bg);
    color: var(--arena-text-primary);
    font-family: 'Inter', 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Arabic body */
[dir="rtl"] body,
body[dir="rtl"] {
    font-family: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--sp-4);
    z-index: var(--z-toast);
    background: var(--arena-accent);
    color: var(--arena-text-inverse);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-md);
    font-weight: 600;
    text-decoration: none;
    transition: top var(--dur-fast);
}

.skip-link:focus {
    top: var(--sp-4);
}

/* Images */
img, video, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--arena-surface-01); }
::-webkit-scrollbar-thumb { background: var(--arena-surface-03); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--arena-surface-04); }

/* Selection */
::selection {
    background: rgba(0,212,255,0.25);
    color: var(--arena-text-primary);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
.font-display { font-family: 'Oxanium', 'Rajdhani', 'Space Grotesk', 'IBM Plex Sans Arabic', sans-serif; }

/* Display headings */
.display-hero {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.display-xl {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.display-lg {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.display-md {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    font-weight: 700;
    line-height: 1.2;
}

h1, h2, h3 { font-family: 'Oxanium', 'Rajdhani', 'Space Grotesk', 'IBM Plex Sans Arabic', sans-serif; font-weight: 800; letter-spacing: -0.01em; }
h4, h5, h6 { font-family: 'Rajdhani', 'Inter', 'IBM Plex Sans Arabic', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.text-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
}

.text-stat {
    font-size: 2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1;
}

.text-stat-sm {
    font-size: 1.25rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Gradient text */
.text-gradient-cyan {
    background: linear-gradient(135deg, #00D4FF 0%, #00F5A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-warm {
    background: linear-gradient(135deg, #F5A623 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-violet {
    background: linear-gradient(135deg, #7C5CFC 0%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   4. LAYOUT SHELL (AUTHENTICATED)
   ============================================================ */
.arena-shell {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    grid-template-rows: var(--header-h) 1fr;
    min-height: 100vh;
    transition: grid-template-columns var(--dur-slow) var(--ease-out-expo);
}

.arena-shell.sidebar-collapsed {
    grid-template-columns: var(--sidebar-rail-w) 1fr;
}

.arena-header {
    grid-column: 1 / -1;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    height: var(--header-h);
    background: rgba(9,11,15,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--arena-border);
    display: flex;
    align-items: center;
    padding: 0 var(--sp-4);
    gap: var(--sp-3);
}

.arena-sidebar {
    background: var(--arena-surface-01);
    border-inline-end: 1px solid var(--arena-border);
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - var(--header-h));
    position: sticky;
    top: var(--header-h);
    display: flex;
    flex-direction: column;
    transition: width var(--dur-slow) var(--ease-out-expo);
    scrollbar-width: none;
}

.arena-sidebar::-webkit-scrollbar { display: none; }

.arena-main {
    min-height: calc(100vh - var(--header-h));
    background: var(--arena-bg);
    overflow-x: hidden;
}

.arena-content {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: var(--sp-6);
}

/* ============================================================
   5. SIDEBAR
   ============================================================ */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-5) var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
    min-height: 64px;
    text-decoration: none;
}

.sidebar-brand .brand-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.sidebar-brand .brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--arena-text-primary);
    white-space: nowrap;
    line-height: 1;
}

.sidebar-brand .brand-sub {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
}

.sidebar-nav { flex: 1; padding: var(--sp-4) 0; }

.sidebar-section-label {
    padding: var(--sp-3) var(--sp-5) var(--sp-1);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2) var(--sp-5);
    color: var(--arena-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    transition: all var(--dur-fast);
    position: relative;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: start;
}

.sidebar-item:hover {
    background: var(--arena-surface-02);
    color: var(--arena-text-primary);
}

.sidebar-item.active {
    background: rgba(0,212,255,0.08);
    color: var(--arena-accent);
}

.sidebar-item.active::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--arena-accent);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.sidebar-item .s-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.65;
    transition: transform var(--dur-fast), filter var(--dur-fast), opacity var(--dur-fast);
}

.sidebar-item:hover .s-icon {
    opacity: 0.95;
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.45));
}

.sidebar-item.active .s-icon {
    opacity: 1;
    filter: drop-shadow(0 0 6px var(--arena-accent));
}

.sidebar-item .s-badge {
    margin-inline-start: auto;
    background: var(--arena-red);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: var(--r-full);
    line-height: 1.6;
}

.sidebar-item .s-new {
    margin-inline-start: auto;
    background: var(--arena-accent);
    color: var(--arena-text-inverse);
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: var(--r-sm);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.6;
}

.sidebar-footer {
    padding: var(--sp-4) var(--sp-5);
    border-top: 1px solid var(--arena-border);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: background var(--dur-fast);
}

.sidebar-user:hover { background: var(--arena-surface-02); }

.sidebar-user .user-avatar {
    width: 32px; height: 32px;
    border-radius: var(--r-full);
    object-fit: cover;
    border: 2px solid var(--arena-accent);
    flex-shrink: 0;
}

.sidebar-user .user-info { flex: 1; min-width: 0; }

.sidebar-user .user-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--arena-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user .user-rank {
    font-size: 0.6875rem;
    color: var(--arena-warm);
    font-weight: 500;
}

/* Season banner in sidebar */
.sidebar-season {
    margin: var(--sp-4) var(--sp-5);
    background: linear-gradient(135deg, var(--arena-violet) 0%, rgba(124,92,252,0.4) 100%);
    border-radius: var(--r-lg);
    padding: var(--sp-4);
    border: 1px solid rgba(124,92,252,0.3);
    overflow: hidden;
    position: relative;
}

.sidebar-season::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.sidebar-season .season-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    position: relative;
}

.sidebar-season .season-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
    position: relative;
}

.sidebar-season .season-time {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-3);
    position: relative;
}

.sidebar-season .time-unit { text-align: center; }

.sidebar-season .time-num {
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.sidebar-season .time-label {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* ============================================================
   6. TOP HEADER
   ============================================================ */
.header-toggle {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    color: var(--arena-text-secondary);
    border-radius: var(--r-md);
    transition: all var(--dur-fast);
    flex-shrink: 0;
}

.header-toggle:hover { background: var(--arena-surface-02); color: var(--arena-text-primary); }

.header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.header-search input {
    width: 100%;
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-lg);
    color: var(--arena-text-primary);
    padding: 0 var(--sp-4) 0 44px;
    height: 40px;
    font-size: 0.875rem;
    transition: all var(--dur-fast);
    outline: none;
}

.header-search input::placeholder { color: var(--arena-text-muted); }

.header-search input:focus {
    border-color: var(--arena-border-accent);
    background: var(--arena-surface-03);
    box-shadow: 0 0 0 3px var(--arena-accent-glow);
}

.header-search .search-icon {
    position: absolute;
    left: var(--sp-3);
    top: 50%; transform: translateY(-50%);
    color: var(--arena-text-muted);
    pointer-events: none;
}

[dir="rtl"] .header-search .search-icon {
    left: auto; right: var(--sp-3);
}

[dir="rtl"] .header-search input {
    padding: 0 44px 0 var(--sp-4);
}

.header-search .search-kbd {
    position: absolute;
    right: var(--sp-3); top: 50%; transform: translateY(-50%);
    display: flex; gap: 4px;
}

[dir="rtl"] .header-search .search-kbd {
    right: auto; left: var(--sp-3);
}

.header-search .kbd {
    background: var(--arena-surface-03);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-sm);
    color: var(--arena-text-muted);
    font-size: 0.625rem;
    font-weight: 600;
    padding: 1px 5px;
    line-height: 1.6;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-inline-start: auto;
}

.header-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-md);
    color: var(--arena-text-secondary);
    cursor: pointer;
    transition: all var(--dur-fast);
    position: relative;
    text-decoration: none;
    flex-shrink: 0;
}

.header-btn:hover {
    background: var(--arena-surface-03);
    border-color: var(--arena-border-strong);
    color: var(--arena-text-primary);
}

.header-btn .badge-dot {
    position: absolute;
    top: 6px; right: 6px;
    width: 8px; height: 8px;
    background: var(--arena-red);
    border-radius: var(--r-full);
    border: 2px solid var(--arena-bg);
}

.header-create {
    display: flex; align-items: center; gap: var(--sp-2);
    background: var(--arena-accent);
    border: none;
    border-radius: var(--r-md);
    color: var(--arena-text-inverse);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0 var(--sp-4);
    height: 36px;
    cursor: pointer;
    transition: all var(--dur-fast);
    white-space: nowrap;
    text-decoration: none;
}

.header-create:hover {
    background: #00b8d9;
    box-shadow: 0 0 20px rgba(0,212,255,0.3);
    color: var(--arena-text-inverse);
}

.header-profile {
    display: flex; align-items: center; gap: var(--sp-2);
    padding: 4px var(--sp-2);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: background var(--dur-fast);
    border: none; background: none;
    text-decoration: none;
}

.header-profile:hover { background: var(--arena-surface-02); }

.header-profile .avatar {
    width: 32px; height: 32px;
    border-radius: var(--r-full);
    object-fit: cover;
    border: 2px solid var(--arena-accent);
    flex-shrink: 0;
}

.header-profile .profile-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--arena-text-primary);
    white-space: nowrap;
}

.header-profile .profile-rank {
    font-size: 0.6875rem;
    color: var(--arena-warm);
    white-space: nowrap;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn-arena {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0 var(--sp-5);
    height: 38px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-out-expo);
    border: none;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'Oxanium', 'Rajdhani', 'Space Grotesk', 'IBM Plex Sans Arabic', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-arena:focus-visible {
    outline: 2px solid var(--arena-accent);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--arena-accent);
    color: var(--arena-text-inverse);
    box-shadow: 0 0 0 0 var(--arena-accent-glow);
}

.btn-primary:hover {
    background: #00bfe0;
    box-shadow: 0 0 24px rgba(0,212,255,0.35);
    transform: translateY(-1px);
    color: var(--arena-text-inverse);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: var(--arena-surface-03);
    color: var(--arena-text-primary);
    border: 1px solid var(--arena-border-strong);
}

.btn-secondary:hover {
    background: var(--arena-surface-04);
    border-color: var(--arena-border-accent);
    color: var(--arena-text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--arena-text-secondary);
    border: 1px solid var(--arena-border);
}

.btn-ghost:hover {
    background: var(--arena-surface-02);
    color: var(--arena-text-primary);
    border-color: var(--arena-border-strong);
}

.btn-danger {
    background: var(--arena-red);
    color: #fff;
}

.btn-danger:hover {
    background: #e02347;
    box-shadow: 0 0 20px rgba(255,59,87,0.3);
    color: #fff;
}

.btn-warm {
    background: var(--arena-warm);
    color: var(--arena-text-inverse);
}

.btn-warm:hover { background: #e09418; color: var(--arena-text-inverse); }

.btn-violet {
    background: var(--arena-violet);
    color: #fff;
}

.btn-violet:hover { background: #6a4ae0; color: #fff; }

.btn-sm {
    height: 34px;
    padding: 0 var(--sp-4);
    font-size: 0.8125rem;
}

.btn-xs {
    height: 28px;
    padding: 0 var(--sp-3);
    font-size: 0.75rem;
}

.btn-lg {
    height: 52px;
    padding: 0 var(--sp-8);
    font-size: 1rem;
}

.btn-icon {
    width: 44px; height: 44px;
    padding: 0;
    border-radius: var(--r-md);
}

.btn-icon.btn-sm { width: 34px; height: 34px; }

/* ============================================================
   8. CARDS
   ============================================================ */
.card-arena {
    background: 
        radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.05), transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.003) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.003) 1px, transparent 1px),
        var(--arena-surface-01) !important;
    background-size: 100% 100%, 24px 24px, 24px 24px, 100% 100% !important;
    border: 1px solid var(--arena-border) !important;
    border-top: 1.5px solid rgba(0, 212, 255, 0.22) !important;
    border-radius: 6px !important;
    box-shadow: 
        inset 0 1px 0px rgba(255, 255, 255, 0.05),
        0 12px 30px rgba(0, 0, 0, 0.5) !important;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
    overflow: hidden;
    position: relative;
}

.card-arena:hover {
    border-color: rgba(0, 212, 255, 0.35) !important;
    border-top: 1.5px solid rgba(0, 212, 255, 0.5) !important;
    box-shadow: 
        inset 0 1px 0px rgba(255, 255, 255, 0.1),
        0 16px 40px rgba(0, 212, 255, 0.05),
        0 20px 48px rgba(0, 0, 0, 0.6) !important;
}

.card-arena.card-glow:hover {
    border-color: var(--arena-border-accent) !important;
    box-shadow: var(--shadow-accent) !important;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
}

.card-title {
    font-family: 'Oxanium', 'Rajdhani', 'Space Grotesk', 'IBM Plex Sans Arabic', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--arena-text-primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.card-body { padding: var(--sp-5); }

.card-footer {
    padding: var(--sp-4) var(--sp-5);
    border-top: 1px solid var(--arena-border);
    background: var(--arena-surface-02);
}

/* Player card */
.player-card {
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: all var(--dur-base) var(--ease-out-expo);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.player-card:hover {
    border-color: var(--arena-border-accent);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

.player-card-cover {
    height: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--arena-surface-03) 0%, var(--arena-surface-04) 100%);
}

.player-card-cover img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.5;
}

.player-card-cover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--arena-surface-01));
}

.player-card-body { padding: var(--sp-4); position: relative; }

.player-card-avatar {
    width: 56px; height: 56px;
    border-radius: var(--r-full);
    border: 3px solid var(--arena-surface-01);
    object-fit: cover;
    margin-top: -28px;
    position: relative;
    z-index: 1;
    background: var(--arena-surface-03);
}

.player-card-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--arena-text-primary);
    margin-top: var(--sp-2);
    letter-spacing: -0.01em;
}

.player-card-meta {
    font-size: 0.75rem;
    color: var(--arena-text-muted);
    margin-top: 2px;
}

.player-card-games {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-3);
    flex-wrap: wrap;
}

.player-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--sp-3);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--arena-border);
}

/* Team card */
.team-card {
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: all var(--dur-base) var(--ease-out-expo);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.team-card:hover {
    border-color: var(--arena-border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.team-card-header {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
}

.team-logo {
    width: 48px; height: 48px;
    border-radius: var(--r-lg);
    object-fit: contain;
    background: var(--arena-surface-02);
    flex-shrink: 0;
    padding: var(--sp-1);
}

.team-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--arena-text-primary);
}

.team-tag {
    font-size: 0.75rem;
    color: var(--arena-text-muted);
}

/* Tournament card */
.tournament-card {
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: all var(--dur-base) var(--ease-out-expo);
    text-decoration: none;
    display: block;
}

.tournament-card:hover {
    border-color: var(--arena-border-strong);
    box-shadow: var(--shadow-md);
}

.tournament-card-cover {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1D2030 0%, #0F1117 100%);
}

.tournament-card-cover img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out-expo);
}

.tournament-card:hover .tournament-card-cover img { transform: scale(1.04); }

.tournament-card-cover .prize-badge {
    position: absolute;
    top: var(--sp-3); right: var(--sp-3);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--arena-warm);
    border-radius: var(--r-md);
    padding: var(--sp-1) var(--sp-3);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--arena-warm);
}

[dir="rtl"] .tournament-card-cover .prize-badge {
    right: auto; left: var(--sp-3);
}

.tournament-card-body { padding: var(--sp-4) var(--sp-5); }

.tournament-card-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--arena-text-primary);
    letter-spacing: -0.01em;
}

.tournament-card-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-top: var(--sp-2);
    flex-wrap: wrap;
}

.tournament-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-3) var(--sp-5);
    border-top: 1px solid var(--arena-border);
    background: var(--arena-surface-02);
}

/* ============================================================
   9. BADGES
   ============================================================ */
.badge-arena {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--r-full);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.badge-accent   { background: var(--arena-accent-glow); color: var(--arena-accent); }
.badge-warm     { background: var(--arena-warm-glow); color: var(--arena-warm); }
.badge-violet   { background: var(--arena-violet-glow); color: var(--arena-violet); }
.badge-red      { background: rgba(255,59,87,0.12); color: var(--arena-red); }
.badge-green    { background: rgba(34,212,126,0.12); color: var(--arena-green); }
.badge-muted    { background: var(--arena-surface-03); color: var(--arena-text-secondary); }
.badge-outline  { border: 1px solid var(--arena-border-strong); color: var(--arena-text-secondary); background: none; }

/* Live badge */
.badge-live {
    background: rgba(255,59,87,0.15);
    color: var(--arena-red);
    border: 1px solid rgba(255,59,87,0.3);
}

.badge-live::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: var(--r-full);
    background: var(--arena-red);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

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

/* Verified badge */
.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--arena-accent);
    font-size: 0.6875rem;
    font-weight: 600;
}

/* Status dot */
.status-dot {
    width: 8px; height: 8px;
    border-radius: var(--r-full);
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.online  { background: var(--status-online); box-shadow: 0 0 6px var(--status-online); }
.status-dot.away    { background: var(--status-away); }
.status-dot.offline { background: var(--status-offline); }
.status-dot.live    { background: var(--status-live); animation: pulse-dot 1.5s ease-in-out infinite; }

/* Game tag */
.game-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: 2px 8px 2px 4px;
    background: var(--arena-surface-03);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-full);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--arena-text-secondary);
}

.game-tag img {
    width: 16px; height: 16px;
    border-radius: 3px;
}

/* Rank badge */
.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 3px 10px 3px 6px;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.rank-badge.bronze   { background: rgba(205,127,50,0.15); color: var(--rank-bronze); }
.rank-badge.silver   { background: rgba(168,180,192,0.15); color: var(--rank-silver); }
.rank-badge.gold     { background: rgba(255,215,0,0.12); color: var(--rank-gold); }
.rank-badge.platinum { background: rgba(229,228,226,0.1); color: var(--rank-platinum); }
.rank-badge.diamond  { background: rgba(185,242,255,0.1); color: var(--rank-diamond); }
.rank-badge.mythic   { background: rgba(255,59,87,0.12); color: var(--rank-mythic); }
.rank-badge.legend   { background: rgba(124,92,252,0.15); color: var(--rank-legend); }

.rank-icon { width: 18px; height: 18px; }

/* ============================================================
   10. FORMS
   ============================================================ */
.form-arena label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--arena-text-secondary);
    margin-bottom: var(--sp-2);
}

.form-arena .required-star { color: var(--arena-red); margin-inline-start: 2px; }

.input-arena {
    width: 100%;
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-md);
    color: var(--arena-text-primary);
    padding: 0 var(--sp-4);
    height: 44px;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all var(--dur-fast);
    outline: none;
    -webkit-appearance: none;
}

.input-arena::placeholder { color: var(--arena-text-muted); }

.input-arena:focus {
    border-color: var(--arena-border-accent);
    background: var(--arena-surface-03);
    box-shadow: 0 0 0 3px var(--arena-accent-glow);
}

.input-arena.is-invalid {
    border-color: var(--arena-red);
    box-shadow: 0 0 0 3px rgba(255,59,87,0.12);
}

.input-arena.is-valid {
    border-color: var(--arena-green);
    box-shadow: 0 0 0 3px rgba(34,212,126,0.12);
}

.input-arena:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--arena-surface-01);
}

textarea.input-arena {
    height: auto;
    padding-top: var(--sp-3);
    padding-bottom: var(--sp-3);
    resize: vertical;
    min-height: 100px;
}

select.input-arena {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B92A5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    -webkit-appearance: none;
}

[dir="rtl"] select.input-arena {
    background-position: left 12px center;
    padding-right: var(--sp-4);
    padding-left: 40px;
}

.input-group-arena {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-arena .input-prefix,
.input-group-arena .input-suffix {
    position: absolute;
    display: flex;
    align-items: center;
    color: var(--arena-text-muted);
    pointer-events: none;
}

.input-group-arena .input-prefix { left: var(--sp-3); }
.input-group-arena .input-suffix { right: var(--sp-3); }

[dir="rtl"] .input-group-arena .input-prefix { left: auto; right: var(--sp-3); }
[dir="rtl"] .input-group-arena .input-suffix { right: auto; left: var(--sp-3); }

.input-group-arena.has-prefix .input-arena { padding-inline-start: 44px; }
.input-group-arena.has-suffix .input-arena { padding-inline-end: 44px; }

.field-error {
    font-size: 0.75rem;
    color: var(--arena-red);
    margin-top: var(--sp-1);
    display: flex;
    align-items: center;
    gap: 4px;
}

.field-hint {
    font-size: 0.75rem;
    color: var(--arena-text-muted);
    margin-top: var(--sp-1);
}

/* Checkbox / Radio */
.check-arena {
    width: 18px; height: 18px;
    background: var(--arena-surface-02);
    border: 2px solid var(--arena-border-strong);
    border-radius: var(--r-sm);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all var(--dur-fast);
    flex-shrink: 0;
}

.check-arena:checked {
    background: var(--arena-accent);
    border-color: var(--arena-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23090B0F' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.check-arena[type="radio"] { border-radius: var(--r-full); }

.check-arena:focus-visible {
    outline: 2px solid var(--arena-accent);
    outline-offset: 2px;
}

/* Toggle switch */
.toggle-arena {
    width: 44px; height: 24px;
    background: var(--arena-surface-03);
    border: 1px solid var(--arena-border-strong);
    border-radius: var(--r-full);
    position: relative;
    cursor: pointer;
    transition: all var(--dur-base);
    flex-shrink: 0;
}

.toggle-arena::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    border-radius: var(--r-full);
    background: var(--arena-text-muted);
    transition: all var(--dur-base) var(--ease-spring);
}

.toggle-arena.checked {
    background: var(--arena-accent);
    border-color: var(--arena-accent);
}

.toggle-arena.checked::after {
    left: 23px;
    background: var(--arena-text-inverse);
}

/* Step indicator */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0;
}

.step {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    flex: 1;
}

.step:last-child { flex: 0; }

.step-circle {
    width: 32px; height: 32px;
    border-radius: var(--r-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all var(--dur-base);
    border: 2px solid var(--arena-border-strong);
    color: var(--arena-text-muted);
    background: var(--arena-surface-02);
}

.step.active .step-circle {
    background: var(--arena-accent);
    border-color: var(--arena-accent);
    color: var(--arena-text-inverse);
    box-shadow: 0 0 16px var(--arena-accent-glow);
}

.step.completed .step-circle {
    background: var(--arena-green);
    border-color: var(--arena-green);
    color: var(--arena-text-inverse);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--arena-border-strong);
    margin: 0 var(--sp-2);
    border-radius: var(--r-full);
    transition: background var(--dur-slow);
}

.step.completed + .step-line {
    background: var(--arena-green);
}

.step-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--arena-text-muted);
    margin-top: var(--sp-1);
    text-align: center;
    white-space: nowrap;
}

.step.active .step-label { color: var(--arena-accent); }
.step.completed .step-label { color: var(--arena-green); }

/* ============================================================
   11. TABLES
   ============================================================ */
.table-arena {
    width: 100%;
    border-collapse: collapse;
}

.table-arena thead tr {
    border-bottom: 1px solid var(--arena-border-strong);
}

.table-arena th {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
    padding: var(--sp-3) var(--sp-4);
    text-align: start;
    white-space: nowrap;
}

.table-arena td {
    padding: var(--sp-3) var(--sp-4);
    font-size: 0.875rem;
    color: var(--arena-text-primary);
    border-bottom: 1px solid var(--arena-border);
    vertical-align: middle;
}

.table-arena tbody tr { transition: background var(--dur-fast); }

.table-arena tbody tr:hover { background: var(--arena-surface-02); }

.table-arena tbody tr:last-child td { border-bottom: none; }

.table-responsive { overflow-x: auto; }

/* Ranking table specific */
.rank-position {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--arena-text-muted);
    font-variant-numeric: tabular-nums;
    min-width: 32px;
    text-align: center;
}

.rank-position.top-1 { color: var(--rank-gold); }
.rank-position.top-2 { color: var(--rank-silver); }
.rank-position.top-3 { color: var(--rank-bronze); }

.rank-movement {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.6875rem;
    font-weight: 600;
}

.rank-movement.up { color: var(--arena-green); }
.rank-movement.down { color: var(--arena-red); }
.rank-movement.same { color: var(--arena-text-muted); }

/* ============================================================
   12. NAVIGATION (PUBLIC)
   ============================================================ */
.public-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: var(--z-sticky);
    height: 68px;
    background: rgba(9,11,15,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--arena-border);
    display: flex;
    align-items: center;
    padding: 0 var(--sp-6);
}

.public-nav-inner {
    max-width: var(--content-max);
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--sp-6);
}

.public-nav .brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
    flex-shrink: 0;
}

.public-nav .brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--arena-text-primary);
    letter-spacing: 0.04em;
    line-height: 1;
}

.public-nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.public-nav-links a {
    padding: var(--sp-2) var(--sp-3);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--arena-text-secondary);
    text-decoration: none;
    border-radius: var(--r-md);
    transition: all var(--dur-fast);
    white-space: nowrap;
}

.public-nav-links a:hover,
.public-nav-links a.active {
    color: var(--arena-text-primary);
    background: var(--arena-surface-02);
}

.public-nav-actions {
    margin-inline-start: auto;
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-md);
    padding: 2px;
}

.lang-btn {
    padding: 4px 10px;
    border-radius: var(--r-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--arena-text-muted);
    transition: all var(--dur-fast);
    font-family: inherit;
}

.lang-btn.active {
    background: var(--arena-surface-03);
    color: var(--arena-text-primary);
}

/* ============================================================
   13. STAT WIDGETS
   ============================================================ */
.stat-card {
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-xl);
    padding: var(--sp-5);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    border-radius: var(--r-full);
    opacity: 0.06;
    transform: translate(20px, -20px);
}

.stat-card.accent-cyan::before  { background: var(--arena-accent);  }
.stat-card.accent-warm::before  { background: var(--arena-warm);    }
.stat-card.accent-violet::before { background: var(--arena-violet); }
.stat-card.accent-red::before   { background: var(--arena-red);     }
.stat-card.accent-green::before { background: var(--arena-green);   }

.stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
    margin-bottom: var(--sp-2);
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--arena-text-primary);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: var(--sp-2);
}

.stat-change.up   { color: var(--arena-green); }
.stat-change.down { color: var(--arena-red); }

.stat-icon {
    position: absolute;
    top: var(--sp-4); right: var(--sp-4);
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-md);
    opacity: 0.9;
}

[dir="rtl"] .stat-icon { right: auto; left: var(--sp-4); }

.stat-icon.cyan   { background: var(--arena-accent-glow); color: var(--arena-accent); }
.stat-icon.warm   { background: var(--arena-warm-glow);   color: var(--arena-warm); }
.stat-icon.violet { background: var(--arena-violet-glow); color: var(--arena-violet); }
.stat-icon.red    { background: rgba(255,59,87,0.12);  color: var(--arena-red); }
.stat-icon.green  { background: rgba(34,212,126,0.12); color: var(--arena-green); }

/* ============================================================
   14. ACTIVITY FEED
   ============================================================ */
.feed-item {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--arena-border);
    transition: background var(--dur-fast);
}

.feed-item:last-child { border-bottom: none; }

.feed-avatar {
    width: 40px; height: 40px;
    border-radius: var(--r-full);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--arena-surface-03);
}

.feed-content { flex: 1; min-width: 0; }

.feed-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--arena-text-secondary);
}

.feed-text .actor {
    color: var(--arena-text-primary);
    font-weight: 600;
    text-decoration: none;
}

.feed-text .actor:hover { color: var(--arena-accent); }

.feed-text .target {
    color: var(--arena-accent);
    font-weight: 500;
    text-decoration: none;
}

.feed-time {
    font-size: 0.6875rem;
    color: var(--arena-text-muted);
    margin-top: 4px;
}

.feed-actions {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-2);
}

/* ============================================================
   15. EMPTY STATES
   ============================================================ */
.empty-state {
    text-align: center;
    padding: var(--sp-16) var(--sp-8);
    color: var(--arena-text-muted);
}

.empty-icon {
    width: 64px; height: 64px;
    margin: 0 auto var(--sp-5);
    color: var(--arena-text-muted);
    opacity: 0.4;
}

.empty-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--arena-text-secondary);
    margin-bottom: var(--sp-2);
}

.empty-desc {
    font-size: 0.875rem;
    color: var(--arena-text-muted);
    max-width: 360px;
    margin: 0 auto var(--sp-5);
}

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg,
        var(--arena-surface-02) 25%,
        var(--arena-surface-03) 50%,
        var(--arena-surface-02) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shine 1.5s ease-in-out infinite;
    border-radius: var(--r-md);
}

@keyframes skeleton-shine {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   16. MODALS & DROPDOWNS
   ============================================================ */
.arena-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: var(--z-overlay);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity var(--dur-base);
    pointer-events: none;
}

.arena-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.arena-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    z-index: var(--z-modal);
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border-strong);
    border-radius: var(--r-2xl);
    box-shadow: var(--shadow-xl);
    width: min(560px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    opacity: 0;
    transition: all var(--dur-base) var(--ease-out-expo);
    pointer-events: none;
}

.arena-modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-5) var(--sp-6);
    border-bottom: 1px solid var(--arena-border);
}

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--arena-text-primary);
}

.modal-close {
    width: 32px; height: 32px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    background: none;
    border: none;
    color: var(--arena-text-muted);
    cursor: pointer;
    transition: all var(--dur-fast);
}

.modal-close:hover {
    background: var(--arena-surface-03);
    color: var(--arena-text-primary);
}

.modal-body { padding: var(--sp-6); }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-6);
    border-top: 1px solid var(--arena-border);
}

/* Dropdown */
.dropdown-arena {
    position: absolute;
    top: calc(100% + var(--sp-2));
    min-width: 200px;
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border-strong);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-drop);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: all var(--dur-base) var(--ease-out-expo);
    pointer-events: none;
}

.dropdown-arena.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.dropdown-item-arena {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2) var(--sp-4);
    font-size: 0.875rem;
    color: var(--arena-text-secondary);
    cursor: pointer;
    transition: all var(--dur-fast);
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: start;
    font-family: inherit;
}

.dropdown-item-arena:hover {
    background: var(--arena-surface-03);
    color: var(--arena-text-primary);
}

.dropdown-item-arena.danger:hover {
    background: rgba(255,59,87,0.08);
    color: var(--arena-red);
}

.dropdown-divider {
    height: 1px;
    background: var(--arena-border);
    margin: var(--sp-1) 0;
}

/* ============================================================
   17. CHAT UI
   ============================================================ */
.chat-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: calc(100vh - var(--header-h));
    overflow: hidden;
}

.chat-sidebar {
    background: var(--arena-surface-01);
    border-inline-end: 1px solid var(--arena-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-sidebar-header {
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-list { overflow-y: auto; flex: 1; }

.chat-item {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-5);
    cursor: pointer;
    transition: background var(--dur-fast);
    border-bottom: 1px solid var(--arena-border);
    text-decoration: none;
}

.chat-item:hover { background: var(--arena-surface-02); }
.chat-item.active { background: rgba(0,212,255,0.05); border-inline-start: 2px solid var(--arena-accent); }

.chat-avatar { position: relative; flex-shrink: 0; }

.chat-avatar img {
    width: 44px; height: 44px;
    border-radius: var(--r-full);
    object-fit: cover;
    background: var(--arena-surface-03);
}

.chat-avatar .chat-status {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 10px; height: 10px;
    border-radius: var(--r-full);
    border: 2px solid var(--arena-surface-01);
}

.chat-item-info { flex: 1; min-width: 0; }

.chat-item-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--arena-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-item-preview {
    font-size: 0.75rem;
    color: var(--arena-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.chat-item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.chat-item-time { font-size: 0.6875rem; color: var(--arena-text-muted); }

.chat-unread {
    background: var(--arena-accent);
    color: var(--arena-text-inverse);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: var(--r-full);
    line-height: 1.6;
}

.chat-main { display: flex; flex-direction: column; overflow: hidden; }

.chat-header {
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-shrink: 0;
    background: var(--arena-surface-01);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.message {
    display: flex;
    gap: var(--sp-2);
    align-items: flex-end;
    max-width: 70%;
}

.message.own { flex-direction: row-reverse; align-self: flex-end; }

.message img.msg-avatar {
    width: 28px; height: 28px;
    border-radius: var(--r-full);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--arena-surface-03);
}

.message-bubble {
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-lg) var(--r-lg) var(--r-lg) var(--r-xs);
    padding: var(--sp-3) var(--sp-4);
    font-size: 0.875rem;
    color: var(--arena-text-primary);
    line-height: 1.5;
    max-width: 100%;
    word-break: break-word;
}

.message.own .message-bubble {
    background: rgba(0,212,255,0.12);
    border-color: rgba(0,212,255,0.2);
    border-radius: var(--r-lg) var(--r-lg) var(--r-xs) var(--r-lg);
}

.chat-input-area {
    padding: var(--sp-4) var(--sp-5);
    border-top: 1px solid var(--arena-border);
    background: var(--arena-surface-01);
    display: flex;
    gap: var(--sp-3);
    align-items: center;
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-2xl);
    padding: var(--sp-3) var(--sp-5);
    color: var(--arena-text-primary);
    font-size: 0.875rem;
    resize: none;
    outline: none;
    font-family: inherit;
    max-height: 120px;
    transition: border-color var(--dur-fast);
}

.chat-input:focus { border-color: var(--arena-border-accent); }

/* ============================================================
   18. BRACKET
   ============================================================ */
.bracket-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: var(--sp-4);
}

.bracket {
    display: flex;
    gap: 0;
    min-width: max-content;
}

.bracket-round {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-width: 200px;
}

.bracket-round-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
    text-align: center;
    padding-bottom: var(--sp-4);
}

.bracket-match {
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-md);
    overflow: hidden;
    margin: var(--sp-3) var(--sp-4);
    transition: border-color var(--dur-fast);
    position: relative;
}

.bracket-match:hover { border-color: var(--arena-border-accent); }

.bracket-team {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    border-bottom: 1px solid var(--arena-border);
    transition: background var(--dur-fast);
}

.bracket-team:last-child { border-bottom: none; }

.bracket-team.winner { background: rgba(34,212,126,0.06); }
.bracket-team.loser  { opacity: 0.5; }

.bracket-team img {
    width: 20px; height: 20px;
    border-radius: 4px;
    object-fit: contain;
    background: var(--arena-surface-03);
    flex-shrink: 0;
}

.bracket-team-name {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--arena-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bracket-score {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--arena-text-muted);
    font-variant-numeric: tabular-nums;
    min-width: 20px;
    text-align: end;
}

.bracket-team.winner .bracket-score { color: var(--arena-green); }

/* ============================================================
   19. NOTIFICATION PANEL
   ============================================================ */
.notification-panel {
    width: 380px;
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border-strong);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
}

.notification-item {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
    cursor: pointer;
    transition: background var(--dur-fast);
    text-decoration: none;
}

.notification-item:hover { background: var(--arena-surface-03); }

.notification-item.unread {
    background: rgba(0,212,255,0.03);
    border-inline-start: 2px solid var(--arena-accent);
}

.notification-icon {
    width: 36px; height: 36px;
    border-radius: var(--r-full);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.notification-content { flex: 1; min-width: 0; }

.notification-text {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--arena-text-secondary);
}

.notification-text .actor {
    font-weight: 600;
    color: var(--arena-text-primary);
}

.notification-time {
    font-size: 0.6875rem;
    color: var(--arena-text-muted);
    margin-top: 4px;
}

/* ============================================================
   20. PROGRESS / RANK BARS
   ============================================================ */
.progress-arena {
    height: 6px;
    background: var(--arena-surface-03);
    border-radius: var(--r-full);
    overflow: hidden;
}

.progress-bar-arena {
    height: 100%;
    border-radius: var(--r-full);
    background: linear-gradient(90deg, var(--arena-accent) 0%, #00F5A0 100%);
    transition: width 1.2s var(--ease-out-expo);
    position: relative;
}

.progress-bar-arena::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 20px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3));
    border-radius: var(--r-full);
}

.progress-bar-arena.warm { background: linear-gradient(90deg, var(--arena-warm) 0%, #FF6B6B 100%); }
.progress-bar-arena.violet { background: linear-gradient(90deg, var(--arena-violet) 0%, #C084FC 100%); }
.progress-bar-arena.green { background: linear-gradient(90deg, var(--arena-green) 0%, #00F5A0 100%); }

/* ============================================================
   21. PUBLIC LANDING SECTIONS
   ============================================================ */
.section-label-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.section-label-row::before {
    content: '';
    width: 3px;
    height: 20px;
    background: var(--arena-accent);
    border-radius: var(--r-full);
    flex-shrink: 0;
}

.section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--arena-accent);
}

/* Divider line */
.arena-divider {
    height: 1px;
    background: var(--arena-border);
    border: none;
    margin: 0;
}

.arena-divider.glow {
    background: linear-gradient(90deg, transparent, var(--arena-accent), transparent);
    opacity: 0.3;
}

/* Section padding */
.section-xl  { padding: var(--sp-24) 0; }
.section-lg  { padding: var(--sp-20) 0; }
.section-md  { padding: var(--sp-16) 0; }
.section-sm  { padding: var(--sp-12) 0; }

/* Container */
.container-arena {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

/* Hero */
.landing-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding-top: 68px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(9,11,15,0.3) 0%,
        rgba(9,11,15,0.1) 30%,
        rgba(9,11,15,0.6) 70%,
        rgba(9,11,15,0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--sp-16) var(--sp-6) var(--sp-20);
    max-width: var(--content-max);
    margin: 0 auto;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: var(--r-full);
    padding: var(--sp-1) var(--sp-4);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--arena-accent);
    margin-bottom: var(--sp-6);
    width: fit-content;
}

.hero-tag .dot {
    width: 6px; height: 6px;
    border-radius: var(--r-full);
    background: var(--arena-accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.75rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--arena-text-primary);
    margin-bottom: var(--sp-6);
    max-width: 860px;
}

.hero-headline .accent { color: var(--arena-accent); }
.hero-headline .warm   { color: var(--arena-warm); }

.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: var(--arena-text-secondary);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: var(--sp-8);
}

.hero-actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-bottom: var(--sp-12);
}

/* Hero stats bar */
.hero-stats {
    display: flex;
    gap: var(--sp-8);
    padding-top: var(--sp-8);
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}

.hero-stat { flex: 1; min-width: 100px; }

.hero-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--arena-text-primary);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
    margin-top: var(--sp-1);
}

/* Section headings */
.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--arena-text-primary);
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.section-subheading {
    font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
    color: var(--arena-text-secondary);
    line-height: 1.7;
    margin-top: var(--sp-4);
    max-width: 600px;
}

/* Feature rows (editorial layout) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
}

.feature-row.reversed { direction: rtl; }
.feature-row.reversed > * { direction: ltr; }

[dir="rtl"] .feature-row { direction: ltr; }
[dir="rtl"] .feature-row.reversed { direction: rtl; }
[dir="rtl"] .feature-row.reversed > * { direction: rtl; }

.feature-visual {
    border-radius: var(--r-2xl);
    overflow: hidden;
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border);
    position: relative;
    aspect-ratio: 4/3;
}

.feature-visual img {
    width: 100%; height: 100%; object-fit: cover;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    margin-top: var(--sp-6);
}

.feature-item {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
}

.feature-item-icon {
    width: 40px; height: 40px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.125rem;
}

.feature-item-icon.cyan   { background: var(--arena-accent-glow); }
.feature-item-icon.warm   { background: var(--arena-warm-glow); }
.feature-item-icon.violet { background: var(--arena-violet-glow); }
.feature-item-icon.green  { background: rgba(34,212,126,0.12); }

.feature-item-text h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--arena-text-primary);
    margin-bottom: 4px;
}

.feature-item-text p {
    font-size: 0.875rem;
    color: var(--arena-text-muted);
    line-height: 1.6;
}

/* Pricing cards */
.pricing-card {
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-2xl);
    padding: var(--sp-8);
    position: relative;
    transition: all var(--dur-base) var(--ease-out-expo);
    overflow: hidden;
}

.pricing-card:hover {
    border-color: var(--arena-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--arena-accent);
    background: linear-gradient(180deg, rgba(0,212,255,0.05) 0%, var(--arena-surface-01) 100%);
    box-shadow: var(--shadow-accent);
}

.pricing-card.featured:hover {
    box-shadow: var(--shadow-glow);
}

.pricing-tag {
    position: absolute;
    top: var(--sp-5); right: var(--sp-5);
    background: var(--arena-accent);
    color: var(--arena-text-inverse);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--r-full);
}

[dir="rtl"] .pricing-tag { right: auto; left: var(--sp-5); }

.pricing-tier {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
    margin-bottom: var(--sp-3);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: var(--sp-1);
    margin-bottom: var(--sp-2);
}

.pricing-price .amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--arena-text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--arena-text-secondary);
    margin-bottom: 4px;
}

.pricing-price .period {
    font-size: 0.875rem;
    color: var(--arena-text-muted);
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--arena-text-muted);
    line-height: 1.6;
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid var(--arena-border);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-bottom: var(--sp-8);
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: 0.875rem;
    color: var(--arena-text-secondary);
}

.pricing-feature .check {
    color: var(--arena-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-feature .cross {
    color: var(--arena-text-muted);
    flex-shrink: 0;
    opacity: 0.4;
    margin-top: 2px;
}

/* Testimonials */
.testimonial-card {
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    transition: border-color var(--dur-fast);
}

.testimonial-card:hover { border-color: var(--arena-border-strong); }

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--arena-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--sp-5);
    position: relative;
}

.testimonial-text::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--arena-accent);
    line-height: 0;
    position: relative;
    top: 0.4em;
    opacity: 0.4;
    display: block;
    margin-bottom: var(--sp-2);
}

/* Footer */
.arena-footer {
    background: var(--arena-surface-01);
    border-top: 1px solid var(--arena-border);
    padding: var(--sp-16) 0 var(--sp-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-8);
    margin-bottom: var(--sp-12);
}

.footer-brand { max-width: 280px; }

.footer-brand .brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--arena-text-primary);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-4);
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--arena-text-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-5);
}

.footer-socials {
    display: flex;
    gap: var(--sp-2);
}

.footer-social {
    width: 36px; height: 36px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    color: var(--arena-text-muted);
    text-decoration: none;
    transition: all var(--dur-fast);
    font-size: 0.875rem;
}

.footer-social:hover {
    background: var(--arena-surface-03);
    color: var(--arena-accent);
    border-color: var(--arena-border-accent);
}

.footer-col-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
    margin-bottom: var(--sp-4);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }

.footer-links a {
    font-size: 0.875rem;
    color: var(--arena-text-muted);
    text-decoration: none;
    transition: color var(--dur-fast);
}

.footer-links a:hover { color: var(--arena-text-primary); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-6);
    border-top: 1px solid var(--arena-border);
    flex-wrap: wrap;
    gap: var(--sp-4);
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--arena-text-muted);
}

/* ============================================================
   22. AUTHENTICATION PAGES
   ============================================================ */
.auth-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-visual {
    position: relative;
    overflow: hidden;
    background: var(--arena-surface-01);
}

.auth-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.auth-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9,11,15,0.8) 0%, rgba(124,92,252,0.2) 100%);
}

.auth-visual-content {
    position: absolute;
    bottom: var(--sp-10);
    left: var(--sp-10);
    right: var(--sp-10);
    z-index: 2;
}

[dir="rtl"] .auth-visual-content { left: var(--sp-10); right: var(--sp-10); }

.auth-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--sp-8);
    background: var(--arena-bg);
}

.auth-box {
    width: 100%;
    max-width: 420px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-8);
    text-decoration: none;
}

.auth-logo .name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--arena-text-primary);
    letter-spacing: 0.04em;
}

.auth-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--arena-text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-2);
}

.auth-subtitle {
    font-size: 0.9375rem;
    color: var(--arena-text-muted);
    margin-bottom: var(--sp-8);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin: var(--sp-6) 0;
    color: var(--arena-text-muted);
    font-size: 0.8125rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--arena-border);
}

/* ============================================================
   23. UTILITY CLASSES
   ============================================================ */
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.flex-1 { flex: 1; }
.min-w-0 { min-width: 0; }
.ms-auto { margin-inline-start: auto; }
.me-auto { margin-inline-end: auto; }
.text-start { text-align: start; }
.text-end   { text-align: end; }
.text-center { text-align: center; }
.text-primary   { color: var(--arena-text-primary) !important; }
.text-secondary { color: var(--arena-text-secondary) !important; }
.text-muted     { color: var(--arena-text-muted) !important; }
.text-accent    { color: var(--arena-accent) !important; }
.text-warm      { color: var(--arena-warm) !important; }
.text-violet    { color: var(--arena-violet) !important; }
.text-danger    { color: var(--arena-red) !important; }
.text-success   { color: var(--arena-green) !important; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fs-xs  { font-size: 0.6875rem; }
.fs-sm  { font-size: 0.8125rem; }
.fs-base { font-size: 0.9375rem; }
.fs-md  { font-size: 1rem; }
.fs-lg  { font-size: 1.125rem; }
.rounded-arena { border-radius: var(--r-lg); }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.object-cover { object-fit: cover; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.p-4  { padding: var(--sp-4); }
.p-5  { padding: var(--sp-5); }
.p-6  { padding: var(--sp-6); }
.py-4 { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.py-6 { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }
.px-4 { padding-inline: var(--sp-4); }
.px-5 { padding-inline: var(--sp-5); }
.px-6 { padding-inline: var(--sp-6); }

/* Visually hidden (for screen readers) */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Tabs */
.tabs-arena {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--arena-border);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-arena::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: var(--sp-3) var(--sp-5);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--arena-text-muted);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    transition: all var(--dur-fast);
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.tab-btn:hover { color: var(--arena-text-primary); }

.tab-btn.active {
    color: var(--arena-accent);
    border-bottom-color: var(--arena-accent);
    font-weight: 600;
}

/* Tab content */
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ============================================================
   24. MOBILE BOTTOM NAV
   ============================================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: var(--z-sticky);
    background: var(--arena-surface-01);
    border-top: 1px solid var(--arena-border);
    height: 60px;
    align-items: center;
    justify-content: space-around;
    padding: 0 var(--sp-2);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--arena-text-muted);
    transition: color var(--dur-fast);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-md);
    min-width: 56px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.mobile-nav-item.active { color: var(--arena-accent); }

.mobile-nav-item i {
    font-size: 1.25rem;
    transition: transform var(--dur-fast), filter var(--dur-fast);
}

.mobile-nav-item:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.4));
}

.mobile-nav-item.active i {
    filter: drop-shadow(0 0 5px var(--arena-accent));
}

.mobile-nav-item svg {
    width: 22px; height: 22px;
}

.mobile-nav-item .nav-label {
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.mobile-nav-fab {
    width: 44px; height: 44px;
    border-radius: var(--r-full);
    background: var(--arena-accent);
    display: flex; align-items: center; justify-content: center;
    color: var(--arena-text-inverse);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(0,212,255,0.4);
    transition: all var(--dur-base) var(--ease-spring);
}

.mobile-nav-fab:hover { transform: scale(1.1); }

/* ============================================================
   25. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .arena-content { padding: var(--sp-4); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .feature-row { grid-template-columns: 1fr; gap: var(--sp-8); }
    .feature-row.reversed { direction: ltr; }
}

@media (max-width: 1024px) {
    :root {
        --sidebar-w: var(--sidebar-rail-w);
    }
    .sidebar-brand .brand-name,
    .sidebar-brand .brand-sub,
    .sidebar-section-label,
    .sidebar-item .s-badge,
    .sidebar-item .s-new,
    .sidebar-item span:not(.s-icon),
    .sidebar-season,
    .sidebar-user .user-info,
    .sidebar-footer .sidebar-user {
        display: none;
    }
    .sidebar-item { justify-content: center; padding: var(--sp-3) 0; }
    .sidebar-item .s-icon { width: 20px; height: 20px; }
    .sidebar-brand { justify-content: center; padding: var(--sp-3); }
    .header-create span { display: none; }
    .header-create { width: 36px; padding: 0; }
    .header-profile .profile-name,
    .header-profile .profile-rank { display: none; }
    .chat-layout { grid-template-columns: 280px 1fr; }
}

@media (max-width: 768px) {
    .arena-shell,
    .arena-shell.sidebar-collapsed {
        grid-template-columns: 1fr !important;
    }
    .arena-sidebar { display: none !important; }
    .mobile-bottom-nav { display: flex; }
    .arena-main { padding-bottom: 60px; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .public-nav-links { display: none; }
    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-stats { gap: var(--sp-4); }
    .hero-stat-num { font-size: 1.25rem; }
    .section-xl { padding: var(--sp-12) 0; }
    .section-lg { padding: var(--sp-10) 0; }
    .section-md { padding: var(--sp-8) 0; }
    .container-arena { padding: 0 var(--sp-4); }
    .chat-layout { grid-template-columns: 1fr; }
    .chat-sidebar { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .pricing-card { padding: var(--sp-6); }
    .notification-panel { width: 100vw; border-radius: 0; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .step-label { display: none; }
    .header-search { display: none; }
}

@media (max-width: 360px) {
    .hero-headline { font-size: 2rem; }
    .hero-stat-num { font-size: 1.125rem; }
}

/* ============================================================
   26. RTL SUPPORT
   ============================================================ */
[dir="rtl"] {
    /* Sidebar active indicator */
}

[dir="rtl"] .sidebar-item.active::before {
    border-radius: var(--r-sm) 0 0 var(--r-sm);
}

[dir="rtl"] .footer-grid { direction: rtl; }

[dir="rtl"] .bracket { flex-direction: row-reverse; }

[dir="rtl"] select.input-arena {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B92A5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: left 12px center;
}

[dir="rtl"] .sidebar-brand { flex-direction: row-reverse; }
[dir="rtl"] .sidebar-item { flex-direction: row-reverse; }
[dir="rtl"] .sidebar-item.active::before { left: auto; right: 0; }
[dir="rtl"] .stat-icon { right: auto; left: var(--sp-4); }
[dir="rtl"] .message.own { flex-direction: row; align-self: flex-start; }
[dir="rtl"] .message { flex-direction: row-reverse; align-self: flex-end; }

/* ============================================================
   27. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .skeleton { animation: none; background: var(--arena-surface-02); }
    html { scroll-behavior: auto; }
}

/* ============================================================
   28. FOCUS STYLES (Accessibility)
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--arena-accent);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

/* ============================================================
   29. GAME ACCENT OVERRIDES
   ============================================================ */
/* Applied via [data-game="valorstrike"] etc on parent */
[data-game-accent="red"] {
    --arena-accent: #FF3B57;
    --arena-accent-glow: rgba(255,59,87,0.12);
    --arena-border-accent: rgba(255,59,87,0.25);
}

[data-game-accent="green"] {
    --arena-accent: #22D47E;
    --arena-accent-glow: rgba(34,212,126,0.12);
    --arena-border-accent: rgba(34,212,126,0.25);
}

[data-game-accent="violet"] {
    --arena-accent: #7C5CFC;
    --arena-accent-glow: rgba(124,92,252,0.15);
    --arena-border-accent: rgba(124,92,252,0.3);
}

[data-game-accent="warm"] {
    --arena-accent: #F5A623;
    --arena-accent-glow: rgba(245,166,35,0.12);
    --arena-border-accent: rgba(245,166,35,0.25);
}

/* ============================================================
   30. SEARCH COMMAND PALETTE
   ============================================================ */
.command-palette {
    position: fixed;
    top: 0; left: 50%; transform: translateX(-50%);
    width: min(640px, 95vw);
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border-strong);
    border-top: none;
    border-radius: 0 0 var(--r-xl) var(--r-xl);
    box-shadow: var(--shadow-xl);
    z-index: calc(var(--z-modal) + 1);
    overflow: hidden;
    max-height: 70vh;
    display: none;
}

.command-palette.open { display: flex; flex-direction: column; }

.command-palette-input-wrap {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4);
    border-bottom: 1px solid var(--arena-border);
}

.command-palette-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--arena-text-primary);
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.command-results { overflow-y: auto; }

.command-group-label {
    padding: var(--sp-2) var(--sp-4);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
    background: var(--arena-surface-01);
}

.command-result-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    cursor: pointer;
    transition: background var(--dur-fast);
    text-decoration: none;
    color: var(--arena-text-primary);
}

.command-result-item:hover,
.command-result-item.selected {
    background: rgba(0,212,255,0.06);
}

.command-result-icon {
    width: 32px; height: 32px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    background: var(--arena-surface-03);
    flex-shrink: 0;
    font-size: 0.875rem;
}

/* ============================================================
   31. OFFCANVAS (Mobile menu)
   ============================================================ */
.offcanvas-arena {
    position: fixed;
    top: 0; left: -100%; bottom: 0;
    width: min(320px, 85vw);
    background: var(--arena-surface-01);
    border-inline-end: 1px solid var(--arena-border);
    z-index: var(--z-modal);
    transition: left var(--dur-slow) var(--ease-out-expo);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

[dir="rtl"] .offcanvas-arena {
    left: auto; right: -100%;
    border-inline-end: none;
    border-inline-start: 1px solid var(--arena-border);
    transition: right var(--dur-slow) var(--ease-out-expo);
}

.offcanvas-arena.open { left: 0; }
[dir="rtl"] .offcanvas-arena.open { left: auto; right: 0; }

.offcanvas-arena .sidebar-item {
    justify-content: flex-start !important;
    padding: var(--sp-3) var(--sp-6) !important;
}

.offcanvas-arena .sidebar-item span {
    display: inline-block !important;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
    flex-shrink: 0;
}

/* ============================================================
   32. LOGO SVG INLINE STYLE
   ============================================================ */
.arena-logo {
    width: 36px; height: 36px;
    display: block;
}

/* ============================================================
   33. LANDING PAGE — HERO
   ============================================================ */
.landing-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--arena-bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
    transform: scale(1.05);
    will-change: transform;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, var(--arena-bg) 35%, transparent 70%),
        linear-gradient(to top, var(--arena-bg) 10%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: var(--sp-16) var(--sp-8) var(--sp-20);
    margin-inline-start: max(5vw, var(--sp-8));
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: var(--r-full);
    padding: var(--sp-2) var(--sp-4);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--arena-accent);
    text-transform: uppercase;
    margin-bottom: var(--sp-6);
}

.hero-tag .dot {
    width: 8px; height: 8px;
    border-radius: var(--r-full);
    background: var(--arena-accent);
    box-shadow: 0 0 8px var(--arena-accent);
    animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--arena-text-primary);
    margin-bottom: var(--sp-6);
}

.hero-headline .accent {
    color: var(--arena-accent);
    position: relative;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: var(--arena-text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: var(--sp-8);
}

.hero-actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-bottom: var(--sp-12);
}

.hero-stats {
    display: flex;
    gap: var(--sp-8);
    flex-wrap: wrap;
    padding-top: var(--sp-8);
    border-top: 1px solid var(--arena-border);
}

.hero-stat {
    text-align: start;
}

.hero-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--arena-text-primary);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
}

@media (max-width: 768px) {
    .hero-content {
        padding: var(--sp-20) var(--sp-5) var(--sp-10);
        margin-inline-start: 0;
        max-width: 100%;
    }
    .hero-stats { gap: var(--sp-6); }
    .hero-bg img { opacity: 0.2; }
    .hero-bg::after { background: linear-gradient(to top, var(--arena-bg) 5%, transparent 80%); }
}

/* ============================================================
   34. LANDING — SECTIONS
   ============================================================ */
.section-sm  { padding: var(--sp-12) 0; }
.section-md  { padding: var(--sp-16) 0; }
.section-lg  { padding: var(--sp-20) 0; }
.section-xl  { padding: var(--sp-24) 0; }

.section-label-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--arena-accent);
    position: relative;
    padding-inline-start: var(--sp-4);
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--arena-accent);
    border-radius: var(--r-full);
}

.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--arena-text-primary);
    margin: 0;
}

.section-subheading {
    font-size: 1.0625rem;
    color: var(--arena-text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin: var(--sp-4) 0 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
}

.feature-row.reversed {
    direction: rtl;
}

.feature-row.reversed > * {
    direction: ltr;
}

@media (max-width: 768px) {
    .feature-row { grid-template-columns: 1fr; gap: var(--sp-10); direction: ltr; }
    .feature-row.reversed { direction: ltr; }
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    margin-top: var(--sp-8);
}

.feature-item {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
}

.feature-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-lg);
    background: var(--arena-accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.feature-item-icon.warm   { background: var(--arena-warm-glow); }
.feature-item-icon.violet { background: var(--arena-violet-glow); }
.feature-item-icon.green  { background: rgba(34,212,126,0.1); }

.feature-item-text h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--arena-text-primary);
    margin: 0 0 4px;
}

.feature-item-text p {
    font-size: 0.875rem;
    color: var(--arena-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.arena-divider.glow {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--arena-border-strong), transparent);
    margin: 0;
}

/* ============================================================
   35. TOURNAMENT CARDS (Landing)
   ============================================================ */
.tournament-card {
    display: block;
    text-decoration: none;
    border-radius: var(--r-xl);
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border);
    overflow: hidden;
    transition: transform var(--dur-fast) var(--ease-out-expo),
                border-color var(--dur-fast),
                box-shadow var(--dur-fast);
    height: 100%;
}

.tournament-card:hover {
    transform: translateY(-4px);
    border-color: var(--arena-border-accent);
    box-shadow: var(--shadow-accent);
    text-decoration: none;
}

.tournament-card-cover {
    height: 160px;
    position: relative;
    background: var(--arena-surface-03);
    overflow: hidden;
}

.tournament-card-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out-expo);
}

.tournament-card:hover .tournament-card-cover img {
    transform: scale(1.05);
}

.prize-badge {
    position: absolute;
    top: var(--sp-3);
    inset-inline-end: var(--sp-3);
    background: rgba(9,11,15,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-md);
    padding: var(--sp-1) var(--sp-3);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--arena-warm);
}

.tournament-card-body {
    padding: var(--sp-4);
}

.tournament-card-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--arena-text-primary);
    line-height: 1.3;
    margin-bottom: var(--sp-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tournament-card-meta {
    display: flex;
    gap: var(--sp-2);
    align-items: center;
}

.tournament-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-3) var(--sp-4);
    border-top: 1px solid var(--arena-border);
}

/* ============================================================
   36. PRICING CARDS
   ============================================================ */
.pricing-card {
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-2xl);
    padding: var(--sp-8);
    height: 100%;
    position: relative;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--arena-border-strong);
}

.pricing-card.featured {
    border-color: var(--arena-border-accent);
    background: linear-gradient(135deg, var(--arena-surface-01), rgba(0,212,255,0.04));
    box-shadow: var(--shadow-accent);
}

.pricing-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--arena-accent), var(--arena-accent-dark));
    color: var(--arena-bg);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: var(--r-full);
    white-space: nowrap;
}

.pricing-tier {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
    margin-bottom: var(--sp-3);
}

.pricing-card.featured .pricing-tier {
    color: var(--arena-accent);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: var(--sp-3);
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--arena-text-secondary);
    margin-top: 4px;
}

.pricing-price .amount {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    color: var(--arena-text-primary);
    font-variant-numeric: tabular-nums;
}

.pricing-price .period {
    font-size: 0.875rem;
    color: var(--arena-text-muted);
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--arena-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--sp-6);
    flex: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--sp-8);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.pricing-feature {
    display: flex;
    gap: var(--sp-3);
    align-items: center;
    font-size: 0.875rem;
    color: var(--arena-text-secondary);
}

.pricing-feature .check {
    color: var(--arena-green);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-feature .cross {
    color: var(--arena-text-muted);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   37. FEED ITEMS (Landing)
   ============================================================ */
.feed-item {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--arena-border);
}

.feed-item:last-child { border-bottom: none; }

.feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--r-full);
    object-fit: cover;
    border: 2px solid var(--arena-border);
    flex-shrink: 0;
}

.feed-content { flex: 1; min-width: 0; }

.feed-text {
    font-size: 0.875rem;
    color: var(--arena-text-secondary);
    line-height: 1.5;
    margin-bottom: 4px;
}

.feed-text .actor { font-weight: 600; color: var(--arena-text-primary); }
.feed-text .target { color: var(--arena-accent); }

.feed-time {
    font-size: 0.75rem;
    color: var(--arena-text-muted);
}

/* ============================================================
   38. RANK BADGES
   ============================================================ */
.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px var(--sp-3);
    border-radius: var(--r-full);
    border: 1px solid;
}

.rank-badge.iron      { background: rgba(139,115,85,0.15); border-color: rgba(139,115,85,0.3); color: #8B7355; }
.rank-badge.bronze    { background: rgba(205,127,50,0.15); border-color: rgba(205,127,50,0.3); color: #CD7F32; }
.rank-badge.silver    { background: rgba(168,180,192,0.15); border-color: rgba(168,180,192,0.3); color: #A8B4C0; }
.rank-badge.gold      { background: rgba(255,215,0,0.15); border-color: rgba(255,215,0,0.3); color: #FFD700; }
.rank-badge.platinum  { background: rgba(229,228,226,0.15); border-color: rgba(229,228,226,0.3); color: #E5E4E2; }
.rank-badge.diamond   { background: rgba(185,242,255,0.15); border-color: rgba(185,242,255,0.3); color: #B9F2FF; }
.rank-badge.mythic    { background: rgba(255,59,87,0.15); border-color: rgba(255,59,87,0.3); color: #FF3B57; }
.rank-badge.legend    { background: rgba(124,92,252,0.15); border-color: rgba(124,92,252,0.3); color: #7C5CFC; }
.rank-badge.grandmaster { background: rgba(255,59,87,0.15); border-color: rgba(255,59,87,0.3); color: #FF3B57; }
.rank-badge.elite     { background: rgba(0,212,255,0.15); border-color: rgba(0,212,255,0.3); color: var(--arena-accent); }
.rank-badge.champion  { background: rgba(229,228,226,0.15); border-color: rgba(229,228,226,0.3); color: #E5E4E2; }

/* ============================================================
   39. BADGE VARIANTS
   ============================================================ */
.badge-arena {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px var(--sp-3);
    border-radius: var(--r-full);
}

.badge-accent  { background: rgba(0,212,255,0.12); color: var(--arena-accent); border: 1px solid rgba(0,212,255,0.25); }
.badge-green   { background: rgba(34,212,126,0.12); color: var(--arena-green); border: 1px solid rgba(34,212,126,0.25); }
.badge-warm    { background: rgba(245,166,35,0.12); color: var(--arena-warm); border: 1px solid rgba(245,166,35,0.25); }
.badge-violet  { background: rgba(124,92,252,0.12); color: var(--arena-violet); border: 1px solid rgba(124,92,252,0.25); }
.badge-red     { background: rgba(255,59,87,0.12); color: var(--arena-red); border: 1px solid rgba(255,59,87,0.25); }
.badge-live    { background: rgba(255,59,87,0.12); color: var(--arena-red); border: 1px solid rgba(255,59,87,0.3); animation: pulse 2s infinite; }
.badge-muted   { background: var(--arena-surface-03); color: var(--arena-text-muted); border: 1px solid var(--arena-border); }

/* ============================================================
   40. RANKINGS TABLE
   ============================================================ */
.rank-position {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    color: var(--arena-text-muted);
}

.rank-position.top-1 { color: #FFD700; }
.rank-position.top-2 { color: #A8B4C0; }
.rank-position.top-3 { color: #CD7F32; }

/* ============================================================
   41. AUTH LAYOUT
   ============================================================ */
.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100svh;
    background: var(--arena-bg);
}

@media (max-width: 900px) {
    .auth-layout { grid-template-columns: 1fr; }
    .auth-visual  { display: none; }
}

.auth-visual {
    position: relative;
    overflow: hidden;
    background: var(--arena-surface-01);
}

.auth-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.auth-visual-content {
    position: absolute;
    bottom: var(--sp-12);
    left: var(--sp-10);
    right: var(--sp-10);
}

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-8);
}

.auth-box {
    width: 100%;
    max-width: 420px;
}

/* ============================================================
   42. COMMAND PALETTE
   ============================================================ */
.command-palette {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) scale(0.97);
    width: min(600px, 90vw);
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border-strong);
    border-radius: var(--r-2xl);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,212,255,0.06);
    z-index: calc(var(--z-modal) + 1);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-fast) var(--ease-standard),
                transform var(--dur-fast) var(--ease-out-expo);
    overflow: hidden;
}

.command-palette.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
}

.command-palette-input-wrap {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
}

.command-palette-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 0.9375rem;
    color: var(--arena-text-primary);
    font-family: 'Inter', sans-serif;
}

.command-palette-input::placeholder { color: var(--arena-text-muted); }

.command-results {
    max-height: 380px;
    overflow-y: auto;
    padding: var(--sp-2) 0;
}

.command-group-label {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
    padding: var(--sp-3) var(--sp-5) var(--sp-2);
}

.command-result-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-5);
    text-decoration: none;
    color: var(--arena-text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background var(--dur-fast);
}

.command-result-item:hover,
.command-result-item.selected {
    background: var(--arena-surface-02);
    color: var(--arena-text-primary);
}

.command-result-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    background: var(--arena-surface-03);
    border-radius: var(--r-md);
    flex-shrink: 0;
}

/* ============================================================
   43. NOTIFICATION PANEL
   ============================================================ */
.notification-panel {
    width: min(380px, 90vw);
    max-height: min(520px, 80svh);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--arena-surface-01);
    border: 1px solid var(--arena-border-strong);
    border-radius: var(--r-xl);
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
    flex-shrink: 0;
}

.notification-item {
    display: flex;
    gap: var(--sp-3);
    align-items: flex-start;
    padding: var(--sp-4) var(--sp-5);
    text-decoration: none;
    transition: background var(--dur-fast);
    border-bottom: 1px solid var(--arena-border);
    position: relative;
}

.notification-item:hover { background: var(--arena-surface-02); }
.notification-item.unread { background: rgba(0,212,255,0.02); }
.notification-item.unread::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--arena-accent);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-content { flex: 1; min-width: 0; }

.notification-text {
    font-size: 0.8125rem;
    color: var(--arena-text-secondary);
    line-height: 1.5;
    margin-bottom: 4px;
}

.notification-text .actor { font-weight: 600; color: var(--arena-text-primary); }

.notification-time {
    font-size: 0.6875rem;
    color: var(--arena-text-muted);
}

/* ============================================================
   44. CHAT / MESSAGES
   ============================================================ */
.chat-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: calc(100svh - var(--header-h));
    overflow: hidden;
}

@media (max-width: 900px) {
    .chat-layout { grid-template-columns: 1fr; }
    .chat-thread { display: none; }
    .chat-thread.visible { display: flex; }
}

.chat-sidebar {
    border-inline-end: 1px solid var(--arena-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--arena-surface-01);
}

.chat-thread {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--arena-bg);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--arena-border);
    flex-shrink: 0;
}

.chat-search {
    position: relative;
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--arena-border);
}

.chat-search input {
    width: 100%;
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-lg);
    padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-8);
    color: var(--arena-text-primary);
    font-size: 0.875rem;
    outline: none;
}

.chat-list { overflow-y: auto; flex: 1; }

.chat-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-5);
    cursor: pointer;
    transition: background var(--dur-fast);
    border-bottom: 1px solid var(--arena-border);
}

.chat-item:hover { background: var(--arena-surface-02); }
.chat-item.active { background: var(--arena-surface-02); border-inline-start: 3px solid var(--arena-accent); }

.chat-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.chat-avatar { width: 44px; height: 44px; border-radius: var(--r-full); object-fit: cover; }

.chat-unread {
    position: absolute;
    top: 0; inset-inline-end: 0;
    min-width: 18px; height: 18px;
    background: var(--arena-red);
    border-radius: var(--r-full);
    border: 2px solid var(--arena-surface-01);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.5625rem; font-weight: 800; color: #fff;
    padding: 0 4px;
}

.chat-item-meta {
    flex: 1;
    min-width: 0;
}

.chat-item-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--arena-text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-item-last {
    font-size: 0.75rem;
    color: var(--arena-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.message {
    display: flex;
    gap: var(--sp-3);
    align-items: flex-end;
    max-width: 70%;
}

.message.own {
    flex-direction: row-reverse;
    margin-inline-start: auto;
}

.msg-avatar {
    width: 28px; height: 28px;
    border-radius: var(--r-full);
    object-fit: cover;
    flex-shrink: 0;
}

.message-bubble {
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-lg) var(--r-lg) var(--r-lg) var(--r-xs);
    padding: var(--sp-3) var(--sp-4);
    font-size: 0.875rem;
    color: var(--arena-text-primary);
    line-height: 1.5;
    word-break: break-word;
}

.message.own .message-bubble {
    background: rgba(0,212,255,0.1);
    border-color: rgba(0,212,255,0.2);
    border-radius: var(--r-lg) var(--r-lg) var(--r-xs) var(--r-lg);
}

.chat-input-area {
    display: flex;
    gap: var(--sp-3);
    align-items: flex-end;
    padding: var(--sp-4) var(--sp-5);
    border-top: 1px solid var(--arena-border);
    flex-shrink: 0;
    background: var(--arena-surface-01);
}

#chatMessageInput {
    flex: 1;
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-lg);
    padding: var(--sp-3) var(--sp-4);
    color: var(--arena-text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    resize: none;
    min-height: 42px;
    max-height: 120px;
    outline: none;
    transition: border-color var(--dur-fast);
}

#chatMessageInput:focus { border-color: var(--arena-accent); }

/* ============================================================
   45. UTILITY CLASSES
   ============================================================ */
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fs-xs  { font-size: 0.6875rem; }
.fs-sm  { font-size: 0.8125rem; }
.text-muted { color: var(--arena-text-muted) !important; }
.text-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--arena-text-muted);
}
.display-xl {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    font-family: 'Space Grotesk', sans-serif;
}
.display-md {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    font-family: 'Space Grotesk', sans-serif;
}
.kbd {
    background: var(--arena-surface-03);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-xs);
    padding: 2px 6px;
    font-size: 0.625rem;
    font-family: monospace;
    color: var(--arena-text-muted);
}
.w-100 { width: 100%; }
.btn-xs { padding: 4px var(--sp-3); font-size: 0.6875rem; }

/* ============================================================
   46. RTL OVERRIDES (additional)
   ============================================================ */
[dir="rtl"] .section-eyebrow::before {
    inset-inline-start: 0;
    inset-inline-end: auto;
}

[dir="rtl"] .hero-content {
    margin-inline-start: 0;
    margin-inline-end: max(5vw, var(--sp-8));
}

/* ============================================================
   47. ACCESSIBILITY
   ============================================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--sp-4);
    background: var(--arena-accent);
    color: var(--arena-bg);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 9999;
    transition: top var(--dur-fast);
    text-decoration: none;
}

.skip-link:focus {
    top: var(--sp-4);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   48. GLOW BUTTON STATE
   ============================================================ */
.btn-arena.btn-primary:focus-visible {
    outline: 2px solid var(--arena-accent);
    outline-offset: 3px;
}

.btn-arena.btn-secondary:focus-visible {
    outline: 2px solid var(--arena-border-strong);
    outline-offset: 3px;
}

/* ============================================================
   49. CARD GLOW VARIANT
   ============================================================ */
.card-glow {
    transition: transform var(--dur-fast) var(--ease-out-expo),
                border-color var(--dur-fast),
                box-shadow var(--dur-fast);
}

.card-glow:hover {
    transform: translateY(-4px);
    border-color: var(--arena-border-accent);
    box-shadow: var(--shadow-accent);
}

/* ============================================================
   50. FOOTER
   ============================================================ */
.arena-footer {
    background: var(--arena-surface-01);
    border-top: 1px solid var(--arena-border);
    padding: var(--sp-20) 0 var(--sp-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-10);
    margin-bottom: var(--sp-12);
}

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {}

.footer-brand .brand-name {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--arena-text-primary);
    letter-spacing: 0.04em;
    margin-bottom: var(--sp-4);
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--arena-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--sp-6);
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: var(--sp-3);
}

.footer-social {
    width: 36px; height: 36px;
    border-radius: var(--r-md);
    background: var(--arena-surface-02);
    border: 1px solid var(--arena-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--arena-text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.footer-social:hover {
    background: var(--arena-accent-glow);
    border-color: var(--arena-border-accent);
    color: var(--arena-accent);
}

.footer-col-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--arena-text-primary);
    margin-bottom: var(--sp-4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--arena-text-secondary);
    text-decoration: none;
    transition: color var(--dur-fast);
}

.footer-links a:hover { color: var(--arena-text-primary); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-8);
    border-top: 1px solid var(--arena-border);
    flex-wrap: wrap;
    gap: var(--sp-4);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--arena-text-muted);
    margin: 0;
}

/* ============================================================
   END OF DESIGN SYSTEM
   ============================================================ */

/* ============================================================
   51. AUTHENTICATED DASHBOARD REDESIGN OVERRIDES
   ============================================================ */
.card-console {
    background: linear-gradient(135deg, var(--arena-surface-01) 0%, var(--arena-surface-02) 100%);
    border: 1px solid var(--arena-border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
}

.card-console:hover {
    border-color: var(--arena-border-accent);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(0, 212, 255, 0.05);
}

.sidebar-season {
    transition: transform 0.2s;
}

.sidebar-season:hover {
    transform: scale(1.02);
}

.progress-bar {
    transition: width 0.6s ease;
}
