/* --- ia-challenge.css : Styles consolidés pour performance Discover --- */

/* 1. TYPOGRAPHIE & ICONES */
@font-face {
    font-family: 'Open Sans Fallback';
    size-adjust: 100.00%;
    ascent-override: 92.58%;
    descent-override: 24.32%;
    line-gap-override: 0.00%;
    src: local('Arial');
}
a.custom-link {
    color: #FDFDFD;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
a.custom-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* 2. HEADER & TOPBAR (Transféré depuis header.php) */
#topbarbis {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--turf-primary-dark);
    color: var(--turf-text-light);
    font-family: var(--turf-font-family);
    font-size: 0.85rem;
    padding: 4px 12px;
}
#topbarbis .topbar-update {
    font-style: italic;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}
#topbarbis .topbar-news {
    background: rgba(7, 55, 68, 0.4);
    border-left: 4px solid var(--turf-accent);
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 300px;
}
#topbarbis .news-item {
    display: none;
    text-decoration: none;
    font-size: 0.95em;
    width: 100%;
    animation: fadeInNews 0.5s ease-in-out;
}
#topbarbis .news-item.active {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@keyframes fadeInNews {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
#topbarbis .news-item:hover .topbar-normal {
    text-decoration: underline;
    text-decoration-color: #fff;
}
#topbarbis .topbar-highlight {
    font-weight: 800;
    margin-right: 8px;
    text-transform: uppercase;
}
#topbarbis .topbar-normal {
    color: #fff;
    font-weight: 500;
    opacity: 0.95;
}
@media (min-width: 768px) {
    #topbarbis {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    #topbarbis .topbar-news {
        margin-left: auto;
        max-width: 70%;
    }
}

/* 3. DESIGN SYSTEM & NAVIGATION (Transféré depuis header.php) */
:root {
    --turf-primary-dark: #033d4d;
    --turf-primary-mid: #04566c;
    --turf-primary-light: #067a93;
    --turf-accent: #22b8a7;
    --turf-accent-hover: #1da898;
    --turf-text-light: #FFFFFF;
    --turf-text-dark: #333333;
    --turf-bg-light: #f8f9fa;
    --turf-header-gradient: linear-gradient(90deg, var(--turf-primary-dark), var(--turf-primary-mid), var(--turf-primary-light));
    --turf-font-family: 'Open Sans', 'Open Sans Fallback', Arial, sans-serif;
    --turf-radius-btn: 6px;
    --turf-radius-card: 12px;
    --turf-shadow: 0 6px 20px rgba(3, 61, 77, 0.15);
    --turf-shadow-card: 0 8px 25px rgba(0, 0, 0, 0.12);
    --turf-transition: 150ms ease-out;
    /* Variables locales ajoutées pour la page challenge */
    --brand-primary: #04586C;
    --brand-primary-light: #eaf5f7;
    --brand-accent: #FFD700;
    --bg-body: #f4f7f9;
    --bg-card: #ffffff;
    --text-color: #343a40;
    --success: #198754;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --radius-md: 8px;
    --radius-lg: 12px;
}
body { background-color: var(--bg-body); color: var(--text-color); }

#masthead {
    background: var(--turf-header-gradient);
    box-shadow: var(--turf-shadow);
    font-family: var(--turf-font-family);
    position: sticky;
    top: 0;
    z-index: 1030;
}
#masthead .navbar { padding: 8px 0; }
#masthead .navbar-brand img { height: 55px; width: auto; vertical-align: middle; }
#masthead a:focus-visible, #masthead button:focus-visible { outline: 3px solid var(--turf-accent); outline-offset: 2px; box-shadow: none; border-radius: 2px; }
#masthead .nav-link { font-weight: 600; transition: color var(--turf-transition), background-color var(--turf-transition), border-color var(--turf-transition); color: rgba(255, 255, 255, 0.95); }
#masthead .nav-link:hover, #masthead .nav-link:focus { color: var(--turf-text-light); outline: none; }
#masthead .nav-item.active .nav-link, #masthead .nav-link[aria-expanded="true"] { color: var(--turf-text-light); }
#masthead .navbar-toggler { padding: 8px 12px; font-size: 0.9rem; text-transform: uppercase; border: none; background-color: transparent; font-weight: 700 !important; color: #FFFFFF !important; }
#masthead .toggler-content { display: flex; align-items: center; gap: 10px; }
#masthead .navbar-toggler:focus { box-shadow: none; }
#masthead .navbar-toggler-icon { display: inline-block; width: 1.5em; height: 1.5em; background-repeat: no-repeat; background-position: center; background-size: 100%; }

