/* ════════════════════════════════════════
   FANTABET — GLOBAL CSS
   Font: Browan/VarStyle via @font-face fallback
   Dark Mode, Nav+Submenu, CTA, Templates
   ════════════════════════════════════════ */

/* ─── FONT STACK ─────────────────────────
   Browan / VarStyle non sono su Google Fonts.
   Usa file locali se disponibili, altrimenti
   fallback su Playfair Display + Outfit (simili).
──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* Se carichi Browan/VarStyle come file locali,
   inseriscili in /wp-content/themes/fantabet-theme/assets/fonts/
   e decommentale qui sotto:

@font-face {
    font-family: 'VarStile';
    src: url('../fonts/VarStile-Regular.woff2') format('woff2');
    font-weight: 400 900;
    font-display: swap;
}
@font-face {
    font-family: 'Browan';
    src: url('../fonts/Browan-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
*/

:root {
    --font-display: 'Playfair Display', 'VarStile', 'Browan', Georgia, serif;
    --font-body:    'Outfit', 'DM Sans', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', monospace;
}

/* ─── LIGHT MODE (default) ─── */
:root,
[data-theme="light"] {
    --bg:           #f5f2eb;
    --bg2:          #ede9e0;
    --surface:      #ffffff;
    --surface2:     #f0ece3;
    --border:       #d4cfc5;
    --ink:          #1a1612;
    --ink2:         #3d3730;
    --muted:        #8a8078;
    --red-accent:   #c8410a;
    --gold-accent:  #e8a020;
    --green-accent: #1e7a4a;
    --nav-bg:       #12100e;
    --nav-text:     rgba(245,242,235,0.7);
    --nav-text-act: #f5f2eb;
    --sub-bg:       #1a1612;
    --sub-border:   rgba(255,255,255,0.08);
    --sub-text:     #f5f2eb;
    --shadow:       0 2px 16px rgba(26,22,18,0.08);
    --shadow-lg:    0 8px 40px rgba(26,22,18,0.14);
}

/* ─── DARK MODE ─── */
[data-theme="dark"] {
    --bg:           #080b10;
    --bg2:          #0e1420;
    --surface:      #0e1420;
    --surface2:     #141b2a;
    --border:       rgba(255,255,255,0.07);
    --ink:          #e8eaf0;
    --ink2:         #b0b8cc;
    --muted:        #5a6278;
    --red-accent:   #e05c2a;
    --gold-accent:  #f0c040;
    --green-accent: #2ecc71;
    --nav-bg:       rgba(8,11,16,0.92);
    --nav-text:     rgba(232,234,240,0.6);
    --nav-text-act: #e8eaf0;
    --sub-bg:       #111720;
    --sub-border:   rgba(255,255,255,0.09);
    --sub-text:     #e8eaf0;
    --shadow:       0 2px 16px rgba(0,0,0,0.3);
    --shadow-lg:    0 8px 40px rgba(0,0,0,0.5);
}

/* ─── BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ════════════════════════════════════════
   NAV + SUBMENU
   ════════════════════════════════════════ */
.fantabet-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #12100e !important;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.3s;
}

.fantabet-nav.scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.nav-inner {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: 62px;
    gap: 0;
}

/* LOGO */
.nav-logo {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 40px;
    line-height: 1;
}

.logo-fanta {
    color: #ffffff;
}

.logo-bet {
    color: var(--gold-accent);
}

/* NAV LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    flex: 1;
    height: 62px;
}

.nav-links > li {
    position: relative;
    height: 62px;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
    height: 62px;
    font-size: 13px;
    font-weight: 600;
    color: var(--nav-text);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    white-space: nowrap;
    font-family: var(--font-body);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.nav-link:hover,
.nav-links li.current-menu-item > .nav-link,
.nav-links li.current-menu-ancestor > .nav-link {
    color: var(--nav-text-act);
    border-bottom-color: var(--gold-accent);
}

.submenu-arrow {
    font-size: 8px;
    transition: transform 0.2s;
    opacity: 0.6;
    display: inline-block;
}

.nav-links li.has-submenu:hover .submenu-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* ─── DROPDOWN SUBMENU ─── */
.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    /* Sfondo scuro fisso — non dipende dalle variabili di tema */
    background: #12100e !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    border-top: 2px solid var(--gold-accent) !important;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    list-style: none;
    padding: 6px 0;
    z-index: 9999;
}

.nav-links li.has-submenu:hover > .nav-submenu,
.nav-links li.has-submenu:focus-within > .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-submenu li {
    display: block;
    position: relative;
}

