:root {
    /* Color Palette */
    --bg-dark: #0f1115;
    --bg-card: rgba(22, 27, 34, 0.6);
    --bg-nav: rgba(15, 17, 21, 0.75);
    --accent-primary: #10b981;
    --accent-primary-hover: #059669;
    --accent-glow: rgba(16, 185, 129, 0.35);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --live-color: #ef4444;
    
    /* Layout & Shadow */
    --nav-height: 72px;
    --blur-xl: blur(24px);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 15px var(--accent-glow);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Dynamic background gradients */
.app-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.05), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.04), transparent 25%);
    pointer-events: none;
}

/* League Logo Styling */
.league-logo-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid var(--border-color);
}

.league-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--bg-nav);
    backdrop-filter: var(--blur-xl);
    -webkit-backdrop-filter: var(--blur-xl);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%);
    box-shadow: var(--shadow-glow);
}

.logo-icon {
    width: 20px;
    height: 20px;
    color: white;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tabs */
.tabs-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    align-items: flex-end; /* Align tabs to bottom for indicator */
}

.tabs {
    display: flex;
    gap: 1.5rem;
    height: 100%;
    position: relative;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    padding: 0 0.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

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

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

.tab-btn svg {
    transition: transform 0.3s ease;
}

.tab-btn:hover svg {
    transform: translateY(-2px);
}

.live-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--live-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--live-color);
    animation: pulse-live 2s infinite ease-in-out;
}

@keyframes pulse-live {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.premium-pulse {
    animation: premium-glow 3s infinite alternate;
}

@keyframes premium-glow {
    from { filter: drop-shadow(0 0 2px var(--accent-primary)); }
    to { filter: drop-shadow(0 0 8px var(--accent-primary)); }
}

/* Animated Tab Indicator */
.tab-indicator {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-primary);
    border-radius: 3px 3px 0 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 -2px 10px rgba(16, 185, 129, 0.5);
}

/* User Actions */
.user-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s;
}

.icon-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.2s;
}

.user-avatar:hover {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.3);
}

/* Main Content */
.main-content {
    margin-top: var(--nav-height);
    padding: 3rem 2rem;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.view-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.4s ease-out;
}

.d-none {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Glass Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: var(--blur-xl);
    -webkit-backdrop-filter: var(--blur-xl);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.main-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

/* Empty State */
.empty-state {
    text-align: center;
    max-width: 480px;
    padding: 2rem;
}

.icon-pulse {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
}

.live-pulse {
    position: relative;
    color: var(--live-color);
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.1);
}

.big-live-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--live-color);
    opacity: 0;
    animation: ping-large 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping-large {
    75%, 100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.empty-state h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.mt-4 { margin-top: 1.5rem; }

/* Buttons */
.primary-btn {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Matches Grid */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

/* Match Card */
.match-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur-xl);
    -webkit-backdrop-filter: var(--blur-xl);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background-color 0.3s;
}

