/* Base System Setup */
:root {
    --bg-main: #070913;
    --bg-card: rgba(15, 18, 36, 0.7);
    --border-card: rgba(255, 255, 255, 0.06);
    --border-card-hover: rgba(0, 240, 255, 0.25);
    --color-text: #f1f5f9;
    --color-text-muted: #64748b;
    
    --accent-green: #00f0ff; /* Rebranded from Green to Turquoise */
    --accent-blue: #00b0ff;
    --accent-red: #ff3d00;
    --accent-purple: #ab47bc;
    --accent-yellow: #ffd600; /* VIP Yellow */
    
    --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #00b0ff 100%);
    --gradient-green: linear-gradient(135deg, #00b0ff 0%, #00f0ff 100%);
    --gradient-red: linear-gradient(135deg, #ff3d00 0%, #ff9100 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-main);
    color: var(--color-text);
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 240, 255, 0.08) 0px, transparent 40%),
        radial-gradient(at 100% 100%, rgba(0, 176, 255, 0.05) 0px, transparent 40%);
    background-attachment: fixed;
}

.text-green { color: var(--accent-green) !important; }
.text-cyan { color: var(--accent-blue) !important; }

/* App Container Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background-color: #04060c;
    border-right: 1px solid var(--border-card);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(15px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-icon {
    font-size: 2.2rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.logo-subtext {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.menu-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin: 1.5rem 0 0.5rem 0.5rem;
    display: block;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-item i {
    font-size: 1rem;
    width: 18px;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.03);
}

.nav-item.active {
    background-color: rgba(0, 240, 255, 0.05);
    box-shadow: inset 3px 0 0 0 var(--accent-green);
    color: #fff;
    font-weight: 600;
}

.badge {
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-left: auto;
}

.badge-hot {
    background-color: var(--accent-red);
    color: #fff;
}

.badge-vip {
    background-color: var(--accent-yellow) !important;
    color: #04060c !important;
    font-weight: 800;
}

.league-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.85rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.league-item:hover {
    color: var(--color-text);
    padding-left: 1.1rem;
}

.league-item .hash {
    color: var(--accent-green);
    font-weight: bold;
}

/* Membership Card */
.membership-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.membership-card h3 {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-green);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.membership-card p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.btn-portal {
    width: 100%;
    background-color: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-portal:hover {
    background-color: var(--accent-green);
    color: #04060c;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.sidebar-footer {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-card);
    margin-top: 1.5rem;
}

.disclaimer {
    font-size: 0.72rem;
    color: var(--accent-red);
    font-weight: 700;
    display: block;
    line-height: 1.4;
    text-align: center;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    padding: 1.5rem 2rem;
    overflow-y: auto;
    max-height: 100vh;
}

/* Header & Breadcrumbs */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 13, 27, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 
                inset 0 0 20px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.top-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
}

.top-header:hover {
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 
                0 0 20px rgba(0, 240, 255, 0.05),
                inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #fff 30%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.header-logo-icon {
    font-size: 1.35rem;
    color: #00f0ff;
    -webkit-text-fill-color: initial;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5));
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Header Status Bar & Pills */
.header-status-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.45rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-pill:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.05);
}

.status-pill .pill-label {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.status-pill .pill-value {
    color: #fff;
    font-weight: 700;
}

.status-pill i {
    font-size: 0.75rem;
    filter: drop-shadow(0 0 3px rgba(0, 240, 255, 0.3));
}

.status-pill.sync-pill .pill-value {
    color: #00f0ff;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}

.status-pill.time-pill {
    letter-spacing: 0.5px;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
        transform: scale(0.95);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(0, 240, 255, 0);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
        transform: scale(0.95);
    }
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
    border-radius: 50%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-header {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-header:hover {
    background-color: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.3);
    color: #00f0ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.05);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.user-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
}

.user-badge-icon {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
}

.user-badge:hover .user-badge-icon {
    transform: scale(1.1);
}

.user-status {
    font-weight: 600;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-login {
    background: linear-gradient(135deg, #00f0ff 0%, #00b0ff 100%) !important;
    color: #04060c !important;
    border: none !important;
    padding: 0.55rem 1.25rem !important;
    font-size: 0.75rem !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-login:hover {
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4) !important;
    transform: translateY(-1px);
}

/* Feed Main Page */
.feed-main-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.feed-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Feed Match Card */
.feed-match-card {
    background-color: rgba(10, 14, 28, 0.9);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feed-match-card:hover {
    border-color: rgba(0, 240, 255, 0.15);
}

.match-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.match-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.match-league-label {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--border-card);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.match-card-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 1rem 0;
    width: 100%;
}

.match-card-team {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
    max-width: 220px;
}

.match-card-team.home-align { justify-content: flex-end; }
.match-card-team.away-align { justify-content: flex-start; }

.match-card-team .team-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--accent-green);
    font-size: 0.75rem;
}

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
}

.match-vs {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.match-card-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 0.75rem;
}

.btn-feed-analyze {
    background: none;
    border: none;
    color: var(--accent-green);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.btn-feed-analyze i {
    transition: transform 0.3s ease;
}

.btn-feed-analyze.active i {
    transform: rotate(180deg);
}

/* Accordion Analysis Panel */
.feed-analysis-panel {
    display: none;
    border-top: 1px dashed var(--border-card);
    margin-top: 1rem;
    padding-top: 1.25rem;
    animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.feed-analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    border-color: var(--border-card-hover);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.03);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Layout Grid systems */
.grid-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
}

.grid-layout-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.results-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.top-results-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
}