.nav-sublink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    /* Testo chiaro fisso — sempre visibile su sfondo scuro */
    color: rgba(245,242,235,0.75) !important;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    gap: 8px;
    border-bottom: none !important;
    height: auto !important;
    white-space: nowrap;
    font-family: var(--font-body);
}

.nav-sublink:hover,
.nav-submenu li.current-menu-item > .nav-sublink {
    background: rgba(255,255,255,0.08) !important;
    color: #f0c040 !important;
    border-bottom: none !important;
}

/* Separatore voci submenu */
.nav-submenu li + li > .nav-sublink {
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Deep submenu (terzo livello) */
.nav-submenu--deep {
    top: 0;
    left: 100%;
    border-top: 1px solid var(--sub-border);
    border-left: 2px solid var(--gold-accent);
    border-radius: 0 10px 10px 0;
}

.nav-submenu li:hover > .nav-submenu--deep,
.nav-submenu li:focus-within > .nav-submenu--deep {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ─── DARK MODE TOGGLE ─── */
.dark-mode-toggle {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    font-size: 15px;
    cursor: pointer;
}

.dark-mode-toggle:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--gold-accent);
}

/* Mostra sole in light, luna in dark */
[data-theme="light"] .dm-moon  { display: none; }
[data-theme="dark"]  .dm-sun   { display: none; }

/* NAV RIGHT */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-nav-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(245,242,235,0.7);
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    font-family: var(--font-body);
}
.btn-nav-secondary:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

.btn-nav-primary {
    background: linear-gradient(135deg, var(--red-accent), var(--gold-accent));
    color: white !important;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s;
    text-decoration: none;
    font-family: var(--font-body);
    box-shadow: 0 2px 12px rgba(200,65,10,0.3);
}
.btn-nav-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(200,65,10,0.45); }

/* HAMBURGER */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: #fff; border-radius: 2px;
    transition: all 0.25s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE DRAWER */
.nav-mobile-drawer {
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding 0.3s;
    background: var(--nav-bg);
    border-top: 1px solid rgba(255,255,255,0.07);
}

.nav-mobile-drawer.open {
    max-height: 600px;
    padding: 12px 0 20px;
}

.mobile-nav-links { list-style: none; }
.mobile-nav-links li a {
    display: block;
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--nav-text);
    transition: color 0.15s, background 0.15s;
}
.mobile-nav-links li a:hover { color: var(--gold-accent); background: rgba(255,255,255,0.04); }
.mobile-nav-links .sub-menu a { padding-left: 44px; font-size: 13px; font-weight: 500; opacity: 0.8; }
.mobile-nav-actions { display: flex; gap: 10px; padding: 12px 28px 0; flex-wrap: wrap; }

/* ════════════════════════════════════════
   ARTICLE / PAGE SHARED STYLES
   ════════════════════════════════════════ */

/* Hero */
.article-hero, .page-hero {
    background: var(--nav-bg);
    padding: 48px 48px 40px;
    position: relative;
    overflow: hidden;
}

.article-hero::before, .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200,65,10,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.article-hero-inner, .page-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(245,242,235,0.4);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.article-breadcrumb a { color: rgba(245,242,235,0.5); transition: color 0.2s; }
.article-breadcrumb a:hover { color: var(--gold-accent); }
.breadcrumb-current { color: rgba(245,242,235,0.7); }

.article-category-tag {
    display: inline-block;
    background: rgba(200,65,10,0.2);
    border: 1px solid rgba(200,65,10,0.3);
    color: #fb923c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 14px;
}

.article-title, .page-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: #f5f2eb;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.article-meta-item { display: flex; align-items: center; gap: 5px; font-size: 13px; color: rgba(245,242,235,0.5); }
.meta-icon { font-size: 12px; }
.article-meta-sep { color: rgba(245,242,235,0.2); }

.article-hero-image {
    margin-top: 28px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.article-hero-image img { width: 100%; max-height: 420px; object-fit: cover; }

.page-subtitle {
    font-size: 16px;
    color: rgba(245,242,235,0.55);
    max-width: 600px;
    line-height: 1.6;
    margin-top: 8px;
}

/* Layout */
.article-layout, .page-layout {
    padding: 48px 48px 64px;
    background: var(--bg);
}

.article-layout-inner, .page-layout-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

/* Article body */
.article-content-wrap, .page-content-wrap {
    min-width: 0;
}

.article-body, .page-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink);
}

.article-body h2, .page-body h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    margin: 36px 0 16px;
    line-height: 1.3;
}

