/*
Theme Name: PronosticiCalcio24 Core
Theme URI: https://pronosticicalcio24.com/
Author: PronosticiCalcio24 Dev Team
Author URI: https://pronosticicalcio24.com/
Description: Tema personalizzato ultra-leggero, moderno e ottimizzato per mobile e SEO per PronosticiCalcio24. Zero bloat, massima velocità di caricamento e perfetta indicizzazione Google.
Version: 1.3.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pronosticicalcio24
Tags: football, sports, betting, predictions, fast, mobile-friendly, seo-optimized, dark-mode
*/

/* ==========================================================================
   1. Design System & CSS Variables
   ========================================================================== */
:root {
    --bg-body: #070b14;
    --bg-surface: #0e1626;
    --bg-card: #141f36;
    --bg-card-hover: #192744;
    --bg-input: #1b263b;
    
    --primary: #0284c7;
    --primary-light: #38bdf8;
    --primary-hover: #0369a1;
    --primary-glow: rgba(56, 189, 248, 0.2);

    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.2);
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(56, 189, 248, 0.35);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.15);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container-max: 1200px;
}

/* ==========================================================================
   2. Reset & Base Typography
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-body);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.25rem;
}

.site-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
/* Responsible Gambling Top Bar */
.top-notice-bar {
    background: #05080e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 0;
    font-size: 11.5px;
    color: var(--text-muted);
}
.top-notice-bar .site-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.adm-badge {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 10.5px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Main Sticky Header */
.site-header {
    background: rgba(7, 11, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    background: rgba(7, 11, 20, 0.98);
    border-bottom-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-branding {
    display: flex;
    align-items: center;
}
.custom-logo-link {
    display: inline-block;
    line-height: 0;
}
.site-logo-img {
    height: 48px;
    width: auto;
}

/* Desktop Navigation Menu */
.desktop-nav {
    display: none;
}
@media (min-width: 992px) {
    .desktop-nav {
        display: block;
    }
}

.main-navigation-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.main-navigation-menu > li {
    position: relative;
}
.main-navigation-menu > li > a {
    color: var(--text-secondary);
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}
.main-navigation-menu > li > a:hover,
.main-navigation-menu > li.current-menu-item > a,
.main-navigation-menu > li.current_page_item > a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}
.main-navigation-menu > li.current-menu-item > a {
    color: var(--primary-light);
    border-bottom: 2px solid var(--primary-light);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* Submenu Dropdown */
.main-navigation-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    list-style: none;
    z-index: 1010;
}
.main-navigation-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-navigation-menu .sub-menu li a {
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: block;
}
.main-navigation-menu .sub-menu li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Header Right Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-header-cta {
    display: none;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
    transition: all 0.2s ease;
}
.btn-header-cta:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
}
@media (min-width: 768px) {
    .btn-header-cta {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 9px;
    cursor: pointer;
    z-index: 1020;
}
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}
.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Off-Canvas Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82%;
    max-width: 340px;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    padding: 24px 20px;
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.active {
    transform: translateX(0);
}
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.drawer-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.mobile-menu {
    list-style: none;
}
.mobile-menu li {
    margin-bottom: 6px;
}
.mobile-menu li a {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
}
.mobile-menu li a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary-light);
}

/* ==========================================================================
   4. Hero Section & Badges
   ========================================================================== */
.hero-section {
    padding: 48px 0 36px 0;
    background: radial-gradient(circle at 50% 10%, rgba(2, 132, 199, 0.12) 0%, rgba(7, 11, 20, 0) 70%);
    border-bottom: 1px solid var(--border-color);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
}
.hero-title .text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 24px;
}

/* League Pills Bar */
.league-pills-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0 16px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.league-pills-bar::-webkit-scrollbar {
    display: none;
}
.league-pill {
    white-space: nowrap;
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.league-pill:hover,
.league-pill.active {
    background: rgba(2, 132, 199, 0.2);
    border-color: var(--primary-light);
    color: #ffffff;
}

/* ==========================================================================
   5. Prediction Grid & Cards (Crawlable for Googlebot)
   ========================================================================== */
.section-wrapper {
    padding: 42px 0;
}
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}
.section-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

