/* ============================================
   PUBLIC FANTASY STYLES
   LBL Fantasy - Classic Fantasy Mode
   Matching Draft Room UI/UX
   ============================================ */

:root {
    --fantasy-primary: #F37021;
    --fantasy-primary-light: #ff9e4d;
    --fantasy-secondary: #ffffff;
    --fantasy-warning: #fbbf24;
    --fantasy-danger: #ef4444;
    --card-bg: rgba(30, 30, 30, 0.95);
    --card-border: rgba(243, 112, 33, 0.2);
}

/* ============================================
   MAIN LAYOUT
   ============================================ */

.fantasy-main {
    padding-top: 100px;
    /* Reduced from 140px */
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #050510 50%, #000000 100%);
}

/* ============================================
   FANTASY SECTION
   ============================================ */

.fantasy-section {
    padding: 1.5rem 1rem;
    /* Significantly reduced */
    max-width: 1400px;
    margin: 0 auto;
}

.fantasy-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Header Container */
.fantasy-header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    /* Space between ball and text */
    margin-bottom: 0.5rem;
}

/* Text Gradient on Span */
.text-gradient {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(to right, #F37021, #FFA500);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(243, 112, 33, 0.3);
}

/* Basketball Icon */
.header-basket-icon {
    width: 60px;
    /* Size match */
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    animation: spin-ball 12s linear infinite;
}

.fantasy-section .subtitle {
    font-family: 'Oswald', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
}

/* ============================================
   ACTION CARDS
   ============================================ */

.fantasy-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Hide the banner to remove left empty space */
.gameweek-banner {
    display: none !important;
}

.action-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    /* Reduced from 2rem */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.action-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--fantasy-primary);
    text-transform: uppercase;
}

.action-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-card input,
.action-card select {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.action-card input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.action-card select option {
    background: #1a1a2e;
}

.team-stats {
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.team-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-stats .stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.team-stats .stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--fantasy-warning);
    /* Gold/Yellow for stats usually pops */
}

.team-buttons {
    display: flex;
    gap: 0.75rem;
}

.team-buttons .btn {
    flex: 1;
}

/* Enhanced Team Buttons */
#saveTeamBtn {
    background: linear-gradient(135deg, #F37021 0%, #FF8C00 100%);
    box-shadow: 0 0 20px rgba(243, 112, 33, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#saveTeamBtn:not(:disabled):hover {
    box-shadow: 0 0 30px rgba(243, 112, 33, 0.7);
    transform: translateY(-2px);
    border-color: #fff;
}

#clearTeamBtn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    transition: all 0.3s ease;
}

#clearTeamBtn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

/* Power-ups */
.powerups-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.powerup-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.powerup-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, rgba(243, 112, 33, 0.2), rgba(243, 112, 33, 0.05));
    border-color: #F37021;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 112, 33, 0.2);
}

.powerup-btn.used {
    opacity: 0.4;
    cursor: not-allowed;
}

.powerup-icon {
    font-size: 1.25rem;
}

.powerup-name {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.transfer-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 0.75rem;
    border-top: 1px solid var(--card-border);
}

.transfer-info strong {
    color: var(--fantasy-secondary);
}

/* ============================================
   VIBRANT EXTRA COMPACT - LBL BRANDED (75/25)
   ============================================ */

.my-roster-section {
    background: #000;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 3fr 1fr;
    /* 75% Court | 25% Sidebar */
    overflow: hidden;
    min-height: 380px;
    /* Reduced another ~20% (was 450px) */
}

.my-roster-section h3 {
    display: none;
}

.game-area {
    display: block;
}

.game-area .my-roster-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    gap: 0;
}

/* --- LEFT: COURT (75%) --- */
.court-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    border: none;
    border-radius: 0;
}

