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

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

.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(240,192,64,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240,192,64,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: 64px; align-items: center; 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(200,65,10,0.35);
}
.hp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(200,65,10,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(200,65,10,0.2); color: #fb923c;
    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(200,65,10,0.15); border: 1px solid rgba(200,65,10,0.25); color: #fb923c; 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(200,65,10,0.3); color: #fb923c; }
.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(200,65,10,0.08); border: 1px solid rgba(200,65,10,0.2); padding: 4px 12px; border-radius: 4px; margin-bottom: 10px; }
.hp-label-tag--dark { color: var(--gold-accent); background: rgba(240,192,64,0.08); border-color: rgba(240,192,64,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(200,65,10,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(200,65,10,0.05); border: 1px solid rgba(200,65,10,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(200,65,10,0.1);   color: var(--red-accent);   border: 1px solid rgba(200,65,10,0.2); }
.hp-tag--gold  { background: rgba(232,160,32,0.1);  color: #a16207;             border: 1px solid rgba(232,160,32,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(200,65,10,0.25); }
.hp-bm-visit:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(200,65,10,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(240,192,64,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(200,65,10,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(200,65,10,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(200,65,10,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 ─── */
@media (max-width: 1100px) {
    .hp-bm-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-hero-inner { grid-template-columns: 1fr; }
    .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; }
}