.predictions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 640px) {
    .predictions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .predictions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.prediction-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.prediction-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: var(--bg-card-hover);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.badge-league {
    background: rgba(2, 132, 199, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.match-date {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-match-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 14px;
}
.card-match-title a {
    color: inherit;
}
.card-match-title a:hover {
    color: var(--primary-light);
}

.card-stats-strip {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}
.stat-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-emerald);
}

.card-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}
.prediction-card:hover .card-action-btn {
    background: var(--primary);
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* ==========================================================================
   6. Single Article & Prediction Layout
   ========================================================================== */
.single-prediction-article {
    padding: 36px 0 60px 0;
}
.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}
.article-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .article-title {
        font-size: 2.5rem;
    }
}
.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--text-muted);
}
.article-meta-bar a {
    color: var(--primary-light);
}

/* Match Key Takeaways Box (Above the Fold) */
.match-summary-card {
    background: linear-gradient(145deg, #131c31 0%, #0c1220 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-md);
}
.summary-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.summary-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 14px;
}
.summary-box-label {
    font-size: 11.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}
.summary-box-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}
.summary-box-value.highlight-green {
    color: var(--accent-emerald);
}
.summary-box-value.highlight-blue {
    color: var(--primary-light);
}

/* Article Body Content & Typography */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e2e8f0;
}
.entry-content h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}
.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.entry-content ul, .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 24px;
}
.entry-content li {
    margin-bottom: 6px;
}
.entry-content blockquote {
    background: rgba(2, 132, 199, 0.08);
    border-left: 4px solid var(--primary-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 16px 20px;
    margin: 24px 0;
    font-style: italic;
    color: #f8fafc;
}

/* Responsive Table Auto-Wrapper */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
}
.entry-content table,
.page-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    text-align: left;
    margin: 0;
}
.entry-content th,
.page-content th {
    background: #111a2e;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}
.entry-content td,
.page-content td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}
.entry-content tr:hover td,
.page-content tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Author Bio Box (E-E-A-T) */
.author-eeat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin: 40px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.author-avatar-img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    border: 2px solid var(--primary-light);
    flex-shrink: 0;
}
.author-info h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}
.author-role-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}
.author-bio-text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   7. Calculators Hub & Bookmakers Comparison Tables
   ========================================================================== */
.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.calc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.25s ease;
}
.calc-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.calc-card-icon {
    font-size: 28px;
    margin-bottom: 12px;
}
.calc-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}
.calc-card-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ==========================================================================
   8. Pagination
   ========================================================================== */
.pagination,
.posts-navigation,
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    list-style: none;
    flex-wrap: wrap;
}
.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}
.pagination a:hover,
.nav-links a:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary-light);
}
.pagination .current,
.nav-links .current {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary-light);
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
.site-footer {
    background: #04070e;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 24px 0;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 48px;
}
@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--primary-light);
}

.footer-disclaimer-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 30px;
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-dim);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   10. Casino Review Pro (CRP) - Universal Dark Mode & Mobile Responsive
   ========================================================================== */
.casino-list-wrapper,
.plugin-shortcode-container {
    margin: 24px 0;
    width: 100%;
}

/* Master card styling for all CRP layouts: list, blocks, grid */
.crp-casino-grid .gcr-item,
.crp-casino-grid .gcr-list-item,
.gcr-list-item {
    background: #0e1626 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
    position: relative !important;
    transition: all 0.25s ease !important;
}

.crp-casino-grid .gcr-item:hover,
.crp-casino-grid .gcr-list-item:hover,
.gcr-list-item:hover {
    border-color: rgba(56, 189, 248, 0.35) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Fix Number Box: Circular vibrant badge with 100% visible white number */
.gcr-number-box {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4) !important;
    margin: 0 !important;
}

/* Ribbon Badge */
.crp-ribbon {
    position: absolute !important;
    top: -10px !important;
    left: 20px !important;
    right: auto !important;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 4px 14px !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4) !important;
    z-index: 10 !important;
}
.crp-ribbon::after {
    display: none !important;
}

/* Logo container */
.gcr-list-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.gcr-list-logo img {
    max-width: 150px !important;
    height: auto !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 8px !important;
    object-fit: contain !important;
}

