:root {
  --bg: #071a1f;
  --card: #0b2a31;
  --muted: #7aa0a7;
  --text: #e9fcff;
  --primary: #2de1c2;
  --primary-700: #1fb49a;
  --accent: #ffd166;
  --accent-700: #f6b700;
  --border: #11414b;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, #0d3942, transparent),
              radial-gradient(1400px 800px at 80% 10%, #06252b, transparent),
              url('../img/bg.svg'),
              var(--bg);
  background-size: auto, auto, cover, auto;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-position: 20% -10%, 80% 10%, center, top left;
  background-attachment: scroll, scroll, fixed, scroll;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1100px, 92%); margin: 0 auto; }
.narrow { width: min(760px, 92%); }
.center { text-align: center; }
.small { font-size: 12px; }
.text-dim { color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(8px);
  background: linear-gradient(180deg, rgba(7,26,31,.9), rgba(7,26,31,.6));
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.site-header.minimal { position: relative; background: transparent; border-bottom: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #0f3b45; color: var(--primary); border: 1px solid var(--border); }
.brand-text { letter-spacing: .3px; }

.nav { display: none; gap: 20px; color: var(--muted); }
@media (min-width: 920px) { .nav { display: flex; } }
.nav a { padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: rgba(45,225,194,.08); }

.cta-group { display: flex; gap: 10px; }
@media (min-width: 920px) { .cta-group { gap: 14px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid transparent; transition: .2s ease; font-weight: 600; }
.btn-ghost { color: var(--text); background: transparent; border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-primary { color: #042225; background: var(--primary); }
.btn-primary:hover { background: var(--primary-700); }
.btn-secondary { color: var(--text); background: #0e3a42; border-color: var(--border); }
.btn-secondary:hover { background: #0f444d; }
.btn-accent { color: #2b2200; background: var(--accent); }
.btn-accent:hover { background: var(--accent-700); }
.btn-lg { padding: 14px 20px; font-size: 18px; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 40px 0 10px; }
@media (min-width: 920px) { .hero { padding: 80px 0 30px; } }
.hero-inner { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 40px; } }
.hero-copy h1 { font-size: 32px; line-height: 1.18; margin: 0 0 12px; }
@media (min-width: 920px) { .hero-copy h1 { font-size: 44px; } }
.hero-copy p { color: var(--muted); margin: 0 0 20px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 10px 0 14px; }
@media (min-width: 920px) { .hero-cta { gap: 16px; } }
.meta-list { display: flex; gap: 14px; flex-wrap: wrap; color: #a9c8cd; font-size: 14px; }

/* Hero banner background */
.hero {
  background-image: linear-gradient(180deg, rgba(7,26,31,.78), rgba(7,26,31,.58)), url('../img/3.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.hero-card { display: grid; }
.promo-card { border: 1px solid var(--border); background: linear-gradient(180deg, #0d2f36, #0a242a); padding: 20px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25) inset, 0 10px 30px rgba(0,0,0,.2); }
.promo-badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(45,225,194,.12); color: var(--primary); border: 1px solid var(--border); font-weight: 700; margin-bottom: 10px; font-size: 12px; letter-spacing: .6px; }
.promo-card h2 { margin: 8px 0 6px; }
.promo-card p { color: var(--muted); margin: 8px 0 16px; }
.countdown { display: inline-flex; gap: 8px; background: #0c3138; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; font-feature-settings: "tnum" 1, "lnum" 1; }
.countdown span { background: #0a282e; padding: 8px 10px; border-radius: 10px; min-width: 58px; text-align: center; }

/* Sections */
.section { padding: 40px 0; }
@media (min-width: 920px) { .section { padding: 70px 0; } }
.section.alt { background: linear-gradient(180deg, rgba(10,35,40,.65), rgba(10,35,40,.35)); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
.section-title { font-size: 24px; margin: 0 0 20px; }
@media (min-width: 920px) { .section-title { font-size: 30px; } }

.img-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }
@media (min-width: 1024px) { .img-bg { background-attachment: fixed; } }

/* Section-specific backgrounds mapped to your images */


.feature-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-item { border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: #0b2a31; min-height: 160px; position: relative; overflow: hidden; }
.feature-item h3, .feature-item p { position: relative; z-index: 1; }
.feature-item .fi-icon { position: relative; z-index: 1; }
.feature-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,31,.68), rgba(7,26,31,.58)); z-index: 0; }

/* Feature item background mappings */
.fi-bg-1 { background-image: url('../img/3.jpeg'); background-size: cover; background-position: center; }
.fi-bg-2 { background-image: url('../img/4.jpg'); background-size: cover; background-position: center; }
.fi-bg-3 { background-image: url('../img/tipologie-di-scommesse-nel-calcio.jpg'); background-size: cover; background-position: center; }
.fi-bg-4 { background-image: url('../img/action-football.png'); background-size: cover; background-position: center; }
.fi-icon { font-size: 22px; margin-bottom: 8px; }
.fi-icon img { width: 26px; height: 26px; display: block; }

.deal-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 820px) { .deal-cards { grid-template-columns: repeat(3, 1fr); } }
.deal { border: 1px solid var(--border); background: #0b2a31; border-radius: 14px; padding: 16px; }
.deal h3 { margin: 6px 0 8px; }
.deal p { color: var(--muted); margin: 0 0 12px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; border: 1px solid var(--border); background: #0b2a31; border-radius: 14px; padding: 14px; }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #0e3a42; border: 1px solid var(--border); font-weight: 700; color: var(--primary); }

/* Footer */
.site-footer { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: grid; gap: 14px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1fr auto; } }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Sticky CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 12px; z-index: 40; display: none; padding: 0 16px; }
.sticky-cta .btn { border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.sticky-cta.show { display: block; }

/* White page tweaks */
.white-body { background: var(--bg); }
.white-main { padding: 40px 0 70px; }
.list { margin: 8px 0 16px; color: var(--muted); }

/* White page: simple shop */
.shop-hero { padding: 36px 0 26px; border-bottom: 1px solid rgba(255,255,255,.06); background: linear-gradient(180deg, rgba(13,57,66,.35), rgba(7,26,31,.1)); }
.tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); background: #0b2a31; }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { border: 1px solid var(--border); background: #0b2a31; border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.product-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; display: block; }
.product-thumb { height: 140px; border-radius: 10px; background-image: linear-gradient(180deg, rgba(15,59,69,.45), rgba(10,42,48,.55)), var(--thumb); background-size: cover; background-position: center; display: grid; place-items: center; color: #e6f7f9; font-weight: 700; letter-spacing: .4px; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.price { color: var(--primary); font-weight: 700; }