.article-body h3, .page-body h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin: 28px 0 12px;
}

.article-body p, .page-body p {
    margin-bottom: 20px;
    color: var(--ink2);
}

.article-body a, .page-body a {
    color: var(--red-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body ul, .article-body ol, .page-body ul, .page-body ol {
    margin: 0 0 20px 24px;
    color: var(--ink2);
}

.article-body li, .page-body li { margin-bottom: 6px; }

.article-body img, .page-body img {
    border-radius: 8px;
    margin: 24px auto;
    box-shadow: var(--shadow);
}

.article-body blockquote, .page-body blockquote {
    border-left: 3px solid var(--gold-accent);
    padding: 16px 20px;
    background: var(--surface2);
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--ink2);
}

/* Tags */
.article-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-top: 32px;
}
.article-tags-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.article-tag {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    transition: all 0.15s;
}
.article-tag:hover { border-color: var(--red-accent); color: var(--red-accent); }

/* Author box */
.author-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin: 32px 0;
}
.author-avatar img { border-radius: 50%; width: 64px; height: 64px; }
.author-name { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.author-bio { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Article nav */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.article-nav-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.18s;
    text-decoration: none;
}
.article-nav-item:hover { border-color: var(--red-accent); box-shadow: var(--shadow); }
.article-nav-item--next { text-align: right; }
.anav-dir { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.anav-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* Page featured image */
.page-featured-image { border-radius: 12px; overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }
.page-featured-image img { width: 100%; max-height: 400px; object-fit: cover; }

/* Sidebar */
.article-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    overflow: hidden;
}

.sidebar-widget-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.sbm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}
.sbm-item:last-of-type { border-bottom: none; }
.sbm-rank { font-family: var(--font-mono); font-size: 14px; color: var(--muted); width: 20px; flex-shrink: 0; }
.sbm-logo { font-size: 18px; width: 32px; height: 32px; background: var(--bg2); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sbm-info { flex: 1; min-width: 0; }
.sbm-name { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.sbm-bonus { font-size: 11px; color: var(--red-accent); font-weight: 600; }
.sbm-cta {
    background: var(--red-accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
}
.sbm-cta:hover { background: #a33509; color: white; }
.sbm-all {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--red-accent);
    padding: 10px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}
.sbm-all:hover { opacity: 0.75; }

/* Bonus widget */
.bonus-widget-inner { text-align: center; }
.bw-logo { font-size: 36px; margin-bottom: 6px; }
.bw-name { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.bw-amount { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--red-accent); line-height: 1; margin-bottom: 4px; }
.bw-desc { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.bw-cta {
    display: block;
    background: linear-gradient(135deg, var(--red-accent), var(--gold-accent));
    color: white;
    font-weight: 700;
    padding: 11px;
    border-radius: 7px;
    font-size: 13px;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 3px 16px rgba(200,65,10,0.3);
}
.bw-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(200,65,10,0.45); color: white; }
.bw-note { font-size: 10px; color: var(--muted); text-align: center; margin-top: 8px; }

/* ════════════════════════════════════════
   CTA INLINE BLOCK
   ════════════════════════════════════════ */
.cta-inline-block {
    background: linear-gradient(135deg, rgba(200,65,10,0.06), rgba(232,160,32,0.04));
    border: 1px solid rgba(200,65,10,0.2);
    border-left: 4px solid var(--red-accent);
    border-radius: 10px;
    padding: 18px 20px;
    margin: 36px 0;
}

.cta-inline-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-inline-icon { font-size: 32px; flex-shrink: 0; }

.cta-inline-text { flex: 1; min-width: 150px; }
.cta-inline-title { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.cta-inline-desc  { font-size: 12px; color: var(--muted); }

.cta-inline-right { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.cta-inline-amount {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--red-accent);
    line-height: 1;
}

.cta-inline-btn {
    background: linear-gradient(135deg, var(--red-accent), var(--gold-accent));
    color: white !important;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(200,65,10,0.3);
}
.cta-inline-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(200,65,10,0.45); }

.cta-inline-note { font-size: 10px; color: var(--muted); margin-top: 8px; }

/* ════════════════════════════════════════
   CTA BANNER (fondo pagina)
   ════════════════════════════════════════ */
.cta-banner-section {
    background: var(--nav-bg);
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(200,65,10,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.cta-banner-left { display: flex; align-items: center; gap: 16px; }
.cta-banner-logo { font-size: 40px; flex-shrink: 0; }
.cta-banner-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #f5f2eb; margin-bottom: 4px; }
.cta-banner-sub { font-size: 13px; color: rgba(245,242,235,0.45); }

.cta-banner-center { text-align: center; flex-shrink: 0; }
.cta-banner-amount {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--gold-accent);
    line-height: 1;
}
.cta-banner-type { font-size: 11px; color: rgba(245,242,235,0.4); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

.cta-banner-right { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0; }

.cta-banner-btn {
    background: linear-gradient(135deg, var(--red-accent), var(--gold-accent));
    color: white !important;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(200,65,10,0.35);
    white-space: nowrap;
}
.cta-banner-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,65,10,0.5); }

.cta-banner-review { font-size: 12px; color: rgba(245,242,235,0.4); text-decoration: underline; transition: color 0.2s; }
.cta-banner-review:hover { color: rgba(245,242,235,0.7); }

.cta-banner-disclaimer {
    text-align: center;
    font-size: 10px;
    color: rgba(245,242,235,0.2);
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.04);
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════
   RELATED POSTS
   ════════════════════════════════════════ */
.related-posts {
    background: var(--bg2);
    padding: 48px;
    border-top: 1px solid var(--border);
}

.related-posts-inner { max-width: 1200px; margin: 0 auto; }

.related-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}
.related-card:hover { border-color: rgba(200,65,10,0.25); box-shadow: var(--shadow); transform: translateY(-2px); }

.related-thumb img { width: 100%; height: 160px; object-fit: cover; }
.related-card-body { padding: 14px 16px 18px; flex: 1; }
.related-cat { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red-accent); margin-bottom: 6px; }
.related-card-title { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 8px; }
.related-date { font-size: 11px; color: var(--muted); }

/* ════════════════════════════════════════
   BOOKMAKER SINGLE
   ════════════════════════════════════════ */
.bm-single-hero {
    background: var(--nav-bg);
    padding: 48px 48px 36px;
    position: relative;
    overflow: hidden;
}

.bm-single-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(200,65,10,0.08), transparent 60%);
    pointer-events: none;
}