/* Details Typography */
.gcr-list-details h3 {
    margin: 0 0 8px 0 !important;
    font-size: 1.3rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}
.gcr-rating {
    color: #f59e0b !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
}
.gcr-bonus-info,
.gcr-bonus-counter {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--accent-emerald) !important;
    margin-bottom: 8px !important;
    display: block !important;
}
.gcr-payout-speed {
    color: #94a3b8 !important;
    font-size: 13px !important;
    margin-top: 6px !important;
}
.crp-geo-badge {
    color: #94a3b8 !important;
    font-size: 12.5px !important;
    margin-top: 8px !important;
}
.crp-status.unavailable {
    color: #f87171 !important;
    font-weight: 600 !important;
}
.crp-status.available {
    color: #34d399 !important;
    font-weight: 600 !important;
}

/* Action Buttons */
.gcr-list-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding-left: 20px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.gcr-button.gcr-play-now,
.gcr-play-now {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    padding: 12px 22px !important;
    border-radius: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}
.gcr-button.gcr-play-now:hover,
.gcr-play-now:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5) !important;
    transform: translateY(-1px) !important;
}

.gcr-button.gcr-review,
.gcr-review {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}
.gcr-button.gcr-review:hover,
.gcr-review:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.gcr-terms-toggle {
    color: #64748b !important;
    font-size: 11.5px !important;
    text-align: center !important;
    display: block !important;
}

/* Mobile Responsiveness for Casino List */
@media (max-width: 900px) {
    .gcr-list-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 36px 20px 24px 20px !important;
        gap: 16px !important;
    }
    .gcr-number-box {
        position: absolute !important;
        top: 14px !important;
        right: 14px !important;
        left: auto !important;
    }
    .gcr-list-logo {
        width: 100% !important;
        max-width: 180px !important;
    }
    .gcr-list-details {
        width: 100% !important;
    }
    .gcr-list-buttons {
        width: 100% !important;
        padding-left: 0 !important;
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-top: 18px !important;
    }
}

/* ==========================================================================
   11. Match Prediction Articles - Dark Cards & Evidence Stack
   ========================================================================== */
/* Evidence Stack & Cards */
.amp-evidence-stack {
    display: grid !important;
    gap: 20px !important;
    margin: 28px 0 !important;
}
.amp-evidence-card {
    background: #0e1626 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    color: #ffffff !important;
}
.amp-evidence-primary {
    background: linear-gradient(145deg, #0e1626 0%, #12223a 100%) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
}
.amp-evidence-heading {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    padding-bottom: 12px !important;
}
.amp-evidence-heading h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
}
.amp-evidence-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(2, 132, 199, 0.2) !important;
    color: var(--primary-light) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
}

