﻿/* ============================================
   MUNDIAL 2026 — PREDICTIONS MODULE
   Premium dark/light theme compatible
   ============================================ */

/* ── Layout ── */
.wc-main {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.wc-center {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px 80px;
}

/* ── Hero Banner ── */
.wc-hero {
    background: linear-gradient(135deg, #0a0f1a 0%, #1a1025 50%, #0d1520 100%);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wc-hero::before {
    content: '⚽';
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 120px;
    opacity: 0.04;
    pointer-events: none;
}

.wc-hero-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.wc-hero-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.wc-tokens-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-red, #EA7600), #C96500);
    border-radius: 14px;
    padding: 12px 20px;
    min-width: 80px;
    box-shadow: 0 4px 20px rgba(234, 118, 0, 0.3);
}

.tokens-count {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.tokens-label {
    font-size: 0.55rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Tabs ── */
.wc-tabs {
    display: flex;
    gap: 4px;
    background: var(--card-surface, #fff);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-card, 0 1px 4px rgba(0, 0, 0, 0.06));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wc-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    background: transparent;
    color: var(--text-gray, #888);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.wc-tab:hover {
    color: var(--text-dark, #333);
    background: rgba(0, 0, 0, 0.03);
}

.wc-tab.active {
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

body.dark-theme .wc-tab.active {
    background: var(--brand-red, #EA7600);
    box-shadow: 0 2px 12px rgba(234, 118, 0, 0.3);
}

.wc-tab-content {
    display: none;
}

.wc-tab-content.active {
    display: block;
    animation: tabFadeIn 0.3s ease-out;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Section Title ── */
.wc-section-title {
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-theme .wc-section-title {
    color: #fff;
}

/* ── Search & Filter Bar ── */
.wc-match-filters {
    margin-bottom: 14px;
}

.wc-search-row {
    margin-bottom: 8px;
}

.wc-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.wc-search-icon {
    position: absolute;
    left: 12px;
    color: #aaa;
    pointer-events: none;
}

.wc-search-input {
    width: 100%;
    padding: 10px 36px 10px 36px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font);
    color: #333;
    background: var(--card-surface, #fff);
    outline: none;
    transition: border-color 0.2s;
}

.wc-search-input::placeholder {
    color: #bbb;
}

.wc-search-input:focus {
    border-color: var(--brand-red, #EA7600);
}

body.dark-theme .wc-search-input {
    background: #222;
    border-color: #444;
    color: #eee;
}

.wc-search-clear {
    position: absolute;
    right: 8px;
    border: none;
    background: none;
    font-size: 0.7rem;
    color: #aaa;
    cursor: pointer;
    padding: 4px 8px;
}

.wc-search-clear.hidden {
    display: none;
}

/* Date filter pills */
.wc-date-pills {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.wc-date-pill {
    padding: 5px 12px;
    border: none;
    border-radius: 16px;
    font-size: 0.55rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    background: var(--card-surface, #f0f0f0);
    color: var(--text-gray, #888);
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.wc-date-pill:hover {
    background: #e0e0e0;
}

.wc-date-pill.active {
    background: #1a1a1a;
    color: #fff;
}

body.dark-theme .wc-date-pill {
    background: #2a2a2a;
    color: #aaa;
}

body.dark-theme .wc-date-pill.active {
    background: var(--brand-red, #EA7600);
    color: #fff;
}

/* ── Host Badge ── */
.wc-host-badge {
    font-size: 0.4rem;
    font-weight: 800;
    background: rgba(234, 118, 0, 0.1);
    color: var(--brand-red, #EA7600);
    padding: 1px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* ── Reward Tags ── */
.wc-reward-tags {
    display: flex;
    gap: 2px;
}

.wc-reward-tag {
    font-size: 0.7rem;
}

.wc-reward-pill {
    font-size: 0.55rem;
    font-weight: 700;
    background: rgba(234, 118, 0, 0.08);
    color: var(--brand-red, #EA7600);
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Match Count Badge ── */
.wc-match-count {
    font-size: 0.6rem;
    font-weight: 700;
    color: #aaa;
    margin-left: auto;
}

/* ── Date Separator ── */
.wc-date-separator {
    font-size: 0.65rem;
    font-weight: 800;
    color: #999;
    padding: 8px 0 4px;
    text-transform: capitalize;
    margin-top: 8px;
}

body.dark-theme .wc-date-separator {
    color: #777;
}

/* ── Match Card Actions ── */
.wc-match-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

/* ── Modal Match Info ── */
.wc-modal-match-info {
    display: flex;
    flex-direction: column;
    font-size: 0.6rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.wc-modal-rewards-row {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

/* ── Leaderboard Top 3 ── */
.wc-lb-top {
    border-left: 3px solid var(--brand-red, #EA7600);
}

/* ── Locked Match Cards ── */
.wc-match-card.locked {
    opacity: 0.6;
    pointer-events: auto;
}

.wc-match-card.locked:hover {
    transform: none;
    box-shadow: var(--shadow-card, 0 1px 4px rgba(0, 0, 0, 0.06));
}

.wc-match-locked {
    font-size: 0.55rem;
    font-weight: 800;
    color: #999;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

body.dark-theme .wc-match-locked {
    background: rgba(255, 255, 255, 0.08);
    color: #666;
}

/* ── Groups Grid ── */
.wc-groups-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

.wc-group-card {
    background: var(--card-surface, #fff);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-card, 0 1px 4px rgba(0, 0, 0, 0.06));
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.wc-group-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(234, 118, 0, 0.2);
}

.wc-group-letter {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--brand-red, #EA7600);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.wc-group-team {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    font-size: 0.62rem;
    font-weight: 600;
    color: #333;
}

body.dark-theme .wc-group-team {
    color: #ddd;
}

.wc-team-flag {
    font-size: 1rem;
    line-height: 1;
}

.wc-team-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Match Cards ── */
.wc-matches-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wc-match-card {
    background: var(--card-surface, #fff);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: var(--shadow-card, 0 1px 4px rgba(0, 0, 0, 0.06));
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
    border: 1px solid transparent;
}

.wc-match-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(234, 118, 0, 0.15);
}

.wc-match-card.has-bet {
    border-left: 3px solid var(--brand-red, #EA7600);
}

.wc-match-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
    flex-shrink: 0;
}

.wc-match-day {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--brand-red, #EA7600);
    text-transform: uppercase;
}

.wc-match-time {
    font-size: 0.7rem;
    font-weight: 800;
    color: #1a1a1a;
}

body.dark-theme .wc-match-time {
    color: #fff;
}

.wc-match-teams {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-match-team {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    font-size: 0.72rem;
    font-weight: 700;
    color: #333;
}

body.dark-theme .wc-match-team {
    color: #eee;
}

.wc-match-team.right {
    justify-content: flex-end;
    text-align: right;
}

.wc-match-vs {
    font-size: 0.6rem;
    font-weight: 800;
    color: #aaa;
    flex-shrink: 0;
}

.wc-match-score {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: #1a1a1a;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 4px 10px;
    flex-shrink: 0;
    min-width: 50px;
    text-align: center;
}

body.dark-theme .wc-match-score {
    background: #2a2a2a;
    color: #fff;
}

.wc-match-group-tag {
    font-size: 0.5rem;
    font-weight: 800;
    color: var(--brand-red, #EA7600);
    background: rgba(234, 118, 0, 0.08);
    padding: 2px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}

.wc-match-bet-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 800;
    font-family: var(--font);
    cursor: pointer;
    background: var(--brand-red, #EA7600);
    color: #fff;
    transition: all 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.wc-match-bet-btn:hover {
    background: #C96500;
    transform: scale(1.05);
}

.wc-match-bet-btn:disabled {
    background: #ccc;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.wc-match-bet-btn.has-bet {
    background: #2E7D32;
}

/* ── Modal ── */
.wc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 900;
    transition: opacity 0.3s;
}

.wc-modal-overlay.hidden {
    display: none;
}

.wc-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-surface, #fff);
    border-radius: 20px 20px 0 0;
    z-index: 1001;
    transform: translateY(0);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 0 auto;
    max-height: 85vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.wc-modal.hidden {
    display: none;
}

body.dark-theme .wc-modal {
    background: #1a1a1a;
    border: 1px solid #333;
}

.wc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-theme .wc-modal-header {
    border-color: #333;
}

.wc-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
}

body.dark-theme .wc-modal-title {
    color: #fff;
}

.wc-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: none;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.wc-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.wc-modal-body {
    padding: 16px 20px;
    flex: 1;
    overflow-y: auto;
}

/* Bet Type Sections */
.wc-bet-section {
    margin-bottom: 16px;
}

.wc-bet-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.dark-theme .wc-bet-label {
    color: #bbb;
}

.wc-bet-points {
    font-size: 0.55rem;
    background: rgba(234, 118, 0, 0.1);
    color: var(--brand-red, #EA7600);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 800;
}

.wc-bet-options {
    display: flex;
    gap: 6px;
}

.wc-bet-option {
    flex: 1;
    padding: 10px 8px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: none;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font);
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

body.dark-theme .wc-bet-option {
    border-color: #444;
    color: #bbb;
}

.wc-bet-option:hover {
    border-color: #aaa;
}

.wc-bet-option.selected {
    border-color: var(--brand-red, #EA7600);
    background: rgba(234, 118, 0, 0.08);
    color: var(--brand-red, #EA7600);
}

/* Score input */
.wc-score-input {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.wc-score-field {
    width: 50px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    text-align: center;
    color: #1a1a1a;
    background: none;
    outline: none;
    transition: border-color 0.2s;
}

body.dark-theme .wc-score-field {
    border-color: #444;
    color: #fff;
}

.wc-score-field:focus {
    border-color: var(--brand-red, #EA7600);
}

.wc-score-separator {
    font-size: 1.2rem;
    font-weight: 900;
    color: #aaa;
}

/* Modal Footer */
.wc-modal-footer {
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.dark-theme .wc-modal-footer {
    border-color: #333;
}

.wc-modal-cost {
    font-size: 0.65rem;
    font-weight: 600;
    color: #777;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wc-modal-submit {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    font-family: var(--font);
    cursor: pointer;
    background: var(--brand-red, #EA7600);
    color: #fff;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(234, 118, 0, 0.3);
}

.wc-modal-submit:hover:not(:disabled) {
    background: #C96500;
    transform: translateY(-1px);
}

.wc-modal-submit:disabled {
    background: #ccc;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

/* ── My Bets Stats ── */
.wc-mybets-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.wc-stat-card {
    background: var(--card-surface, #fff);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    box-shadow: var(--shadow-card, 0 1px 4px rgba(0, 0, 0, 0.06));
}

.wc-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: #1a1a1a;
}

body.dark-theme .wc-stat-value {
    color: #fff;
}

.wc-stat-label {
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--text-gray, #888);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Empty State ── */
.wc-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ── Leaderboard ── */
.wc-leaderboard-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--card-surface, #fff);
    border-radius: 10px;
    margin-bottom: 6px;
    box-shadow: var(--shadow-card, 0 1px 4px rgba(0, 0, 0, 0.06));
}

.wc-lb-rank {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: var(--brand-red, #EA7600);
    min-width: 30px;
    text-align: center;
}

.wc-lb-name {
    flex: 1;
    font-size: 0.72rem;
    font-weight: 700;
    color: #333;
}

body.dark-theme .wc-lb-name {
    color: #eee;
}

.wc-lb-points {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    color: #1a1a1a;
}

body.dark-theme .wc-lb-points {
    color: #fff;
}

.wc-lb-label {
    font-size: 0.5rem;
    font-weight: 700;
    color: #aaa;
}

/* ── Bet Status Badges ── */
.wc-bet-status {
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 10px;
}

.wc-bet-status.pending {
    background: #f5f5f5;
    color: #999;
}

.wc-bet-status.won {
    background: rgba(46, 125, 50, 0.1);
    color: #2E7D32;
}

.wc-bet-status.lost {
    background: rgba(198, 40, 40, 0.1);
    color: #C96500;
}

body.dark-theme .wc-bet-status.pending {
    background: #2a2a2a;
    color: #888;
}

/* ── Knockout Bracket ── */
.wc-bracket-info {
    background: rgba(234, 118, 0, 0.06);
    border: 1px solid rgba(234, 118, 0, 0.15);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.62rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-bracket-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}

.wc-bracket-grid {
    display: flex;
    gap: 12px;
    min-width: 800px;
    align-items: flex-start;
}

.wc-bracket-round {
    flex: 1;
    min-width: 140px;
}

.wc-bracket-round-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--brand-red, #EA7600);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 10px;
    padding: 4px 0;
    border-bottom: 2px solid rgba(234, 118, 0, 0.2);
}

.wc-bracket-slots {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wc-bracket-slot {
    background: var(--card-surface, #fff);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card, 0 1px 4px rgba(0, 0, 0, 0.06));
    border: 1px solid transparent;
    transition: border-color 0.2s;
}

.wc-bracket-slot:hover {
    border-color: rgba(234, 118, 0, 0.2);
}

.wc-bracket-team {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 0.58rem;
    font-weight: 700;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

body.dark-theme .wc-bracket-team {
    color: #ddd;
}

.wc-bracket-team.tbd {
    color: #bbb;
    font-style: italic;
}

body.dark-theme .wc-bracket-team.tbd {
    color: #666;
}

.wc-bracket-champion {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(234, 118, 0, 0.08));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.wc-bracket-champion .wc-bracket-team {
    font-size: 0.7rem;
    font-weight: 900;
    justify-content: center;
    padding: 10px;
}

/* ── Jackpot Banner ── */
.wc-jackpot-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(234, 118, 0, 0.06));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #7c3aed;
    position: relative;
    overflow: hidden;
}

.wc-jackpot-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: jackpotShimmer 3s infinite;
}

@keyframes jackpotShimmer {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(50%);
    }
}

.wc-jackpot-icon {
    font-size: 1.4rem;
}

body.dark-theme .wc-jackpot-banner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(234, 118, 0, 0.08));
    color: #a78bfa;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .wc-groups-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .wc-center {
        padding: 10px 10px 80px;
    }

    .wc-hero {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .wc-hero-title {
        font-size: 1.1rem;
    }

    .wc-groups-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .wc-tab {
        font-size: 0.58rem;
        padding: 8px 10px;
    }

    .wc-tab svg {
        display: none;
    }

    .wc-match-teams {
        flex-wrap: wrap;
        gap: 4px;
    }

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

    .wc-match-date {
        min-width: 40px;
    }

    .wc-match-card {
        padding: 10px 12px;
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .wc-groups-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .wc-group-card {
        padding: 10px;
    }

    .wc-match-team {
        font-size: 0.62rem;
    }

    .wc-hero-title {
        font-size: 0.95rem;
    }

    .tokens-count {
        font-size: 1.4rem;
    }
}

/* ── Prediction Detail Modal ── */
.pred-detail-header,
.pred-detail-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 40px 50px;
    gap: 4px;
    align-items: center;
    padding: 8px 12px;
    font-size: 0.72rem;
}

.pred-detail-header {
    border-bottom: 2px solid var(--border);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
}

.pred-detail-row {
    border-bottom: 1px solid var(--border);
}

.pred-detail-row:nth-child(even) {
    background: rgba(128, 128, 128, 0.05);
}

.pred-detail-icon {
    text-align: center;
    font-size: 0.85rem;
}

.pred-detail-pts {
    text-align: right;
    font-weight: 700;
    font-size: 0.75rem;
}

.pred-detail-yours,
.pred-detail-actual {
    text-align: center;
    font-weight: 600;
}

@media (max-width: 480px) {

    .pred-detail-header,
    .pred-detail-row {
        grid-template-columns: 1.5fr 1fr 1fr 30px 40px;
        padding: 6px 8px;
        font-size: 0.65rem;
    }
}