/* ================================================================
   ShamelessFest 2025 — Main Stylesheet
   Pontevecchio di Magenta
================================================================ */

/* ---------------------------------------------------------------
   CSS CUSTOM PROPERTIES
--------------------------------------------------------------- */
:root {
  --yellow:        #FFE500;
  --yellow-dim:    rgba(255, 229, 0, 0.12);
  --yellow-border: rgba(255, 229, 0, 0.3);
  --orange:        #FF7A00;
  --bg:            #09090e;
  --bg2:           #101018;
  --bg3:           #16161f;
  --card:          rgba(255, 255, 255, 0.04);
  --card-border:   rgba(255, 255, 255, 0.08);
  --text:          #d8d8e8;
  --text-muted:    #7a7a96;
  --white:         #ffffff;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Montserrat', sans-serif;

  --ease: all 0.3s ease;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 100px;
}

/* ---------------------------------------------------------------
   RESET & BASE
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--yellow); text-decoration: none; transition: var(--ease); }
a:hover { color: var(--orange); text-decoration: none; }

h1, h2, h3, h4, h5, h6 { color: var(--white); font-weight: 700; margin: 0; }

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

ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--yellow); color: var(--bg); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }

section { padding: 100px 0; }

/* ---------------------------------------------------------------
   UTILITY
--------------------------------------------------------------- */
.section-eyebrow {
  display: inline-block;
  background: var(--yellow-dim);
  border: 1px solid var(--yellow-border);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-header { margin-bottom: 64px; }

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 6px;
}

.section-header h2 span { color: var(--yellow); }

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 12px;
}

.section-header p a {
  color: var(--yellow);
  border-bottom: 1px solid var(--yellow-border);
}

/* Buttons */
.btn-primary-yellow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--bg);
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--ease);
  box-shadow: 0 0 40px rgba(255, 229, 0, 0.25);
}

.btn-primary-yellow:hover {
  background: var(--white);
  color: var(--bg);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 229, 0, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  transition: var(--ease);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-yellow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: var(--ease);
}

.btn-outline-yellow:hover {
  background: var(--yellow);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------
   HEADER
--------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  transition: var(--ease);
}

#header.scrolled .header-inner {
  background: rgba(9, 9, 14, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 48px;
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.logo img {
  height: 52px;
  width: auto;
  transition: var(--ease);
}

.logo { flex: 0 0 auto; }

#header.scrolled .logo img { height: 42px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu li a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--ease);
}

.nav-menu li a:hover {
  color: var(--yellow);
  background: var(--yellow-dim);
}

.nav-menu li.nav-cta a {
  background: var(--yellow);
  color: var(--bg);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
}

.nav-menu li.nav-cta a:hover {
  background: var(--white);
  color: var(--bg);
}

#mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  color: var(--white);
  font-size: 1.1rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

/* Mobile nav overlay */
#mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 14, 0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px;
}

#mobile-nav.open { display: flex; }

#mobile-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 12px 24px;
  text-align: center;
  letter-spacing: 0.04em;
  transition: var(--ease);
}

#mobile-nav a:hover { color: var(--yellow); }

#mobile-nav-close-btn {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* ---------------------------------------------------------------
   HERO
--------------------------------------------------------------- */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-fallback {
  position: absolute;
  inset: 0;
  background-image: url('../img/intro-bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom,
      rgba(9,9,14,0.15) 0%,
      rgba(9,9,14,0.5) 40%,
      rgba(9,9,14,0.95) 100%),
    linear-gradient(135deg, rgba(255,229,0,0.04), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,229,0,0.1);
  border: 1px solid rgba(255,229,0,0.35);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.88;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-shadow: 0 0 100px rgba(255,229,0,0.08);
}

.hero-title span {
  color: var(--yellow);
  text-shadow: 0 0 80px rgba(255,229,0,0.3);
}

.hero-dates {
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
  margin-bottom: 6px;
}

.hero-tagline {
  color: rgba(255,255,255,0.8);
  font-size: 0.98rem;
  margin: 0 0 28px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

/* Countdown dentro l'hero */
.hero-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.hero-cd-block {
  text-align: center;
  min-width: 68px;
}

.hero-cd-block span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--yellow);
  text-shadow: 0 0 24px rgba(255,229,0,0.35);
  letter-spacing: 0.04em;
}

.hero-cd-block label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  margin-top: 4px;
  cursor: default;
}

.hero-cd-sep {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: rgba(255,229,0,0.6);
  line-height: 1;
  padding-bottom: 20px;
}

