/* BetSynq v15 — Pixel-exact SpeedyBet visual clone · Blue #2D7FF9 */
/* Extracted values from SpeedyBet computed styles — zero guessing */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
  --bg:#091417;
  --panel:#000B0A;
  --blue:#2D7FF9;
  --blue12:rgba(45,127,249,0.125);
  --blue15:rgba(45,127,249,0.15);
  --white:#fff;
  --muted:#84a5a2;
  --border:rgba(206,219,218,0.25);
  --radius:4px;
  --font:"Inter","Gilroy","Open Sans",sans-serif;
}

html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--white);font:16px/1.5 var(--font);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:none;background:none;color:inherit;font:inherit}
ul,ol{list-style:none}
img{display:block;max-width:100%}

/* ===== TOPBAR (34px) ===== */
.topbar{
  height:34px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:0 16px;
  gap:0;
  position:fixed;
  top:0;left:0;right:0;
  z-index:500;
  background:var(--bg);
}
.topbar a{
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 12px;
  font:400 12px/34px var(--font);
  color:var(--muted);
  transition:color .2s;
}
.topbar a:hover{color:var(--white)}
.topbar svg{width:18px;height:18px}

/* ===== HEADER (64px, fixed at top:34px) ===== */
.header{
  position:fixed;
  top:34px;left:0;right:0;
  height:64px;
  background:var(--bg);
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  padding:0 16px;
  z-index:400;
}
.header__left{display:flex;align-items:center;gap:16px}
.header__burger{
  display:flex;flex-direction:column;gap:5px;
  padding:8px;cursor:pointer;
}
.header__burger span{
  display:block;width:22px;height:2px;
  background:var(--white);
  transform:skewX(-9deg);
  transition:transform .2s;
}
.header__logo{height:28px}
.header__logo img{height:28px;width:auto}

.header__nav{
  display:flex;
  align-items:center;
  gap:32px;
  margin-left:40px;
}
.header__nav a{
  font:700 18px var(--font);
  color:var(--muted);
  transition:color .2s;
}
.header__nav a:hover,.header__nav a.active{color:var(--white)}

.header__right{
  display:flex;
  align-items:center;
  gap:16px;
  margin-left:auto;
}
.header__search{
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;
  color:var(--muted);
}
.header__search svg{width:20px;height:20px}
.header__cta{
  background:var(--blue);
  color:var(--white);
  border-radius:var(--radius);
  padding:0 16px;
  font:700 16px/40px var(--font);
  display:inline-flex;
  align-items:center;
  border:1px solid transparent;
  transition:opacity .2s;
}
.header__cta:hover{opacity:.85}

/* ===== MAIN CONTENT ===== */
.main{
  margin-top:98px; /* 34 topbar + 64 header */
  padding:0 68px;
}