.bottom-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

/* Inputs & Form Controls */
.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.custom-select, .custom-form input, .custom-input-number, .auth-form input, textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    color: var(--color-text);
    outline: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
}

.custom-select:focus, .custom-form input:focus, .custom-input-number:focus, .auth-form input:focus, textarea:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

select,
select option,
select optgroup {
    background-color: #0c0e17 !important;
    color: #ffffff !important;
}

.divider {
    border: 0;
    height: 1px;
    background-color: var(--border-card);
    margin: 1.5rem 0;
}

/* Sliders */
.slider-group {
    margin-bottom: 1.5rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.badge {
    background-color: var(--accent-blue);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge.bg-green {
    background-color: rgba(0, 240, 255, 0.15);
    color: var(--accent-green);
}

.badge.bg-red {
    background-color: rgba(255, 61, 0, 0.15);
    color: var(--accent-red);
}

.custom-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    border-radius: 10px;
    -webkit-appearance: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-green);
    cursor: pointer;
    box-shadow: 0 0 8px var(--accent-green);
    transition: transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.slider-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* Trust Score gauge */
.radial-progress-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.radial-svg {
    transform: rotate(-90deg);
}

.radial-svg circle {
    fill: none;
    stroke-width: 8px;
}

.radial-svg circle.bg {
    stroke: rgba(255, 255, 255, 0.03);
}

.radial-svg circle.progress {
    stroke: var(--accent-green);
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease;
}

.radial-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}

.trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-label {
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* xG Display */
.xg-display {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.xg-team {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xg-team-name {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.xg-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-green);
}

.xg-vs {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

/* Progress bar lists (O/U & BTTS) */
.mini-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--color-text-muted);
}

.progress-bar-group {
    margin-bottom: 1rem;
}

.progress-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.progress-track {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--accent-green);
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Decision Box styles */
.decision-card {
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.2);
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.decision-icon {
    font-size: 2rem;
    color: var(--accent-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); text-shadow: 0 0 10px var(--accent-green); }
    100% { transform: scale(1); }
}

.decision-text h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    color: var(--accent-green);
}

.decision-text p {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Tables & Lists */
.table-container, .table-container-small {
    width: 100%;
    overflow-x: auto;
    margin-top: 1rem;
}

.table-container-small {
    max-height: 400px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.custom-table th {
    padding: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--border-card);
    text-transform: uppercase;
}

.custom-table td {
    padding: 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-card);
}

.custom-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-green);
    color: #04060c;
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--gradient-green);
    color: #04060c;
}

.btn-success:hover {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--gradient-red);
    color: var(--color-text);
}

.btn-danger:hover {
    box-shadow: 0 0 15px rgba(255, 61, 0, 0.4);
    transform: translateY(-2px);
}

.text-center { text-align: center; }
.bg-red { background-color: var(--accent-red) !important; }

/* Chart Sizing */
.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
}
.chart-container-large {
    position: relative;
    height: 400px;
    width: 100%;
}

/* Interactive Soccer Pitch */
.soccer-pitch {
    position: relative;
    width: 100%;
    height: 200px;
    background: radial-gradient(circle, #194a20 0%, #0c3311 100%);
    border: 3px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    margin-top: 1rem;
    overflow: hidden;
}

.pitch-area {
    position: relative;
    width: 100%;
    height: 100%;
}

.soccer-pitch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: rgba(255,255,255,0.15);
}

.player-node {
    position: absolute;
    width: 50px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    outline: none;
    transition: transform 0.2s ease;
}

.player-node:hover {
    transform: scale(1.15);
}

.player-node .player-icon {
    font-size: 1.6rem;
    color: var(--accent-red);
    text-shadow: 0 0 8px rgba(255, 61, 0, 0.4);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.player-node.active .player-icon {
    color: var(--accent-green);
    text-shadow: 0 0 10px var(--accent-green);
}

.player-node .player-label {
    font-size: 0.7rem;
    font-weight: 700;
    background-color: rgba(0,0,0,0.6);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    color: var(--color-text);
}

#p-gk { top: 40%; left: 8%; }
#p-df1 { top: 20%; left: 25%; }
#p-df2 { top: 60%; left: 25%; }
#p-mf1 { top: 40%; left: 45%; }
#p-fw { top: 40%; left: 75%; }

.pitch-desc {
    position: absolute;
    bottom: 5px;
    width: 100%;
    text-align: center;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    z-index: 10;
}

/* Odds converter */
.odds-converter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.odds-box {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.odds-box .label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.odds-box .value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-green);
}

/* Live Score Elements */
.live-score-input-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.live-score-colon {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 0.5rem;
}

.red-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Live Results display */
.live-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 0.75rem;
}

.live-prob-card {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.live-prob-card .label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.live-prob-card .value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-green);
    display: block;
    margin-bottom: 0.5rem;
}