.match-card.is-live::before { background: var(--live-color); }
.match-card.is-upcoming::before { background: var(--accent-primary); }

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.league-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.league-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.match-time { font-weight: 600; }
.match-time.live-time {
    color: var(--live-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.live-dot-small {
    width: 6px;
    height: 6px;
    background-color: var(--live-color);
    border-radius: 50%;
    animation: flash 2s infinite;
}

.match-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 35%;
}

.team-logo {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.team-name {
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.2;
}

.score-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.score-numbers {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.score-divider {
    color: var(--text-secondary);
    font-weight: 400;
}

.vs-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

.prediction-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.prediction-icon {
    color: var(--accent-primary);
}

.odds-row {
    display: flex;
    gap: 0.5rem;
}

.odd-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: default;
    transition: all 0.2s;
}

.odd-btn.ai-pick {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-primary);
}

.odd-btn.ai-pick .outcome {
    color: var(--accent-primary);
}

.odd-btn.ai-pick .value {
    color: var(--accent-primary);
}

.odd-btn .outcome {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.odd-btn .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay:not(.d-none) {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay:not(.d-none) .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal-btn:hover {
    color: var(--text-primary);
}

.odds-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.odd-input {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.odd-input label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

.odd-input input {
    width: 100%;
    min-width: 0;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
    transition: border-color 0.2s;
}

.odd-input input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Analysis Results & Table */
.analysis-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
}

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

.historical-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.historical-table th {
    text-align: left;
    padding: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.historical-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.historical-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.historical-table .score {
    font-weight: 700;
    color: var(--text-primary);
}

.historical-table .match-result-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.result-home { background: rgba(16, 185, 129, 0.1); color: var(--accent-primary); }
.result-draw { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.result-away { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: slideUpStat 0.5s ease-out forwards;
}

@keyframes slideUpStat {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-box:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(16, 185, 129, 0.3);
}

.stat-box .stat-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 0.35rem;
    line-height: 1.1;
}

.stat-box .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .tabs-container {
        position: relative;
        left: 0;
        transform: none;
        width: 100%;
        overflow-x: auto;
        padding-top: 0.5rem;
        padding-bottom: 0px;
        align-items: center;
        justify-content: flex-start;
        height: auto;
    }
    
    .navbar {
        height: auto;
        padding: 1rem 0 0;
    }

    .navbar-container {
        flex-wrap: wrap;
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .logo {
        flex: 1;
    }

    .tabs {
        width: 100%;
        padding: 0 1rem;
        justify-content: flex-start;
    }

    .main-content {
        margin-top: 110px; /* Adjust for taller nav */
        padding: 2rem 1rem;
    }
}
/* Landing Page Styles */
.landing-page {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.landing-container {
    max-width: 1000px;
    width: 90%;
    padding: 4rem 0;
    text-align: center;
}

.landing-header {
    margin-bottom: 4rem;
}

.logo-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.logo-icon-wrapper-large {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.logo-icon-large {
    width: 44px;
    height: 44px;
    color: white;
}

.landing-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.landing-title span {
    color: var(--accent-primary);
}

.landing-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.league-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.league-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: var(--blur-xl);
    -webkit-backdrop-filter: var(--blur-xl);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    text-decoration: none;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

.league-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.league-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.1);
}

.league-card:hover::before {
    opacity: 1;
}

.league-logo-container {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.league-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.2));
    transition: transform 0.4s ease;
}

.league-card:hover .league-logo {
    transform: scale(1.1);
}

.league-flag {
    display: none; /* Replaced by logos */
}


.league-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.league-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.league-status {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
}

.league-arrow {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    color: var(--accent-primary);
    opacity: 0.5;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.league-card:hover .league-arrow {
    opacity: 1;
    transform: translateX(0);
}

.landing-footer {
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .landing-title {
        font-size: 2.5rem;
    }
    .league-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Live Ticker Slider --- */
.live-ticker-section {
    margin-top: 4rem;
    width: 100%;
    position: relative;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.ticker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.ticker-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.ticker-controls {
    display: flex;
    gap: 0.75rem;
}

.ticker-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.ticker-arrow:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.ticker-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.ticker-viewport {
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0;
}

.ticker-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticker-card {
    flex: 0 0 calc(33.333% - 1rem);
    background: var(--bg-card);
    backdrop-filter: var(--blur-xl);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.ticker-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.ticker-card-logo-sm {
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.2));
}

.ticker-league {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticker-live-tag {
    color: var(--live-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.ticker-teams {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.ticker-team {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-score {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.ticker-score-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-primary);
}

@media (max-width: 1024px) {
    .ticker-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 640px) {
    .ticker-card {
        flex: 0 0 100%;
    }
}

/* Skeleton Loading */
.skeleton-card {
    height: 300px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

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

/* Smart Live Signals */
.live-signal-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: signal-in 0.5s cubic-bezier(0.16, 1, 0.3, 1), signal-pulse 2s infinite ease-in-out;
    cursor: default;
}

.live-signal-badge svg {
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}

@keyframes signal-in {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes signal-pulse {
    0% { box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(245, 158, 11, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); }
}

.pressure-meter-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.pressure-bar {
    height: 100%;
    background: #f59e0b;
    border-radius: 2px;
    transition: width 1s ease-out;
}

/* Landing Page Live & Tracker Layout */
.live-layout-container {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.live-grid-wrapper {
    flex: 2;
}

.tracker-sidebar {
    flex: 1;
    min-width: 380px;
    background: rgba(22, 27, 34, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    max-height: 800px;
    display: flex;
    flex-direction: column;
}

.subsection-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tracker-table-container {
    overflow-y: auto;
    flex: 1;
    margin-right: -0.5rem;
    padding-right: 0.5rem;
}

.tracker-table-container::-webkit-scrollbar {
    width: 6px;
}

.tracker-table-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.tracker-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
}

.tracker-table th {
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    padding: 0 0.5rem;
}

.tracker-table td {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
}

.tracker-table td:first-child { border-radius: 10px 0 0 10px; }
.tracker-table td:last-child { border-radius: 0 10px 10px 0; }

.status-win {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 900;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}

.status-loss {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 900;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}

.status-active {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 900;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}

.prob-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 1100px) {
    .live-layout-container {
        flex-direction: column;
    }
    .tracker-sidebar {
        min-width: 100%;
        max-height: 500px;
    }
}


/* Landing Page Signal Area */
.signal-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    margin-top: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.signal-waiting {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.signal-alert {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.signal-icon {
    font-size: 1.1rem;
}

.pulse-glow {
    animation: pulse-glow-anim 2s infinite;
}

@keyframes pulse-glow-anim {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 768px) {
    .live-grid {
        grid-template-columns: 1fr;
    }
}


/* ── CANLI BULTEN BOLUMU (index.html) */
.live-matches-grid-section {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    text-align: left;
    padding: 0 1rem 2rem 1rem;
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.subsection-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.tracker-table-container {
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
}

.tracker-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.tracker-table th {
    text-align: left;
    padding: 6px 8px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    background: rgba(22,27,34,0.95);
}

.tracker-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: top;
}

.tracker-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.prob-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 800;
}

.status-win {
    display: inline-block;
    color: #10b981;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 2px;
}

.status-loss {
    display: inline-block;
    color: #ef4444;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 2px;
}

.status-active {
    display: inline-block;
    color: #f59e0b;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 2px;
}
