:root {
    --bg-main: #050510;
    --bg-secondary: #0a0a1a;
    --bg-card: #0f0f24;
    --accent: #4a4aff;
    --accent-hover: #2a2aff;
    --text-main: #ffffff;
    --text-muted: #8c8cc7;
    --border-color: #1a1a3a;
    --win-color: #00e57c;
    --lose-color: #ff3b3b;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #212196;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #212196 var(--bg-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
}

/* ----- Header ----- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* MAIN */
.bg-purple {
    background-color: #1c1c8c !important;
    color: #fff !important
}

/* LIGHTEN */
.bg-purple-lighten-5 {
    background-color: #e6e6f5 !important;
    color: #000 !important
}

.bg-purple-lighten-4 {
    background-color: #bfbfe6 !important;
    color: #000 !important
}

.bg-purple-lighten-3 {
    background-color: #9999d6 !important;
    color: #fff !important
}

.bg-purple-lighten-2 {
    background-color: #7373c7 !important;
    color: #fff !important
}

.bg-purple-lighten-1 {
    background-color: #4d4db8 !important;
    color: #fff !important
}

/* DARKEN */
.bg-purple-darken-1 {
    background-color: #19197d !important;
    color: #fff !important
}

.bg-purple-darken-2 {
    background-color: #15156e !important;
    color: #fff !important
}

.bg-purple-darken-3 {
    background-color: #11115f !important;
    color: #fff !important
}

.bg-purple-darken-4 {
    background-color: #0d0d2b !important;
    color: #fff !important
}

.bg-purple-darken-4 {
    background-color: #0a0a36 !important;
    color: #fff !important
}

/* ACCENT (highlight / glow style) */
.bg-purple-accent-1 {
    background-color: #5c5cff !important;
    color: #fff !important
}

.bg-purple-accent-2 {
    background-color: #3d3dff !important;
    color: #fff !important
}

.bg-purple-accent-3 {
    background-color: #1f1fff !important;
    color: #fff !important
}

.bg-purple-accent-4 {
    background-color: #0000ff !important;
    color: #fff !important
}


/* =========================
   DEEP PURPLE → NAVY STYLE
   ========================= */

.bg-deep-purple {
    background-color: #14146b !important;
    color: #fff !important
}

.bg-deep-purple-lighten-5 {
    background-color: #e3e3f3 !important;
    color: #000 !important
}

.bg-deep-purple-lighten-4 {
    background-color: #b8b8dd !important;
    color: #000 !important
}

.bg-deep-purple-lighten-3 {
    background-color: #8c8cc7 !important;
    color: #fff !important
}

.bg-deep-purple-lighten-2 {
    background-color: #6161b1 !important;
    color: #fff !important
}

.bg-deep-purple-lighten-1 {
    background-color: #36369b !important;
    color: #fff !important
}

.bg-deep-purple-darken-1 {
    background-color: #12125f !important;
    color: #fff !important
}

.bg-deep-purple-darken-2 {
    background-color: #0f0f52 !important;
    color: #fff !important
}

.bg-deep-purple-darken-3 {
    background-color: #0b0b45 !important;
    color: #fff !important
}

.bg-deep-purple-darken-4 {
    background-color: #080838 !important;
    color: #fff !important
}

.bg-deep-purple-accent-1 {
    background-color: #6a6aff !important;
    color: #fff !important
}

.bg-deep-purple-accent-2 {
    background-color: #4a4aff !important;
    color: #fff !important
}

.bg-deep-purple-accent-3 {
    background-color: #2a2aff !important;
    color: #fff !important
}

.bg-deep-purple-accent-4 {
    background-color: #0a0aff !important;
    color: #fff !important
}


/* =========================
   BLUE → SAME TONE FAMILY
   ========================= */
.bg-blue-chinese {
    background-color: #161718 !important;
    color: #000 !important
}

.bg-blue {
    background-color: #2626a6 !important;
    color: #fff !important
}

.bg-blue-lighten-5 {
    background-color: #e8e8fa !important;
    color: #000 !important
}

.bg-blue-lighten-4 {
    background-color: #c2c2f0 !important;
    color: #000 !important
}

.bg-blue-lighten-3 {
    background-color: #9b9be6 !important;
    color: #000 !important
}

.bg-blue-lighten-2 {
    background-color: #7575db !important;
    color: #fff !important
}

.bg-blue-lighten-1 {
    background-color: #4f4fd1 !important;
    color: #fff !important
}

.bg-blue-darken-1 {
    background-color: #212196 !important;
    color: #fff !important
}

.bg-blue-darken-2 {
    background-color: #1b1b85 !important;
    color: #fff !important
}

.bg-blue-darken-3 {
    background-color: #131364d7 !important;
    color: #fff !important
}

.bg-blue-darken-4 {
    background-color: #0e0e35 !important;
    color: #fff !important
}

.bg-blue-accent-1 {
    background-color: #7a7aff !important;
    color: #000 !important
}

.bg-blue-accent-2 {
    background-color: #5a5aff !important;
    color: #fff !important
}

.bg-blue-accent-3 {
    background-color: #3a3aff !important;
    color: #fff !important
}

.bg-blue-accent-4 {
    background-color: #1a1aff !important;
    color: #fff !important
}

/* TEXT BLUE */
.text-blue {
    color: #2196f3 !important
}

.text-blue-lighten-1 {
    color: #e3f2fd !important
}

.text-blue-lighten-2 {
    color: #bbdefb !important
}

.text-blue-lighten-3 {
    color: #90caf9 !important
}

.text-blue-lighten-4 {
    color: #64b5f6 !important
}

.text-blue-lighten-5 {
    color: #42a5f5 !important
}

.text-blue-darken-1 {
    color: #1e88e5 !important
}