/* Floating AI Chatbot Bubble */
.chatbot-bubble-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chatbot-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-green);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.4);
    color: #04060c;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.chatbot-trigger:hover {
    transform: scale(1.1);
}

.ping-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    border: 2px solid var(--bg-main);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: rgba(10, 13, 26, 0.95);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
    background-color: rgba(255,255,255,0.03);
    padding: 1rem;
    border-bottom: 1px solid var(--border-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header .title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.chatbot-header .close-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.msg {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.bot-msg {
    background-color: rgba(255,255,255,0.04);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-msg {
    background: var(--accent-green);
    color: #04060c;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    font-weight: 500;
}

.chatbot-input-area {
    padding: 0.75rem;
    background-color: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border-card);
    display: flex;
    gap: 0.5rem;
}

.chatbot-input-area input {
    flex-grow: 1;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--border-card);
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    color: var(--color-text);
    outline: none;
}

.chatbot-input-area button {
    background: var(--accent-green);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #04060c;
    cursor: pointer;
}

/* Coupon Styles */
.risk-selector-buttons {
    display: flex;
    gap: 0.5rem;
}

.risk-selector-buttons .btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-card);
    color: var(--color-text-muted);
}

.risk-selector-buttons .btn.active-btn {
    background: var(--accent-green);
    color: #04060c;
    border: none;
}

.coupon-workspace-grid {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.coupon-sheet {
    background: #f4f3eb; /* Paper color */
    color: #1a1c23; /* Dark receipt print */
    border: none;
    border-top: 4px dashed #bdc3c7;
    border-bottom: 4px dashed #bdc3c7;
    border-radius: 2px;
    padding: 1.5rem 1.25rem;
    width: 100%;
    max-width: 380px; /* Compact width like a real receipt */
    box-sizing: border-box;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    font-family: 'Courier New', Courier, monospace; /* Thermal print monospaced font */
    position: relative;
}

.coupon-sheet h3 {
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    color: #111;
}

.coupon-metadata {
    font-size: 0.72rem;
    color: #555;
    text-align: center;
    line-height: 1.35;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #7f8c8d;
    padding-bottom: 0.75rem;
}

.coupon-items-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.coupon-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px dotted #95a5a6;
    border-radius: 0;
    padding: 0 0 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.coupon-item .match {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
}

.coupon-item .match .teams {
    font-weight: bold;
    font-size: 0.82rem;
    color: #111;
}

.coupon-item .match .league {
    font-size: 0.68rem;
    color: #666;
}

.coupon-item .pick {
    text-align: right;
    margin-left: 10px;
}

.coupon-item .pick .bet {
    font-weight: bold;
    color: #111;
    font-size: 0.85rem;
}

.coupon-item .pick .odds {
    font-size: 0.8rem;
    color: #333;
    font-weight: bold;
}

.coupon-footer-summary {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-top: 1px dashed #7f8c8d;
    padding-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: bold;
    color: #111;
    margin-bottom: 1rem;
}

.coupon-footer-summary .summary-row {
    display: flex;
    justify-content: space-between;
}

.coupon-barcode-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.25rem;
    border-top: 1px dashed #7f8c8d;
    padding-top: 0.75rem;
}

.coupon-barcode {
    width: 220px;
    height: 40px;
    background: repeating-linear-gradient(
        90deg,
        #111,
        #111 2px,
        transparent 2px,
        transparent 5px,
        #111 5px,
        #111 6px,
        transparent 6px,
        transparent 8px,
        #111 8px,
        #111 11px,
        transparent 11px,
        transparent 13px
    );
    opacity: 0.85;
}

.coupon-barcode-num {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: #444;
    margin-top: 3px;
}

.coupon-ad-branding {
    font-size: 0.6rem;
    color: #777;
    text-align: center;
    margin-top: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* System Guide Cards */
.guide-card {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.03) 0%, rgba(0, 176, 255, 0.03) 100%);
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-large {
    font-size: 1.8rem;
}

.mb-2 { margin-bottom: 2rem; }
.mt-05 { margin-top: 0.5rem; }

/* Kasa Stake Section */
.stake-card {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.stake-card h3 {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.stake-percent {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-green);
    display: block;
}

.stake-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.desc-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.mt-2 { margin-top: 2rem; }

/* Page visibility & Admin Mode */
.content-section {
    display: none;
}
.content-section.active {
    display: block;
}

body:not(.admin-active) .admin-only {
    display: none !important;
}

.logo {
    cursor: pointer;
}

/* Authentication Modal Overlay */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(4, 6, 12, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.auth-modal-overlay.active {
    display: flex;
}

.auth-modal-window {
    background-color: #0c0f1d;
    border: 2px solid rgba(0, 240, 255, 0.25);
    border-radius: 16px;
    width: 420px;
    max-width: 90%;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.auth-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-green);
    letter-spacing: 1px;
}

.auth-close-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.auth-close-btn:hover {
    color: var(--accent-red);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-card);
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 0.75rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.auth-tab:hover {
    color: var(--color-text);
}

.auth-tab.active {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.verify-instructions {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

/* VIP Lock Overlay Screen */
.vip-lock-container {
    position: relative;
}

.vip-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 19, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px dashed rgba(0, 240, 255, 0.2);
}

.vip-lock-overlay i {
    font-size: 3.5rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    animation: lockPulse 2s infinite;
}

@keyframes lockPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); text-shadow: 0 0 25px var(--accent-green); }
    100% { transform: scale(1); }
}