/* xG Grid */
.amp-xg-grid {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 16px !important;
    text-align: center !important;
}
.amp-xg-grid strong {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 800 !important;
}
.amp-xg-grid span {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.amp-xg-total {
    padding: 8px 20px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 8px !important;
}
.amp-xg-total strong {
    color: #10b981 !important;
    font-size: 24px !important;
}

/* Evidence Progress Bars */
.amp-evidence-bar,
.amp-mini-bar,
.amp-stat-bar {
    height: 8px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    overflow: hidden !important;
}
.amp-evidence-bar span,
.amp-mini-bar span,
.amp-stat-bar span {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #0284c7, #10b981) !important;
}

/* Market Probabilities Grid */
.amp-market-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 18px !important;
}
.amp-market-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
}
.amp-market-item span {
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.amp-market-item strong {
    color: #10b981 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

/* Comparison Rows */
.amp-comparison-head {
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.amp-comparison-head strong {
    color: #ffffff !important;
}
.amp-comparison-row {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.amp-comparison-row span {
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
}
.amp-comparison-row b {
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Match Rationale & Quality Cards */
.amp-prediction-rationale-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 20px !important;
    margin: 28px 0 !important;
}
.amp-rationale-card,
.amp-quality-card {
    background: #0e1626 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
.amp-rationale-heading h2 {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
}
.amp-rationale-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 12px 0 !important;
}
.amp-rationale-row strong {
    color: #ffffff !important;
    font-size: 14px !important;
}
.amp-rationale-row small {
    color: #94a3b8 !important;
    font-size: 12.5px !important;
}
.amp-quality-factors span {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    font-size: 12px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
}

/* Fact Cards & Form Cards */
.amp-match-fact-card,
.amp-form-card,
.amp-stat-comparison-card,
.amp-lineup-card,
.amp-subscription-card {
    background: #0e1626 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}
.amp-match-fact-label {
    color: #94a3b8 !important;
    font-size: 11px !important;
}
.amp-match-fact-body strong {
    color: #ffffff !important;
    font-size: 15px !important;
}
.amp-form-card h3 {
    color: #ffffff !important;
}
.amp-form-stat-grid div {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.amp-form-stat-grid span {
    color: #94a3b8 !important;
}
.amp-form-stat-grid strong {
    color: #ffffff !important;
}
.amp-lineup-heading h2 {
    color: #ffffff !important;
}
.amp-lineup-heading p {
    color: #94a3b8 !important;
}
.amp-lineup-side-header strong {
    color: #ffffff !important;
}

/* ==========================================================================
   12. H2H & League Tables - High-Contrast & Mobile Horizontal Scroll
   ========================================================================== */
.amp-league-table-container,
.amp-h2h-table-container,
.amp-odds-table-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 32px 0 !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #0e1626 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

.amp-league-table,
.amp-h2h-table,
.amp-odds-table {
    width: 100% !important;
    min-width: 620px !important; /* CRITICAL: allows smooth horizontal swipe on mobile, eliminates cramping! */
    border-collapse: collapse !important;
    background: transparent !important;
    font-size: 13.5px !important;
}

.amp-league-table th,
.amp-h2h-table th,
.amp-odds-table th {
    background: #080d18 !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 15px 12px !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.amp-league-table th.team-name,
.amp-league-table th:nth-child(2),
.amp-h2h-table th:nth-child(2) {
    text-align: left !important;
}

.amp-league-table td,
.amp-h2h-table td,
.amp-odds-table td {
    background: #0e1626 !important;
    color: #f1f5f9 !important; /* Crisp, bright readable text */
    padding: 13px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-weight: 600 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.amp-league-table tr:hover td,
.amp-h2h-table tr:hover td,
.amp-odds-table tr:hover td {
    background: rgba(255, 255, 255, 0.03) !important;
}

.amp-league-table .team-name,
.amp-h2h-table .team-name {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: left !important;
    font-size: 14px !important;
}

.amp-league-table .points {
    color: #38bdf8 !important;
    font-weight: 900 !important;
    font-size: 15px !important;
}

.amp-h2h-table .score {
    background: rgba(2, 132, 199, 0.2) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    display: inline-block !important;
}

.amp-h2h-table .winner {
    color: #10b981 !important;
    font-weight: 700 !important;
}

@media (max-width: 640px) {
    .amp-evidence-card {
        padding: 18px 14px !important;
    }
    .amp-market-grid {
        grid-template-columns: 1fr !important;
    }
    .amp-xg-grid strong {
        font-size: 22px !important;
    }
    .amp-prediction-rationale-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   13. iGaming AI Content Master Pro Dark Styles
   ========================================================================== */
.igaming-card,
.ig-comparison-container {
    background: #0e1626 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}
.brand-name {
    color: #ffffff !important;
    font-weight: 800 !important;
}
.brand-offer {
    color: var(--accent-emerald) !important;
    font-weight: 800 !important;
}
.ig-comparison-header {
    background: #080d18 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.ig-col-feature {
    color: #94a3b8 !important;
}
.ig-col-data {
    color: #e2e8f0 !important;
}
.ig-col-brand h4 {
    color: #ffffff !important;
}
.ig-comparison-row,
.ig-comparison-footer {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.igaming-btn,
.igaming-btn-small {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
    border-radius: 8px !important;
}
.igaming-btn:hover,
.igaming-btn-small:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   14. BetslipLens Integration & Modern Mobile Navigation Redesign
   ========================================================================== */
/* Header Betslip Pill */
.header-betslip-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.18) 0%, rgba(16, 185, 129, 0.18) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #ffffff !important;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.2);
}
.header-betslip-pill:hover {
    border-color: #38bdf8;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.3) 0%, rgba(16, 185, 129, 0.25) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.pill-spark {
    color: #f59e0b;
    font-size: 13px;
}
.pill-tag {
    background: #10b981;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Modern Mobile Off-Canvas Drawer Styles */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 88vw;
    background: #090e1a;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.active {
    transform: translateX(0);
}
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}
.drawer-logo-text {
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.01em;
}
.drawer-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
}
.drawer-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.drawer-body {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1;
}

/* Featured Drawer App Card */
.drawer-featured-card {
    display: block;
    background: linear-gradient(145deg, #0f1c33 0%, #0a2e4a 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    padding: 16px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
    transition: all 0.2s ease;
}
.drawer-featured-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.6);
}
.drawer-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.drawer-card-badge {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.drawer-card-free {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}
.drawer-card-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}
.drawer-card-desc {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0 0 12px 0;
}
.drawer-card-btn {
    font-size: 12.5px;
    font-weight: 800;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Drawer Sections */
.drawer-section-title {
    font-size: 11.5px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.drawer-pills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.drawer-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.drawer-pill:hover {
    background: rgba(2, 132, 199, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: #ffffff;
}

/* Drawer Link Items */
.drawer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.drawer-link-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}
.drawer-link-item.highlight-ai {
    background: rgba(2, 132, 199, 0.1);
    border-color: rgba(56, 189, 248, 0.25);
}
.drawer-link-icon {
    font-size: 18px;
    flex-shrink: 0;
}
.drawer-link-content strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}
.drawer-link-content small {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Drawer Sublinks (Transparency) */
.drawer-sublinks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}
.drawer-sublinks a {
    color: #94a3b8;
    font-size: 12px;
    text-decoration: none !important;
    transition: color 0.2s;
}
.drawer-sublinks a:hover {
    color: #38bdf8;
}

/* Drawer Footer */
.drawer-footer {
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
}
.drawer-adm-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}
.drawer-adm-strip .adm-pill {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Mobile Floating Action Button (FAB) on Bottom-Left */
.betslip-fab-left {
    display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
    .betslip-fab-left {
        display: flex;
        position: fixed;
        bottom: 24px;
        left: 20px;
        z-index: 998;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: #ffffff !important;
        padding: 10px 18px;
        border-radius: 999px;
        text-decoration: none !important;
        font-weight: 800;
        font-size: 13.5px;
        box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55), 0 2px 6px rgba(0, 0, 0, 0.3);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .betslip-fab-left:active {
        transform: scale(0.96);
    }
    .fab-icon {
        font-size: 16px;
        color: #fef08a;
    }
    .fab-label {
        letter-spacing: 0.3px;
    }
    .fab-pulse-ring {
        position: absolute;
        inset: -4px;
        border-radius: inherit;
        border: 2px solid rgba(56, 189, 248, 0.6);
        animation: fabPulse 2.2s infinite;
        pointer-events: none;
    }
    @keyframes fabPulse {
        0% { transform: scale(0.95); opacity: 0.8; }
        50% { transform: scale(1.08); opacity: 0; }
        100% { transform: scale(0.95); opacity: 0; }
    }
}

/* In-Article Callout Box (single.php) */
.betslip-article-callout {
    margin: 32px auto;
}
.betslip-callout-inner {
    background: linear-gradient(145deg, #0e1626 0%, #10243d 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}
.betslip-callout-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #38bdf8 0%, #10b981 100%);
}
.betslip-callout-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.betslip-badge-ai {
    background: rgba(56, 189, 248, 0.18);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}
.betslip-badge-ev {
    background: rgba(16, 185, 129, 0.18);
    color: #10b981;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
}
.betslip-callout-heading {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35;
}
.betslip-callout-text {
    font-size: 14px !important;
    color: #cbd5e1 !important;
    line-height: 1.6 !important;
    margin: 0 0 18px 0 !important;
}
.betslip-callout-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-betslip-callout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
    transition: all 0.2s ease;
}
.btn-betslip-callout:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55);
    transform: translateY(-1px);
}
.betslip-callout-note {
    font-size: 12px;
    color: #94a3b8;
}
@media (max-width: 600px) {
    .betslip-callout-inner {
        padding: 20px 18px;
    }
    .btn-betslip-callout {
        width: 100%;
        justify-content: center;
    }
}

/* Homepage Spotlight Section */
.betslip-spotlight-section {
    padding-top: 10px;
}
.betslip-spotlight-box {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 36px;
    align-items: center;
    background: linear-gradient(145deg, #091224 0%, #0e1e36 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    padding: 42px 38px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.spotlight-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.spotlight-tag {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}
.spotlight-pill-ai {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 999px;
}
.spotlight-title {
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 14px 0;
    line-height: 1.25;
}
.spotlight-desc {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 24px;
}
.spotlight-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}
.spotlight-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.spotlight-feat-item .feat-icon {
    font-size: 22px;
    line-height: 1;
}
.spotlight-feat-item strong {
    display: block;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
}
.spotlight-feat-item small {
    display: block;
    color: #94a3b8;
    font-size: 12.5px;
    margin-top: 2px;
    line-height: 1.45;
}
.spotlight-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-betslip-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: 12px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.45);
    transition: all 0.2s ease;
}
.btn-betslip-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 6px 22px rgba(2, 132, 199, 0.6);
    transform: translateY(-2px);
}
.btn-betslip-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0 !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.btn-betslip-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

/* Spotlight Mockup Card */
.spotlight-preview-card {
    background: #080d17;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.preview-card-header {
    background: #0b1322;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.preview-dots {
    display: flex;
    gap: 6px;
}
.preview-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }
.preview-title {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    font-family: monospace;
}
.preview-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.preview-slip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}
.preview-badge-status {
    color: #10b981;
    font-weight: 800;
}
.preview-odd-total {
    color: #94a3b8;
}
.preview-match-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 14px;
}
.preview-league {
    display: block;
    font-size: 11px;
    color: #38bdf8;
    font-weight: 700;
}
.preview-match-item strong {
    color: #ffffff;
    font-size: 13.5px;
}
.preview-odd {
    font-weight: 800;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12.5px;
}
.preview-ev-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
}
.preview-ev-badge span {
    color: #cbd5e1;
}
.preview-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #94a3b8;
}
.preview-cta-strip .preview-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 13.5px;
    padding: 11px 16px;
    border-radius: 10px;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