/* ===== HERO / FEATURED TIP ===== */
.hero{
  background:var(--panel);
  border-radius:16px;
  padding:48px 56px;
  margin:24px 0 0;
  position:relative;
  overflow:hidden;
}
.hero__badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:rgba(45,127,249,0.2);
  color:var(--blue);
  font:700 12px var(--font);
  padding:4px 10px;
  border-radius:var(--radius);
  margin-bottom:16px;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.hero__badge::before{
  content:"";
  width:8px;height:8px;
  background:var(--blue);
  border-radius:50%;
  animation:pulse 2s infinite;
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

.hero h1{
  font:900 42px/1.1 var(--font);
  margin-bottom:8px;
}
.hero h1 span{color:var(--blue)}
.hero__sub{
  font:400 18px/1.5 var(--font);
  color:var(--muted);
  margin-bottom:24px;
  max-width:500px;
}
.hero__match{
  display:flex;
  align-items:center;
  gap:32px;
  background:rgba(45,127,249,0.06);
  border:1px solid var(--blue15);
  border-radius:8px;
  padding:16px 24px;
  max-width:600px;
}
.hero__teams{display:flex;flex-direction:column;gap:4px}
.hero__team{font:700 16px var(--font);display:flex;align-items:center;gap:8px}
.hero__team img{width:20px;height:14px;border-radius:2px}
.hero__score{
  display:flex;gap:4px;
  align-items:center;
}
.hero__score span{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  width:32px;height:32px;
  display:flex;align-items:center;justify-content:center;
  font:700 16px var(--font);
}
.hero__tip{
  margin-left:auto;
  text-align:right;
}
.hero__tip-label{font:400 12px var(--font);color:var(--muted);margin-bottom:4px}
.hero__tip-value{
  background:var(--blue12);
  color:var(--blue);
  font:700 14px var(--font);
  padding:6px 16px;
  border-radius:var(--radius);
}

/* ===== SPORT ICONS ROW ===== */
.sports{
  display:flex;
  gap:8px;
  margin:24px 0 0;
  overflow-x:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
  padding-bottom:4px;
}
.sports::-webkit-scrollbar{display:none}
.sports__item{
  flex:0 0 auto;
  width:100px;
  height:92px;
  background:var(--panel);
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  transition:background .2s,border-color .2s;
  border:1px solid transparent;
}
.sports__item:hover,.sports__item.active{
  border-color:var(--blue);
  background:rgba(45,127,249,0.08);
}
.sports__item svg{width:28px;height:28px;color:var(--muted)}
.sports__item.active svg{color:var(--blue)}
.sports__item span{font:400 12px var(--font);color:var(--muted)}
.sports__item.active span{color:var(--white)}

/* ===== SECTION HEADING ===== */
.section-title{
  font:900 26px/26px var(--font);
  color:var(--white);
  margin:32px 0 16px;
}

/* ===== TABS ===== */
.tabs{
  display:flex;
  gap:8px;
  margin-bottom:16px;
}
.tabs__btn{
  padding:6.4px 19.2px;
  border-radius:var(--radius);
  font:700 16px var(--font);
  border:2px solid var(--white);
  color:var(--white);
  background:transparent;
  transition:all .2s;
}
.tabs__btn.active,.tabs__btn:hover{
  background:var(--blue);
  border-color:var(--blue);
  color:var(--white);
}

/* ===== MATCH LISTINGS ===== */
.league{margin-bottom:24px}
.league__header{
  display:flex;
  align-items:center;
  padding:12px 0;
  font:700 14px var(--font);
  color:var(--muted);
}
.league__name{
  display:flex;
  align-items:center;
  gap:8px;
  flex:1;
}
.league__name svg{width:18px;height:18px}
.league__cols{
  display:flex;
  gap:4px;
  width:50%;
  justify-content:flex-end;
}
.league__col{
  width:calc((100% - 16px) / 3);
  text-align:center;
  font:700 13px var(--font);
  color:var(--muted);
}

.match{
  display:flex;
  align-items:center;
  padding:16px 0;
  border-top:1px solid var(--blue15);
}
.match__info{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.match__team{
  font:700 14px var(--font);
  display:flex;
  align-items:center;
  gap:8px;
}
.match__flag{font-size:16px}
.match__meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:4px;
}
.match__time{font:400 13px var(--font);color:var(--muted)}
.match__live{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font:700 11px var(--font);
  color:var(--white);
  background:rgba(255,255,255,0.1);
  padding:2px 8px;
  border-radius:var(--radius);
  text-transform:uppercase;
  letter-spacing:.5px;
}
.match__live::before{
  content:"";width:6px;height:6px;
  background:#e74c3c;border-radius:50%;
  animation:pulse 1.5s infinite;
}

.match__cells{
  display:flex;
  gap:4px;
  width:50%;
  justify-content:flex-end;
}
.match__cell{
  width:calc((100% - 16px) / 3);
  background:var(--blue12);
  color:var(--blue);
  border-radius:var(--radius);
  padding:10px 8px;
  text-align:center;
  font:700 14px var(--font);
  cursor:pointer;
  transition:background .2s;
}
.match__cell:hover{background:rgba(45,127,249,0.25)}
.match__cell--locked{
  background:rgba(255,255,255,0.05);
  color:var(--muted);
  cursor:default;
  font-size:13px;
}
.match__cell--locked:hover{background:rgba(255,255,255,0.05)}
.match__cell--free{
  background:rgba(39,174,96,0.15);
  color:#27ae60;
}
.match__cell--value{font-size:13px}

/* "Se alla" button */
.see-all{
  display:flex;
  justify-content:center;
  margin:24px 0 48px;
}
.see-all a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:200px;
  padding:12px 32px;
  border:2px solid var(--blue);
  border-radius:var(--radius);
  font:700 16px var(--font);
  color:var(--blue);
  transition:all .2s;
}
.see-all a:hover{background:var(--blue);color:var(--white)}