.vip-lock-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.vip-lock-overlay p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 320px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Switches for permissions */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.08);
    transition: .3s;
    border-radius: 24px;
    border: 1px solid var(--border-card);
}

.slider-switch:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--color-text-muted);
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider-switch {
    background-color: rgba(0, 240, 255, 0.2);
    border-color: var(--accent-green);
}

input:checked + .slider-switch:before {
    transform: translateX(22px);
    background-color: var(--accent-green);
}

/* ========================================= */
/* RESPONSIVE & MOBILE INTEGRATION           */
/* ========================================= */

.btn-mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.btn-mobile-menu:hover {
    color: var(--accent-green);
}

@media (max-width: 1024px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
    
    .results-layout {
        display: flex;
        flex-direction: column;
    }
    
    .top-results-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* General Close Button Style for Sidebar */
.btn-close-sidebar {
    display: none !important;
}
body.sidebar-open-lock {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .btn-close-sidebar {
        display: flex !important;
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        z-index: 101;
        transition: background 0.2s, transform 0.2s;
    }
    .btn-close-sidebar:active {
        background: rgba(255, 255, 255, 0.15);
        transform: scale(0.9);
    }

    .btn-mobile-menu {

        display: block;
    }
    
    .app-container {
        position: relative;
    }
    
    .sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        z-index: 2000;
        box-shadow: 5px 0 25px rgba(0,0,0,0.5);
        transition: left 0.3s ease;
    }
    
    .sidebar.mobile-open {
        left: 0;
    }
    
    .main-content {
        padding: 10px;
    }
    
    .top-header {
        display: grid !important;
        grid-template-areas: 
            "menu brand actions"
            "status status status" !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px 16px !important;
        flex-direction: unset !important;
    }
    
    .btn-mobile-menu {
        grid-area: menu !important;
        margin-right: 8px !important;
        display: block !important;
    }
    
    .header-brand {
        grid-area: brand !important;
        font-size: 1.15rem !important;
        margin-right: auto !important;
        padding-left: 0 !important;
    }
    
    .header-actions {
        grid-area: actions !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }
    
    .user-badge {
        display: none !important;
    }

    .btn-login {
        padding: 0.45rem 0.85rem !important;
        font-size: 0.7rem !important;
    }
    
    .btn-header {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.7rem !important;
    }
    
    .header-status-bar {
        grid-area: status !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        align-items: center !important;
        gap: 6px !important;
        justify-content: space-between !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding-top: 8px !important;
    }
    
    .status-pill {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.7rem !important;
    }
    
    .feed-analysis-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .top-results-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-results-grid {
        grid-template-columns: 1fr;
    }
    
    .feed-container {
        grid-template-columns: 1fr;
    }
    
    .match-card-body {
        gap: 1.5rem !important;
    }
    
    .match-card-team {
        gap: 0.75rem !important;
    }
    
    .match-card-team .team-name {
        font-size: 0.95rem !important;
    }
    
    .team-avatar {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.8rem !important;
    }
    
    .score-display {
        font-size: 1.15rem !important;
        min-width: 75px !important;
        padding: 0.35rem 0.85rem !important;
    }
    
    .badge-status-finished, .badge-status-live, .badge-status-postponed {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.5rem !important;
    }
    
    /* Overlay background when sidebar is open */
    .mobile-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1999;
        backdrop-filter: blur(0px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        backdrop-filter: blur(3px);
        pointer-events: auto;
    }
}

/* Dynamic Score & Status Styles */
.score-display {
    font-family: 'Courier New', Courier, monospace;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.35rem 0.95rem;
    border-radius: 6px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-block;
    text-align: center;
    min-width: 70px;
}

.finished-score {
    color: var(--color-text-muted);
    border-color: rgba(255, 255, 255, 0.02);
}

.live-score {
    color: var(--accent-green);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
    animation: liveScorePulse 2s infinite;
}

.postponed-score {
    color: var(--accent-red);
    font-size: 0.9rem;
}

/* Match Status Badges */
.badge-status-finished {
    background-color: rgba(255, 61, 0, 0.12) !important;
    color: #ff3d00 !important;
    border: 1px solid rgba(255, 61, 0, 0.25) !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 4px !important;
    display: inline-block;
}

.badge-status-live {
    background-color: rgba(0, 240, 255, 0.1) !important;
    color: #00f0ff !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 4px !important;
    display: inline-block;
}

.badge-status-postponed {
    background-color: rgba(255, 235, 59, 0.1) !important;
    color: #ffd600 !important;
    border: 1px solid rgba(255, 214, 0, 0.25) !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 4px !important;
    display: inline-block;
}

@keyframes liveScorePulse {
    0% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.1); }
    50% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.3); border-color: rgba(0, 240, 255, 0.5); }
    100% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.1); }
}

.match-finished {
    opacity: 0.7;
    background-color: rgba(10, 14, 28, 0.4);
    border-color: rgba(255, 255, 255, 0.03);
}