/* Boutons & Badges Header */
#masthead .btn-ux { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--turf-radius-btn); text-decoration: none; font-weight: 700; transition: background-color var(--turf-transition), transform var(--turf-transition), color var(--turf-transition), border-color var(--turf-transition), box-shadow var(--turf-transition); border: 1px solid transparent; }
#masthead .nav-item-cta-primary .btn-ux { background-color: var(--turf-accent); color: var(--turf-primary-dark) !important; }
#masthead .nav-item-cta-secondary .btn-ux, #masthead .nav-item-user-menu .btn-ux { background-color: transparent; color: var(--turf-text-light) !important; border-color: rgba(255, 255, 255, 0.4); }
#masthead .dropdown-item { font-size: 0.95rem; transition: background-color var(--turf-transition); }
#masthead .dropdown-divider { margin: 12px 0; }
#masthead .dropdown-header-group { padding: 8px 20px 12px 20px; }
#masthead .dropdown-header { padding: 0; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; white-space: normal; }
#masthead .header-color-primary { color: var(--turf-primary-light); }
#masthead .header-color-ia { color: #990099; }
#masthead .header-color-strategy { color: #198754; }
#masthead .header-color-tools { color: #6c757d; }
#masthead .badge-custom { font-size: 0.75em; font-weight: 600; padding: 0.4em 0.6em; border-radius: 4px; }
#masthead .badge-new { background-color: #dc3545; color: white; }
#masthead .badge-update { background-color: #ffc107; color: #333; }
#masthead .badge-user { font-size: 0.8em; margin-left: 8px; padding: 5px 8px; border-radius: var(--turf-radius-btn); font-weight: 700; }
#masthead .badge-premium { background-color: #28a745; color: #fff; }
#masthead .badge-essentiel { background: transparent; color: #ffffff; border: 1px solid rgba(255,255,255,0.45); box-shadow: inset 0 0 0 9999px rgba(255,255,255,0.08); backdrop-filter: saturate(120%) blur(2px); }
#masthead .badge-vip { background-color: #28a745; color: white; }
#masthead .badge-founder { background: linear-gradient(45deg, #D4AF37, #f1e58f, #D4AF37); color: #4c390a; text-shadow: 0 1px 0 rgba(255,255,255,0.3); box-shadow: 0 2px 4px rgba(0,0,0,0.2); }

/* Responsive Header */
@media (max-width: 1199.98px) {
    #masthead #navbarCollapse { position: absolute; top: 100%; left: 0; right: 0; background: var(--turf-primary-dark); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); padding: 20px; border-top: 3px solid var(--turf-accent); max-height: calc(100vh - 71px); overflow-y: auto; }
    #masthead .navbar-nav { flex-direction: column; }
    #masthead .nav-link { padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    #masthead .dropdown-menu { background-color: rgba(0, 0, 0, 0.15); border: none; padding: 10px; margin-top: 0; border-radius: var(--turf-radius-btn); }
    #masthead .dropdown-item { color: #f0f0f0; padding: 12px 10px; }
    #masthead .dropdown-item:hover, #masthead .dropdown-item:focus { background-color: var(--turf-primary-mid); color: var(--turf-text-light); }
    #masthead .dropdown-header { color: var(--turf-accent) !important; font-size: 0.9em; text-transform: uppercase; padding: 20px 10px 10px 10px; }
    #masthead .dropdown-divider { border-top-color: rgba(255, 255, 255, 0.2); margin: 12px 0; }
    #masthead .btn-ux { background-color: transparent !important; border: none !important; border-radius: 0 !important; color: var(--turf-text-light) !important; font-weight: 600; justify-content: flex-start; box-shadow: none !important; }
    #masthead .nav-item-cta-primary, #masthead .nav-item-user-menu { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
    /* Mega Menu Mobile */
    #masthead .mega-menu .dropdown-menu .container-fluid { padding: 0; }
    #masthead .mega-menu .mega-menu-col { padding: 15px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    #masthead .mega-menu .mega-menu-col:last-child { border-bottom: none; }
    #masthead .mega-menu .dropdown-header { color: var(--turf-accent) !important; font-size: 0.95rem; text-transform: uppercase; padding: 10px 0; margin-bottom: 10px; font-weight: 700; }
    #masthead .mega-menu .mega-menu-link { color: #f0f0f0; text-decoration: none; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; font-size: 1rem; transition: color var(--turf-transition); }
    #masthead .mega-menu .mega-menu-link:hover, #masthead .mega-menu .mega-menu-link:focus { color: var(--turf-text-light); }
}