.text-blue-darken-2 {
    color: #1976d2 !important
}

.text-blue-darken-3 {
    color: #1565c0 !important
}

.text-blue-darken-4 {
    color: #0d47a1 !important
}

.text-blue-accent-1 {
    color: #82b1ff !important
}

.text-blue-accent-2 {
    color: #448aff !important
}

.text-blue-accent-3 {
    color: #2979ff !important
}

.text-blue-accent-4 {
    color: #2962ff !important
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo span {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.header-link:hover {
    color: var(--text-main);
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    padding: 10px 24px;
    font-size: 13px;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-main);
    padding: 10px 24px;
    font-size: 13px;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.search-icon {
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
}

/*  HERO SECTION */
.hero {
    text-align: center;
    padding: 120px 20px 100px;
    background-color: var(--bg-main);
    background-image: none;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 40%;
    height: 200px;
    background-color: #0b0b8a;
    filter: blur(120px);

    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.hero-logo,
.hero h1,
.hero p,
.btn-hero {
    position: relative;
    z-index: 1;
}

/* ----- Stats Section ----- */
.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    padding: 12px 24px;
    border-radius: 40px;
    min-width: 180px;
    justify-content: center;
}

.stat-icon {
    color: var(--accent);
    font-size: 18px;
}

.stat-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
}

/* ----- Features Section ----- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 0 20px;
    text-align: center;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    font-size: 24px;
    box-shadow: 0 0 20px rgba(var(--v-theme-warning-500), 0.1);
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ----- Games Section ----- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.games-list {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 0 40px 80px;
    overflow-x: auto;
}

.game-card {
    width: 180px;
    height: 250px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    flex-shrink: 0;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

/* Placeholder background colors for games */
.g-cs2 {
    background: url('https://images.unsplash.com/photo-1650302324911-30eb3bc1b6a1?auto=format&fit=crop&w=300&q=80') center/cover;
}

.g-ow2 {
    background: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=300&q=80') center/cover;
}

.g-apex {
    background: url('https://images.unsplash.com/photo-1538481199705-c710c4e965fc?auto=format&fit=crop&w=300&q=80') center/cover;
}

.g-deadlock {
    background: url('https://images.unsplash.com/photo-1614030424754-24d0eebd46ad?auto=format&fit=crop&w=300&q=80') center/cover;
}

.g-valorant {
    background: url('https://images.unsplash.com/photo-1624138784614-87fd1b6528f8?auto=format&fit=crop&w=300&q=80') center/cover;
}

.game-title {
    position: relative;
    z-index: 2;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    font-style: italic;
}

/* ----- News Section ----- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.news-card {
    /* background-color: var(--bg-secondary); */
    /* border: 1px solid var(--border-color); */
    /* border-radius: 8px; */
    overflow: hidden;
    transition: transform 0.2s;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.news-img {
    height: 160px;
    background-color: var(--bg-card);
}

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

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
}

.tag-update {
    color: var(--accent);
}

.tag-date {
    color: var(--text-muted);
}

