﻿:root{
  --red:#d42040;
  --yellow:#f5c518;
  --green:#28a745;
  --blue:#0d6efd;
  --dark:#1a1f2e;
  --bg:#e4e6ea;
  --light-blue:#dfe8f7;
}
*{box-sizing:border-box}
body{
  background:var(--bg);
  font-family:'Barlow Condensed',sans-serif;
  margin:0;
  min-height:100vh
}

.user-link,
.user-link:visited,
.user-link:focus,
.user-link:active{
  color:#fff;
  text-decoration:none;
}
.user-link:hover{
  color:#00bbff;
  text-decoration:none;
}

.nav-bar{
  max-width:1200px;
  margin:0 auto;
  padding:14px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
  z-index:100
}
.nav-left{display:flex;align-items:center;gap:5px}
.nav-right{display:flex;align-items:center;gap:8px}
.social-btn{
  width:48px;height:48px;border-radius:8px;display:flex;align-items:center;justify-content:center;
  text-decoration:none;transition:all .2s
}
.social-btn:hover{transform:scale(1.15);opacity:.85}
.social-btn svg{width:36px;height:36px}
.come-funziona-link{
  font-family:'Oswald',sans-serif;font-size:13px;text-transform:uppercase;letter-spacing:1px;color:var(--blue);
  text-decoration:none;padding:8px 14px;border:2px solid var(--blue);border-radius:8px;transition:all .2s;white-space:nowrap
}
.come-funziona-link:hover{background:var(--blue);color:#fff}
.come-funziona-link.cta-iscriviti{
  background:var(--blue);color:#fff;border-color:var(--blue)
}
.come-funziona-link.cta-iscriviti:hover{
  background:var(--red);color:#fff;border-color:var(--red)
}
.nav-btn{
  width:38px;height:38px;border-radius:8px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;
  text-decoration:none;transition:all .2s;position:relative
}
.nav-btn:hover{background:#0b5ed7;color:#fff;transform:scale(1.08)}
.nav-btn svg{width:18px;height:18px;fill:currentColor}
.nav-notify-dot{
  position:absolute;top:4px;right:4px;width:10px;height:10px;border-radius:50%;
  background:#d42040;border:2px solid #fff
}
.logged-badge{font-size:12px;color:var(--green);margin-right:4px}
.user-menu-wrap{position:relative;display:flex;align-items:center;gap:8px}
.user-menu-btn{
  border:none;padding:0;background:none;cursor:pointer;display:flex;align-items:center;position:relative
}
.user-menu-panel{
  position:absolute;top:52px;right:0;min-width:210px;background:#fff;border:1px solid #dfe3ea;border-radius:10px;
  box-shadow:0 12px 32px rgba(0,0,0,.16);padding:6px;display:none;z-index:1200
}
.user-menu-panel.open{display:block}
.menu-challenge-badge{
  display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;
  margin-left:5px;background:#d42040;color:#fff;font-size:12px;font-weight:700;border-radius:6px;line-height:1
}
.user-menu-btn .menu-challenge-badge{
  position:absolute;top:-5px;right:-5px;margin-left:0
}
.user-menu-item{
  display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:8px;text-decoration:none;
  font-family:'Oswald',sans-serif;font-size:13px;color:#1a1f2e;text-transform:uppercase;letter-spacing:.5px
}
.user-menu-item:hover{background:#f5f8ff;color:#0d6efd}
.user-menu-sep{height:1px;background:#edf1f6;margin:5px 0}

.user-menu-item.is-sub-item{
  padding-left:16px;
}
.user-menu-item.is-sub-item .menu-label{
  position:relative;
  padding-left:9px;
}
.user-menu-item.is-sub-item .menu-label::before{
  content:'';
  position:absolute;
  left:0;
  top:50%;
  width:4px;
  height:4px;
  border-radius:50%;
  transform:translateY(-50%);
  background:#9cb0d3;
}

.user-menu-section{
  padding:2px 0;
}
.user-menu-section-toggle{
  width:100%;
  border:0;
  background:transparent;
  padding:6px 10px 4px;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  border-radius:8px;
}
.user-menu-section-toggle:hover{
  background:#f7f9fd;
}
.user-menu-section-title{
  padding:0;
  font-family:'Oswald',sans-serif;
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:#657186;
  text-align:left;
}
.menu-section-user{color:#1b8f3a}
.menu-section-arena{color:#0d6efd}
.menu-section-talk{color:#2da7ff}
.menu-section-format{color:#6b4fd6}
.menu-section-nerdinsisland{color:#1b7a5a}
.menu-section-clip{color:#7b3ff2}
.menu-section-games{color:#ef8b17}
.menu-section-mod{color:#7d1f1f}
.menu-section-show{color:#0d6efd}
.menu-section-partecipante{color:#7b3ff2}

.user-menu-section-chevron{
  width:8px;
  height:8px;
  border-right:2px solid #8695ac;
  border-bottom:2px solid #8695ac;
  transform:rotate(45deg);
  transition:transform .18s ease;
}
.user-menu-section-body{
  display:none;
  padding:0 0 4px;
}
.user-menu-section.is-open .user-menu-section-body{
  display:block;
}
.user-menu-section.is-open .user-menu-section-chevron{
  transform:rotate(225deg);
}

.hero-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:14px 28px 20px;
}
.hero-slider{
  position:relative;
  overflow:hidden;
  min-height:560px;
}
.hero-slide{
  position:absolute;
  inset:0;
  grid-template-columns:500px minmax(0,1fr);
  align-items:center;
  gap:34px;
  padding:8px 54px 56px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate3d(0,0,0);
  will-change:transform;
}
.hero-slide.is-active{
  display:grid;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:2;
}
.hero-slide.is-enter-next{
  animation:heroSlideInFromRight .45s cubic-bezier(.22,.61,.36,1);
}
.hero-slide.is-enter-prev{
  animation:heroSlideInFromLeft .45s cubic-bezier(.22,.61,.36,1);
}
.hero-slide.is-exit-next{
  z-index:3;
  visibility:visible;
  opacity:1;
  animation:heroSlideOutToLeft .45s cubic-bezier(.22,.61,.36,1);
}
.hero-slide.is-exit-prev{
  z-index:3;
  visibility:visible;
  opacity:1;
  animation:heroSlideOutToRight .45s cubic-bezier(.22,.61,.36,1);
}
.hero-slide-media{
  position:relative;
  overflow:hidden;
  background:transparent;
  display:block;
  width:500px;
  height:500px;
  max-width:500px;
  max-height:500px;
  margin:0 auto;
}
.hero-slide-media img{
  width:500px;
  height:500px;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}
.hero-slide-link{
  transition:transform .22s ease;
}
.hero-slide-link:hover{
  transform:translateY(-2px) scale(1.01);
}
.hero-slide-copy{
  padding:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:16px;
}
.hero-slide-kicker{
  font-family:'Bebas Neue',sans-serif;
  font-size:20px;
  line-height:1;
  letter-spacing:2.2px;
  color:#69a4ff;
  text-transform:uppercase;
  margin-left: 3px;
  margin-bottom: -10px;
}
.hero-slide-title{
  margin:0;
  font-family:'Oswald',sans-serif;
  font-weight:700;
  font-size:clamp(40px, 4.7vw, 66px);
  line-height:.92;
  letter-spacing:.8px;
  text-transform:uppercase;
  color:#1847ab;
}
.hero-slide-text{
  margin:0;
  font-size:clamp(17px,1.85vw,21px);
  line-height:1.32;
  color:#6a6d74;
  max-width:680px;
  margin-left:3px;
}
.hero-slide-text strong{
  color:#3a3f4d;
  font-weight:700;
}
.hero-slide-text .hero-accent{
  color:#1847ab;
  font-weight:700;
}
.hero-slide-welcome{
  align-self:flex-start;
  margin-top:6px;
  padding:0;
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(20px, 2.1vw, 30px);
  letter-spacing:1.9px;
  text-transform:uppercase;
  background:linear-gradient(180deg,#0f58c7 0%, #082f6d 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  margin-left:5px;
}
.hero-slide-actions {
  display: flex;
  flex-direction: row;
  gap: 12px; /* Space between buttons */
  justify-content: flex-start; /* Aligns them to the left */
  margin-top: 20px; /* Space between the text and the buttons */
}
.hero-slide-cta, .hero-slide-cta-yt {
  display:inline-flex;
  align-items: center;
  text-decoration:none;
  font-family:'Bebas Neue',sans-serif;
  letter-spacing:1.4px;
  font-size:18px;
  text-transform:uppercase;
  color:#fff;
  background:linear-gradient(180deg,#0f58c7 0%, #082f6d 100%);
  border:0;
  border-radius:999px;
  padding:8px 16px 9px;
  box-shadow:0 6px 12px rgba(8,40,97,.22);
  transition:transform .2s ease, opacity .2s ease;
}
.hero-slide-cta-yt {
  background:linear-gradient(180deg,#c70f0f 0%, #6d0808 100%);
}
.hero-slide-cta:hover, .hero-slide-cta-yt:hover {
  color:#fff;
  transform:translateY(-2px);
  opacity:1;
}
.hero-slider-nav{
  position:absolute;
  top:46%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  border:0;
  border-radius:50%;
  background:#10334e;
  color:#fff;
  font-size:34px;
  line-height:.9;
  cursor:pointer;
  z-index:3;
}
.hero-slider-nav.is-prev{left:8px}
.hero-slider-nav.is-next{right:8px}
.hero-slider-nav:hover{background:#164f77}
.hero-slider-dots{
  position:absolute;
  left:66px;
  right:auto;
  bottom:18px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  z-index:3;
}
.hero-slider-dot{
  width:12px;
  height:12px;
  border:0;
  border-radius:50%;
  background:#3f8fff;
  cursor:pointer;
  opacity:.55;
  transition:transform .2s ease, background .2s ease, opacity .2s ease;
}
.hero-slider-dot.is-active{
  background:#8cc7ff;
  opacity:1;
  transform:scale(1.38);
}
@keyframes heroSlideInFromRight{
  from{transform:translate3d(42px,0,0)}
  to{transform:translate3d(0,0,0)}
}
@keyframes heroSlideInFromLeft{
  from{transform:translate3d(-42px,0,0)}
  to{transform:translate3d(0,0,0)}
}
@keyframes heroSlideOutToLeft{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-42px,0,0)}
}
@keyframes heroSlideOutToRight{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(42px,0,0)}
}
.hero-latest{
  margin-top:26px;background:#fff;border-radius:16px;box-shadow:0 10px 28px rgba(13,110,253,.12);
  padding:16px;display:flex;gap:16px;align-items:center;max-width:720px
}
.hero-latest-thumb{
  width:220px;aspect-ratio:16/9;border-radius:12px;object-fit:cover;display:block;flex-shrink:0
}
.hero-latest-copy{min-width:0}
.hero-latest-kicker{
  font-family:'Bebas Neue',sans-serif;font-size:18px;letter-spacing:3px;color:var(--red);margin-bottom:6px
}
.hero-latest-title{
  font-family:'Oswald',sans-serif;font-weight:700;font-size:24px;line-height:1.15;color:var(--dark);margin-bottom:12px
}
.hero-latest-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hero-latest-btn{
  display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:10px;background:#FF0000;color:#fff;
  text-decoration:none;font-family:'Bebas Neue',sans-serif;font-size:18px;letter-spacing:2px;transition:transform .2s,opacity .2s
}
.hero-latest-btn:hover{transform:translateY(-1px);opacity:.92;color:#fff}
.hero-latest-link{
  color:var(--blue);text-decoration:none;font-family:'Oswald',sans-serif;font-size:15px;font-weight:600
}
.hero-latest-link:hover{text-decoration:underline}
.hero-latest.is-loading{opacity:.85}
.hero-latest.is-hidden{display:none}
.hero-latest-error{font-size:14px;color:#888}
.main-right .hero-latest{
  display:block;margin:0 0 16px;max-width:none;border-radius:8px
}
.main-right .hero-latest-thumb{
  width:100%;margin-bottom:12px;border-radius:8px
}
.main-right .hero-latest-title{font-size:20px}

.main-grid{
  max-width:1200px;margin:0 auto;padding:40px 20px 40px;display:grid;grid-template-columns:1fr 380px;gap:32px;align-items:start
}
.main-left,.main-right{min-width:0}

.classifica-card{
  background:#fff;border-radius:14px;box-shadow:0 4px 20px rgba(0,0,0,.06);overflow:hidden;margin-bottom:24px
}
.classifica-header{
  padding:16px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f0f0f0
}
.classifica-title{
  font-family:'Bebas Neue',sans-serif;font-size:20px;letter-spacing:3px;color:var(--dark)
}
.classifica-link{
  font-family:'Oswald',sans-serif;font-size:12px;color:var(--blue);text-decoration:none;text-transform:uppercase;letter-spacing:1px
}
.classifica-link:hover{text-decoration:underline}
.classifica-tabs{
  display:flex;gap:0;border-bottom:2px solid #f0f0f0;
}
.tab-btn{
  flex:1;padding:9px 6px;border:none;background:none;font-family:'Bebas Neue',sans-serif;font-size:16px;letter-spacing:2px;cursor:pointer;border-bottom:3px solid transparent;color:#aaa;
}
.tab-btn.active{
  border-bottom-color:var(--blue);color:var(--blue);
}
.classifica-row{
  display:flex;align-items:center;gap:14px;padding:12px 20px;border-bottom:1px solid #f5f5f5;transition:background .15s
}
.classifica-row:last-child{border:none}
.classifica-row:hover{background:#fafafa}
.classifica-pos{font-family:'Bebas Neue',sans-serif;font-size:28px;min-width:32px;text-align:center}
.classifica-img{
  width:48px;height:48px;border-radius:50%;object-fit:cover;border:3px solid #dee2e6;flex-shrink:0;background:#d0d3da
}
.classifica-info{
  flex:1;
  min-width:0;
}
.classifica-name{
  font-family:'Oswald',sans-serif;font-weight:700;font-size:15px;text-transform:uppercase;color:var(--dark)
}
.classifica-card .user-link,
.classifica-card .user-link:visited,
.classifica-card .user-link:focus,
.classifica-card .user-link:active{
  color:#3a3f4d;
}
.classifica-card .user-link:hover{
  color:#00bbff;
}
.classifica-meta{font-size:12px;color:#999}
.classifica-score{
  width:72px;
  min-width:72px;
  text-align:right;
  flex-shrink:0;
}
.classifica-pts{
  font-family:'Bebas Neue',sans-serif;font-size:30px;color:var(--blue);min-width:50px;text-align:right;line-height:1
}
.classifica-pts-label{
  font-size:9px;color:#aaa;text-transform:uppercase;letter-spacing:1px;text-align:right
}

.section-label{
  font-family:'Bebas Neue',sans-serif;font-size:20px;letter-spacing:3px;color:var(--dark);text-align:center;margin-bottom:14px
}
.next-card{
  background:#fff;border-radius:14px;box-shadow:0 4px 20px rgba(0,0,0,.06);overflow:hidden;margin-bottom:20px
}
.next-header{
  background:linear-gradient(135deg,#1565c0,#0d47a1);color:#fff;padding:18px 22px
}
.next-header h2{
  font-family:'Bebas Neue',sans-serif;font-size:24px;letter-spacing:3px;margin:0
}
.next-datetime{font-size:16px;opacity:.85;margin-top:3px}
.next-body{padding:22px}

.lineup{
  display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-bottom:14px
}
.lineup-person{text-align:center;width:80px}
.lineup-img{
  width:64px;height:64px;border-radius:50%;object-fit:cover;border:3px solid #dee2e6;display:block;margin:0 auto 4px;background:#d0d3da
}
.lineup-person.is-host .lineup-img{border-color:var(--green);box-shadow:0 0 10px rgba(40,167,69,.3)}
.lineup-name{
  font-family:'Oswald',sans-serif;font-weight:600;font-size:13px;text-transform:uppercase;color:var(--dark)
}
.lineup-role{font-size:10px;letter-spacing:2px;text-transform:uppercase;font-weight:700}
.role-host{color:var(--green)}
.role-guest{color:#999}

.top-arg{
  display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid #f0f0f0
}
.top-arg:last-child{border:none}
.top-arg-rank{font-family:'Bebas Neue',sans-serif;font-size:22px;min-width:24px;text-align:center}
.top-arg-info{flex:1;min-width:0}
.top-arg-micro{
  font-family:'Oswald',sans-serif;font-weight:600;font-size:14px;text-transform:uppercase;color:var(--dark)
}
.top-arg-dom{
  font-size:12px;color:#666;font-style:italic;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}

.vote-cta{
  display:block;text-align:center;padding:14px 24px;border-radius:12px;margin-bottom:16px;
  background:linear-gradient(135deg,var(--red),#a01830);color:#fff;text-decoration:none;
  font-family:'Bebas Neue',sans-serif;font-size:22px;letter-spacing:3px;
  box-shadow:0 4px 16px rgba(212,32,64,.3);transition:all .2s
}
.vote-cta:hover{
  transform:translateY(-3px);box-shadow:0 8px 24px rgba(212,32,64,.4);color:#fff
}
.vote-cta-sub{
  font-family:'Barlow Condensed',sans-serif;font-size:14px;font-weight:400;letter-spacing:0;opacity:.8;margin-top:4px
}

.cal-card{
  background:#fff;border-radius:14px;box-shadow:0 4px 20px rgba(0,0,0,.06);padding:20px;margin-bottom:16px
}
.cal-title{
  font-family:'Bebas Neue',sans-serif;font-size:20px;letter-spacing:3px;color:var(--dark);text-align:center;margin-bottom:14px
}
.cal-grid{
  display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center
}
.cal-head{
  font-family:'Oswald',sans-serif;font-weight:700;font-size:11px;text-transform:uppercase;color:#999;padding:4px 0
}
.cal-day{
  font-family:'Barlow Condensed',sans-serif;font-weight:600;font-size:15px;color:#555;padding:6px 0;border-radius:8px
}
.cal-day.today{background:var(--dark);color:#fff;border-radius:50%}
.cal-day.episode{background:var(--blue);color:#fff;border-radius:50%;font-weight:700}
.cal-day.episode-past{background:#999;color:#fff;border-radius:50%;font-weight:700}
.cal-day.empty{visibility:hidden}
.cal-day.past{color:#ccc}

.sidebar-section{margin-bottom:16px}
.sidebar-section .user-link,
.sidebar-section .user-link:visited,
.sidebar-section .user-link:focus,
.sidebar-section .user-link:active{
  color:#3a3f4d;
}
.sidebar-section .user-link:hover{
  color:#00bbff;
}
.sidebar-label{
  font-family:'Bebas Neue',sans-serif;font-size:15px;letter-spacing:2px;color:#999;margin-bottom:8px
}
.sidebar-ep{
  display:flex;align-items:center;gap:10px;background:#fff;border-radius:10px;padding:10px 14px;margin-bottom:6px;
  cursor:pointer;border:2px solid #dee2e6;transition:all .2s
}
.sidebar-ep:hover{border-color:var(--blue)}
.sidebar-ep-num{
  width:36px;height:36px;border-radius:8px;color:#fff;font-family:'Bebas Neue',sans-serif;font-size:16px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0
}
.sidebar-ep-day{
  font-family:'Oswald',sans-serif;font-weight:600;font-size:13px;text-transform:uppercase;color:var(--dark)
}
.sidebar-ep-time{font-size:12px;color:#999}
.sidebar-ep-body{
  display:none;background:#fff;border:2px solid var(--blue);border-top:none;border-radius:0 0 10px 10px;padding:12px;margin-top:-8px;margin-bottom:6px
}
.sidebar-ep-past{opacity:.7}

.arch-year{
  font-family:'Bebas Neue',sans-serif;font-size:18px;letter-spacing:3px;color:var(--dark);padding:10px 14px;background:#fff;
  border:2px solid #dee2e6;border-radius:10px;margin-bottom:4px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:all .2s
}
.arch-year:hover{border-color:#999}
.arch-year-body{display:none;padding-left:8px}
.arch-month{
  font-family:'Oswald',sans-serif;font-weight:600;font-size:14px;text-transform:uppercase;color:#666;padding:8px 12px;background:#f9f9f9;
  border:2px solid #eee;border-radius:8px;margin-bottom:3px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:all .2s
}
.arch-month:hover{border-color:#aaa}
.arch-month-body{display:none;padding-left:6px}

.come-funziona-section{
  background:#1952a7;
  padding:52px 28px;
  margin-top:40px;
  border-top:3px solid #d3dceb
}
.come-funziona-inner{
  max-width:1200px;
  margin:0 auto;
  color:var(--dark)
}
.cf-wrapper{
  margin-bottom:26px
}
.cf-box{
  background:#fff;
  border-radius:16px;
  box-shadow:0 4px 20px rgba(0,0,0,.06);
  padding:34px 28px;
  margin-bottom:20px
}
.cf-box:last-child{margin-bottom:0}

.cf-title{
  font-family:'Oswald',sans-serif;
  font-weight:700;
  font-size:40px;
  text-transform:uppercase;
  letter-spacing:1px;
  text-align:center;
  margin-bottom:26px;
  color:#FFF;
}
.cf-host-wrap{text-align:center;margin-bottom:22px}
.cf-host-img{
  width:140px;height:140px;border-radius:50%;object-fit:cover;border:4px solid var(--blue);
  display:block;margin:0 auto 10px;box-shadow:0 4px 20px rgba(13,110,253,.25)
}
.cf-host-name{
  font-family:'Oswald',sans-serif;
  font-weight:700;
  font-size:28px;
  text-transform:uppercase;
  color:var(--dark)
}
.cf-host-role{
  font-size:16px;color:var(--blue);letter-spacing:2px;text-transform:uppercase;font-weight:700
}
.cf-desc{
  font-size:20px;line-height:1.6;color:#fff;text-align:center;max-width:900px;margin:0 auto; margin-bottom:30px;
}
.cf-desc strong{color:#fff}

.cf-guests-title{
  text-align:center;
  margin-bottom:20px;
  font-family:'Bebas Neue',sans-serif;
  font-size:34px;
  letter-spacing:3px;
  color:var(--dark)
}
.cf-guests{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
  margin-bottom:0
}
.cf-guest{
  text-align:center;
  width:130px
}
.cf-guest-img{
  width:102px;height:102px;border-radius:50%;object-fit:cover;border:4px solid var(--blue);
  display:block;margin:0 auto 8px;background:#d0d3da
}
.cf-guest-name{
  font-family:'Oswald',sans-serif;
  font-weight:700;
  font-size:17px;
  text-transform:uppercase;
  color:var(--blue);
margin-bottom: 10px;
}

.cf-how-title{
  font-family:'Bebas Neue',sans-serif;font-size:24px;letter-spacing:3px;color:var(--dark);text-align:center;margin-bottom:18px
}
.cf-rounds{
  display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-bottom:24px
}
.cf-round{
  background:#f5f6f8;border-radius:12px;padding:16px 20px;flex:1;min-width:180px;max-width:260px
}
.cf-round-num{
  font-family:'Bebas Neue',sans-serif;font-size:18px;color:var(--dark);letter-spacing:2px
}
.cf-round-desc{
  font-size:15px;color:#555;margin-top:4px;line-height:1.4
}
.cf-footer{
  font-size:17px;color:#666;text-align:center;max-width:800px;margin:0 auto
}
.cf-quiz-intro{
  font-size:19px;line-height:1.45;color:#333;max-width:860px;margin:0 auto 22px;text-align:center
}
.cf-quiz-rules{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;max-width:900px;margin:0 auto 22px;border-top:2px solid #eef1f6;border-bottom:2px solid #eef1f6
}
.cf-quiz-rule{
  padding:22px 24px;text-align:center;border-right:2px solid #eef1f6
}
.cf-quiz-rule:last-child{border-right:none}
.cf-quiz-big{
  font-family:'Bebas Neue',sans-serif;font-size:58px;line-height:.95;color:var(--blue);letter-spacing:2px
}
.cf-quiz-label{
  font-family:'Oswald',sans-serif;font-size:18px;line-height:1.2;color:var(--dark);text-transform:uppercase;font-weight:700;margin-top:8px
}
.cf-quiz-flow{
  max-width:860px;margin:0 auto;display:grid;gap:10px
}
.cf-quiz-step{
  display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #eef1f6;color:#333;font-size:18px;line-height:1.35
}
.cf-quiz-step:last-child{border-bottom:none}
.cf-quiz-step-num{
  font-family:'Bebas Neue',sans-serif;font-size:28px;line-height:1;color:var(--blue);min-width:26px;text-align:center
}
.cf-quiz-step strong{color:var(--blue)}

.toast-msg{
  position:fixed;bottom:20px;right:20px;z-index:9999;padding:12px 24px;border-radius:8px;font-weight:600;
  font-size:15px;color:#fff;background:var(--green);opacity:0;transform:translateY(10px);transition:all .3s;pointer-events:none
}
.toast-msg.show{opacity:1;transform:translateY(0)}

.site-footer{
  border-top:1px solid #0b3f8d;
  background:linear-gradient(180deg,#2e79e6 0%, #0b3f8d 100%);
}
.site-footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 16px 22px;
  color:rgba(255,255,255,.92);
  text-align:center;
}
.footer-contact{
  font-family:'Oswald',sans-serif;
  font-size:14px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:#fff;
  margin-bottom:6px;
}
.footer-quote{
  max-width:980px;
  margin:0 auto;
}
.footer-quote-text {
  font-size: 50px;
  color: #fff;
  font-weight: 600;
  line-height: 1.1;
}

.footer-quote-meta {
  margin-top: -5px;
  font-size: 30px;
  color: #ccc;
}

.footer-quote-empty{
  font-size:13px;
  color:rgba(255,255,255,.8);
}

@media(max-width:900px){
  .hero-wrap{padding:12px 16px 14px}
  .hero-slider{min-height:820px}
  .hero-slide{
    grid-template-columns:1fr;
    gap:16px;
    padding:8px 44px 64px;
  }
  .hero-slide-media{
    width:500px;
    height:500px;
    max-width:500px;
    max-height:500px;
  }
  .hero-slide-media img{
    width:500px;
    height:500px;
    max-width:100%;
    max-height:100%;
  }
  .hero-slide-copy{
    padding:0;
    gap:12px;
  }
  .hero-slide-kicker{
    font-size:18px;
    letter-spacing:2px;
  }
  .hero-slide-title{
    font-size:clamp(34px,7.8vw,48px);
  }
  .hero-slide-text{
    font-size:18px;
    line-height:1.34;
  }
  .hero-slide-welcome{
    font-size:24px;
  }
  .hero-slide-cta{
    font-size:17px;
    padding:8px 14px 9px;
  }
  .hero-slider-nav{
    top:38%;
    width:40px;
    height:40px;
    font-size:24px;
  }
  .hero-slider-nav.is-prev{left:6px}
  .hero-slider-nav.is-next{right:6px}
  .hero-slider-dots{
    left:44px;
    bottom:16px;
  }
  .hero-latest{max-width:none;margin-left:auto;margin-right:auto;flex-direction:column;text-align:left}
  .hero-latest-thumb{max-width:100%;width:100%}
  .main-grid{grid-template-columns:1fr;padding:0 16px 20px}
  .come-funziona-section{padding:40px 16px}
  .cf-title{font-size:30px}
  .footer-quote-text{font-size:28px;line-height:1.35}
  .footer-quote-meta{font-size:16px}
}
@media(max-width:500px){
  .hero-wrap{padding:10px 12px 14px}
  .hero-slider{min-height:760px}
  .hero-slide{
    padding:6px 20px 58px;
    gap:12px;
  }
  .hero-slide-media{
    width:min(500px,100%);
    max-width:100%;
    height:auto;
    aspect-ratio:1 / 1;
  }
  .hero-slide-media img{
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
  }
  .hero-slide-copy{
    padding:0;
  }
  .hero-slide-kicker{
    font-size:15px;
    letter-spacing:1.6px;
  }
  .hero-slide-title{font-size:30px}
  .hero-slide-text{font-size:16px}
  .hero-slide-welcome{font-size:21px}
  .hero-slide-cta{
    font-size:16px;
    padding:7px 13px 8px;
  }
  .hero-slider-nav{
    width:34px;
    height:34px;
    font-size:20px;
  }
  .hero-slider-nav.is-prev{left:4px}
  .hero-slider-nav.is-next{right:4px}
  .hero-slider-dots{
    left:20px;
    bottom:14px;
  }
  .lineup-person{width:65px}
  .lineup-img{width:50px;height:50px}
  .nav-bar{padding:10px 16px}
  .come-funziona-link{font-size:11px;padding:6px 10px}
  .cf-guests{gap:18px}
  .cf-guest{width:100px}
  .cf-guest-img{width:84px;height:84px}
  .cf-guests-title{font-size:28px}
.social-btn{
  width:36px;
  height:36px;
}
  .footer-quote-text{font-size:20px}
  .footer-quote-meta{font-size:14px}
}

/* v2 additions: live badge animation + Statistiche Sito tab */
@keyframes quizBadgeBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.5; }
}
.quiz-badge-blink {
  animation: quizBadgeBlink 1.5s infinite;
}

.stats-list{padding:8px 20px 12px}
.stats-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid #f0f0f0;
  font-size:14px;
  color:#666;
}
.stats-row:last-child{border-bottom:none}
.stats-row span{
  font-family:'Oswald',sans-serif;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:#666;
}
.stats-row strong{
  font-family:'Bebas Neue',sans-serif;
  font-size:28px;
  line-height:1;
  color:var(--blue);
  letter-spacing:1px;
}

/* ── Activity cards (3 random) under hero ───────────────────────────── */
.activities-title-wrap {
  width: 100%;
  background: #0d4eb8;
  padding: 14px 18px 10px;
}

.activities-main-title {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 1.px;
  color: #ffffff;
  line-height: 1.5;
  text-align: center;
}

.activity-cards-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #2e2e2e;
}

.activity-columns {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.activity-column {
  padding: 40px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-column--dark {
  background: #2e2e2e;
}

.activity-column--mid {
  background: #2e2e2e;
}

.activities-subtitle-wrap {
  width: 100%;
  background: #ffffff;
  padding: 20px 18px 20px;
  
}

.activities-subtitle {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 23px;
  color: #0d4eb8;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
}

.activities-subtitle-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.activities-subtitle-link:hover,
.activities-subtitle-link:focus-visible {
  color: #083c90;
  border-color: #083c90;
  text-decoration: none;
}

.activities-subtitle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  font-size: 18px;
  letter-spacing: 0.4px;
}

.home-news-wrap {
  width: 100%;
  background: #ffffff;
  padding: 0 18px 30px;
}

.home-news-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #f7f9fd;
  border: 1px solid #dbe6fb;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(13, 78, 184, 0.08);
  padding: 16px 18px 6px;
}

.home-news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #dbe6fb;
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.home-news-title {
  margin: 0;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
  line-height: 1;
  color: #0d4eb8;
}

.home-news-updated {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #49638f;
}

.home-news-empty {
  padding: 12px 2px 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  color: #5b6d8d;
}

.home-news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.home-news-item {
  padding: 10px 2px 12px;
  border-bottom: 1px solid #e2eaf8;
}

.home-news-item:last-child {
  border-bottom: none;
}

.home-news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.home-news-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #0d4eb8;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-news-date {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  color: #6f7e99;
}

.home-news-link {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #0f2f69;
  text-decoration: none;
}

.home-news-link:hover {
  color: #0d4eb8;
  text-decoration: none;
}

.home-news-desc {
  margin: 5px 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  line-height: 1.3;
  color: #4e5f7d;
}

.home-news-tags {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #e3ecff;
  color: #315899;
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.home-news-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #dbe6fb;
}

.home-news-all-link {
  display: inline-flex;
  align-items: center;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #0d4eb8;
  text-decoration: none;
}

.home-news-all-link:hover {
  color: #083c90;
  text-decoration: underline;
}

/* Classifica per attivita */
.activity-leaderboard {
  background: #424242;
  color: #e6e8ee;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  border-radius: 8px;
  padding: 8px 14px;
  box-shadow: 0 0px 15px rgba(10, 10, 10, 0.6);
}

.activity-lb-title {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  color: #fff;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid #555;
  margin-bottom: 2px;
}

.activity-lb-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 80px;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: #999;
  text-transform: uppercase;
  padding: 0 4px 3px;
  margin-bottom: 0px;
  border-bottom: 1px solid #555;
}

.activity-lb-head .activity-lb-points { text-align: right; }

.activity-lb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.activity-lb-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 80px;
  gap: 10px;
  align-items: center;
  padding: 6px 4px;
  border-bottom: 1px solid #555;
}

.activity-lb-row:last-child {
  border-bottom: none;
}

.activity-lb-row .activity-lb-rank {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.activity-lb-row .activity-lb-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.activity-lb-avatar {
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid;
  flex-shrink: 0;
  background: #2a2f3c;
}

.activity-lb-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.activity-lb-name {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-lb-meta {
  display: none;
  font-size: 12px;
  color: #8695ac;
  font-family: "Barlow Condensed", sans-serif;
}

.activity-lb-points {
  text-align: right;
}

.activity-lb-score {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #00bbff;
  line-height: 1;
}

.activity-lb-score-label {
  display: none;
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  color: #6a7384;
  letter-spacing: 1px;
  margin-top: 2px;
}

.activity-lb-empty {
  color: #999;
  font-size: 14px;
  padding: 14px 0;
  text-align: center;
}

.activity-lb-cta {
  margin-top: 8px;
  align-self: flex-start;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00bbff;
  text-decoration: none;
  padding-top: 6px;
  border-top: 1px solid #555;
}

.activity-lb-cta:hover {
  color: #0099ff;
  text-decoration: none;
}

.activity-extra {
  /* placeholder: stessa altezza della riga, sfondo scuro condiviso */
  min-height: 100%;
}

@media (max-width: 1100px) {
  .activity-columns {
    grid-template-columns: 1fr;
  }

  .activity-column {
    padding: 24px 16px 18px;
  }
}

@media (max-width: 760px) {
  .activities-main-title {
    font-size: clamp(30px, 11vw, 44px);
  }

  .activities-subtitle {
    font-size: 20px;
  }

  .home-news-wrap {
    padding: 0 12px 20px;
  }

  .home-news-inner {
    padding: 14px 12px 2px;
  }

  .home-news-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .home-news-title {
    font-size: 30px;
  }

  .home-news-link {
    font-size: 18px;
  }

  .home-news-desc {
    font-size: 16px;
  }
}

.activity-card-link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.activity-leaderboard--desktop {
  display: flex;
}

.activity-leaderboard-accordion {
  display: none;
  margin-top: 8px;
  background: #424242;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(10, 10, 10, 0.45);
  overflow: hidden;
}

.activity-leaderboard-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  padding: 11px 14px;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #f3f5f8;
  user-select: none;
}

.activity-leaderboard-summary::-webkit-details-marker {
  display: none;
}

.activity-leaderboard-summary::after {
  content: "▾";
  font-size: 14px;
  color: #ffd800;
  transition: transform 0.18s ease;
}

.activity-leaderboard-accordion[open] .activity-leaderboard-summary::after {
  transform: rotate(180deg);
}

.activity-leaderboard--mobile {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  padding-top: 0;
}

@media (max-width: 1100px) {
  .activity-leaderboard-accordion { display: none; }
  .activity-leaderboard--desktop { display: flex; }
}

@media (max-width: 760px) {
  .activity-leaderboard--desktop { display: none; }
  .activity-leaderboard-accordion { display: block; }
  .activity-leaderboard--mobile { display: flex; }
}

.activity-card-link:hover,
.activity-card-link:focus-visible {
  text-decoration: none;
  color: inherit;
}

.activity-card-link:hover .activity-card,
.activity-card-link:focus-visible .activity-card {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 32, 54, 0.12);
}

.activity-card-link:focus-visible .activity-card {
  outline: 2px solid #ef8b17;
  outline-offset: 3px;
}

.activity-card {
  width: 100%;
  height: 220px;
  display: flex;
  flex-direction: column;
  background: #424242;
  border-radius: 14px;
  box-shadow: 0 0px 15px rgba(10, 10, 10, 0.6);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.activity-card-head {
  position: relative;
  flex-shrink: 0;
  padding: 0;
}

.activity-card-head::before {
  content: "";
  display: block;
  background: linear-gradient(180deg, #0099eb 0%, #2a4ff5 55%, #1432d9 100%);
  clip-path: polygon(0 0, 88% 0, 78% 100%, 0 100%);
  padding: 10px 32px 12px 18px;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.activity-card-name {
  position: relative;
  z-index: 1;
  display: block;
  padding: 7px 30px 9px 16px;
  font-family: "Oswald", "Bebas Neue", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
}

.activity-card-media {
  position: relative;
  flex: 1;
  width: 100%;
  background: #f3f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
  border-radius: 0 0 14px 14px;
}

.activity-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-card-media--memory img {
  object-position: top;
}

.activity-card-media--nerdstylist img {
  object-position: center center;
}

.activity-card-media--placeholder {
  background: linear-gradient(135deg, #e6e8ff 0%, #c2d0ff 100%);
  color: #1751ef;
}

.activity-card-desc {
  margin: 6px 0 0 5px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  line-height: 1.45;
  color: #d4dce8;
  text-align: left;
}

.activity-card-cta {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  background: #4b4b4b;
  border-radius: 8px;
  padding: 7px 14px;
  box-shadow: 0 2px 6px rgba(16, 32, 54, 0.15);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.activity-card-link:hover .activity-card-cta {
  background: #1746ef;
  color: #fff;
  transform: translateY(-1px);
}