/* ===== SEO TEXT ===== */
.seo{
  max-width:680px;
  margin:0 0 48px;
  padding-top:48px;
}
.seo h2{
  font:900 26px/1.2 var(--font);
  margin-bottom:16px;
}
.seo p{
  font:400 16px/1.6 var(--font);
  color:var(--muted);
  margin-bottom:16px;
}
.seo a{color:var(--blue)}

/* ===== FOOTER ===== */
.footer{
  padding:48px 68px 32px;
  text-align:center;
}
.footer__links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0;
  margin-bottom:24px;
}
.footer__links a{
  font:400 14px var(--font);
  color:var(--blue);
  padding:0 12px;
  position:relative;
}
.footer__links a:not(:last-child)::after{
  content:"·";
  position:absolute;
  right:-2px;
  color:var(--muted);
}
.footer__links a:hover{text-decoration:underline}

.footer__payments{
  display:flex;
  justify-content:center;
  gap:24px;
  margin:24px 0;
  color:var(--muted);
  font:400 14px var(--font);
}

.footer__company{
  font:700 14px var(--font);
  margin:24px 0 8px;
}
.footer__copy{
  font:400 13px var(--font);
  color:var(--muted);
  margin-bottom:16px;
}
.footer__legal{
  font:400 13px/1.6 var(--font);
  color:var(--muted);
  max-width:700px;
  margin:0 auto 16px;
}
.footer__legal a{color:var(--blue)}

.footer__badges{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-top:24px;
  align-items:center;
}
.footer__badge{
  font:700 12px var(--font);
  color:var(--muted);
  padding:6px 12px;
  border:1px solid var(--border);
  border-radius:var(--radius);
}

/* ===== SIDEBAR ===== */
.sidebar{
  position:fixed;
  top:0;left:0;bottom:0;
  width:305px;
  background:var(--panel);
  z-index:600;
  transform:translateX(-100%);
  transition:transform .3s;
  overflow-y:auto;
}
.sidebar.open{transform:translateX(0)}
.sidebar__overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  z-index:550;
  opacity:0;
  pointer-events:none;
  transition:opacity .3s;
}
.sidebar__overlay.open{opacity:1;pointer-events:auto}

.sidebar__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px;
  border-bottom:1px solid var(--border);
}
.sidebar__close{
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  font-size:24px;
  color:var(--muted);
}
.sidebar__nav{padding:8px 0}
.sidebar__item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  font:700 18px var(--font);
  color:var(--muted);
  transition:color .2s,background .2s;
}
.sidebar__item:hover,.sidebar__item.active{
  color:var(--white);
  background:rgba(45,127,249,0.08);
}
.sidebar__item svg{width:24px;height:24px}
.sidebar__item.active{color:var(--blue)}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
  .main{padding:0 24px}
  .footer{padding:48px 24px 32px}
}
@media(max-width:768px){
  .main{padding:0 16px}
  .header__nav{display:none}
  .hero{padding:32px 24px}
  .hero h1{font-size:28px}
  .league__cols{width:55%}
  .match__cells{width:55%}
  .footer{padding:32px 16px}
}
@media(max-width:480px){
  .hero__match{flex-direction:column;gap:16px}
  .hero__tip{margin-left:0;text-align:left}
  .match{flex-direction:column;align-items:flex-start;gap:12px}
  .match__cells{width:100%;justify-content:flex-start}
  .league__cols{display:none}
}