.news-title {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-desc {
    font-size: 13px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ----- FAQ Section ----- */
.faq-section {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-item:hover {
    color: var(--accent);
}

.faq-question {
    font-size: 15px;
    font-weight: 600;
}

.faq-icon {
    color: var(--text-muted);
    font-size: 12px;
}

.see-all-faq {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ----- Footer ----- */
footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding: 60px 40px 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

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

.footer-brand h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 80px;
}

.footer-links-grid a {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-links-grid a:hover {
    color: var(--text-main);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
}

.footer-logo span {
    color: var(--accent);
}

.social-lang {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
}

.lang-select {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
}

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

    .features,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 40px;
    }
}

@media (max-width: 600px) {
    header {
        padding: 15px 15px;
    }

    .logo {
        font-size: 20px;
    }

    .header-actions {
        gap: 8px;
    }

    .search-icon,
    .header-link {
        display: none;
    }

    .btn-primary,
    .btn-secondary {
        padding: 8px 12px;
        font-size: 10px;
    }

    .hero {
        padding: 40px 15px 30px;
    }

    .hero-logo {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .stats {
        flex-direction: column;
        padding: 0 20px;
        gap: 15px;
    }

    .stat-item {
        width: 100%;
        min-width: unset;
    }

    .games-list {
        padding: 0 20px 40px;
        justify-content: flex-start;
    }

    .footer-top {
        margin-bottom: 30px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .social-lang {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ==========================================================================
   room.html
   ========================================================================== */

.mt-40 {
    margin-top: 40px;
}

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

.match-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.match-sub-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.match-sub-header h2 {
    font-size: 16px;
    margin-right: 40px;
}

.match-tabs {
    display: flex;
    gap: 30px;
    flex: 1;
}

.tab-item {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: -16px;
}

.tab-item:hover {
    color: var(--text-main);
}

.tab-item.active {
    color: var(--accent);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent);
}

.match-actions .icon {
    color: var(--text-muted);
    cursor: pointer;
}

.scoreboard {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
}

.team {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.team-left {
    justify-content: flex-end;
}

.team-right {
    justify-content: flex-start;
}

.team-name {
    font-weight: 700;
    font-size: 15px;
}

.team-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.match-center-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.match-scores {
    display: flex;
    align-items: center;
    gap: 20px;
}

.score {
    font-size: 32px;
    font-weight: 800;
}

.score-win {
    color: var(--win-color);
}

.score-lose {
    color: var(--text-muted);
}

.match-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.status-text {
    font-weight: 700;
    color: var(--text-main);
    margin: 2px 0;
}

.match-badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

.badge-super {
    border-color: rgb(var(--v-theme-warning-600));
    color: rgb(var(--v-theme-warning-400));
}

.badge-veteran {
    color: var(--text-muted);
}

.map-progress {
    position: relative;
    margin: 30px 0 40px;
    display: flex;
    justify-content: center;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.map-icon {
    position: relative;
    z-index: 2;
    background-color: var(--bg-main);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.ad-banner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    background: var(--bg-card);
    height: 90px;
    border-radius: 4px;
    overflow: hidden;
}

.ad-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.remove-ads {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 10px;
    color: var(--accent);
    cursor: pointer;
    font-weight: 700;
}

.stats-nav {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.nav-item {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
}

.nav-item.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.mvp-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.mvp-card-main {
    flex: 1;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.mvp-title {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--accent);
    font-weight: 800;
    font-size: 18px;
}

.mvp-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.mvp-player {
    text-align: center;
}

.mvp-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    margin-bottom: 10px;
    object-fit: cover;
}

.mvp-name-level h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.lvl-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.lvl-green {
    background-color: rgb(var(--v-theme-warning-500));
    color: #000;
}

.lvl-gray {
    background-color: rgb(var(--v-theme-gray-400));
    color: #fff;
}

.mvp-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex: 1;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 18px;
    font-weight: 700;
}

.stat-lbl {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mvp-footer {
    margin-top: 20px;
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.top-stats-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 300px;
}

.top-stat-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-stat-player {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
}

.top-stat-player img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.top-stat-val {
    text-align: right;
}

.top-stat-val .val {
    font-size: 14px;
    font-weight: 700;
}

.top-stat-val .lbl {
    font-size: 11px;
    color: var(--text-muted);
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-secondary);
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
}

.table-tabs {
    display: flex;
    gap: 15px;
}

.t-tab {
    font-size: 12px;
    color: var(--text-muted);
    padding: 5px 10px;
    border-radius: 4px;
}

.t-tab.active {
    background-color: var(--bg-card);
    color: var(--text-main);
}

.table-filters {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
}

.f-lbl {
    color: var(--text-muted);
    cursor: pointer;
}

.f-lbl.active {
    color: var(--accent);
}

.f-tab {
    padding: 4px 8px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.f-tab.active {
    background: var(--border-color);
    color: var(--text-main);
}

.view-toggles .btn-icon {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 4px;
}

.view-toggles .btn-icon.active {
    color: var(--accent);
    border-color: var(--accent);
}

.team-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-top: none;
    padding: 10px 20px;
}

.t-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-score {
    font-size: 16px;
    font-weight: 700;
    width: 20px;
    text-align: center;
}

.t-info img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.t-name {
    font-weight: 600;
    font-size: 14px;
}

.t-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: var(--text-muted);
    align-items: center;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: var(--bg-table-row);
}

.stats-table th {
    padding: 12px 10px;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    font-weight: 600;
}

.stats-table td {
    padding: 10px;
    font-size: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.stats-table tbody tr:hover td {
    background-color: var(--bg-card);
}

.player-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.player-cell img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.highlights-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.highlights-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.hl-card {
    min-width: 160px;
    height: 240px;
    border-radius: 8px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.main-hl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    position: absolute;
}

.main-hl .hl-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.main-hl h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.main-hl .btn-primary {
    font-size: 11px;
    padding: 6px 12px;
    width: fit-content;
}

.locked {
    justify-content: space-between;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px);
}

.hl-top {
    padding: 15px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.hl-bottom {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}

.hl-bottom img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.hl-bottom span {
    font-size: 12px;
    font-weight: 600;
}

.lock-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: var(--text-muted);
}

.team-balance-tooltip {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    color: var(--text-main);
    cursor: default;
}

.match-status:hover .team-balance-tooltip {
    opacity: 1;
    visibility: visible;
}

.team-balance-tooltip::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 1px;
    height: 20px;
    background-color: rgb(var(--v-theme-warning-500));
}

.tooltip-header {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
}

.tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
}

.tooltip-row:last-of-type {
    border-bottom: none;
    padding-bottom: 5px;
}

.tooltip-row .val {
    font-weight: 700;
    font-size: 15px;
}

.tooltip-row .lbl {
    color: var(--text-muted);
}

.tooltip-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: rgb(var(--v-theme-warning-500));
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.tooltip-link:hover {
    color: rgb(var(--v-theme-warning-600));
}

/* ==========================================================================
   room-general.html
   ========================================================================== */

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

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

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.pt-10 {
    padding-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.ml-15 {
    margin-left: 15px;
}

.border-t {
    border-top: 1px solid var(--border-color);
}

.bg-accent {
    background-color: var(--accent);
}

.text-accent {
    color: var(--accent);
}

.border-accent {
    border-color: var(--accent) !important;
}

.btn-block {
    width: 100%;
    display: block;
}

.cursor-pointer {
    cursor: pointer;
}

.badge-new {
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    margin-left: 5px;
    vertical-align: middle;
}

.match-actions .icon {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
}

.match-actions .icon:hover {
    color: var(--text-main);
}

.room-details-grid {
    display: grid;
    grid-template-columns: 1fr 280px 1fr;
    gap: 30px;
    align-items: start;
}

.col-header {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.players-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-row-item {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 15px;
    transition: 0.2s;
}

.player-row-item:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
}

.p-avatar-wrap {
    position: relative;
    width: 32px;
    height: 32px;
    margin-right: 15px;
}

.p-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.leader-crown {
    position: absolute;
    top: -8px;
    left: -8px;
    font-size: 12px;
    background: var(--bg-card);
    border-radius: 50%;
    padding: 2px;
}

.p-name-wrap {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.p-stats-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trend-icon {
    font-size: 12px;
    color: var(--text-muted);
}

.elo {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.map-pick-card {
    position: relative;
    width: 100%;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.map-name {
    font-size: 14px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.demo-link {
    letter-spacing: 0.5px;
}

.center-buttons .btn-primary {
    padding: 12px;
    font-size: 12px;
    font-weight: 800;
}

.chat-sidebar {
    width: 320px;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.chat-section {
    display: flex;
    flex-direction: column;
    height: 50%;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.chat-header {
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-main);
}

.chat-body {
    flex: 1;
    background: var(--bg-secondary);
    padding: 20px;
}

.system-popup {
    position: absolute;
    top: 60px;
    left: 10px;
    right: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.system-popup .popup-head {
    font-size: 12px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.system-popup p {
    line-height: 1.4;
    color: var(--text-muted);
}

.timer-badge {
    display: inline-block;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
}

/* ==========================================================
   TOOLTIPS (Match Time & Team Balance)
   ========================================================== */

.time-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 15px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    color: var(--text-main);
    cursor: default;
    white-space: nowrap;
    text-align: left;
}

.time-tooltip p {
    font-size: 11px;
    margin: 5px 0;
    font-weight: 600;
    color: var(--text-main);
}

.match-status:hover .time-tooltip {
    opacity: 1;
    visibility: visible;
}

.map-icon {
    position: relative;
    cursor: pointer;
    z-index: 2;
    background-color: var(--bg-main);
    border: 2px solid var(--accent);
    color: var(--accent);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.team-balance-tooltip {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    color: var(--text-main);
    cursor: default;
}

.map-icon:hover .team-balance-tooltip {
    opacity: 1;
    visibility: visible;
}

.team-balance-tooltip::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    width: 1px;
    height: 15px;
    background-color: var(--accent);
}

.tooltip-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
}

.tooltip-link:hover {
    color: var(--accent-hover);
}

/* ==========================================================================
   home.html
   ========================================================================== */

.dashboard-body {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dashboard-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
    background-color: var(--bg-main);
}

.top-promo-banner {
    background-color: var(--brand-orange);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1000;
}

.btn-promo {
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
}

.close-promo {
    position: absolute;
    right: 20px;
    cursor: pointer;
    font-size: 16px;
}

.left-sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 0 20px;
    margin-bottom: 20px;
}

.sidebar-header .logo {
    font-size: 20px;
}

.sidebar-search {
    margin: 0 20px 20px;
    position: relative;
}

.sidebar-search input {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 10px 8px 30px;
    border-radius: 6px;
    font-size: 12px;
    outline: none;
}

.sidebar-search .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--text-muted);
}

.sidebar-nav,
.sidebar-section,
.sidebar-bottom {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.sidebar-section {
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.sidebar-bottom {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-bottom: 0;
}

.nav-link {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.02);
}

.nav-link.active {
    color: var(--text-main);
    border-left: 3px solid var(--brand-orange);
    background-color: rgba(var(--v-theme-warning-500), 0.05);
}

.nav-link .icon {
    width: 20px;
    text-align: center;
}

.highlight-green {
    color: var(--accent);
}

.dashboard-main {
    flex: 1;
    overflow-y: auto;
    padding: 30px 40px;
    background-color: var(--bg-main);
}

.premium-banner {
    background: linear-gradient(to right, rgb(var(--v-theme-gray-900)), rgb(var(--v-theme-gray-800))), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1200&q=80') center right/cover no-repeat;
    background-blend-mode: overlay;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.premium-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.premium-content h2 span {
    color: var(--accent);
}

.premium-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.premium-tags span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.premium-banner .btn-primary {
    background-color: var(--accent);
    color: #000;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
}

.module-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.game-module {
    flex: 1;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.game-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-icon-small {
    width: 30px;
    height: 30px;
    border-radius: 4px;
}

.dots {
    color: var(--text-muted);
    letter-spacing: 2px;
}

.orange-text {
    color: var(--brand-orange);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.skill-level {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
}

.play-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.play-card {
    background: linear-gradient(180deg, rgb(var(--v-theme-warning-500)) 0%, rgb(var(--v-theme-warning-900)) 100%);
    border-radius: 8px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.play-card:hover {
    transform: translateY(-3px);
}

.play-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
}

.card-icon-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: #111;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border: 3px solid #333;
}

.card-icon.green-star {
    color: var(--accent);
}

.card-label {
    position: relative;
    z-index: 2;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.social-module {
    width: 300px;
    display: flex;
    flex-direction: column;
}

.social-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.box-header h3 {
    font-size: 13px;
    color: var(--text-main);
}

.badge-count {
    background: var(--bg-card);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    color: var(--text-muted);
}

.party-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.party-avatars {
    display: flex;
}

.party-avatars img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
    margin-left: -8px;
}

.party-avatars img:first-child {
    margin-left: 0;
}

.party-count {
    font-size: 11px;
    color: var(--text-muted);
}

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

.club-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.club-item img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.club-info {
    flex: 1;
}

.club-name {
    font-size: 12px;
    font-weight: 700;
}

.club-sub {
    font-size: 10px;
    color: var(--text-muted);
}

.club-members {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-outline:hover {
    background: var(--bg-card);
    color: var(--text-main);
}

.w-100 {
    width: 100%;
}

.ad-banner-dash {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.ad-content {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.ad-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

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

.section-title {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header-flex .section-title {
    margin-bottom: 0;
}

.slider-controls {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    align-items: center;
}

.post-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.post-avatar {
    border-radius: 50%;
}

.post-meta {
    flex: 1;
}

.post-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-orange);
}

.post-time {
    font-size: 11px;
    color: var(--text-muted);
}

.post-options {
    color: var(--text-muted);
    cursor: pointer;
}

.post-body p {
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.5;
}

.read-more {
    color: var(--brand-orange);
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.post-link-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.post-link-card h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.post-link-card p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-domain {
    font-size: 11px;
    color: var(--text-muted);
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.post-actions {
    display: flex;
    gap: 15px;
}

.store-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.store-img img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.store-info {
    padding: 15px;
}

.store-info h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.store-info p {
    font-size: 11px;
    color: var(--text-muted);
}

.watch-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.watch-card p {
    font-size: 12px;
    color: var(--text-muted);
}

.ad-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
}

.ad-top {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.ad-img {
    position: relative;
    height: 150px;
    background: #000;
    margin-bottom: 10px;
}

.ad-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.volume-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px;
    border-radius: 4px;
    font-size: 12px;
}

.ad-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
}

.dash-news {
    margin-bottom: 0;
}

.dash-news .news-img {
    height: 140px;
}

.dash-news .news-content {
    padding: 15px;
}

.dash-news .news-title {
    font-size: 13px;
}

.dash-news .news-desc {
    font-size: 11px;
    margin-top: 5px;
}

.right-sidebar {
    width: var(--right-bar-width);
    background-color: var(--sidebar-bg);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    flex-shrink: 0;
}

.right-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.r-icon {
    color: var(--text-muted);
    font-size: 20px;
    transition: 0.2s;
    font-weight: 700;
    text-decoration: none;
}

.r-icon:hover {
    color: var(--text-main);
}

/* ==========================================================================
   profile.html
   ========================================================================== */

.profile-page {
    padding: 20px;
}

.profile-grid {
    display: flex;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.profile-left-col {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-main-col {
    flex: 1;
    min-width: 0;
}

.profile-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
}

.supporter-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #6b21a8;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-secondary);
    font-size: 12px;
}

.profile-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.verified-icon {
    color: rgb(var(--v-theme-warning-500));
    font-size: 14px;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.btn-add-friend {
    flex: 1;
    background-color: var(--accent);
    color: #000;
    border-radius: 6px;
    font-weight: 700;
}

.btn-more {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    border-radius: 6px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
}

.premium-ad-box h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.premium-ad-box p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.gift-box .gift-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-outline-green {
    width: 100%;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.info-box .country-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag-icon {
    width: 16px;
    border-radius: 2px;
}

.badges-box .badges-list {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: space-between;
}

.p-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
}

.p-badge:first-child {
    border-color: rgb(var(--v-theme-warning-600));
    color: rgb(var(--v-theme-warning-600));
}

.p-badge:nth-child(2),
.p-badge:nth-child(3),
.p-badge:nth-child(4) {
    border-color: rgb(var(--v-theme-error-600));
    color: rgb(var(--v-theme-error-600));
}

.activity-grid {
    display: flex;
    gap: 3px;
    margin-top: 10px;
}

.grid-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cell {
    width: 10px;
    height: 10px;
    background: var(--bg-card);
    border-radius: 2px;
}

.cell.lvl-1 {
    background: rgba(var(--v-theme-warning-500), 0.4);
}

.cell.lvl-2 {
    background: rgba(var(--v-theme-warning-500), 0.7);
}

.cell.lvl-3 {
    background: var(--accent);
}

.activity-legend {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.activity-legend .cell {
    width: 8px;
    height: 8px;
}

.guestbook-box .empty-state {
    text-align: center;
    padding: 20px 0;
}

.icon-at {
    font-size: 24px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.profile-nav-top {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.profile-nav-top .nav-item {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: -11px;
}

.profile-nav-top .nav-item:hover {
    color: var(--text-main);
}

.profile-nav-top .nav-item.active {
    color: var(--accent);
}

.profile-nav-top .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.profile-sub-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.sub-tabs {
    display: flex;
    gap: 20px;
}

.sub-tab {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 15px 0;
    position: relative;
}

.sub-tab:hover {
    color: var(--text-main);
}

.sub-tab.active {
    color: var(--accent);
}

.sub-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.game-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.big-stat-card {
    background: linear-gradient(135deg, rgb(var(--v-theme-gray-800)) 0%, rgb(var(--v-theme-gray-900)) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.big-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--lvl-10-color);
}

.circle-level {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: var(--bg-main);
}

.circle-level.level-10 {
    width: 60px;
    height: 60px;
    font-size: 24px;
    border: 3px solid var(--lvl-10-color);
    box-shadow: 0 0 15px rgba(var(--v-theme-error-600), 0.4);
}

.circle-level.small {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-width: 2px;
    margin: 0 auto 10px;
}

.circle-level.micro {
    width: 20px;
    height: 20px;
    font-size: 10px;
    border-width: 1px;
    display: inline-flex;
    vertical-align: middle;
    margin-right: 5px;
    box-shadow: none;
}

.elo-value {
    font-size: 28px;
    font-weight: 800;
    margin-top: 10px;
}

.stat-summaries {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    width: 100%;
    justify-content: center;
    position: relative;
}

.stat-summaries::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--border-color);
}

.s-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.s-val {
    font-size: 20px;
    font-weight: 800;
}

.s-lbl {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    line-height: 1.2;
}

.rank-summaries {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    font-size: 12px;
    font-weight: 700;
}

.r-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.inline-ad-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inline-ad-box h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.feedback-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
}

.f-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 15px;
}

.f-reactions {
    display: flex;
    gap: 10px;
}

.f-reactions button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
}

.f-reactions button:hover {
    background: var(--bg-card);
}

.performance-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.performance-chart-area {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.chart-container {
    flex: 1;
    position: relative;
    padding-bottom: 20px;
}

.line-chart {
    width: 100%;
    height: 100px;
}

.match-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
}

.dot {
    width: 10px;
    height: 4px;
    border-radius: 2px;
}

.dot.win {
    background: var(--win-color);
}

.dot.lose {
    background: var(--lose-color);
}

.chart-side-stats {
    width: 150px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.wl-record {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.badge-win {
    background: rgba(var(--v-theme-warning-500), 0.1);
    color: var(--win-color);
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-lose {
    background: rgba(var(--v-theme-error-500), 0.1);
    color: var(--lose-color);
    padding: 2px 6px;
    border-radius: 4px;
}

.stat-line {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-top: 10px;
}

.stat-line .lbl {
    color: var(--text-muted);
}

.perf-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.ps-box {
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.ps-box:last-child {
    border-right: none;
}

.ps-val {
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
}

.ps-lbl {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.match-history-table th {
    font-size: 11px;
}

.match-history-table td {
    padding: 12px 10px;
}

.date-cell {
    font-weight: 600;
    font-size: 12px;
}

.result-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
}

.result-badge.win {
    background: var(--win-color);
    color: #000;
}

.result-badge.loss {
    background: var(--lose-color);
    color: #000;
}

.map-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.hl-video {
    min-width: 180px;
    height: 260px;
}

.hl-video .hl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.hl-top-info h4 {
    font-size: 13px;
    margin-bottom: 4px;
}

.hl-top-info .time {
    font-size: 11px;
    color: var(--text-muted);
}

.hl-bottom-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.play-btn {
    font-size: 20px;
}

.views {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
}

/* ==========================================================================
   ranking.html & ranking-fpl.html & ranking-clubs.html 
   ========================================================================== */
.ranking-header-top {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0;
    margin-bottom: 20px;
}

.game-info-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    margin-right: 40px;
}

.game-info-wrapper .game-icon-small {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.game-info-wrapper .dots {
    color: var(--text-muted);
    font-size: 16px;
    letter-spacing: 2px;
}

.ranking-tabs-main {
    display: flex;
    gap: 30px;
    height: 100%;
    align-items: flex-end;
    flex: 1;
}

.r-tab-main {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    padding-bottom: 15px;
    position: relative;
    text-decoration: none;
}

.r-tab-main:hover {
    color: var(--text-main);
}

.r-tab-main.active {
    color: var(--text-main);
}

.r-tab-main.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.ranking-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ranking-controls h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.filter-group {
    display: flex;
    gap: 15px;
}

.filter-select {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 30px 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%238b9bb4%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 8px auto;
    min-width: 150px;
    cursor: pointer;
    outline: none;
}

.filter-select:hover {
    border-color: var(--text-muted);
}

.ranking-table th {
    font-size: 11px;
    padding-bottom: 15px;
    color: var(--text-muted);
}

.ranking-table td {
    padding: 15px 10px;
    vertical-align: middle;
    color: var(--text-main);
}

.text-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

.rank-num {
    font-size: 14px;
    font-weight: 800;
    width: 40px;
}

.player-info-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.bg-1 {
    background: url('https://images.unsplash.com/photo-1614030424754-24d0eebd46ad?w=100&q=80') center/cover;
}

.bg-2 {
    background: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?w=100&q=80') center/cover;
}

.bg-3 {
    background: url('https://images.unsplash.com/photo-1552820728-8b83bb6b773f?w=100&q=80') center/cover;
}

.player-avatar-wrapper img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.status-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: rgb(var(--v-theme-warning-500));
    border-radius: 50%;
    z-index: 3;
    border: 2px solid var(--bg-secondary);
}

.player-name {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-icon {
    color: rgb(var(--v-theme-warning-500));
    font-size: 12px;
}

.flag-cell img {
    width: 20px;
    border-radius: 2px;
}

.skill-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    color: #000;
}

.badge-gold {
    background: linear-gradient(135deg, rgb(var(--v-theme-warning-300)) 0%, rgb(var(--v-theme-warning-600)) 100%);
}

.badge-silver {
    background: linear-gradient(135deg, rgb(var(--v-theme-gray-200)) 0%, rgb(var(--v-theme-gray-300)) 100%);
}

.badge-bronze {
    background: linear-gradient(135deg, rgb(var(--v-theme-error-400)) 0%, rgb(var(--v-theme-error-700)) 100%);
    color: #fff;
}

.badge-red {
    background: linear-gradient(135deg, rgb(var(--v-theme-error-500)) 0%, rgb(var(--v-theme-error-800)) 100%);
    color: #fff;
}

.badge-green {
    background: linear-gradient(135deg, var(--accent) 0%, rgb(var(--v-theme-warning-700)) 100%);
    color: #000;
}

.elo-num {
    font-size: 13px;
    font-weight: 700;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    gap: 15px;
    color: var(--text-muted);
    font-size: 13px;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   play-matchmaking.html & play-tournament2.html
   ========================================================================== */
.queue-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.queue-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.play-top-widgets {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: 15px;
    margin-bottom: 30px;
}

.widget-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.esea-banner {
    background: linear-gradient(135deg, rgb(var(--v-theme-warning-900)) 0%, rgb(var(--v-theme-gray-900)) 100%);
    border-color: rgb(var(--v-theme-warning-800));
    display: flex;
    align-items: center;
}

.esea-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.esea-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.esea-text h4 {
    font-size: 13px;
    color: #fff;
    line-height: 1.3;
}

.w-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-icon,
.dots-more {
    color: var(--text-muted);
    cursor: pointer;
}

.skill-value-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 10px 0;
}

.s-val {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trend-icon {
    font-size: 14px;
}

.s-elo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: var(--bg-main);
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
}

.mission-content {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mission-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.mission-details h4 {
    margin: 5px 0;
}

.lobby-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.lobby-slot {
    width: 130px;
    height: 180px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.lobby-slot:hover {
    border-color: var(--text-muted);
}

.lobby-slot.empty {
    background: rgba(var(--v-theme-gray-700), 0.5);
}

.lobby-slot.empty .plus-icon {
    font-size: 32px;
    color: var(--text-muted);
    font-weight: 300;
}

.lobby-slot.find-parties {
    background: transparent;
    border: 1px dashed var(--border-color);
}

.lobby-slot.find-parties .search-icon {
    font-size: 24px;
    color: var(--text-muted);
}

.lobby-slot.filled {
    border-color: var(--border-color);
    background: var(--bg-card);
}

.slot-avatar {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}

.slot-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.slot-info {
    text-align: center;
}

.slot-name {
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.slot-level {
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.level-gray {
    background: rgb(var(--v-theme-gray-400));
    color: #fff;
    border: 1px solid rgb(var(--v-theme-gray-600));
}

.ac-warning {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border: 1px solid rgb(var(--v-theme-warning-600));
    background: rgba(var(--v-theme-warning-500), 0.1);
    padding: 12px;
    border-radius: 6px;
    margin: 0 auto 30px;
    width: fit-content;
}

.btn-text {
    background: transparent;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.btn-text:hover {
    text-decoration: underline;
}

.match-settings-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.ms-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.ms-tabs {
    display: flex;
    gap: 30px;
}

.ms-tab {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 16px;
    margin-bottom: -16px;
}

.ms-tab.active {
    color: var(--text-main);
}

.ms-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.btn-find-match {
    background: rgb(var(--v-theme-gray-600));
    color: rgb(var(--v-theme-gray-300));
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 4px;
    cursor: not-allowed;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 6px;
    z-index: 10;
}

.match-type-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.type-card {
    width: 320px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    position: relative;
    cursor: pointer;
    transition: 0.2s;
}

.type-card:hover {
    border-color: var(--text-muted);
}

.type-card.selected {
    border-color: var(--accent);
}

.card-left-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    border-radius: 8px 0 0 8px;
}

.c-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.radio-check {
    font-size: 18px;
}

.c-header h4 {
    font-size: 14px;
    flex: 1;
}

.c-features {
    display: flex;
    gap: 20px;
    font-size: 11px;
    color: var(--text-muted);
}

.f-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-side-badges {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    left: -80px;
    top: 15px;
}

.mini-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

.bg-dark {
    background: var(--bg-card);
    color: var(--text-muted);
}

.text-black {
    color: #000;
}

.btn-play-now {
    width: 100%;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-play-now:hover {
    background: var(--accent);
    color: #000;
}

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

.ladder-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.l-img {
    position: relative;
    height: 140px;
}

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

.l-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.6);
}

.l-prize {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.l-info {
    padding: 15px;
}

.l-info h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.header-right-action .shield-icon {
    font-size: 16px;
    color: var(--text-muted);
    cursor: pointer;
    padding-bottom: 15px;
}

.t-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.t-page-header h2 {
    font-size: 20px;
    font-weight: 800;
}

.btn-create {
    background: transparent;
    border: 1px solid var(--accent);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-create:hover {
    background: var(--accent);
    color: #000 !important;
}

.esea-promo-banner {
    background: linear-gradient(90deg, rgb(var(--v-theme-warning-900)) 0%, rgb(var(--v-theme-gray-900)) 100%);
    border: 1px solid rgb(var(--v-theme-warning-800));
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.esea-promo-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.esea-promo-img {
    width: 120px;
    height: auto;
    border-radius: 8px;
}

.esea-promo-text h4 {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
}

.esea-promo-text p {
    line-height: 1.5;
}

.t-sub-nav {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--border-color);
}

.sub-nav-item {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    padding-bottom: 10px;
    position: relative;
    text-decoration: none;
}

.sub-nav-item:hover {
    color: var(--text-main);
}

.sub-nav-item.active {
    color: var(--text-main);
}

.sub-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

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

.featured-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    height: 160px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.featured-card.has-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.f-card-bottom {
    padding: 15px;
    z-index: 2;
    position: relative;
}

.f-card-bottom.overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.t-filters {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-pill {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
}

.filter-pill:hover {
    color: var(--text-main);
}

.filter-pill.active {
    color: var(--text-main);
    border-bottom: 2px solid var(--accent);
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.t-list-container {
    display: flex;
    flex-direction: column;
}

.t-date-group {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 15px 10px 5px;
    text-transform: uppercase;
}

.t-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
    cursor: pointer;
}

.t-row:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.t-info {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.t-format {
    flex: 1;
    text-align: center;
}

.t-prize {
    flex: 1;
    text-align: right;
}

.t-status {
    flex: 1;
    text-align: center;
    font-size: 14px;
}

.t-players {
    flex: 1;
    text-align: right;
}

.t-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    background: var(--bg-card);
}

.page-btn.active {
    border-color: var(--accent);
    color: var(--accent);
}

.league-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.league-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.league-title-group h2 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 3px;
}

.badge-new {
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
}

.league-hero {
    background: linear-gradient(180deg, rgb(var(--v-theme-warning-900)) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.hero-logo-small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 15px;
}

.league-hero h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
}

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

.step-card {
    display: flex;
    gap: 15px;
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.season-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
}

.s-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.s-logo {
    width: 80px;
    height: auto;
    border-radius: 4px;
}

.s-right {
    display: flex;
    gap: 20px;
    font-weight: 700;
}

.season-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mini-badge-outline {
    font-size: 10px;
    font-weight: 700;
    border: 1px solid;
    padding: 2px 6px;
    border-radius: 4px;
}

.league-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

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

.standings-table th {
    padding: 12px 15px;
    font-size: 11px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-weight: 600;
}

.standings-table td {
    padding: 12px 15px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.standings-table tbody tr:hover:not(.expanded-details-row) {
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.standings-table .expanded-main-row {
    background: var(--bg-card);
    border-bottom: none;
}

.standings-table .expanded-main-row td {
    border-bottom: none;
}

.expanded-details-row {
    background: var(--bg-card);
}

.expanded-details-row td {
    padding-top: 0;
    padding-bottom: 20px;
}

.roster-grid {
    display: flex;
    gap: 10px;
    padding-left: 30px;
}

.roster-card {
    width: 60px;
    height: 80px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roster-avatar {
    width: 100%;
    height: 50px;
    object-fit: cover;
}

.roster-name {
    font-size: 9px;
    font-weight: 700;
    width: 100%;
    text-align: center;
    padding: 5px 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    background: var(--bg-main);
}

.roster-name img {
    width: 12px;
    border-radius: 2px;
}

.captain-icon {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
}

.bg-cover-1 {
    background: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?w=100&q=80') center/cover;
}

.bg-cover-2 {
    background: url('https://images.unsplash.com/photo-1614030424754-24d0eebd46ad?w=100&q=80') center/cover;
}

.roster-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.roster-overlay .roster-avatar {
    opacity: 0.8;
    mix-blend-mode: luminosity;
}

.roster-overlay .roster-name {
    background: rgba(0, 0, 0, 0.8);
}

.matches-list-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
}

.match-date-header {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.match-item {
    margin-bottom: 15px;
}

.match-item:last-child {
    margin-bottom: 0;
}

.match-teams {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.m-team-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.m-team-row img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

.team-n {
    flex: 1;
}

.team-s {
    width: 20px;
    text-align: right;
}

.large-news-card {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.news-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.news-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    padding: 30px;
}

.news-overlay-content h2 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.slider-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text-muted);
}

.dashboard-layout {
    position: relative;
}

.dashboard-main {
    padding-right: 120px !important;
}

.right-sidebar {
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    height: 100%;
    z-index: 50;
    border-right: 1px solid var(--border-color);
    width: 60px;
}

/* MOBILE INTERFACE FOR ranking.html */

@media (max-width: 900px) {

    .dashboard-body,
    .dashboard-layout {
        height: auto;
        overflow: visible;
        flex-direction: column;
        padding-bottom: 60px;
    }

    .left-sidebar {
        width: 100%;
        height: auto;
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sidebar-search {
        width: 100%;
        margin: 15px 0;
    }

    .sidebar-nav,
    .sidebar-section,
    .sidebar-bottom {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .nav-link {
        background-color: var(--bg-card);
        padding: 8px 12px;
        border-radius: 8px;
        border-left: none !important;
        border-bottom: 3px solid transparent;
    }

    .nav-link.active {
        border-bottom-color: var(--accent);
        background-color: rgba(58, 58, 255, 0.1);
    }

    .dashboard-main {
        width: 100%;
        padding: 20px 15px !important;
        overflow-x: hidden;
    }

    .ranking-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .ranking-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .filter-group {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .filter-select {
        flex: 1;
    }

    .right-sidebar {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        border-right: none;
        border-top: 1px solid var(--border-color);
        background-color: var(--bg-main);
        z-index: 999;
    }

    .right-nav {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        height: 100%;
        padding: 0;
        gap: 0;
    }

    .r-icon {
        font-size: 20px;
        padding: 10px;
    }

    .hero-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .step-card {
        padding: 20px;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin-top: 20px;
    }

    .section-header-flex .btn-create,
    .section-header-flex .t-filters {
        width: 100%;
        justify-content: center;
    }

    .table-responsive {
        width: 100vw;
        margin-left: -15px;
        padding: 0 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .stats-table {
        white-space: nowrap;
        min-width: 800px;
    }

    .profile-grid {
        flex-direction: column;
    }

    .profile-left-col {
        width: 100%;
    }

    .profile-nav-top,
    .sub-tabs {
        flex-wrap: wrap;
        gap: 15px;
    }

    .stat-summaries {
        flex-direction: column;
        gap: 15px;
    }

    .stat-summaries::after {
        display: none;
    }

    .performance-chart-area {
        flex-direction: column;
    }

    .chart-side-stats {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
    }

    .chart-side-stats .wl-record {
        margin-bottom: 0;
    }

    .perf-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 0;
    }

    .ps-box:nth-child(3n) {
        border-right: none;
    }

    .league-main-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .post-card img {
        max-width: 100%;
        height: auto;
    }

    .content-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .module-container {
        flex-direction: column;
    }

    .social-module {
        width: 100%;
    }

    .play-cards {
        grid-template-columns: 1fr;
    }

    .match-sub-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .match-sub-header h2 {
        margin-right: 0;
    }

    .scoreboard {
        flex-direction: column;
        gap: 20px;
        padding: 10px 0;
    }

    .team-left,
    .team-right {
        justify-content: center;
        width: 100%;
    }

    .team-right {
        flex-direction: row-reverse;
    }

    .mvp-section {
        flex-direction: column;
        gap: 20px;
    }

    .mvp-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .mvp-stats-grid {
        width: 100%;
    }

    .top-stats-cards {
        width: 100%;
    }

    .table-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        height: auto;
    }

    .table-tabs,
    .table-filters,
    .view-toggles {
        flex-wrap: wrap;
        width: 100%;
    }

    .team-table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .t-meta {
        flex-wrap: wrap;
    }

    .highlights-grid {
        padding-bottom: 10px;
    }

    .hl-card {
        min-width: 240px;
    }

    .room-details-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .match-center-actions {
        width: 100%;
        margin: 10px 0;
    }

    .center-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .match-type-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .match-type-cards>div {
        width: 100% !important;
    }

    .ms-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        height: auto;
    }

    .ms-tabs {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .btn-find-match,
    .ms-header button {
        width: 100%;
        margin-left: 0;
        padding: 12px 0;
    }

    .match-type-cards {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100% !important;
    }

    .match-type-cards>div,
    .match-type-cards>a,
    .match-type-cards>div>div,
    .match-type-cards>a>div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .match-type-cards img {
        margin: 0 auto 15px auto !important;
        display: block !important;
    }
}