.match-finished:hover {
    opacity: 0.9;
    border-color: rgba(255, 255, 255, 0.1);
}

.match-live {
    border-color: rgba(0, 240, 255, 0.25);
    background-color: rgba(0, 240, 255, 0.02);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.03);
}

.match-live:hover {
    border-color: rgba(0, 240, 255, 0.4);
}

.pulse {
    animation: liveIndicatorPulse 1.5s infinite;
}

@keyframes liveIndicatorPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Hide manual sync button as requested */
#btn-sync-feed {
    display: none !important;
}

/* System update note styles */
.sync-time-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Starting Lineups Styling */
.lineups-card {
    border-color: rgba(0, 240, 255, 0.1) !important;
}

.lineups-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 1.5rem;
}

.lineup-col {
    width: 48%;
    display: flex;
    flex-direction: column;
}

.lineup-team-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-text);
}

.formation-badge {
    display: table;
    margin: 0.35rem auto;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(0, 240, 255, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
}

.player-list {
    list-style: none;
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.player-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.65rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    font-size: 0.85rem;
    transition: background-color 0.2s;
}

.player-list li:hover {
    background: rgba(0, 240, 255, 0.02);
    border-color: rgba(0, 240, 255, 0.08);
}

.player-number {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    color: var(--accent-blue);
    width: 20px;
    text-align: center;
}

.player-name {
    font-weight: 500;
    color: #cbd5e1;
}

.player-position {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    padding: 0.1rem 0.35rem;
    margin-left: auto;
    text-transform: uppercase;
}

.lineup-divider-vertical {
    width: 1px;
    background: var(--border-card);
    align-self: stretch;
}

/* Responsiveness for lineups */
@media (max-width: 768px) {
    .lineups-flex-container {
        flex-direction: column;
        gap: 2rem;
    }
    .lineup-col {
        width: 100%;
    }
    .lineup-divider-vertical {
        height: 1px;
        width: 100%;
    }
}

/* Match Events Timeline */
.events-timeline {
    position: relative;
    padding: 1rem 0;
    list-style: none;
}

.events-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 31px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: 15px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0d1220;
    border: 2px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-badge {
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.timeline-badge i {
    font-size: 0.95rem;
}

.timeline-badge i.goal-icon {
    font-size: 1rem;
    filter: drop-shadow(0 0 3px var(--accent-green));
}

.timeline-badge i.subst-icon {
    font-size: 0.85rem;
}

.timeline-panel {
    margin-left: 65px;
    flex: 1;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-panel {
    background: rgba(0, 240, 255, 0.01);
    border-color: rgba(0, 240, 255, 0.08);
}

.timeline-item.home-event .timeline-panel {
    border-left: 3px solid var(--accent-green);
}

.timeline-item.away-event .timeline-panel {
    border-left: 3px solid var(--accent-blue);
}

.timeline-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.timeline-time {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--accent-green);
    background: rgba(0, 240, 255, 0.08);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.timeline-item.away-event .timeline-time {
    color: var(--accent-blue);
    background: rgba(0, 176, 255, 0.08);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.timeline-body p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* --- PREMIUM LOGO & HEADERS --- */
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color-text);
    margin-right: auto;
    padding-left: 0.5rem;
}

.header-brand i {
    font-size: 1.8rem;
    color: var(--accent-green);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.45));
}

/* --- TOAST NOTIFICATIONS SYSTEM --- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    width: calc(100% - 40px);
    pointer-events: none;
}

.toast-card {
    background: rgba(10, 14, 28, 0.85);
    border: 1px solid var(--border-card);
    border-left: 4px solid var(--accent-blue);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s, border-color 0.3s;
}

.toast-card.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.toast-card.toast-success {
    border-left-color: var(--accent-green);
}

.toast-card.toast-error {
    border-left-color: var(--accent-red);
}

.toast-card.toast-info {
    border-left-color: var(--accent-blue);
}

.toast-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-success .toast-icon {
    color: var(--accent-green);
}

.toast-error .toast-icon {
    color: var(--accent-red);
}

.toast-info .toast-icon {
    color: var(--accent-blue);
}

.toast-content {
    flex-grow: 1;
}

.toast-close {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.6;
    transition: opacity 0.2s;
    cursor: pointer;
    align-self: center;
}

.toast-close:hover {
    opacity: 1;
    color: var(--color-text);
}

/* --- LEAGUE SPECIAL BANNER --- */
.league-special-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(10, 14, 28, 0.8) 100%);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
    animation: fadeIn 0.4s ease-out;
}

.league-special-banner .trophy-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.league-special-banner .banner-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.league-special-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.league-special-banner p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.btn-clear-filter {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    color: var(--color-text);
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-clear-filter:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-green);
    color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* --- PREMIUM MATCH CARD RE-DESIGN --- */
.feed-match-card {
    background: rgba(10, 14, 28, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-card);
    border-radius: 16px !important;
    padding: 1.5rem !important;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1) !important;
}

.feed-match-card:hover {
    border-color: rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08) !important;
    transform: translateY(-3px);
}

.feed-match-card.match-live {
    border-left: 3px solid var(--accent-green) !important;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.02) 0%, rgba(10, 14, 28, 0.7) 100%) !important;
}

.feed-match-card.match-finished {
    opacity: 0.85;
}