.court-floor {
    /* Rich Vibrant Blue Gradient */
    background: linear-gradient(135deg, #001f3f 0%, #003366 50%, #001f3f 100%);
    background-size: cover;

    border: none;
    border-radius: 0;
    padding: 10px;
    /* Tighter padding */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 100%;
    min-height: 380px;
    /* Matches container */
    box-shadow: inset -10px 0 20px rgba(0, 0, 0, 0.5);
}

/* LBL ORANGE Tactical Lines */
.court-floor::before {
    /* Key Area */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    /* Shorter key */
    border: 3px solid #F37021;
    /* LBL Orange */
    border-bottom: none;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(243, 112, 33, 0.2);
    /* Slight glow */
}

.row-bottom::before {
    /* 3-Point Arc */
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 750px;
    height: 375px;
    border: 3px solid #F37021;
    border-radius: 375px 375px 0 0;
    /* Perfect semi-circle */
    border-bottom: none;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 15px rgba(243, 112, 33, 0.2);
}

.court-floor::after {
    /* Free Throw Circle */
    content: '';
    position: absolute;
    bottom: 180px;
    /* Moves with key */
    left: 50%;
    transform: translate(-50%, 50%);
    width: 180px;
    height: 180px;
    border: 3px solid #F37021;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(243, 112, 33, 0.2);
}

.row-bottom::after {
    display: none;
}

/* CENTER COURT BRANDING */
.game-area::after {
    content: 'LBL FANTASY';
    position: absolute;
    top: 60%;
    left: 40%;
    /* Position inside court area approx */
    transform: translate(-50%, -50%) skewX(-10deg);
    font-family: var(--font-display);
    font-size: 3rem;
    /* Slightly smaller logo */
    font-weight: 900;
    font-style: italic;
    color: rgba(255, 255, 255, 0.05);
    /* Very subtle watermark */
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}


/* --- RIGHT: SIDEBAR (25%) --- */
.reserves-row {
    background: #0b1120;
    /* Darker Navy/Charcoal */
    border-left: 2px solid #F37021;
    /* Orange Divider */
    padding: 0.75rem;
    /* Reduced padding */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
}

.sidebar-header h3 {
    font-family: var(--font-display);
    color: #F37021;
    /* Orange Title */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block !important;
}

/* --- VIBRANT CARD STYLING --- */
.roster-slot {
    /* Gradient Backgrounds */
    background: linear-gradient(145deg, #1a2a4a 0%, #101828 100%);
    border: 2px solid #334466;
    /* Blue border default */
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    padding: 4px;
    /* Tighter padding */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;

    min-width: 0;
    position: relative;
    overflow: hidden;
}

/* Card Header Strip */
.roster-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* Top colored strip */
    background: #445577;
    transition: all 0.2s;
}

.roster-slot:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border-color: #5577aa;
}

.roster-slot:hover::before {
    background: #F37021;
}

/* FILLED STATE - Vibrant Orange Accent */
.roster-slot.filled {
    background: linear-gradient(145deg, #1e3a66 0%, #112244 100%);
    border-color: #F37021;
}

.roster-slot.filled::before {
    background: #F37021;
}

/* Typography */
.roster-slot .slot-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: #8899aa;
    margin-bottom: 2px;
}

.roster-slot.filled .slot-number {
    color: #F37021;
}

.roster-slot .slot-player {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    margin: 2px 0;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
    /* Pop text */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.roster-slot .slot-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: #aaa;
    background: transparent;
    padding: 0;
    border: none;
}

/* Player Image */
.roster-slot .player-img-container {
    width: 50px;
    height: 50px;
    /* Smaller image */
    border: 2px solid #F37021;
    /* Orange Ring */
    background: #000;
    margin-bottom: 2px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(243, 112, 33, 0.3);
}