@media (max-width: 900px) {
    .betslip-spotlight-box {
        grid-template-columns: 1fr;
        padding: 30px 22px;
    }
}

/* Featured AI Card in Calculators Hub */
.calc-card.featured-ai-card {
    background: linear-gradient(145deg, #0e1a2f 0%, #112845 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    position: relative;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.2);
}
.calc-badge-ai {
    display: inline-block;
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* ==========================================================================
   26. Contact Form 7 Modern Dark Theme Styles
   ========================================================================== */
.pc24-contact-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 10px;
}
.pc24-form-row {
    display: flex;
    flex-direction: column;
}
.pc24-form-row label {
    font-size: 13.5px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 6px;
    display: block;
}
.pc24-contact-form-wrap input[type="text"],
.pc24-contact-form-wrap input[type="email"],
.pc24-contact-form-wrap textarea,
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    background: #080d18 !important;
    border: 1px solid #1e293b !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: #f1f5f9 !important;
    font-size: 14.5px !important;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.pc24-contact-form-wrap input:focus,
.pc24-contact-form-wrap textarea:focus,
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
    outline: none !important;
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
}
.pc24-contact-form-wrap textarea {
    min-height: 130px;
    resize: vertical;
}
.pc24-btn-submit,
.wpcf7-submit {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 13px 32px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-block;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
}
.pc24-btn-submit:hover,
.wpcf7-submit:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5) !important;
}
.wpcf7-response-output {
    border-radius: 8px !important;
    padding: 12px 18px !important;
    margin-top: 16px !important;
    font-size: 14px !important;
    background: #080d18 !important;
    border: 1px solid #1e293b !important;
    color: #f1f5f9 !important;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #10b981 !important;
    color: #34d399 !important;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #ef4444 !important;
    color: #f87171 !important;
}
.wpcf7-not-valid-tip {
    color: #ef4444 !important;
    font-size: 12.5px !important;
    margin-top: 4px;
}