.feed-match-card.league-filtered-card {
    border-color: rgba(0, 240, 255, 0.2) !important;
    background: linear-gradient(135deg, rgba(10, 14, 28, 0.7) 0%, rgba(0, 240, 255, 0.02) 100%) !important;
}

.score-display {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    padding: 0.45rem 1.25rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-text);
    min-width: 85px;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.score-display.live-score {
    color: var(--accent-green);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.team-avatar {
    width: 44px !important;
    height: 44px !important;
    font-size: 0.85rem !important;
    color: var(--accent-green) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    border: 1px solid var(--border-card) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.4);
}

.btn-feed-analyze {
    background: rgba(0, 240, 255, 0.04) !important;
    border: 1px solid rgba(0, 240, 255, 0.2) !important;
    color: var(--accent-green) !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 8px !important;
    cursor: pointer;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease !important;
}

.btn-feed-analyze:hover {
    background: var(--accent-green) !important;
    color: #04060c !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.35) !important;
    border-color: var(--accent-green) !important;
}

.text-yellow {
    color: var(--accent-yellow) !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Premium Support Tickets Panel */
.support-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 991px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
}

.support-form-card, .support-list-card {
    background: rgba(15, 18, 36, 0.45);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 1.5rem;
}

.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom Scrollbar for Ticket List */
.ticket-list::-webkit-scrollbar {
    width: 6px;
}
.ticket-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}
.ticket-list::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.15);
    border-radius: 3px;
}
.ticket-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.3);
}