.hero-cd-msg {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

#countdown-msg {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  margin: 0 0 28px;
  line-height: 1.2;
}
#countdown-msg .cd-highlight {
  color: var(--yellow);
  text-shadow: 0 0 28px rgba(255,229,0,0.4);
}

#countdown-waiting {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.04em;
  text-shadow: 0 0 32px rgba(255,229,0,0.45);
  margin: 0 0 28px;
  line-height: 1.2;
}

.hero-scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.3);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: var(--ease);
  animation: bounceDown 2.5s ease infinite;
}

.hero-scroll-down:hover { color: var(--yellow); }
.hero-scroll-down .fa { font-size: 1.2rem; }

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---------------------------------------------------------------
   COUNTDOWN
--------------------------------------------------------------- */
#countdown {
  background: var(--bg2);
  padding: 64px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.countdown-eyebrow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 28px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.countdown-block {
  text-align: center;
  min-width: 110px;
}

.countdown-block span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 1;
  color: var(--yellow);
  letter-spacing: 0.04em;
}

.countdown-block label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: rgba(255,229,0,0.25);
  line-height: 1;
  padding-bottom: 24px;
}

.countdown-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 20px;
}

/* ---------------------------------------------------------------
   ABOUT
--------------------------------------------------------------- */
#about {
  background: var(--bg2);
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.about-img-wrap:hover img { transform: scale(1.04); }

.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,229,0,0.07), transparent);
  z-index: 1;
  pointer-events: none;
}

.about-year-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--yellow);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  z-index: 2;
}

.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
}

.badge-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.about-text {
  padding-left: 48px;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 10px 0 20px;
}

.about-text h2 span { color: var(--yellow); }

.about-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0 36px;
}

.stat-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  transition: var(--ease);
}

.stat-box:hover {
  border-color: var(--yellow-border);
  background: var(--yellow-dim);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--yellow);
  line-height: 1;
}

.stat-num.stat-num-symbol {
  font-family: var(--font-body);
  font-weight: 700;
}

.stat-lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------------------------------------------------------------
   LINE-UP
--------------------------------------------------------------- */
#lineup {
  background: var(--bg2);
}

.lineup-row { margin: 0 -16px; }
.lineup-row > [class*="col"] { padding: 0 16px; margin-bottom: 32px; }

.artist-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--ease);
  height: 100%;
}

.artist-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,229,0,0.25);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,229,0,0.06);
}

.artist-img-wrap {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.artist-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.artist-card:hover .artist-img-wrap img { transform: scale(1.06); }

.artist-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,14,1) 0%, transparent 55%);
}

.artist-date-tag {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--yellow);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  z-index: 2;
  letter-spacing: 0.04em;
}

.artist-body {
  padding: 28px 28px 32px;
}

.artist-genre {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}

.artist-body h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.artist-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.btn-artist {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,229,0,0.3);
  padding-bottom: 3px;
  transition: var(--ease);
}

.btn-artist:hover {
  color: var(--white);
  border-color: var(--white);
  gap: 14px;
}

/* ---------------------------------------------------------------
   SCHEDULE
--------------------------------------------------------------- */
#schedule {
  background: var(--bg);
}

.schedule-tabs-wrap { margin-bottom: 48px; }

.schedule-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.sched-tab {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 16px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  min-width: 115px;
  transition: var(--ease);
  font-family: var(--font-body);
}

.sched-tab:hover {
  border-color: var(--yellow-border);
  color: var(--white);
  background: rgba(255,229,0,0.04);
}

.sched-tab.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--bg);
}

.tab-day {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.tab-date {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  margin: 4px 0 2px;
  letter-spacing: 0.03em;
}

.tab-name {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.sched-panel { display: none; }

.sched-panel.active {
  display: block;
  animation: fadeSlideUp 0.4s ease;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sched-day-title {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--card-border);
}

.sched-day-title h3 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.sched-day-title span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 84px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--yellow-border), transparent);
}

.tl-item {
  display: grid;
  grid-template-columns: 80px 24px 1fr;
  gap: 0 16px;
  margin-bottom: 28px;
  align-items: start;
}

.tl-time {
  text-align: right;
  padding-top: 20px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--yellow);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--yellow-border);
  margin-top: 22px;
  justify-self: center;
  flex-shrink: 0;
  transition: var(--ease);
}

.tl-dot-highlight {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 16px rgba(255,229,0,0.5);
}

.tl-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--ease);
}

.tl-card:hover {
  border-color: rgba(255,229,0,0.18);
  transform: translateX(4px);
}

.tl-card-highlight {
  border-color: rgba(255,229,0,0.2);
  box-shadow: 0 0 40px rgba(255,229,0,0.05);
}