.bm-single-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

.bm-single-top {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bm-single-logo {
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.bm-single-heading { flex: 1; }
.bm-single-name {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: #f5f2eb;
    margin-bottom: 6px;
    line-height: 1;
}

.bm-single-stars { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.star-icons { color: var(--gold-accent); font-size: 14px; letter-spacing: 2px; }
.star-score { font-size: 13px; color: rgba(245,242,235,0.5); font-family: var(--font-mono); }

/* Bonus hero */
.bm-bonus-hero {
    background: linear-gradient(135deg, rgba(200,65,10,0.12), rgba(232,160,32,0.06));
    border-bottom: 1px solid rgba(200,65,10,0.2);
    padding: 28px 48px;
}

.bm-bonus-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 32px;
}

.bbh-left { display: flex; align-items: center; gap: 14px; }
.bbh-icon { font-size: 32px; }
.bbh-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.bbh-desc  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.bbh-center { text-align: center; }
.bbh-amount {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 900;
    color: var(--red-accent);
    line-height: 1;
}
.bbh-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

.bbh-right { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.bbh-cta {
    background: linear-gradient(135deg, var(--red-accent), var(--gold-accent));
    color: white !important;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(200,65,10,0.35);
    white-space: nowrap;
}
.bbh-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,65,10,0.5); }
.bbh-note { font-size: 10px; color: var(--muted); }

/* Quick stats */
.bm-quick-stats {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 48px;
}
.bm-quick-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
.bqs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 18px 12px;
    border-right: 1px solid var(--border);
    text-align: center;
}
.bqs-item:last-child { border-right: none; }
.bqs-icon  { font-size: 18px; }
.bqs-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.bqs-value { font-size: 14px; font-weight: 700; color: var(--ink); font-family: var(--font-mono); }