.ticket-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.ticket-card:hover {
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.ticket-subject {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.ticket-date {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.ticket-message {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    white-space: pre-wrap;
}

.ticket-reply-box {
    background: rgba(0, 240, 255, 0.03);
    border-left: 2px solid #00f0ff;
    border-radius: 0 6px 6px 0;
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: #00f0ff;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
}

.reply-content {
    color: #fff;
    line-height: 1.4;
}

/* Status Badges */
.status-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-open {
    background: rgba(0, 176, 255, 0.1);
    color: #00b0ff;
    border: 1px solid rgba(0, 176, 255, 0.2);
}

.status-badge.status-replied {
    background: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

/* Admin Tickets Management */
.admin-tickets-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.admin-ticket-card {
    background: rgba(15, 18, 36, 0.45);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-ticket-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
}

.admin-ticket-user {
    font-size: 0.8rem;
    color: #00f0ff;
    font-weight: 700;
}

.admin-reply-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.admin-reply-input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    color: #fff;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
    outline: none;
    transition: all 0.3s ease;
}

.admin-reply-input:focus {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

/* Admin Login Modal Styling extensions */
#admin-login-modal .auth-modal-window {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

/* --- Advanced Admin User Management styling --- */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(15, 18, 36, 0.7);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-card-hover);
}

.admin-stat-card .stat-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.admin-stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-stat-card .stat-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: 0.2rem;
}

/* Search and Filter Bar */
.admin-actions-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.search-box-container {
    position: relative;
    flex-grow: 1;
    max-width: 450px;
}

.search-box-container .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.admin-search-input {
    width: 100%;
    background: rgba(15, 18, 36, 0.6);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s ease;
}

.admin-search-input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.custom-select-small {
    background: rgba(15, 18, 36, 0.6);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 0.65rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-small:focus {
    border-color: var(--accent-green);
}

/* VIP Scheduler Modal styling */
.admin-vip-modal-window {
    border-color: rgba(255, 214, 0, 0.25) !important;
    box-shadow: 0 0 30px rgba(255, 214, 0, 0.1) !important;
    max-width: 480px !important;
}

.user-info-banner {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.user-info-banner .banner-label {
    color: var(--color-text-muted);
}

.user-info-banner .banner-email {
    color: #fff;
}

.vip-expiry-section .section-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 0.35rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.duration-presets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.btn-preset-duration {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: var(--color-text) !important;
    font-size: 0.8rem !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
}

.btn-preset-duration:hover {
    background: rgba(255, 214, 0, 0.08) !important;
    border-color: rgba(255, 214, 0, 0.4) !important;
    color: var(--accent-yellow) !important;
}

.custom-date-picker {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s ease;
}

.custom-date-picker:focus {
    border-color: var(--accent-yellow);
}

/* Chatbox Remaining Limit bar */
.chatbot-limit-info {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.45rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    letter-spacing: 0.3px;
    display: none; /* Handled dynamically */
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.chatbot-limit-info strong {
    color: var(--accent-green);
}

.chatbot-limit-info.vip-limit strong {
    color: var(--accent-yellow);
}

/* VIP badge layout changes */
.badge-admin {
    background-color: var(--accent-green) !important;
    color: #04060c !important;
}

.btn-edit-user {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent-green);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-edit-user:hover {
    background: var(--accent-green);
    color: #04060c;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

@media (max-width: 480px) {
    .match-card-body {
        gap: 0.5rem !important;
        margin: 0.5rem 0 !important;
    }
    
    .match-card-team {
        gap: 0.35rem !important;
    }
    
    .match-card-team .team-name {
        font-size: 0.8rem !important;
    }
    
    .team-avatar {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.7rem !important;
    }
    
    .score-display {
        font-size: 1rem !important;
        min-width: 60px !important;
        padding: 0.25rem 0.5rem !important;
        letter-spacing: 1px !important;
    }
    
    .feed-match-card {
        padding: 1rem !important;
        border-radius: 12px !important;
    }
    
    .badge-status-finished, .badge-status-live, .badge-status-postponed {
        font-size: 0.65rem !important;
        padding: 0.15rem 0.4rem !important;
    }
}

/* ==========================================================================
   VIP TICKET PROMO & PREMIUM DISCORD CARD STYLES
   ========================================================================== */

/* Ticket Promo Banner on Live Feed */
.ticket-promo-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(26, 21, 44, 0.7) 0%, rgba(15, 18, 36, 0.7) 100%);
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 0 15px rgba(0, 242, 254, 0.1);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.ticket-promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(30deg);
    transition: 0.5s;
    pointer-events: none;
}
.ticket-promo-banner:hover::before {
    left: 120%;
}
.ticket-promo-banner:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 12px 40px 0 rgba(0, 242, 254, 0.2), inset 0 0 20px rgba(0, 242, 254, 0.2);
}
.promo-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.promo-image-container {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5px;
    overflow: hidden;
    flex-shrink: 0;
}
.promo-ticket-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
    transition: transform 0.5s ease;
}
.ticket-promo-banner:hover .promo-ticket-img {
    transform: scale(1.1) rotate(5deg);
}
.promo-text-details h3 {
    margin: 5px 0;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}
.promo-text-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.promo-badge-hot {
    background: linear-gradient(90deg, #ff4e50, #f9d423);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-shadow: none;
    box-shadow: 0 0 10px rgba(255, 78, 80, 0.5);
    display: inline-block;
}
.promo-arrow-icon {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}
.ticket-promo-banner:hover .promo-arrow-icon {
    transform: translateX(5px) scale(1.1);
    color: #fff;
    filter: drop-shadow(0 0 8px var(--text-turquoise));
}

/* Support Left Column stacking */
.support-left-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Discord Profile Card */
.discord-profile-card {
    background: #1e1f22 !important;
    border: 1px solid rgba(88, 101, 242, 0.2) !important;
    border-radius: 14px;
    padding: 0 !important;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease;
}
.discord-profile-card:hover {
    border-color: rgba(88, 101, 242, 0.6) !important;
}
.discord-header-banner {
    height: 60px;
    background: linear-gradient(90deg, #5865F2, #404eed);
}
.discord-avatar-container {
    margin-top: -30px;
    margin-left: 20px;
    position: relative;
    display: inline-block;
    width: 60px;
    height: 60px;
}
.discord-avatar {
    width: 60px;
    height: 60px;
    background: #2b2d31;
    border: 4px solid #1e1f22;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: #5865F2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.discord-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #23a55a;
    border: 3px solid #1e1f22;
    border-radius: 50%;
}
.discord-profile-details {
    padding: 10px 20px 20px 20px;
}
.discord-username {
    font-size: 1.15rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
}
.discord-tag {
    font-size: 0.8rem;
    color: #b5bac1;
    margin: 2px 0 0 0;
}
.discord-status-text {
    font-size: 0.85rem;
    color: #dbdee1;
    margin: 12px 0 15px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 10px;
}
.btn-discord-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #5865F2;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}
.btn-discord-action:hover {
    background: #4752c4;
    color: #fff;
}

/* Ticket lock specific style for guests or rate limits */
.support-form-card {
    position: relative;
}
.form-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 18, 36, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 10;
    border-radius: 14px;
    border: 1px dashed rgba(0, 242, 254, 0.3);
}
.form-lock-overlay i {
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.form-lock-overlay h4 {
    color: #fff;
    margin: 5px 0;
    font-size: 1.1rem;
}
.form-lock-overlay p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    max-width: 250px;
}

/* Responsive banner */
@media (max-width: 768px) {
    .ticket-promo-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }
    .promo-action-arrow {
        align-self: flex-end;
    }
}

/* ==========================================================================
   LUCKY WHEEL, BLUR LOCKS & MATCH BADGES
   ========================================================================== */

/* Slow rotating animation for icons */
.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Lucky Wheel Overlay */
.wheel-wrapper {
    position: relative;
}
.wheel-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 18, 36, 0.96);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 14px;
    padding: 20px;
    border: 1px dashed rgba(249, 212, 35, 0.3);
}

/* Premium Blur effect */
.premium-blur {
    filter: blur(6px) !important;
    user-select: none !important;
    pointer-events: none !important;
}