.tl-card--minor { opacity: 0.7; }
.tl-card--minor .tl-card-img img { height: 100px; }
.tl-card--minor .tl-card-body { padding: 12px 18px; }
.tl-card--minor .tl-card-body h4 { font-size: 0.9rem; margin-bottom: 2px; }
.tl-card--minor .tl-card-body p { font-size: 0.78rem; margin: 0; }

.tl-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tl-card-body { padding: 22px 24px; }

.tl-card-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.tl-card-body h4 span {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9em;
}

.tl-card-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.live-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--bg);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.tl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.tl-badge .fa { color: var(--yellow); }

.tl-badge-link {
  color: var(--yellow);
  border-color: var(--yellow-border);
}

.tl-badge-link:hover {
  background: var(--yellow);
  color: var(--bg);
  border-color: var(--yellow);
}

.btn-event-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--yellow);
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 14px;
  border-bottom: 1px solid rgba(255,229,0,0.3);
  padding-bottom: 2px;
  transition: var(--ease);
}

.btn-event-link:hover { color: var(--white); border-color: var(--white); gap: 12px; }

/* Sport cards */
.sport-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  transition: var(--ease);
}

.sport-card:hover {
  border-color: var(--yellow-border);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.sport-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.sport-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sport-card:hover .sport-card-img img { transform: scale(1.06); }

.sport-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--yellow);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
}

.sport-card-body { padding: 24px; }

.sport-card-body h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sport-card-body > p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.sport-details { margin-bottom: 20px; }

.sport-details li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 4px 0;
}

.sport-details li .fa {
  color: var(--yellow);
  width: 14px;
  flex-shrink: 0;
}

.btn-sport {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--yellow-dim);
  border: 1px solid var(--yellow-border);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: var(--ease);
  font-family: inherit;
  cursor: pointer;
  text-align: center;
}

.btn-sport:hover {
  background: var(--yellow);
  color: var(--bg);
  border-color: var(--yellow);
}

/* Menu grid */
.menu-grid {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.menu-item {
  flex: 1;
  min-width: 150px;
  background: rgba(255,229,0,0.05);
  border: 1px solid rgba(255,229,0,0.18);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.menu-name {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}

.menu-dish {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.menu-price {
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 400;
  color: var(--yellow);
  line-height: 1;
}

.mt-3 { margin-top: 1rem !important; }



/* ---------------------------------------------------------------
   GALLERY
--------------------------------------------------------------- */
#gallery {
  background: var(--bg);
  padding-bottom: 0;
}

#iscrizioni {
  background: var(--bg2);
}

.iscr-sub {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  margin: 48px 0 28px;
}

.iscr-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: calc(100% - 24px);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  transition: var(--ease);
}

.iscr-card:hover {
  border-color: var(--yellow-border);
  transform: translateY(-4px);
}

.iscr-card h4 {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}

.iscr-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.btn-iscrizione {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: auto;
  background: var(--yellow);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 4px;
  transition: var(--ease);
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.btn-iscrizione:hover {
  background: var(--white);
  color: var(--bg);
  transform: translateY(-2px);
}

.iscr-dishes {
  width: 100%;
  margin: 8px 0 22px;
}

.iscr-dishes li {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
}

.iscr-dishes li:last-child {
  border-bottom: none;
}

.iscr-dishes li span {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.iscr-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 32px;
  line-height: 1.8;
}

.iscr-note a {
  color: var(--yellow);
}

#gallery .container { padding-bottom: 48px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item:first-child,
.gallery-item:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(9,9,14,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
}

.gallery-hover .fa {
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transform: scale(0.6);
  transition: var(--ease);
}

.gallery-item:hover .gallery-hover { background: rgba(9,9,14,0.5); }
.gallery-item:hover .gallery-hover .fa { opacity: 1; transform: scale(1); }

/* ---------------------------------------------------------------
   SUPPORTERS
--------------------------------------------------------------- */
#supporters {
  background: var(--bg2);
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.sponsors-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 36px;
  transition: var(--ease);
  min-width: 170px;
}

.sponsor-item:hover {
  border-color: var(--yellow-border);
  transform: translateY(-5px);
  background: var(--yellow-dim);
}

.sponsor-item img {
  max-height: 90px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  transition: var(--ease);
}

/* ---------------------------------------------------------------
   VENUE
--------------------------------------------------------------- */
#venue {
  background: var(--bg);
}

.venue-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100%;
  padding-right: 32px;
}

.venue-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.venue-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow-dim);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.venue-icon .fa {
  font-size: 1.1rem;
  color: var(--yellow);
}

.venue-info-item h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 4px;
}

