@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --bg: #281406;
  --bg-card: #1e0f04;
  --header-bg: #42240F;
  --primary: #682422;
  --primary-hover: #7d2b29;
  --secondary: #0BCDBC;
  --secondary-hover: #09b5a6;
  --accent: #C9A84C;
  --accent-light: #F9E596;
  --foreground: #f5e9ce;
  --muted: #a08060;
  --border: #4a2e18;
  --radius: 0.5rem;
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Lato', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--foreground);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--secondary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-serif);
  letter-spacing: .04em;
  line-height: 1.2;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-dark { background: var(--header-bg); }
.section-card { background: #1e0f04; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-serif { font-family: var(--font-serif); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: none; border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: 1rem;
  padding: .75rem 2rem; transition: all .25s ease; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: 0 0 16px rgba(104,36,34,.5); transform: translateY(-2px); }
.btn-secondary { background: var(--secondary); color: #0a2825; }
.btn-secondary:hover { background: var(--secondary-hover); color: #0a2825; box-shadow: 0 0 16px rgba(11,205,188,.4); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-full { width: 100%; }
.btn-outline { background: transparent; border: 2px solid var(--secondary); color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: #0a2825; }

@keyframes gold-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.text-gold {
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-shimmer 4s linear infinite;
}
.hover-glow:hover { box-shadow: 0 0 18px rgba(201,168,76,.45); transform: translateY(-2px); }

.section-heading { margin-bottom: 3.5rem; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--accent); margin-bottom: .75rem; }
.section-heading p { color: var(--muted); max-width: 40rem; margin: 0 auto; }

#site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: var(--header-bg); padding: 1rem 0;
  transition: all .3s ease; border-bottom: 1px solid rgba(201,168,76,.15);
}
#site-header.scrolled { padding: .6rem 0; box-shadow: 0 4px 20px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-logo img { height: 2.75rem; width: auto; }
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a {
  font-family: var(--font-serif); color: var(--foreground); font-size: .9rem;
  letter-spacing: .05em; transition: color .2s;
}
.header-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.online-counter { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.online-dot { position: relative; display: inline-flex; width: .75rem; height: .75rem; }
.online-dot::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #22c55e; opacity: .7; animation: ping 1.5s cubic-bezier(0,0,.2,1) infinite;
}
.online-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; }
@keyframes ping { 75%,100% { transform: scale(1.8); opacity: 0; } }
.burger { display: none; background: none; border: none; cursor: pointer; color: var(--foreground); padding: .5rem; }
.burger svg { width: 1.75rem; height: 1.75rem; }

.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; width: 100%;
  background: #2e1508; border-top: 1px solid var(--border);
  flex-direction: column; padding: 1.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav > a {
  font-family: var(--font-serif); color: var(--foreground); padding: .75rem 0;
  border-bottom: 1px solid rgba(201,168,76,.1); font-size: 1.05rem;
  transition: color .2s;
}
.mobile-nav > a:last-of-type { border-bottom: none; }
.mobile-nav > a:hover { color: var(--accent); }
.mobile-nav-btns {
  display: flex; gap: .75rem;
  padding: 1rem 0 .25rem;
  border-top: 1px solid rgba(201,168,76,.15);
  margin-top: .5rem;
}
.mobile-nav-btns .btn {
  flex: 1; justify-content: center;
  padding: .7rem 1rem; font-size: .95rem;
  text-align: center; border-radius: var(--radius);
}

#hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; padding-top: 5rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/banner-1.jpeg'); background-size: cover; background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(40,20,6,.75) 0%, rgba(40,20,6,.55) 50%, rgba(40,20,6,1) 100%),
              linear-gradient(to right, rgba(40,20,6,.85), transparent, rgba(40,20,6,.85));
}
.hero-content {
  position: relative; z-index: 10; text-align: center;
  padding: 2rem 1.25rem; max-width: 900px;
}
.hero-ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--accent); margin-bottom: 1.5rem; }
.hero-ornament-line { width: 3rem; height: 1px; background: rgba(201,168,76,.5); }
.hero-ornament svg { fill: var(--accent); }
.hero-h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); margin-bottom: 1rem; }
.hero-sub { font-size: clamp(1rem, 2.5vw, 1.5rem); color: rgba(245,233,206,.9); margin-bottom: 2.5rem; font-weight: 300; }
.hero-sub strong { color: var(--secondary); font-weight: 700; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-disclaimer { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .8rem; justify-content: center; opacity: .8; }
.badge-18 { border: 1px solid currentColor; border-radius: 50%; width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; flex-shrink: 0; }

#vantaggi { border-top: 1px solid rgba(201,168,76,.15); }
.vantaggi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.vantaggio-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: .75rem;
  padding: 1.75rem; transition: all .3s ease; cursor: default;
}
.vantaggio-card:hover { transform: translateY(-4px); box-shadow: 0 0 20px rgba(201,168,76,.2); border-color: var(--accent); }
.vantaggio-icon {
  width: 4rem; height: 4rem; border-radius: 50%; background: var(--bg);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.75rem; transition: transform .3s;
}
.vantaggio-card:hover .vantaggio-icon { transform: scale(1.1); }
.vantaggio-card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--foreground); }
.vantaggio-card p { color: var(--muted); font-size: .9rem; }