/* Mid CTA */
.bm-mid-cta {
    background: var(--nav-bg);
    border-radius: 10px;
    padding: 18px 22px;
    margin: 32px 0;
}
.bm-mid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.bm-mid-cta strong { display: block; font-size: 14px; font-weight: 700; color: #f5f2eb; margin-bottom: 2px; }
.bm-mid-cta span { font-size: 12px; color: rgba(245,242,235,0.45); }

/* Sticky BM widget */
.bm-sticky-widget { text-align: center; }
.bsw-logo { font-size: 40px; margin-bottom: 6px; }
.bsw-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); }
.bsw-score { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.bsw-score span { color: var(--gold-accent); }
.bsw-bonus {
    background: rgba(200,65,10,0.06);
    border: 1px solid rgba(200,65,10,0.15);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 14px;
}
.bsw-bonus-val { font-family: var(--font-display); font-size: 28px; font-weight: 900; color: var(--red-accent); line-height: 1; }
.bsw-bonus-lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.bsw-note { font-size: 10px; color: var(--muted); margin-top: 8px; }

/* Final CTA */
.bm-final-cta {
    background: var(--nav-bg);
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.bm-final-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(200,65,10,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.bm-final-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.bm-final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: #f5f2eb;
    margin-bottom: 10px;
}
.bm-final-cta p { font-size: 15px; color: rgba(245,242,235,0.5); margin-bottom: 24px; }
.bm-final-note { display: block; font-size: 11px; color: rgba(245,242,235,0.25); margin-top: 12px; }

/* Shared btn-visit */
.btn-visit {
    display: inline-block;
    background: linear-gradient(135deg, var(--red-accent), var(--gold-accent));
    color: white !important;
    padding: 12px 24px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 3px 16px rgba(200,65,10,0.3);
    white-space: nowrap;
}
.btn-visit:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(200,65,10,0.45); }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.fantabet-footer {
    background: #0d0f14;
    color: rgba(245,242,235,0.5);
    font-size: 13px;
}

.footer-inner { max-width: 1400px; margin: 0 auto; padding: 48px 48px 24px; }

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 20px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}
.footer-logo span { color: #ffffff; }
.footer-logo em   { color: var(--gold-accent); font-style: normal; }

.footer-tagline { font-size: 13px; color: rgba(245,242,235,0.35); line-height: 1.5; margin-bottom: 16px; }

.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(245,242,235,0.45);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
}

.footer-widget-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: rgba(245,242,235,0.7); margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase; }
.footer-nav-list a { color: rgba(245,242,235,0.4); font-size: 13px; display: block; padding: 4px 0; transition: color 0.2s; }
.footer-nav-list a:hover { color: rgba(245,242,235,0.8); }

.footer-disclaimer {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 16px;
}
.footer-disclaimer p { font-size: 11px; color: rgba(245,242,235,0.2); line-height: 1.6; max-width: 700px; margin: 0 auto; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(245,242,235,0.2); flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(245,242,235,0.3); }
.footer-bottom a:hover { color: rgba(245,242,235,0.6); }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-inner { padding: 0 20px; }
    .nav-links, .nav-actions { display: none; }
    .nav-hamburger { display: flex; }
    .nav-mobile-drawer { display: block; }

    .article-layout-inner, .page-layout-inner { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }

    .bm-quick-stats-inner { grid-template-columns: repeat(3, 1fr); }
    .bm-bonus-hero-inner { grid-template-columns: 1fr; }
    .bbh-right { align-items: flex-start; }

    .cta-banner-inner { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .article-hero, .page-hero, .bm-single-hero { padding: 40px 20px 32px; }
    .article-layout, .page-layout { padding: 32px 20px 48px; }
    .related-posts { padding: 40px 20px; }
    .related-grid { grid-template-columns: 1fr; }
    .article-nav { grid-template-columns: 1fr; }
    .cta-banner-section { padding: 32px 20px; }
    .bm-bonus-hero { padding: 24px 20px; }
    .bm-quick-stats { padding: 0 20px; }
    .bm-quick-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .bm-final-cta { padding: 40px 20px; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; }
    .footer-inner { padding: 36px 20px 20px; }
    .cta-inline-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .nav-logo { font-size: 22px; }
    .article-title, .page-title { font-size: 26px; }
    .bm-quick-stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════
   ARCHIVE / SEARCH PAGE
   ════════════════════════════════════════ */

.archive-layout { padding: 48px 48px 64px; background: var(--bg); }
.archive-layout-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 300px;
    gap: 48px; align-items: start;
}
.archive-main { min-width: 0; }

.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.archive-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    animation: fadeUp 0.5s ease both;
    display: flex;
    flex-direction: column;
}
.archive-card:hover { border-color: rgba(200,65,10,0.25); box-shadow: var(--shadow); transform: translateY(-3px); }

.archive-card-thumb {
    position: relative;
    display: block;
    overflow: hidden;
}
.archive-card-thumb img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; }
.archive-card:hover .archive-card-thumb img { transform: scale(1.04); }

.archive-card-cat {
    position: absolute; top: 12px; left: 12px;
    background: var(--red-accent); color: white;
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; padding: 3px 9px; border-radius: 3px;
}