.venue-info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.venue-info-item p small {
  font-size: 0.8em;
  opacity: 0.7;
}

.venue-socials {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.venue-social-btn {
  width: 42px;
  height: 42px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--ease);
}

.venue-social-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--bg);
  transform: translateY(-3px);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  height: 460px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(25%) contrast(1.05);
  display: block;
}

/* ---------------------------------------------------------------
   CONTACT
--------------------------------------------------------------- */
#contact {
  background: var(--bg2);
}

.contact-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-box h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin: 10px 0 12px;
}

.contact-box h2 span { color: var(--yellow); }

.contact-box > p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 36px;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 32px;
  margin-bottom: 40px;
  transition: var(--ease);
  word-break: break-all;
}

.contact-email-link:hover {
  border-color: var(--yellow-border);
  color: var(--yellow);
  transform: translateY(-3px);
}

.contact-email-link .fa {
  font-size: 1.4rem;
  color: var(--yellow);
  flex-shrink: 0;
}

.contact-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.csocial-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--ease);
}

.csocial-fb  { background: rgba(24,119,242,0.12); color: #5b9cf6; border: 1px solid rgba(24,119,242,0.28); }
.csocial-fb:hover  { background: #1877F2; color: var(--white); border-color: transparent; }

.csocial-ig  { background: rgba(225,48,108,0.12); color: #e8608a; border: 1px solid rgba(225,48,108,0.28); }
.csocial-ig:hover  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: var(--white); border-color: transparent; }

.csocial-tg  { background: rgba(0,136,204,0.12); color: #4ab3e8; border: 1px solid rgba(0,136,204,0.28); }
.csocial-tg:hover  { background: #0088cc; color: var(--white); border-color: transparent; }

/* ---------------------------------------------------------------
   FOOTER
--------------------------------------------------------------- */
#footer {
  background: var(--bg2);
  border-top: 1px solid var(--card-border);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--card-border);
}

.footer-logo {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--ease);
}

.footer-socials a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--bg);
  transform: translateY(-2px);
}

.footer-links h5 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--ease);
}

.footer-links ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-bottom-links a:hover { color: var(--yellow); }

.footer-bottom-links span { color: var(--text-muted); }

/* ---------------------------------------------------------------
   BACK TO TOP
--------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--yellow);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 990;
  box-shadow: 0 4px 24px rgba(255,229,0,0.3);
  transition: var(--ease);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--white);
  color: var(--bg);
  transform: translateY(-4px);
}

/* ---------------------------------------------------------------
   INNER PAGES — header + content offset
--------------------------------------------------------------- */

/* Header sempre scuro nelle pagine interne (class="header-fixed") */
#header.header-fixed {
  background: rgba(9, 9, 14, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Layout flex per il .container usato nelle pagine interne */
#header.header-fixed .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo nelle pagine interne (usa vecchio id="#logo") */
#header #logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* Spinge il contenuto delle pagine interne sotto l'header fisso */
.main-page {
  padding-top: 90px;
}

/* Stile base per le sezioni nelle pagine interne */
.main-page section {
  padding: 40px 0 60px;
}

.main-page .section-header {
  margin-bottom: 40px;
}

.main-page .section-header h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.main-page .section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Footer nelle pagine interne — centrato e a tema scuro */
#footer .footer-top {
  background: var(--bg2);
  border-top: 1px solid var(--card-border);
  padding: 32px 0;
  text-align: center;
}

#footer .social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

#footer .social-links a {
  width: 42px;
  height: 42px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--ease);
}

#footer .social-links a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--bg);
  transform: translateY(-2px);
}

#footer .copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 20px 0 8px;
  line-height: 2;
}

#footer .copyright a {
  color: var(--yellow);
  border-bottom: 1px solid var(--yellow-border);
}

#footer .copyright a:hover {
  color: var(--white);
}

#footer .credits {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  padding-bottom: 28px;
}

#footer .credits a {
  color: var(--text-muted);
}

#footer .credits a:hover {
  color: var(--yellow);
}

/* ---------------------------------------------------------------
   WOW.JS
--------------------------------------------------------------- */
.wow { visibility: hidden; }

/* ---------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 1199px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  .header-inner { padding: 16px 24px; }
  #header.scrolled .header-inner { padding: 12px 24px; }

  .nav-menu { display: none; }
  #mobile-nav-toggle { display: block; }

  .about-text { padding-left: 0; margin-top: 40px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }

  .venue-info { padding-right: 0; margin-bottom: 32px; }

  .timeline::before { display: none; }
  .tl-item { grid-template-columns: auto 1fr; gap: 12px; }
  .tl-dot { display: none; }
  .tl-time { padding-top: 0; text-align: left; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child,
  .gallery-item:nth-child(5) { grid-column: span 1; aspect-ratio: 4/3; }
}

@media (max-width: 767px) {
  section { padding: 72px 0; }

  .hero-title { font-size: clamp(5rem, 22vw, 8rem); }

  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary-yellow, .btn-ghost {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .countdown-sep { display: none; }
  .countdown-block { min-width: 72px; }

  .schedule-tabs { gap: 6px; }
  .sched-tab { min-width: 80px; padding: 12px 14px; }
  .tab-date { font-size: 1.3rem; }

  .menu-grid { flex-direction: column; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child,
  .gallery-item:nth-child(5) { aspect-ratio: 4/3; }
  .sponsors-flex { gap: 12px; }
  .sponsor-item { min-width: 140px; padding: 16px 20px; }
  .section-header { margin-bottom: 48px; }
}

/* Tournament and dinner popups on the standard website.
   The PWA uses the matching component styles in pwa-app.css. */
.web-popup {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 4, 8, .78);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.web-popup[hidden] { display: none; }
.web-popup.open { opacity: 1; visibility: visible; }
body.pwa-modal-open { overflow: hidden; }

.web-popup .pwa-modal-box {
  position: relative;
  width: min(100%, 560px);
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-top-color: var(--yellow-border);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  transform: translateY(12px) scale(.99);
  transition: transform .22s ease;
}
.web-popup.open .pwa-modal-box { transform: none; }

.web-popup .pwa-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  color: var(--white);
  background: var(--card);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.web-popup .pwa-modal-eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--yellow);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.web-popup .pwa-modal-title {
  margin: 0 44px 14px 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
}
.web-popup .pwa-modal-text,
.web-popup .pwa-modal-note,
.web-popup .pwa-modal-intro,
.web-popup [data-pane="done"] p,
.web-popup [data-cena-pane="done"] p {
  color: var(--text);
  line-height: 1.55;
}
.web-popup .pwa-modal-note,
.web-popup .pwa-modal-intro,
.web-popup [data-pane="done"] p,
.web-popup [data-cena-pane="done"] p {
  font-size: .9rem;
}
.web-popup .pwa-modal-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.web-popup .pwa-modal-facts li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--card-border);
  font-size: .9rem;
}
.web-popup .pwa-modal-facts li span {
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.web-popup .pwa-modal-facts li b { color: var(--white); }
.web-popup .pwa-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.web-popup .pwa-modal-actions.single { grid-template-columns: 1fr; }
.web-popup .pwa-modal-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--bg);
  background: var(--yellow);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: var(--ease);
}
.web-popup .pwa-modal-actions .btn:hover {
  color: var(--bg);
  background: var(--white);
  transform: translateY(-2px);
}
.web-popup .pwa-modal-actions .btn.ghost {
  color: var(--yellow);
  background: transparent;
  border-color: var(--yellow-border);
}
.web-popup .pwa-modal-actions .btn.ghost:hover {
  color: var(--bg);
  background: var(--yellow);
}
.web-popup .pwa-modal-form { margin-top: 14px; }
.web-popup .field { display: block; margin-bottom: 14px; }
.web-popup .field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
}
.web-popup .field em { color: var(--text-muted); font-style: normal; }
.web-popup .field input,
.web-popup .field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--white);
  background: var(--bg3);
  font: 400 1rem/1.4 var(--font-body);
}
.web-popup .field input:focus,
.web-popup .field textarea:focus {
  outline: 2px solid var(--yellow-border);
  border-color: var(--yellow);
}
.web-popup .field .hint,
.web-popup .hint {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: .76rem;
  line-height: 1.4;
}
.web-popup .pwa-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 4px;
  color: var(--text-muted);
  font-size: .8rem;
  line-height: 1.45;
}
.web-popup .pwa-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--yellow);
}
.web-popup .pwa-done-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: var(--yellow);
  background: var(--yellow-dim);
  font-size: 1.5rem;
  font-weight: 900;
}
.web-popup [data-pane="done"] h4,
.web-popup [data-cena-pane="done"] h4 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
}
.web-popup :focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.web-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.web-event-actions .btn-sport { margin: 0; }

@media (max-width: 600px) {
  .web-popup { align-items: flex-end; padding: 0; }
  .web-popup .pwa-modal-box {
    width: 100%;
    max-height: 92vh;
    padding: 24px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .web-popup, .web-popup .pwa-modal-box, .web-popup .pwa-modal-actions .btn {
    transition: none;
  }
}