/* Premium lock overlay for small cards */
.premium-lock-overlay-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 18, 36, 0.85);
    backdrop-filter: blur(2.5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.premium-lock-text {
    font-size: 0.8rem;
    color: #f39c12;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

/* Derby Lock Overlay (Large cover for derby match AI analysis) */
.derby-lock-overlay {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(20, 16, 33, 0.98) 0%, rgba(10, 12, 22, 0.98) 100%);
    border: 1px dashed rgba(255, 78, 80, 0.3);
    border-radius: 14px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 280px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.derby-lock-title {
    color: #ff4e50;
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 15px rgba(255, 78, 80, 0.4);
}
.derby-lock-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
    margin-top: 8px;
    line-height: 1.5;
}

/* Derby & Free Pick Badges */
.badge-derby {
    background: linear-gradient(90deg, #ff4e50, #f9d423);
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 78, 80, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}
.badge-free-pick {
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

/* Typing cursor blink animation */
@keyframes blink {
    50% { background-color: transparent; }
}

/* Nerdytips Match Card Layout on Desktop */
@media (min-width: 992px) {
    .feed-match-card {
        display: grid !important;
        grid-template-columns: 140px 1.2fr 150px 240px 80px 40px !important;
        align-items: center !important;
        gap: 1rem !important;
        padding: 0.75rem 1.25rem !important;
        cursor: pointer;
    }
    
    .match-card-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 4px !important;
        width: auto !important;
    }
    
    .match-card-body {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        grid-column: 2;
    }
    
    .match-card-team {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 140px !important;
    }
    
    .match-card-team.home-align {
        justify-content: flex-end !important;
        text-align: right !important;
        flex-direction: row !important;
    }
    
    .match-card-team.away-align {
        justify-content: flex-start !important;
        text-align: left !important;
        flex-direction: row !important;
    }
    
    .match-card-footer {
        display: none !important; /* Hide old analysis button, entire row is clickable */
    }
}

/* Odds Container & Buttons */
.match-odds-container {
    display: flex;
    gap: 6px;
    justify-content: center;
}
.match-odd-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 0;
    width: 44px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a4b0be;
    transition: all 0.2s ease;
    user-select: none;
}
.match-odd-box:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    color: #fff;
}

/* Prediction Pills Container & Pills */
.match-predictions-container {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.prediction-pill {
    background: rgba(106, 17, 203, 0.12);
    border: 1px solid rgba(106, 17, 203, 0.25);
    border-radius: 8px;
    width: 50px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    transition: all 0.2s ease;
    user-select: none;
}
.prediction-pill.pill-locked {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    color: #747d8c;
}
.prediction-pill.pill-locked .pill-title {
    font-size: 0.75rem;
    color: #e0a82e; /* Gold color for locked icon */
}
.prediction-pill.pill-locked .pill-odds {
    font-size: 0.65rem;
    color: #57606f;
}
.prediction-pill.pill-active {
    color: #fff;
    box-shadow: 0 2px 8px rgba(106, 17, 203, 0.1);
}
.prediction-pill.pill-active .pill-title {
    font-size: 0.8rem;
    color: #00f0ff;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}
.prediction-pill.pill-active .pill-odds {
    font-size: 0.65rem;
    color: #a4b0be;
}

/* Trust Rating Display */
.match-trust-rating {
    background: rgba(10, 255, 100, 0.05);
    border: 1px solid rgba(10, 255, 100, 0.2);
    border-radius: 8px;
    padding: 6px 10px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-green);
    text-shadow: 0 0 5px rgba(10, 255, 100, 0.3);
    user-select: none;
}

/* Expand Collapse Arrow */
.match-expand-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    color: #a4b0be;
    transition: transform 0.3s ease;
}
.feed-match-card.expanded .match-expand-arrow {
    transform: rotate(180deg);
    color: var(--accent-turquoise);
}

/* Header Row for Feed */
.feed-header-row {
    background: rgba(15, 18, 36, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 0.75rem;
}
@media (max-width: 992px) {
    .feed-header-row {
        display: none !important; /* Hide column headers on mobile/tablet */
    }
    
    .feed-match-card {
        display: grid !important;
        grid-template-areas: 
            "header header"
            "body body"
            "odds trust"
            "predictions predictions"
            "arrow arrow" !important;
        grid-template-columns: 1fr auto !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0.75rem 0.85rem !important;
        border-radius: 12px !important;
        position: relative;
    }

    .match-card-header {
        grid-area: header !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
        padding-bottom: 6px !important;
    }

    .match-card-body {
        grid-area: body !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        margin: 0.35rem 0 !important;
        width: 100% !important;
    }

    .match-odds-container {
        grid-area: odds !important;
        display: flex !important;
        gap: 4px !important;
        justify-content: flex-start !important;
        margin-top: 0 !important;
    }

    .match-odd-box {
        padding: 4px 0 !important;
        width: 38px !important;
        font-size: 0.7rem !important;
        border-radius: 4px !important;
    }

    .match-predictions-container {
        grid-area: predictions !important;
        display: flex !important;
        gap: 6px !important;
        justify-content: center !important;
        margin-top: 0.25rem !important;
        width: 100% !important;
    }

    .prediction-pill {
        width: 44px !important;
        height: 34px !important;
        border-radius: 6px !important;
        font-size: 0.65rem !important;
    }

    .prediction-pill .pill-title {
        font-size: 0.72rem !important;
    }

    .prediction-pill .pill-odds {
        font-size: 0.55rem !important;
    }

    .match-trust-rating {
        grid-area: trust !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 0 !important;
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
        border-radius: 6px !important;
    }

    .match-expand-arrow {
        grid-area: arrow !important;
        display: flex !important;
        justify-content: center !important;
        border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
        padding-top: 6px !important;
        margin-top: 0.25rem !important;
        width: 100% !important;
    }
}





@keyframes fade-in-up { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }
