/* ════════════════════════════════════════
   BOOKMAKKERS — HOMEPAGE STYLES
   (dipende da global.css)
   ════════════════════════════════════════ */

/* ─── HERO ─── */
.hp-hero {
    background: var(--nav-bg);
    min-height: auto;            /* rimosso 100vh — hero compatta */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 48px 48px 40px;
    transition: background 0.3s;
}

.hp-hero--compact {
    padding: 36px 48px 32px;
}

.hp-hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hp-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    animation: orbFloat 8s ease-in-out infinite alternate;
}

.hp-hero-orb--1 { width: 500px; height: 500px; background: radial-gradient(circle, var(--red-accent), transparent); top: -100px; left: -100px; }
.hp-hero-orb--2 { width: 400px; height: 400px; background: radial-gradient(circle, var(--gold-accent), transparent); bottom: -80px; right: 200px; animation-delay: 2s; }

@keyframes orbFloat {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(30px,-20px) scale(1.1); }
}

.hp-grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148,214,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,214,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove { 0% { transform:translateY(0); } 100% { transform:translateY(60px); } }

.hp-hero-inner {
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 400px;
    gap: 48px; align-items: start; padding-top: 16px; position: relative; z-index: 1;
}

.hp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--red-accent); font-size: 12px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px;
}

.hp-eyebrow-dot {
    width: 6px; height: 6px; background: var(--red-accent);
    border-radius: 50%; box-shadow: 0 0 8px var(--red-accent);
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.4); opacity:0.6; } }

.hp-hero-title {
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 92px);
    font-weight: 900;
    color: #f5f2eb;
    line-height: 0.96;
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: heroSlideIn 0.7s ease both;
}

.hp-hero-title em { font-style: normal; color: var(--gold-accent); display: block; }

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

.hp-hero-sub {
    font-size: 16px; color: rgba(245,242,235,0.55); line-height: 1.65;
    max-width: 480px; margin-bottom: 36px; font-weight: 400;
    animation: heroSlideIn 0.7s ease 0.1s both;
}

.hp-hero-ctas { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; animation: heroSlideIn 0.7s ease 0.2s both; }

.hp-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--red-accent), var(--gold-accent));
    color: white; padding: 14px 28px; border-radius: 8px;
    font-family: var(--font-display); font-size: 17px; font-weight: 700;
    letter-spacing: 0.5px; text-decoration: none; white-space: nowrap;
    transition: all 0.2s; box-shadow: 0 4px 24px rgba(31,127,196,0.35);
}
.hp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(31,127,196,0.5); color: white; }
.hp-btn-primary--lg  { font-size: 20px; padding: 16px 36px; }
.hp-btn-arrow        { transition: transform 0.2s; }
.hp-btn-primary:hover .hp-btn-arrow { transform: translateX(4px); }

.hp-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    color: #f5f2eb; padding: 14px 28px; border-radius: 8px;
    font-family: var(--font-display); font-size: 17px; font-weight: 700;
    letter-spacing: 0.5px; text-decoration: none; white-space: nowrap;
    transition: all 0.2s;
}
.hp-btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: white; }

.hp-trust-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; animation: heroSlideIn 0.7s ease 0.3s both; }
.hp-trust-item { font-size: 12px; color: rgba(245,242,235,0.4); font-weight: 500; }
.hp-trust-sep  { color: rgba(245,242,235,0.2); }

/* Hero card */
.hp-hero-card {
    background: rgba(14,20,32,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    animation: heroSlideIn 0.7s ease 0.15s both;
}

[data-theme="light"] .hp-hero-card {
    background: rgba(26,22,18,0.85);
}

.hp-card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hp-card-label { font-size: 12px; font-weight: 700; color: rgba(245,242,235,0.5); letter-spacing: 1px; text-transform: uppercase; }
.hp-live-badge {
    background: rgba(31,127,196,0.2); color: #a8deff;
    font-size: 10px; font-weight: 800; padding: 2px 8px;
    border-radius: 4px; letter-spacing: 1.5px;
    animation: livePulse 2s ease-in-out infinite;
}

.hp-mini-bm { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.hp-mini-bm:last-of-type { border-bottom: none; }
.hp-mini-rank { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: rgba(245,242,235,0.2); width: 24px; text-align: center; flex-shrink: 0; }
.hp-mini-logo { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.hp-mini-info { flex: 1; min-width: 0; }
.hp-mini-name  { font-size: 14px; font-weight: 700; color: #f5f2eb; display: block; }
.hp-mini-bonus { font-size: 11px; color: var(--gold-accent); font-weight: 600; }
.hp-mini-score { font-family: var(--font-mono); font-size: 13px; color: var(--gold-accent); font-weight: 500; flex-shrink: 0; }
.hp-mini-cta { background: rgba(31,127,196,0.15); border: 1px solid rgba(31,127,196,0.25); color: #a8deff; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 5px; text-decoration: none; transition: all 0.15s; white-space: nowrap; flex-shrink: 0; }
.hp-mini-cta:hover { background: rgba(31,127,196,0.3); color: #a8deff; }
.hp-card-all { display: block; text-align: center; padding: 10px; margin-top: 12px; font-size: 12px; color: var(--gold-accent); text-decoration: none; font-weight: 600; border-top: 1px solid rgba(255,255,255,0.06); transition: opacity 0.2s; }
.hp-card-all:hover { opacity: 0.75; }
.hp-no-bm { font-size: 13px; color: rgba(245,242,235,0.3); padding: 16px 0; }

/* ─── STATS STRIP ─── */
.hp-stats-strip {
    background: var(--nav-bg);
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.04);
    transition: background 0.3s;
}

.hp-stat-item {
    padding: 28px 32px;
    border-right: 1px solid rgba(255,255,255,0.05);
    animation: fadeUp 0.5s ease both;
}
.hp-stat-item:last-child { border-right: none; }

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

.hp-stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 900; color: var(--gold-accent); line-height: 1; margin-bottom: 4px; }
.hp-stat-lbl { font-size: 12px; color: rgba(245,242,235,0.35); font-weight: 600; letter-spacing: 0.5px; }

/* ─── SECTIONS ─── */
.hp-section       { padding: 80px 48px; }
.hp-section--light { background: var(--bg); transition: background 0.3s; }
.hp-section--dark  { background: var(--nav-bg); transition: background 0.3s; }
.hp-section-inner  { max-width: 1200px; margin: 0 auto; }

.hp-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }
.hp-section-head--center { flex-direction: column; align-items: center; text-align: center; }

.hp-label-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red-accent); background: rgba(31,127,196,0.08); border: 1px solid rgba(31,127,196,0.2); padding: 4px 12px; border-radius: 4px; margin-bottom: 10px; }
.hp-label-tag--dark { color: var(--gold-accent); background: rgba(148,214,255,0.08); border-color: rgba(148,214,255,0.2); }

.hp-section-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--ink); line-height: 1.05; letter-spacing: -0.5px; }
.hp-section-title--light { color: #f5f2eb; }
.hp-section-sub { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.5; max-width: 500px; }
.hp-section-sub--muted { color: rgba(245,242,235,0.4); }

.hp-link-all { color: var(--red-accent); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; white-space: nowrap; transition: opacity 0.2s; flex-shrink: 0; }
.hp-link-all:hover { opacity: 0.7; }

/* ─── BOOKMAKER GRID ─── */
.hp-bm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.hp-bm-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px; padding: 20px;
    position: relative; overflow: hidden;
    transition: all 0.2s;
    animation: fadeUp 0.5s ease both;
}
.hp-bm-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; }
.hp-bm-card:hover { border-color: rgba(31,127,196,0.2); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.hp-bm-card:hover::before { opacity: 1; }

.hp-bm-top-badge { position: absolute; top: 12px; right: 12px; background: var(--red-accent); color: white; font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.hp-bm-card-head  { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hp-bm-logo       { width: 44px; height: 44px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.hp-bm-card-name  { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); }
.hp-bm-stars      { font-size: 10px; color: var(--gold-accent); }
.hp-bm-stars span { color: var(--muted); margin-left: 4px; font-family: var(--font-mono); }
.hp-bm-rank-badge { margin-left: auto; font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--border); }

.hp-bm-bonus-box  { background: rgba(31,127,196,0.05); border: 1px solid rgba(31,127,196,0.1); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.hp-bm-bonus-val  { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--red-accent); line-height: 1; }
.hp-bm-bonus-lbl  { font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

.hp-bm-tags  { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; }
.hp-tag      { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; padding: 2px 7px; border-radius: 3px; text-transform: uppercase; }
.hp-tag--green { background: rgba(30,122,74,0.1);   color: var(--green-accent); border: 1px solid rgba(30,122,74,0.2); }
.hp-tag--red   { background: rgba(31,127,196,0.1);   color: var(--red-accent);   border: 1px solid rgba(31,127,196,0.2); }
.hp-tag--gold  { background: rgba(148,214,255,0.1);  color: #176aa8;             border: 1px solid rgba(148,214,255,0.2); }
.hp-tag--blue  { background: rgba(99,102,241,0.08); color: #4f46e5;             border: 1px solid rgba(99,102,241,0.2); }

[data-theme="dark"] .hp-tag--gold  { color: var(--gold-accent); }
[data-theme="dark"] .hp-tag--blue  { color: #a5b4fc; border-color: rgba(99,102,241,0.3); }

.hp-bm-card-actions { display: flex; flex-direction: column; gap: 6px; }
.hp-bm-visit  { background: linear-gradient(135deg, var(--red-accent), var(--gold-accent)); color: white !important; text-align: center; padding: 9px; border-radius: 6px; font-family: var(--font-display); font-size: 14px; font-weight: 700; text-decoration: none; transition: all 0.2s; box-shadow: 0 2px 12px rgba(31,127,196,0.25); }
.hp-bm-visit:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(31,127,196,0.4); }
.hp-bm-review { text-align: center; padding: 7px; border-radius: 6px; border: 1px solid var(--border); color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; transition: all 0.15s; }
.hp-bm-review:hover { border-color: var(--red-accent); color: var(--red-accent); }

/* ─── FEATURES ─── */
.hp-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.hp-feature-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px; padding: 24px;
    transition: all 0.2s; animation: fadeUp 0.5s ease both;
}
.hp-feature-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(148,214,255,0.15); transform: translateY(-2px); }

[data-theme="light"] .hp-feature-card { background: var(--surface); border-color: var(--border); }
[data-theme="light"] .hp-feature-card:hover { background: var(--surface2); border-color: rgba(31,127,196,0.2); }

.hp-feature-icon  { font-size: 28px; margin-bottom: 12px; }
.hp-feature-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #f5f2eb; margin-bottom: 8px; }
.hp-feature-desc  { font-size: 13px; color: rgba(245,242,235,0.45); line-height: 1.6; font-weight: 400; }

[data-theme="light"] .hp-feature-title { color: var(--ink); }
[data-theme="light"] .hp-feature-desc  { color: var(--muted); }

/* ─── SPORT GRID ─── */
.hp-sport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.hp-sport-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 20px 20px 16px;
    text-decoration: none; position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: 4px;
    transition: all 0.2s; animation: fadeUp 0.4s ease both;
}
.hp-sport-card:hover { border-color: rgba(31,127,196,0.25); transform: translateY(-2px); box-shadow: var(--shadow); }
.hp-sport-card:hover .hp-sport-bar  { height: 3px; }
.hp-sport-card:hover .hp-sport-arrow { transform: translateX(4px); }

.hp-sport-emoji { font-size: 28px; margin-bottom: 6px; }
.hp-sport-name  { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); }
.hp-sport-count { font-size: 12px; color: var(--muted); font-weight: 500; }
.hp-sport-arrow { font-size: 14px; color: var(--red-accent); margin-top: auto; padding-top: 8px; transition: transform 0.2s; }
.hp-sport-bar   { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; transition: height 0.2s; }

/* ─── CTA BANNER ─── */
.hp-cta-banner {
    background: var(--nav-bg); padding: 80px 48px;
    position: relative; overflow: hidden; transition: background 0.3s;
}
.hp-cta-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(31,127,196,0.08) 0%, transparent 60%); pointer-events: none; }

.hp-cta-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }

.hp-cta-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 900; color: #f5f2eb; line-height: 1.05; margin-bottom: 10px; letter-spacing: -0.5px; }
.hp-cta-title em { font-style: normal; color: var(--gold-accent); }
.hp-cta-text p { font-size: 15px; color: rgba(245,242,235,0.45); }

.hp-cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.hp-cta-note    { font-size: 11px; color: rgba(245,242,235,0.25); font-weight: 500; }

/* ─── RESPONSIVE ─── */

/* ─── CTA SIDE (colonna destra hero) ─── */
/* Split: testo sx | CTA centrata | spazio equilibrio dx */
.hp-hero-inner--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hp-hero-ctas-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 240px;
    align-items: stretch;
    /* Centro della seconda colonna */
    margin: 0 auto;
}

.hp-side-cta {
    display: flex;
    align-items: center;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s;
    white-space: nowrap;
    gap: 8px;
    line-height: 1;
}

.hp-side-cta--primary {
    background: linear-gradient(135deg, #1f7fc4, #2f93da);
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(31,127,196,0.35);
}
.hp-side-cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(31,127,196,0.5);
    color: #fff !important;
}

.hp-side-cta--secondary {
    background: rgba(148,214,255,0.12);
    border: 1px solid rgba(148,214,255,0.3);
    color: #2f93da !important;
}
.hp-side-cta--secondary:hover {
    background: rgba(148,214,255,0.2);
    transform: translateY(-1px);
    color: #2f93da !important;
}

.hp-side-cta--ghost {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(245,242,235,0.65) !important;
    font-size: 13px;
}
.hp-side-cta--ghost:hover {
    background: rgba(255,255,255,0.1);
    color: #f5f2eb !important;
}

/* Testo hero separato dal layout split */
.hp-hero-text {
    flex: 1;
}

@media (max-width: 1100px) {
    .hp-bm-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-hero-inner--split {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hp-hero-ctas-side {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: unset;
        justify-self: auto;
    }
    .hp-side-cta { flex: 1; min-width: 140px; justify-content: center; }
    .hp-hero-card { display: none; }
}
@media (max-width: 900px) {
    .hp-hero { padding: 100px 24px 60px; min-height: auto; }
    .hp-section { padding: 60px 24px; }
    .hp-stats-strip { grid-template-columns: repeat(2, 1fr); }
    .hp-features-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-sport-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-cta-banner { padding: 60px 24px; }
    .hp-cta-inner { flex-direction: column; align-items: flex-start; }
    .hp-cta-actions { align-items: flex-start; }
}
@media (max-width: 600px) {
    .hp-bm-grid { grid-template-columns: 1fr; }
    .hp-features-grid { grid-template-columns: 1fr; }
    .hp-stats-strip { grid-template-columns: 1fr 1fr; }
    .hp-hero-ctas { flex-direction: column; }
    .hp-btn-primary, .hp-btn-secondary { justify-content: center; }
}

/* ════════════════════════════════════════
   HOME — LISTA COMPLETA BOOKMAKER (dal #5)
   ════════════════════════════════════════ */

.hp-bm-full-list {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.hp-bm-full-list-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.hp-bm-full-list-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.hp-bm-full-list-rule {
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Righe lista */
.hp-bm-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}

.hp-bm-row {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 20px;
    display: grid;
    grid-template-columns: 36px 44px 1fr auto auto auto;
    align-items: center;
    gap: 12px;
    transition: all 0.18s;
    animation: fadeUp 0.4s ease both;
    position: relative;
    overflow: hidden;
}

.hp-bm-row::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--border);
    transition: background 0.2s;
}

.hp-bm-row:hover {
    border-color: rgba(31,127,196,0.25);
    box-shadow: var(--shadow);
    transform: translateX(2px);
}

.hp-bm-row:hover::before { background: var(--red-accent); }

.hp-bm-row-rank {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 900;
    color: var(--muted);
    text-align: center;
    transition: color 0.2s;
}

.hp-bm-row:hover .hp-bm-row-rank { color: var(--red-accent); }

.hp-bm-row-logo {
    width: 44px; height: 44px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    text-decoration: none;
    overflow: hidden;
    transition: opacity 0.15s, border-color 0.15s;
}
.hp-bm-row-logo:hover {
    opacity: 0.85;
    border-color: rgba(31,127,196,0.35);
}
.hp-bm-row-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    box-sizing: border-box;
}

.hp-bm-row-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hp-bm-row-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
}