.archive-card-body   { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.archive-card-meta   { font-size: 11px; color: var(--muted); margin-bottom: 8px; display: flex; gap: 6px; }
.archive-card-title  { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 10px; }
.archive-card-title a { color: inherit; text-decoration: none; }
.archive-card-title a:hover { color: var(--red-accent); }
.archive-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; flex: 1; }
.archive-card-link { font-size: 13px; font-weight: 600; color: var(--red-accent); text-decoration: none; margin-top: auto; transition: opacity 0.2s; }
.archive-card-link:hover { opacity: 0.7; }

/* Pagination */
.archive-pagination { padding-top: 24px; border-top: 1px solid var(--border); }
.archive-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.archive-pagination .page-numbers {
    background: var(--surface); border: 1px solid var(--border);
    color: var(--ink); padding: 7px 13px; border-radius: 6px;
    font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.15s;
}
.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: var(--red-accent); border-color: var(--red-accent); color: white;
}

/* Empty state */
.archive-empty { text-align: center; padding: 60px 24px; }
.archive-empty-icon { font-size: 48px; margin-bottom: 16px; }
.archive-empty h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.archive-empty p  { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* Search bar */
.search-bar-wrap { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 20px 48px; }
.search-bar-inner { max-width: 700px; margin: 0 auto; }
.search-bar-inner .search-form { display: flex; gap: 10px; }
.search-bar-inner .search-field {
    flex: 1; background: var(--surface); border: 1px solid var(--border);
    border-radius: 8px; padding: 10px 16px; color: var(--ink);
    font-family: var(--font-body); font-size: 14px; outline: none;
    transition: border-color 0.2s;
}
.search-bar-inner .search-field:focus { border-color: var(--red-accent); }
.search-bar-inner .search-submit {
    background: var(--red-accent); color: white; border: none;
    padding: 10px 20px; border-radius: 8px; font-weight: 700;
    font-size: 13px; cursor: pointer; font-family: var(--font-body);
    transition: background 0.2s;
}
.search-bar-inner .search-submit:hover { background: #a33509; }

/* ════════════════════════════════════════
   404 PAGE
   ════════════════════════════════════════ */
.page-404 { background: var(--nav-bg); min-height: calc(100vh - 62px); display: flex; align-items: center; justify-content: center; padding: 60px 24px; }

.error-404-inner { max-width: 600px; text-align: center; }

.error-404-number {
    font-family: var(--font-display);
    font-size: clamp(100px, 20vw, 180px);
    font-weight: 900;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    margin-bottom: -20px;
    letter-spacing: -5px;
}

.error-404-icon { font-size: 56px; margin-bottom: 16px; }

.error-404-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: #f5f2eb;
    margin-bottom: 14px;
}

.error-404-sub {
    font-size: 15px;
    color: rgba(245,242,235,0.45);
    line-height: 1.65;
    margin-bottom: 32px;
}

.error-404-inner .search-form {
    display: flex; gap: 10px; margin-bottom: 24px;
    max-width: 440px; margin-left: auto; margin-right: auto;
}

.error-404-inner .search-field {
    flex: 1; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px; padding: 12px 16px;
    color: #f5f2eb; font-family: var(--font-body);
    font-size: 14px; outline: none;
    transition: border-color 0.2s;
}
.error-404-inner .search-field:focus { border-color: var(--gold-accent); }
.error-404-inner .search-submit {
    background: var(--red-accent); color: white; border: none;
    padding: 12px 20px; border-radius: 8px; font-weight: 700;
    font-size: 13px; cursor: pointer; transition: background 0.2s;
}
.error-404-inner .search-submit:hover { background: #a33509; }

.error-404-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.error-404-bms { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px; margin-top: 8px; }
.error-404-bm-label { font-size: 12px; color: rgba(245,242,235,0.35); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 14px; }
.error-404-bm-list { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.e404-bm {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 8px; padding: 10px 16px;
    text-decoration: none; transition: all 0.2s;
}
.e404-bm:hover { background: rgba(255,255,255,0.09); border-color: var(--gold-accent); }
.e404-bm-logo   { font-size: 20px; }
.e404-bm-name   { font-size: 14px; font-weight: 700; color: #f5f2eb; }
.e404-bm-bonus  { font-size: 12px; color: var(--gold-accent); font-weight: 600; }

/* ════════════════════════════════════════
   SEARCH RESULTS (in-header form)
   ════════════════════════════════════════ */
.search-form { display: flex; gap: 0; }
.search-field {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 8px 0 0 8px; padding: 9px 14px;
    color: var(--ink); font-family: var(--font-body); font-size: 14px;
    outline: none; transition: border-color 0.2s; min-width: 200px;
}
.search-field:focus { border-color: var(--red-accent); }
.search-submit {
    background: var(--red-accent); color: white; border: none;
    padding: 9px 16px; border-radius: 0 8px 8px 0; font-weight: 700;
    font-size: 13px; cursor: pointer; transition: background 0.2s;
}
.search-submit:hover { background: #a33509; }

@media (max-width: 900px) {
    .archive-layout { padding: 32px 20px 48px; }
    .archive-layout-inner { grid-template-columns: 1fr; }
    .archive-grid { grid-template-columns: 1fr; }
    .search-bar-wrap { padding: 16px 20px; }
}

/* ════════════════════════════════════════
   BOOKMAKER SINGLE — DOPPIA CTA Sport + Casinò
   ════════════════════════════════════════ */

/* ─── HERO BONUS DOPPIA CTA ─── */
.bm-dual-cta-wrap {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 28px 48px;
    transition: background 0.3s;
}

.bm-dual-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Card CTA generica */
.bm-cta-card {
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--border);
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.bm-cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

/* Sport: rosso */
.bm-cta-card--sport {
    background: rgba(200,65,10,0.05);
    border-color: rgba(200,65,10,0.2);
}
.bm-cta-card--sport::before { background: linear-gradient(90deg, var(--red-accent), #e8a020); }

/* Casinò: oro */
.bm-cta-card--casino {
    background: rgba(232,160,32,0.05);
    border-color: rgba(232,160,32,0.2);
}
.bm-cta-card--casino::before { background: linear-gradient(90deg, #a16207, var(--gold-accent)); }

/* Disabled */
.bm-cta-card--disabled {
    opacity: 0.45;
    filter: grayscale(0.5);
}

.bm-cta-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bm-cta-card-icon { font-size: 28px; flex-shrink: 0; line-height: 1; }

.bm-cta-card-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 3px;
}

.bm-cta-card-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.bm-cta-card-amount {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--red-accent);
    line-height: 1;
    letter-spacing: -0.5px;
}

.bm-cta-card-amount--casino { color: var(--gold-accent); }

/* Bottoni CTA */
.bm-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
    letter-spacing: 0.3px;
    font-family: var(--font-body);
}

.bm-cta-btn--sport {
    background: linear-gradient(135deg, var(--red-accent), #e8541a);
    color: white !important;
    box-shadow: 0 4px 20px rgba(200,65,10,0.3);
}
.bm-cta-btn--sport:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,65,10,0.45); }

.bm-cta-btn--casino {
    background: linear-gradient(135deg, #a16207, var(--gold-accent));
    color: #1a1612 !important;
    box-shadow: 0 4px 20px rgba(232,160,32,0.3);
}
.bm-cta-btn--casino:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,160,32,0.45); }

.bm-cta-btn--disabled {
    background: var(--bg2);
    color: var(--muted) !important;
    cursor: not-allowed;
    box-shadow: none;
}

.bm-cta-note {
    font-size: 10px;
    color: var(--muted);
    text-align: center;
    line-height: 1.4;
}

/* ─── MID-CONTENT DOPPIA CTA ─── */
.bm-mid-cta {
    background: var(--nav-bg);
    border-radius: 12px;
    padding: 20px 22px;
    margin: 32px 0;
}

.bm-mid-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bm-mid-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bm-mid-block:last-child { border-bottom: none; padding-bottom: 0; }

.bm-mid-block-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bm-mid-block-info strong {
    font-size: 14px;
    font-weight: 700;
    color: #f5f2eb;
    display: block;
}

.bm-mid-block-info span {
    font-size: 12px;
    color: rgba(245,242,235,0.45);
}

/* btn-visit varianti già definite in global, aggiungiamo solo casino */
.btn-visit--casino {
    background: linear-gradient(135deg, #a16207, var(--gold-accent)) !important;
    color: #1a1612 !important;
    box-shadow: 0 3px 16px rgba(232,160,32,0.3) !important;
}
.btn-visit--casino:hover {
    box-shadow: 0 6px 24px rgba(232,160,32,0.45) !important;
}

/* ─── SIDEBAR STICKY WIDGET — doppio bonus ─── */
.bsw-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.bsw-bonus--casino {
    background: rgba(232,160,32,0.06);
    border-color: rgba(232,160,32,0.15);
}

.bsw-bonus-val--casino { color: var(--gold-accent); }

.bsw-cta-btn {
    width: 100%;
    text-align: center;
    display: block;
    margin-bottom: 4px;
}

/* ─── CTA FINALE DOPPIA ─── */
.bm-final-cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 28px 0 0;
}

.bm-final-cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 220px;
}

.bm-final-bonus-label {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    color: var(--red-accent);
    line-height: 1;
}

.bm-final-bonus-label--casino { color: var(--gold-accent); }

.bm-final-bonus-sub {
    font-size: 12px;
    color: rgba(245,242,235,0.4);
    text-align: center;
    margin-bottom: 4px;
}

.bm-final-btn-sport {
    background: linear-gradient(135deg, var(--red-accent), #e8541a) !important;
    box-shadow: 0 4px 24px rgba(200,65,10,0.35) !important;
    min-width: 220px;
    justify-content: center;
}

.bm-final-btn-casino {
    background: linear-gradient(135deg, #a16207, var(--gold-accent)) !important;
    color: #1a1612 !important;
    box-shadow: 0 4px 24px rgba(232,160,32,0.35) !important;
    min-width: 220px;
    justify-content: center;
}

.bm-final-btn-casino:hover { color: #1a1612 !important; }

.bm-final-or {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.bm-final-or span {
    font-size: 12px;
    color: rgba(245,242,235,0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 12px;
    border-radius: 20px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .bm-dual-cta-wrap { padding: 20px; }
    .bm-dual-cta-inner { grid-template-columns: 1fr; }
    .bm-final-cta-btns { flex-direction: column; align-items: stretch; }
    .bm-final-or { justify-content: center; }
    .bm-final-btn-sport,
    .bm-final-btn-casino { min-width: unset; width: 100%; }
    .bm-mid-block { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════
   BOOKMAKER LOGO IMAGE (featured image)
   ════════════════════════════════════════ */

/* Logo nell'hero del bookmaker singolo */
.bm-single-logo {
    width: 80px; height: 80px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    overflow: hidden;
}

.bm-single-logo-img {
    width: 100%; height: 100%;
    object-fit: contain;
    border-radius: 14px;
}

/* Logo nella card featured */
.bm-logo-box {
    width: 72px; height: 72px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    overflow: hidden;
}

.bm-logo-img {
    width: 100%; height: 100%;
    object-fit: contain;
}

/* ════════════════════════════════════════
   BOOKMAKER CORRELATI
   ════════════════════════════════════════ */
.bm-related {
    background: var(--bg2);
    padding: 56px 0;
    border-top: 1px solid var(--border);
    transition: background 0.3s;
}

.bm-related-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.bm-related-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bm-related-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.bm-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.bm-related-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.bm-related-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red-accent), var(--gold-accent));
    opacity: 0;
    transition: opacity 0.2s;
}

.bm-related-card:hover { border-color: rgba(200,65,10,0.2); box-shadow: var(--shadow); transform: translateY(-2px); }
.bm-related-card:hover::before { opacity: 1; }

.bm-related-card-head { display: flex; align-items: center; gap: 10px; }

.bm-related-logo {
    width: 44px; height: 44px;
    border-radius: 8px;
    background: var(--bg2);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    overflow: hidden;
}

.bm-related-logo img { width: 100%; height: 100%; object-fit: contain; }

.bm-related-card-name  { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); }
.bm-related-card-stars { font-size: 11px; color: var(--gold-accent); }

.bm-related-bonus {
    background: rgba(200,65,10,0.05);
    border: 1px solid rgba(200,65,10,0.1);
    border-radius: 7px;
    padding: 8px 12px;
}

.bm-related-bonus-val { font-family: var(--font-display); font-size: 18px; font-weight: 900; color: var(--red-accent); line-height: 1; }
.bm-related-bonus-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

.bm-related-ctas { display: flex; gap: 6px; }

.bm-related-btn {
    flex: 1;
    background: var(--red-accent);
    color: white !important;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.bm-related-btn:hover { background: #a33509; }

.bm-related-btn--casino {
    background: linear-gradient(135deg, #a16207, var(--gold-accent));
    color: #1a1612 !important;
}
.bm-related-btn--casino:hover { opacity: 0.9; color: #1a1612 !important; }

.bm-related-review {
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    text-decoration: underline;
    transition: color 0.15s;
    padding-top: 4px;
    margin-top: auto;  /* spinge sempre in fondo */
}
.bm-related-review:hover { color: var(--red-accent); }

@media (max-width: 900px) {
    .bm-related { padding: 40px 0; }
    .bm-related-inner { padding: 0 20px; }
    .bm-related-grid { grid-template-columns: 1fr; gap: 12px; }
}