/* --- 6TH MAN --- */
.roster-slot[data-slot="SIXTH_MAN"] {
    border: 2px solid #F37021;
    background: linear-gradient(145deg, #332200 0%, #1a1000 100%);
}

.roster-slot[data-slot="SIXTH_MAN"] .slot-number {
    color: #FFD700;
}

/* Bench & Coach */
.bench-section,
.coach-section {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bench-title,
.coach-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #F37021;
    margin-bottom: 0.5rem;
}

/* --- COURT LAYOUT ADJUSTMENTS FOR EXTRA COMPACT --- */
.court-row {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 30;
    gap: 1.5rem;
}

.row-top {
    padding-top: 5px;
}

.row-middle {
    justify-content: space-around;
    padding: 0 20px;
    margin-top: -15px;
}

.row-bottom {
    justify-content: center;
    padding-bottom: 10px;
    gap: 2rem;
    margin-top: -15px;
}

/* RE-ENFORCE CARD SIZE FOR EXTRA COMPACT */
.court-slot {
    width: 110px !important;
    /* Smaller width */
    height: 125px !important;
    /* Shorter height */
    flex: 0 0 110px;
}

.available-players-panel {
    width: 100%;
    margin-top: 2rem;
}

/* ============================================
   MODAL STYLES - VIBRANT DARK
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    /* Darker backdrop */
    backdrop-filter: blur(5px);
}

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

.modal-content {
    background: #0f172a;
    /* Dark Navy */
    border: 1px solid #334466;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    padding: 1.5rem;
    border-bottom: 2px solid #F37021;
    /* Orange underline */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #F37021;
}

/* Modal Body */
.modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
    background: #0b1120;
}

/* Player List Items */
.player-list-item {
    display: flex;
    align-items: center;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.player-list-item:hover {
    background: #253550;
    border-color: #F37021;
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(243, 112, 33, 0.1);
}

.player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.player-name {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.player-details {
    font-size: 0.8rem;
    color: #94a3b8;
}

.player-cost {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #F37021;
    font-weight: 700;
    margin-right: 15px;
}

.add-btn {
    background: rgba(243, 112, 33, 0.1);
    color: #F37021;
    border: 1px solid #F37021;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.player-list-item:hover .add-btn {
    background: #F37021;
    color: #fff;
}

/* Search Input */
#playerSearchInput {
    width: 100%;
    padding: 12px 16px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-main);
}

#playerSearchInput:focus {
    border-color: #F37021;
    outline: none;
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    background: #0f172a;
    padding: 0 1.5rem;
    border-bottom: 1px solid #334155;
}

.modal-tab {
    background: none;
    border: none;
    color: #94a3b8;
    padding: 12px 20px;
    font-family: var(--font-display);
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.modal-tab.active {
    color: #F37021;
    border-bottom-color: #F37021;
}

.modal-tab:hover {
    color: #fff;
}

/* ============================================
   COMPACT MODAL LIST FIXES
   ============================================ */

/* Target the specific modal container items */
/* Target the specific modal container items */
#modalPlayers .player-item {
    display: grid;
    grid-template-columns: 1fr 100px 80px 50px;
    /* Name | Pos | FPTS | Price */
    gap: 10px;
    align-items: center;
    padding: 0 16px;
    min-height: 50px;
    margin-bottom: 6px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334466;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* HIDE THE BASKETBALL AVATAR */
#modalPlayers .player-avatar {
    display: none !important;
}

/* Name Column */
#modalPlayers .player-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

/* Position Column */
#modalPlayers .player-pos-col {
    display: flex;
    justify-content: center;
}

#modalPlayers .position-badge {
    font-size: 0.75rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

/* FPTS Column */
#modalPlayers .player-fpts-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

#modalPlayers .stats-value {
    color: #F37021;
    font-weight: 700;
    font-size: 0.95rem;
}

#modalPlayers .stats-label {
    font-size: 0.6rem;
    color: #64748b;
    margin-top: 2px;
}

/* Price Column */
#modalPlayers .player-price {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-align: right;
}

/* ADD BUTTON HOVER EFFECT */
.player-item:hover .add-btn {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(243, 112, 33, 0.5);
    transition: all 0.2s ease;
}

/* ROW AS BUTTON STYLE */
#modalPlayers .player-item {
    cursor: pointer;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334466;
    border-radius: 8px;
    height: 50px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#modalPlayers .player-item:hover {
    transform: translateY(-2px);
    border-color: #F37021;
    /* Orange Border on Hover */
    background: linear-gradient(145deg, #2a3b55 0%, #1a253a 100%);
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
    /* Orange Glow */
}