.hp-bm-row-name--link {
    text-decoration: none;
    color: var(--ink);
    transition: color 0.15s;
    display: inline-block;
}
.hp-bm-row-name--link:hover { color: var(--red-accent, #1f7fc4); }

.hp-bm-row-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.hp-bm-row-bonus {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: right;
    min-width: 100px;
}

.hp-bm-row-bval {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 900;
    color: var(--red-accent);
    line-height: 1;
}

.hp-bm-row-bval--casino { color: var(--gold-accent); }

.hp-bm-row-score {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--ink);
    text-align: center;
    min-width: 40px;
}

.hp-bm-row-ctas {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: stretch;
    min-width: 110px;
}

.hp-bm-row-btn {
    display: block;
    background: var(--red-accent);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}

.hp-bm-row-btn:hover { background: #176aa8; color: white; transform: translateY(-1px); }

.hp-bm-row-btn--casino {
    background: linear-gradient(135deg, #176aa8, var(--gold-accent));
    color: #1a1612 !important;
}

.hp-bm-row-btn--casino:hover {
    background: linear-gradient(135deg, #0e4c79, #1f7fc4);
    color: #1a1612 !important;
}

.hp-bm-row-btn--review {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink);
}

.hp-bm-row-btn--review:hover {
    background: rgba(31,127,196,0.04);
    border-color: var(--red-accent);
    color: var(--red-accent);
}

/* Footer lista */
.hp-bm-full-list-footer {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

/* Bonus casinò sulla card griglia top 4 */
.hp-bm-bonus-box--casino {
    background: rgba(148,214,255,0.06);
    border: 1px solid rgba(148,214,255,0.15);
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: -8px;
    border-top: 1px dashed rgba(148,214,255,0.2);
}

.hp-bm-bonus-val--casino { color: var(--gold-accent) !important; }

/* Pulsante Casinò nella card top 4 */
.hp-bm-casino {
    background: linear-gradient(135deg, #176aa8, var(--gold-accent));
    color: #1a1612 !important;
    text-align: center;
    padding: 7px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.hp-bm-casino:hover { opacity: 0.9; transform: translateY(-1px); color: #1a1612 !important; }

/* Responsive */
/* hp-bm-row description */
.hp-bm-row-desc {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

@media (max-width: 900px) {
    .hp-bm-row { grid-template-columns: 32px 36px 1fr auto; gap: 10px; }
    .hp-bm-row-bonus, .hp-bm-row-score { display: none; }
    .hp-bm-row-ctas { flex-direction: row; min-width: auto; }
}

@media (max-width: 640px) {
    /* Card verticale su mobile */
    .hp-bm-row {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px 16px;
        position: relative;
    }

    .hp-bm-row-logo {
        position: absolute;
        top: 14px; right: 14px;
        width: 38px; height: 38px;
    }

    .hp-bm-row-rank { font-size: 14px; position: absolute; top: 18px; left: 14px; }
    .hp-bm-row-info { padding-left: 28px; padding-right: 52px; }
    .hp-bm-row-name { font-size: 16px; white-space: normal; }

    .hp-bm-row-bonus {
        display: flex !important;
        gap: 8px;
        align-items: center;
        text-align: left;
        min-width: unset;
        background: rgba(31,127,196,0.04);
        border: 1px solid rgba(31,127,196,0.1);
        border-radius: 6px;
        padding: 7px 10px;
    }
    .hp-bm-row-score { display: none; }

    .hp-bm-row-ctas {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
        min-width: unset;
    }
    .hp-bm-row-btn,
    .hp-bm-row-btn--casino { flex: 1; min-width: calc(50% - 3px); text-align: center; justify-content: center; padding: 9px 6px; font-size: 11px; }
    .hp-bm-row-btn--review { flex: 1 1 100%; }

    .hp-bm-full-list-footer .hp-btn-primary { width: 100%; justify-content: center; }
}


/* ════════════════════════════════════════
   SEZIONE NEWS / BLOG
   ════════════════════════════════════════ */
.hp-news-section {}

/* Griglia: 2 righe × 3 colonne uniforme */
.hp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Nessuna card featured speciale — tutte uguali */
.hp-news-card--featured {
    grid-column: auto;
    grid-row: auto;
}

/* Card generica */
.hp-news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.2s;
    animation: fadeUp 0.5s ease both;
}
.hp-news-card:hover {
    border-color: rgba(31,127,196,0.25);
    box-shadow: var(--shadow-lg, 0 8px 32px rgba(0,0,0,0.12));
    transform: translateY(-3px);
}

/* Thumbnail */
.hp-news-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    flex-shrink: 0;
}
.hp-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.hp-news-card:hover .hp-news-img { transform: scale(1.04); }

/* Featured: immagine più alta */
/* featured come le altre */

/* Body */
.hp-news-body {
    padding: 16px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.hp-news-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--red-accent, #1f7fc4);
    text-decoration: none;
    transition: opacity 0.15s;
    display: inline-block;
}
.hp-news-cat:hover { opacity: 0.7; }

.hp-news-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
.hp-news-title a:hover { color: var(--red-accent, #1f7fc4); }

/* Featured: titolo più grande */
/* nessun override featured */

.hp-news-excerpt {
    font-size: 13px;
    color: var(--muted, #8a8078);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.hp-news-date,
.hp-news-rt {
    font-size: 11px;
    color: var(--muted);
}

/* Footer sezione */
.hp-news-footer {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* Bottone secondario (se non già definito) */
.hp-btn--secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--border);
    color: var(--ink) !important;
    padding: 12px 28px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}
.hp-btn--secondary:hover {
    border-color: var(--red-accent, #1f7fc4);
    color: var(--red-accent, #1f7fc4) !important;
    transform: translateY(-1px);
}

/* Responsive news grid */
@media (max-width: 900px) {
    .hp-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .hp-news-grid { grid-template-columns: 1fr; }
}