.table-wrap { overflow-x: auto; border-radius: .75rem; border: 1px solid var(--border); }
.payments-table { width: 100%; border-collapse: collapse; min-width: 800px; background: var(--bg); }
.payments-table thead { background: var(--header-bg); }
.payments-table th { padding: 1rem; text-align: left; color: var(--accent); font-family: var(--font-serif); font-size: .9rem; border-bottom: 1px solid var(--border); }
.payments-table th.tc { text-align: center; }
.payments-table td { padding: 1rem; text-align: left; color: var(--muted); border-bottom: 1px solid rgba(74,46,24,.5); font-size: .9rem; }
.payments-table td.tc { text-align: center; }
.payments-table td.green { color: #4ade80; font-weight: 600; text-align: center; }
.payments-table tr:last-child td { border-bottom: none; }
.payments-table tr:hover td { background: rgba(201,168,76,.05); }
.payment-name { display: flex; align-items: center; gap: .75rem; }
.payment-badge { background: #fff; border-radius: .35rem; padding: .25rem .5rem; font-size: .75rem; font-weight: 700; color: #333; white-space: nowrap; }
.table-note { margin-top: 1rem; font-size: .8rem; color: var(--muted); text-align: center; }

#tornei { border-top: 1px solid rgba(201,168,76,.15); }
.tournaments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tournament-card {
  background: var(--bg-card); border: 1px solid rgba(201,168,76,.3); border-radius: .75rem;
  overflow: hidden; transition: all .3s ease;
}
.tournament-card:hover { box-shadow: 0 0 20px rgba(201,168,76,.25); transform: translateY(-3px); }
.tournament-img { height: 180px; background-size: cover; background-position: center; transition: transform .5s ease; }
.tournament-card:hover .tournament-img { transform: scale(1.04); }
.tournament-body { padding: 1.5rem; }
.tournament-card h3 { font-size: 1.3rem; color: var(--foreground); margin-bottom: .5rem; }
.tournament-card p { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }
.prize-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .25rem; }
.prize-amount { font-size: 2rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 1rem; }
.countdown { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.countdown-unit { flex: 1; background: var(--bg); border: 1px solid rgba(74,46,24,.7); border-radius: .4rem; padding: .5rem; text-align: center; }
.countdown-unit span.val { display: block; font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.countdown-unit span.lbl { display: block; font-size: .65rem; color: var(--muted); }

#bonus { background: #1e0f04; }
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bonus-card {
  border-radius: .75rem; padding: 2rem; border: 1px solid var(--border);
  background: var(--bg-card); display: flex; flex-direction: column; transition: all .3s;
}
.bonus-card.featured { background: linear-gradient(to bottom, var(--header-bg), var(--bg)); border-color: var(--accent); }
.bonus-card:hover { transform: translateY(-4px); box-shadow: 0 0 20px rgba(201,168,76,.2); }
.bonus-icon { font-size: 3rem; margin-bottom: 1rem; }
.bonus-card h3 { font-size: 1.1rem; color: var(--foreground); margin-bottom: .5rem; }
.bonus-amount { font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
.bonus-card p { color: var(--muted); font-size: .9rem; flex-grow: 1; margin-bottom: 1.25rem; }
.bonus-tc { font-size: .75rem; color: rgba(160,128,96,.6); padding-top: 1rem; border-top: 1px solid rgba(74,46,24,.5); margin-bottom: 1.5rem; }
.bonus-card .btn { margin-top: auto; }

#giochi { border-top: 1px solid rgba(201,168,76,.15); }
.game-wrap { max-width: 900px; margin: 0 auto; }
.game-container {
  position: relative; aspect-ratio: 16/9; background: #000;
  border-radius: .75rem; overflow: hidden; border: 2px solid rgba(201,168,76,.2); box-shadow: 0 0 40px rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
}
.game-thumbnail {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?q=80&w=1200&auto=format&fit=crop') center/cover;
  opacity: .4; transition: opacity .5s;
}
.game-container:hover .game-thumbnail { opacity: .6; }
.game-overlay {
  position: relative; z-index: 2; text-align: center;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem; padding: 2rem 2.5rem; backdrop-filter: blur(4px);
}
.play-btn {
  width: 5rem; height: 5rem; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
  cursor: pointer; transition: transform .3s; box-shadow: 0 0 30px rgba(201,168,76,.6);
}
.play-btn:hover { transform: scale(1.1); }
.play-btn svg { width: 2.5rem; height: 2.5rem; fill: var(--bg); margin-left: .3rem; }
.game-overlay h3 { font-size: 1.5rem; color: #fff; margin-bottom: .5rem; }
.game-overlay p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.game-iframe { width: 100%; height: 100%; border: none; }
.game-note { margin-top: 1rem; font-size: .85rem; color: var(--muted); text-align: center; }

#recensione { background: #1e0f04; border-top: 1px solid rgba(201,168,76,.15); }
.author-box {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: .75rem;
  padding: 1rem 1.25rem; margin-bottom: 2rem;
}
.author-avatar { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.author-info h4 { font-size: 1.1rem; color: var(--foreground); margin-bottom: .25rem; display: flex; align-items: center; gap: .5rem; }
.author-info .linkedin { color: #0a66c2; }
.author-info .linkedin svg { width: 1.1rem; height: 1.1rem; vertical-align: middle; }
.author-info .role { color: var(--muted); font-size: .85rem; font-weight: 600; margin-bottom: .25rem; }
.author-info .bio { color: var(--muted); font-size: .8rem; }
.review-content {
  background: var(--bg); border: 1px solid var(--border); border-radius: .75rem;
  padding: 2rem 2.5rem;
}
.review-content h2 { font-size: clamp(1.3rem,3vw,1.8rem); color: var(--accent); margin: 2rem 0 .75rem; }
.review-content h2:first-child { margin-top: 0; }
.review-content h3 { font-size: 1.2rem; color: var(--foreground); margin: 1.5rem 0 .5rem; }
.review-content p { color: var(--muted); margin-bottom: 1rem; }
.review-content ul { color: var(--muted); padding-left: 1.5rem; margin-bottom: 1rem; }
.review-content ul li { margin-bottom: .4rem; }
.review-content strong { color: var(--foreground); font-weight: 700; }
.review-content em { color: var(--secondary); font-style: italic; }

#registrazione { border-top: 1px solid rgba(201,168,76,.15); overflow: hidden; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1000px; margin: 0 auto; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 2.5rem; left: calc(12.5% + 1rem); width: calc(75% - 2rem);
  height: 2px; background: linear-gradient(to right, rgba(201,168,76,.1), var(--accent), rgba(201,168,76,.1)); z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-circle {
  width: 5rem; height: 5rem; border-radius: 50%; border: 2px solid var(--accent);
  background: #1e0f04; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 1.75rem;
  box-shadow: 0 0 16px rgba(201,168,76,.3); transition: all .3s;
}
.step-item:hover .step-circle { background: var(--header-bg); transform: scale(1.1); }
.step-item h3 { font-size: 1rem; color: var(--foreground); margin-bottom: .4rem; }
.step-item p { font-size: .85rem; color: var(--muted); }
.steps-cta { text-align: center; margin-top: 3.5rem; }

#faq { background: #1e0f04; border-top: 1px solid rgba(201,168,76,.15); }
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { background: rgba(40,20,6,.5); border: 1px solid rgba(74,46,24,.7); border-radius: .6rem; margin-bottom: 1rem; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; padding: 1.2rem 1.5rem;
  text-align: left; color: var(--foreground); font-family: var(--font-serif); font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q svg { flex-shrink: 0; transition: transform .3s; fill: none; stroke: currentColor; stroke-width: 2; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 1.5rem; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1.2rem; }

#commenti { border-top: 1px solid rgba(201,168,76,.15); }
.comments-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.reviews-list { display: flex; flex-direction: column; gap: 1.25rem; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: .75rem; padding: 1.5rem; }
.review-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.review-card-top .name { color: var(--foreground); font-weight: 700; }
.review-card-top .date { color: var(--muted); font-size: .8rem; }
.stars { display: flex; gap: .2rem; color: var(--accent); margin-bottom: .75rem; }
.star-empty { color: var(--muted); }
.review-card p { color: var(--muted); font-size: .9rem; font-style: italic; }
.comment-form { background: #1e0f04; border: 1px solid var(--border); border-radius: .75rem; padding: 2rem; }
.comment-form h3 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--foreground); }
.star-rating { display: flex; gap: .5rem; margin-bottom: 1rem; }
.star-rating button { background: none; border: none; cursor: pointer; font-size: 2rem; color: var(--muted); transition: color .2s, transform .2s; line-height: 1; }
.star-rating button:hover,
.star-rating button.active { color: var(--accent); transform: scale(1.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; color: var(--muted); font-size: .875rem; margin-bottom: .4rem; }
.form-group input,
.form-group textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: .4rem;
  padding: .75rem 1rem; color: var(--foreground); font-family: var(--font-sans); font-size: .95rem;
  outline: none; transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,168,76,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message { display: none; margin-top: 1rem; padding: 1rem; background: rgba(11,205,188,.1); border: 1px solid var(--secondary); border-radius: .4rem; color: var(--secondary); text-align: center; }

#site-footer { background: var(--header-bg); border-top: 1px solid var(--border); padding: 4rem 0 6rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand-logo img { height: 2.5rem; width: auto; margin-bottom: 1rem; }
.footer-brand-logo span { font-size: 1.5rem; margin-left: .5rem; }
.footer-brand p { color: var(--muted); font-size: .85rem; line-height: 1.6; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: .75rem; }
.social-link {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: all .2s;
}
.social-link:hover { color: var(--accent); background: var(--bg-card); }
.social-link svg { width: 1.1rem; height: 1.1rem; }
.footer-col h4 { font-family: var(--font-serif); color: var(--accent); font-size: 1rem; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { color: var(--muted); font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--foreground); }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge { padding: .3rem .75rem; border-radius: .4rem; border: 1px solid var(--border); font-size: .75rem; color: var(--muted); }
.badge-accent { border-color: rgba(201,168,76,.5); color: var(--accent); background: rgba(201,168,76,.05); }
.footer-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; padding: 1.75rem 0; border-top: 1px solid rgba(201,168,76,.15); border-bottom: 1px solid rgba(201,168,76,.15); margin-bottom: 1.75rem; }
.footer-legal { text-align: center; }
.footer-legal p { color: rgba(160,128,96,.55); font-size: .75rem; line-height: 1.7; margin-bottom: .5rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--accent); }

#sticky-widget {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 90;
  background: #1e0f04; border-top: 2px solid var(--accent);
  box-shadow: 0 -8px 30px rgba(0,0,0,.5);
  transform: translateY(100%); transition: transform .4s ease;
}
#sticky-widget.visible { transform: translateY(0); }
.widget-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.25rem; max-width: 1200px; margin: 0 auto; position: relative;
}
.widget-offer { display: flex; align-items: center; gap: .875rem; }
.widget-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(201,168,76,.15); border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.6; } }
.widget-label { font-size: .75rem; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: .15rem; }
.widget-bonus { font-size: .95rem; font-weight: 700; color: var(--foreground); }
.widget-close {
  position: relative; right: auto; top: auto; background: none; border: none;
  cursor: pointer; color: var(--muted); padding: .35rem; transition: color .2s;
  flex-shrink: 0; margin-left: .25rem;
}
.widget-close:hover { color: #fff; }
.widget-close svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; }

.wp-uniquification-wrapper { display: none !important; }


.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

@media (max-width: 1024px) {
  .tournaments-grid,
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .online-counter { display: none; }
  .hdr-btn-login { display: none; }
  .burger { display: block; }
  .hero-ctas .btn { min-width: 180px; }
  .vantaggi-grid { grid-template-columns: repeat(2, 1fr); }
  .tournaments-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: 1rem; }
  .tournaments-grid::-webkit-scrollbar { display: none; }
  .tournament-card { min-width: 80vw; scroll-snap-align: center; flex-shrink: 0; }
  .bonus-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: 1rem; }
  .bonus-grid::-webkit-scrollbar { display: none; }
  .bonus-card { min-width: 80vw; scroll-snap-align: center; flex-shrink: 0; }
  .comments-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .vantaggi-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .tournament-card { min-width: 90vw; }
  .bonus-card { min-width: 90vw; }
  .review-content { padding: 1.5rem; }
  .widget-bonus { font-size: .85rem; }
  .widget-inner {
    padding: .75rem 1rem;
    gap: .5rem;
    flex-wrap: nowrap;
  }
  .widget-offer {
    gap: .5rem;
    min-width: 0;
    flex: 1;
  }
  .widget-icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .widget-close {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: .25rem;
    padding: .25rem;
  }
  .widget-close svg {
    width: 1rem;
    height: 1rem;
  }
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 560px) {
  .widget-inner {
    padding: .65rem .75rem;
    gap: .4rem;
  }
  .widget-offer {
    flex: 1;
    min-width: 0;
  }
  .widget-offer > div {
    min-width: 0;
    overflow: hidden;
  }
  .widget-label {
    font-size: .65rem;
  }
  .widget-bonus {
    font-size: .78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .widget-inner > .btn {
    font-size: .75rem;
    padding: .45rem .75rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .widget-close {
    flex-shrink: 0;
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem;
    margin-left: 0;
  }
  .widget-close svg {
    width: .9rem;
    height: .9rem;
  }
}

@media (max-width: 768px) {
  .header-logo img {
    height: 2rem !important;
    width: auto;
  }
}

@media (max-width: 480px) {
  .header-logo img {
    height: 1.75rem !important;
  }
}

@media (max-width: 768px) {
  .tournaments-grid,
  .bonus-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.5rem 0.25rem 1.25rem 0.25rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .tournaments-grid::-webkit-scrollbar,
  .bonus-grid::-webkit-scrollbar {
    display: none;
  }
  .tournaments-grid,
  .bonus-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .tournament-card,
  .bonus-card {
    min-width: 85vw !important;
    max-width: 85vw !important;
    scroll-snap-align: center;
    flex-shrink: 0;
    margin: 0 !important;
  }
}

.game-overlay.hidden {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.game-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%), 
              url('https://images.unsplash.com/photo-1518609878373-06d740f60d8b?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-overlay.is-active {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .game-wrapper {
    aspect-ratio: 4 / 3; 
    border-radius: 8px;
  }
  
  #load-demo-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

.demo-game-section {
  padding: 20px 0;
}

.game-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: radial-gradient(circle, #2c1d11 0%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-overlay.is-active {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .game-wrapper {
    height: 70vh;
    max-height: 520px;
    aspect-ratio: auto;
    border-radius: 8px;
  }
}

.demo-game-section {
  padding: 20px 0;
}

.game-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: #0d0d0d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: radial-gradient(circle, #2c1d11 0%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.game-overlay.is-active {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .game-wrapper {
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: 420px; 
    height: auto;
    max-height: 80vh;
    margin: 0 auto;
    border-radius: 12px;
  }

  .game-iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}