@media (min-width: 1200px) {
    #masthead #menu-top-navigation { margin-left: auto; align-items: center; }
    #masthead .nav-item-separator { margin-right: 25px; }
    #masthead .nav-link { padding: 10px 15px; font-size: 0.9rem; text-transform: uppercase; }
    #masthead .nav-item:not([class*="nav-item-cta"]):not(.nav-item-user-menu) .nav-link:hover, #masthead .nav-item:not([class*="nav-item-cta"]):not(.nav-item-user-menu) .nav-link:focus, #masthead .nav-item:not([class*="nav-item-cta"]):not(.nav-item-user-menu) .nav-link[aria-expanded="true"] { background-color: rgba(255, 255, 255, 0.1); }
    #masthead .nav-item.active .nav-link { position: relative; font-weight: 700; }
    #masthead .nav-item.active .nav-link::after { content: ''; position: absolute; bottom: -8px; left: 0; right: 0; height: 3px; background-color: var(--turf-accent); }
    #masthead .nav-item-highlight-premium .nav-link { color: var(--turf-accent); font-weight: 700; }
    #masthead .nav-item-highlight-premium .nav-link:hover, #masthead .nav-item-highlight-premium .nav-link:focus, #masthead .nav-item-highlight-premium.active .nav-link, #masthead .nav-item-highlight-premium .nav-link[aria-expanded="true"] { color: var(--turf-text-light); }
    #masthead .btn-ux { padding: 8px 16px; font-size: 0.95rem; margin-left: 10px; }
    #masthead .btn-ux:hover, #masthead .btn-ux:focus { transform: translateY(-1px); text-decoration: none; }
    #masthead .nav-item-cta-primary .btn-ux:hover, #masthead .nav-item-cta-primary .btn-ux:focus { background-color: var(--turf-accent-hover); box-shadow: 0 4px 15px rgba(34, 184, 167, 0.4); }
    #masthead .nav-item-cta-secondary .btn-ux:hover, #masthead .nav-item-user-menu .btn-ux:hover, #masthead .nav-item-user-menu .btn-ux:focus, #masthead .nav-item-user-menu .btn-ux[aria-expanded="true"] { background-color: rgba(255, 255, 255, 0.1); border-color: var(--turf-text-light); }
    #masthead .dropdown-menu { border: none; box-shadow: var(--turf-shadow-card); border-radius: var(--turf-radius-card); padding: 16px 0; min-width: 340px; background-color: #fff; margin-top: 12px !important; opacity: 0; transform: translateY(-5px); transition: opacity var(--turf-transition), transform var(--turf-transition); pointer-events: none; }
    #masthead .nav-item-user-menu .dropdown-menu { min-width: 250px; }
    #masthead .dropdown-menu.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
    #masthead .dropdown-item { color: var(--turf-text-dark); }
    #masthead .dropdown-item:hover, #masthead .dropdown-item:focus { background-color: var(--turf-bg-light); color: var(--turf-primary-dark); }
    #masthead .dropdown-divider { border-top-color: #e9ecef; }
    /* Mega Menu Desktop */
    #masthead .nav-item.mega-menu { position: static !important; }
    #masthead .mega-menu .dropdown-menu { width: max-content; max-width: 95vw; left: 50%; right: auto; transform: translate(-50%, -5px); padding-top: 45px; padding-bottom: 45px; margin-top: 15px !important; border-radius: var(--turf-radius-card); box-shadow: 0 20px 30px rgba(3, 61, 77, 0.15); border-top: 6px solid var(--turf-accent); }
    #masthead .mega-menu .dropdown-menu.show { transform: translate(-50%, 0); }
    #masthead .mega-menu .mega-menu-col { padding: 0 30px; }
    #masthead .mega-menu .mega-menu-col:not(:last-child) { border-right: 1px solid #e9ecef; }
    #masthead .mega-menu .dropdown-header { font-size: 1.1rem; margin-bottom: 25px; padding-bottom: 12px; border-bottom: 2px solid currentColor; opacity: 0.95; white-space: nowrap; }
    #masthead .mega-menu .list-unstyled li { margin-bottom: 5px; }
    #masthead .mega-menu .mega-menu-link { color: var(--turf-text-dark); text-decoration: none; transition: color var(--turf-transition); font-size: 0.92rem; padding: 6px 0; display: flex; align-items: center; justify-content: space-between; white-space: nowrap; }
    #masthead .mega-menu .mega-menu-link:hover, #masthead .mega-menu .mega-menu-link:focus { color: var(--turf-primary-mid); text-decoration: underline; background-color: transparent; }
}

/* 4. MODALS (Transféré depuis header.php) */
.modal-backdrop { z-index: 2147483000 !important; }
.modal { z-index: 2147483001 !important; }