/* Optional: Active State */
#modalPlayers .player-item:active {
    transform: translateY(0);
    box-shadow: none;
    background: #0f172a;
}

/* COURT BRANDING ADJUSTMENTS */
.row-top {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    /* Increased gap to push PG lower */
}

.court-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    /* Gradient Text */
    background: linear-gradient(to bottom, #fff 40%, #ccc 100%);
    background-clip: text;
    /* Standard property for compatibility */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    font-style: normal;
    /* Fixed Y distortion */
    transform: none;
    /* No Skew */
}

/* Remove old watermark */
.game-area::after {
    display: none;
}

/* Court HUD Row */
.court-hud-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 4rem;
    margin-bottom: -10px;
    /* Pull PG up closer */
    position: relative;
    z-index: 10;
}

.hud-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hud-widget.left {
    align-items: flex-start;
}

.hud-widget.right {
    align-items: flex-end;
}

.hud-label {
    font-size: 0.9rem;
    color: var(--basket-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.hud-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 0.9;
}

/* ============================================
   PLAYER OPTIONS MODAL BUTTONS (V3 - FORCED)
   ============================================ */

.options-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.full-width {
    width: 100% !important;
}

/* Danger Button (Remove Player) */
.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px !important;
    font-family: var(--font-display) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%) !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* Outline Button (Set Captain) */
.btn-outline {
    background: transparent !important;
    border: 2px solid #38bdf8 !important;
    /* Light Blue */
    color: #38bdf8 !important;
    border-radius: 8px !important;
    padding: 14px !important;
    font-family: var(--font-display) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.btn-outline:hover:not(:disabled) {
    background: rgba(56, 189, 248, 0.1) !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4) !important;
    border-color: #7dd3fc !important;
    color: #fff !important;
    text-shadow: 0 0 5px rgba(56, 189, 248, 0.8) !important;
}

.btn-outline:disabled {
    border-color: #334155 !important;
    color: #64748b !important;
    background: rgba(15, 23, 42, 0.5) !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

/* ==========================================================================
   CONSOLIDATED COMPARISON MODAL DESIGN (V112)
   ========================================================================== */

.comparison-modal-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0 !important;
    border-radius: 20px !important;
    max-width: 850px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7) !important;
}

.comp-players-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 5rem 2rem 3rem;
    background: linear-gradient(to bottom, rgba(30, 41, 59, 0.5) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.comp-player {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.comp-player.right {
    justify-content: flex-end;
    text-align: right;
}

.comp-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #1e293b;
    border: 3px solid #F37021;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.comp-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
}

.comp-info span {
    font-size: 1rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.comp-vs span {
    font-family: var(--font-display);
    font-size: 3rem;
    color: #F37021;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(243, 112, 33, 0.6);
}

.comp-score-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.score-num {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: #334155;
    transition: all 0.5s ease;
}

.score-num.high {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.score-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 3rem;
}

.comp-data-grid {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comp-stat-row {
    display: grid !important;
    grid-template-columns: 80px 1fr 120px 1fr 80px !important;
    gap: 15px !important;
    align-items: center !important;
    padding: 0.8rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    opacity: 0;
    animation: slide-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.comp-stat-row:last-child {
    border-bottom: none !important;
}

.comp-label {
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.comp-val {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #475569;
}

.comp-val.left {
    text-align: right;
}

.comp-val.right {
    text-align: left;
}

.comp-val.winner {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.comp-bar-container {
    width: 100%;
}

.comp-bar-track {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
}

.comp-bar-container.left .comp-bar-track {
    justify-content: flex-end;
}

.comp-bar-container.right .comp-bar-track {
    justify-content: flex-start;
}

.comp-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 4px;
}

@keyframes slide-in {
    0% {
        transform: translateY(15px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .comp-stat-row {
        grid-template-columns: 60px 1fr 80px 1fr 60px !important;
        gap: 5px !important;
    }

    .comp-val {
        font-size: 1.2rem !important;
    }

    .comp-avatar {
        width: 100px;
        height: 100px;
    }
}