/* 5. CONTENU PAGE CHALLENGE (Transféré depuis pronostics_ia_challenge.php) */
.top-stats-container { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background-color: var(--bg-card); border-radius: var(--radius-md); padding: 1rem; box-shadow: var(--shadow-soft); flex-grow: 1; min-width: 150px; display: flex; align-items: center; gap: 1rem; border-left: 4px solid var(--brand-primary); transition: transform 0.2s; cursor: help; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); }
.stat-icon { font-size: 1.5rem; color: var(--brand-primary); }
.stat-content .stat-value { font-size: 1.5rem; font-weight: 800; display: block; line-height: 1.2; }
.stat-content .stat-label { font-size: 0.9rem; color: #6c757d; font-weight: 500; }

.consensus-ia-title { font-size: 1.5rem; font-weight: 700; color: var(--brand-primary); margin-bottom: 0.5rem; }
.consensus-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.consensus-table th { background-color: #f4f6f8; color: #333; font-weight: 600; font-size: 0.9em; text-align: left; padding: 12px 10px; border-bottom: 2px solid #e0e0e0; }
.consensus-table td { padding: 12px 10px; border-bottom: 1px solid #eee; font-size: 0.95em; vertical-align: middle; }
.consensus-table tbody tr:nth-child(even) { background-color: #fcfcfc; }
.col-rang, .col-num { text-align: center; }
.col-cites, .col-score { text-align: right; color: #555; font-size: 0.9em; }
.col-num { font-weight: bold; color: var(--brand-primary); }
.col-cheval { font-weight: 600; }
.rang-badge { display: inline-block; width: 28px; height: 28px; line-height: 28px; border-radius: 50%; background-color: #e9ecef; color: #333; font-weight: bold; font-size: 0.9em; text-align: center; }
.consensus-table tbody tr:nth-child(1) .rang-badge { background-color: var(--brand-accent); color: #333; }
.consensus-table tbody tr:nth-child(2) .rang-badge { background-color: #c0c0c0; color: #333; }
.consensus-table tbody tr:nth-child(3) .rang-badge { background-color: #cd7f32; color: #fff; }
@media (max-width: 576px) { .consensus-table th, .consensus-table td { padding: 10px 5px; } }

.page-header-ia { background: linear-gradient(to right, var(--brand-primary), #034555); color: #FFFFFF; padding: 2.5rem; border-radius: var(--radius-lg); margin-bottom: 2rem; box-shadow: var(--shadow-soft); }
.page-header-ia h1 { font-size: 2.5rem; font-weight: 800; }

.date-nav-container { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.date-nav-form { display: flex; align-items: center; gap: 0.5rem; }
.date-picker-group { max-width: 160px; }

.nav-tabs { border-bottom: none; background-color: var(--bg-card); padding: 0.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); display: flex; flex-wrap: nowrap; overflow-x: auto; }
.nav-item { flex-shrink: 0; }
.nav-tabs .nav-link { border: none; color: var(--brand-primary) !important; border-radius: var(--radius-md); padding: 0.75rem 1.5rem; margin: 0 0.2rem; transition: background-color 0.3s; font-weight: 600; }
.nav-tabs .nav-link.active { background-color: var(--brand-primary); color: #FFFFFF !important; box-shadow: 0 2px 5px rgba(4, 88, 108, 0.3); }
.nav-tabs .nav-link:hover:not(.active) { background-color: var(--brand-primary-light); }

.tab-content { margin-top: 1.5rem; }
.card-modern { background-color: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 2rem; border: none; }

.table-pronos-ia { margin-top: 1rem; }
.table-pronos-ia th, .table-pronos-ia td { text-align: center; vertical-align: middle; }
.table-pronos-ia td { font-weight: 600; padding: 0.75rem; }
.row-winner { background-color: #f0f9f4 !important; }
.row-consensus { background-color: var(--brand-primary-light) !important; border-top: 2px solid var(--brand-primary); border-bottom: 2px solid var(--brand-primary); }
.row-winner.row-consensus { background-color: #f0f9f4 !important; }

.ia-identity { display: flex; align-items: center; gap: 15px; text-align: left; }
.ia-logo { width: 45px; height: 45px; object-fit: contain; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); background-color: #fff; padding: 2px;}
.ia-name { font-weight: 700; }
.horse-hit { background-color: var(--success) !important; color: white !important; border-radius: var(--radius-md); box-shadow: 0 2px 4px rgba(0,0,0,0.2); display: inline-block; padding: 0.35rem 0.6rem; min-width: 3rem; }
.ic-badge { font-size: 0.9em; padding: 0.5em 0.8em; border-radius: 50px; font-weight: 700; }

.synthesis-webmaster { background-color: var(--brand-primary-light); padding: 1.5rem; border-radius: var(--radius-md); border-left: 5px solid var(--brand-primary); margin-bottom: 2rem; }
.synthesis-webmaster h3 { color: var(--brand-primary); margin-bottom: 1rem; }
.synthesis-content p { margin-bottom: 1rem; line-height: 1.6; }
.synthesis-content ul { margin-bottom: 1rem; padding-left: 20px; }
.synthesis-author { font-style: italic; text-align: right; margin-top: 1rem; color: #6c757d; }

.rank-evo { font-weight: bold; font-size: 1.1em; }
.rank-up { color: green; } .rank-down { color: red; } .rank-stable { color: grey; }
.dtr-details { width: 100%; }
.child-stats-container { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0.5rem 0; }
.child-stat-item { background-color: var(--bg-body); padding: 0.4rem 0.8rem; border-radius: 50px; font-size: 0.9em; border: 1px solid #e9ecef; }
.child-stat-label { font-weight: 600; color: #6c757d; }

.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) { color: var(--brand-primary); background-color: var(--brand-primary-light); }

@media (max-width: 992px) {
    .card-modern { padding: 1.5rem; }
    .nav-tabs .nav-link { padding: 0.75rem 1rem; }
    .page-header-ia { padding: 1.5rem; }
}

/* TABLEAU : Fixation 1ère colonne */
.table-pronos-ia th:first-child, .table-pronos-ia td:first-child { position: sticky; left: 0; z-index: 1; }
.table-pronos-ia thead th:first-child { background-color: #f8f9fa; z-index: 2; }
.table-pronos-ia tbody td:first-child { background-color: var(--bg-card); }
.table-pronos-ia tr.row-winner td:first-child { background-color: #f0f9f4; }
.table-pronos-ia tr.row-consensus td:first-child { background-color: var(--brand-primary-light); }
.table-pronos-ia tr.row-winner.row-consensus td:first-child { background-color: #f0f9f4; }
.table-pronos-ia.table-hover > tbody > tr:hover > td:first-child { background-color: #f5f7f9; }
.table-pronos-ia.table-hover > tbody > tr.row-consensus:hover > td:first-child { background-color: #d4e9eb; }
.table-pronos-ia.table-hover > tbody > tr.row-winner:hover > td:first-child, .table-pronos-ia.table-hover > tbody > tr.row-winner.row-consensus:hover > td:first-child { background-color: #e2f1e9; }

/* SEO Author & Links */
.turf-seo-section-title { font-size: 1.4rem; font-weight: 700; color: var(--brand-primary); margin-bottom: 1.5rem; border-bottom: 2px solid var(--brand-primary-light); padding-bottom: 0.5rem; display: inline-block; }
.turf-seo-author-box { background-color: #ffffff; border: 1px solid #e9ecef; border-radius: var(--radius-lg); padding: 2rem; margin-top: 3rem; display: flex; flex-direction: column; gap: 1.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.02); border-left: 5px solid var(--brand-primary); }
@media (min-width: 768px) { .turf-seo-author-box { flex-direction: row; align-items: flex-start; } }
.turf-seo-author-img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 4px solid var(--brand-primary-light); flex-shrink: 0; }
.turf-seo-author-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-color); }
.turf-seo-author-role { font-size: 0.9rem; color: var(--brand-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; display: block; }
.turf-seo-author-bio { font-size: 0.95rem; color: #555; line-height: 1.6; margin-bottom: 1rem; }
.turf-seo-social-link { display: inline-flex; align-items: center; gap: 0.5rem; color: #6c757d; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: color 0.2s; }
.turf-seo-social-link:hover { color: var(--brand-primary); }
.turf-seo-related-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .turf-seo-related-grid { grid-template-columns: repeat(3, 1fr); } }
.turf-seo-card { background: #fff; padding: 1.5rem; border-radius: var(--radius-md); border: 1px solid #e9ecef; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.turf-seo-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: var(--brand-primary-light); color: inherit; }
.turf-seo-card-icon { font-size: 2rem; color: var(--brand-primary); margin-bottom: 1rem; }
.turf-seo-card-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-color); }
.turf-seo-card-desc { font-size: 0.9rem; color: #6c757d; line-height: 1.5; }

/* Mobile Leaderboard Cards */
#mobile-leaderboard-cards .card {
    transition: transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
#mobile-leaderboard-cards .card:active {
    transform: scale(0.98); /* Feedback tactile */
}
