@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --black: #141414;
  --white: #ffffff;
  --soft: #f3f3f1;
  --bg: #ffffff;
  --fg: #141414;
  --grey2: #4a4a4f;
  --line2: #c9c9c7;
  --hov-grey: #b9b9bd;
  --grey: #6d6d72;
  --line: #e2e2e0;
  --nav-h: 76px;
  --logo-h: 44px;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-padding-top: 50px; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.immersive { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad); background: var(--black); color: var(--white); transition: height 0.25s ease, background 0.3s ease, opacity 0.5s ease; }
body.home .nav:not(.scrolled):not(.menu-open) { background: linear-gradient(180deg, rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0)); }
.right { display: flex; align-items: center; gap: 14px; }
.burger { display: none; position: relative; width: 40px; height: 40px; }
.burger i { position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; transition: transform 0.3s ease, top 0.3s ease; }
.burger i:nth-child(1) { top: 15px; }
.burger i:nth-child(2) { top: 23px; }
.burger.on i:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger.on i:nth-child(2) { top: 19px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 90px var(--pad) 40px; background: var(--black); color: var(--white); transform: translateY(-100%); visibility: hidden; transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s 0.45s; }
.menu.on { transform: none; visibility: visible; transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s; }
.menu a { font-family: var(--head); font-weight: 800; font-size: clamp(44px, 13vw, 72px); line-height: 1.1; text-transform: uppercase; }
.lock { overflow: hidden; }
.nav.scrolled { --nav-h: 56px; --logo-s: 0.727; }
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase; }
.brand img { height: 44px; width: auto; filter: brightness(0) invert(1); transform-origin: left center; transform: scale(var(--logo-s, 1)); transition: transform 0.25s ease; }
.links { display: flex; gap: clamp(18px, 3vw, 40px); }
.links a { font-family: var(--head); font-weight: 600; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; transition: opacity 0.2s; }
.links a:hover { opacity: 1; }
.cart-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.badge { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--white); color: var(--black); font-size: 11px; font-weight: 700; display: none; place-items: center; }
.badge.on { display: grid; }

#view { min-height: 100vh; }

@keyframes slide { 0% { opacity: 0; z-index: 3; transform: scale(1.02); } 5% { opacity: 1; z-index: 3; } 5.01% { z-index: 2; } 30% { opacity: 1; z-index: 2; transform: scale(1.12); } 30.01% { opacity: 0; z-index: 0; transform: scale(1.12); } 100% { opacity: 0; z-index: 0; transform: scale(1.12); } }

main { position: relative; z-index: 2; }
html.lock, html.lock body { overflow: hidden; height: 100%; }
#stage { will-change: transform; transform-origin: 50% 50%; }
#hero-load, #page-load { position: fixed; inset: 0; z-index: 60; background: #141414; color: #fff; display: grid; place-content: center; justify-items: center; gap: 22px; transition: opacity 0.7s ease; }
#page-load { transition-duration: 0.45s; }
#hero-load.off, #page-load.off { opacity: 0; pointer-events: none; }
#hero-load img, #page-load img { height: 92px; filter: brightness(0) invert(1); }
#hero-load .bar, #page-load .bar { width: 180px; height: 2px; background: rgba(255, 255, 255, 0.16); overflow: hidden; border-radius: 2px; }
#hero-load .bar i, #page-load .bar i { display: block; height: 100%; width: 40%; background: #d9b45a; animation: ld 1.1s ease-in-out infinite; }
@keyframes ld { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
#hero-load span, #page-load span { font-family: var(--head); letter-spacing: 0.3em; text-transform: uppercase; font-size: 13px; color: #a3a6ae; }
body.hero-intro .nav { opacity: 0; pointer-events: none; }

.hero2 { position: relative; isolation: isolate; overflow: hidden; background: #141414; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--pad) 90px; color: #f4f4f1; }
.h2-bg { position: absolute; left: 0; right: 0; top: -32%; height: 164%; z-index: 0; opacity: 0; transition: opacity 1.6s ease 0.2s; will-change: transform; }
.hero2[data-phase="logo"] .h2-bg, .hero2[data-phase="done"] .h2-bg { opacity: 1; }
.h2-bg i { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; animation: slide2 12s linear infinite; animation-play-state: paused; will-change: opacity, transform; }
.hero2[data-phase="logo"] .h2-bg i, .hero2[data-phase="done"] .h2-bg i { animation-play-state: running; }
.h2-bg i:nth-child(2) { animation-delay: 6s; }
.h2-bg::after { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, 0.5); }
@keyframes slide2 { 0% { opacity: 0; z-index: 3; transform: scale(1.02); } 12.5% { opacity: 1; z-index: 3; } 12.51% { z-index: 2; } 62.5% { opacity: 1; z-index: 2; transform: scale(1.12); } 62.51% { opacity: 0; z-index: 0; transform: scale(1.12); } 100% { opacity: 0; z-index: 0; transform: scale(1.12); } }
@keyframes slide4 { 0% { opacity: 0; z-index: 3; transform: scale(1.02); } 8.33% { opacity: 1; z-index: 3; } 8.34% { z-index: 2; } 41.66% { opacity: 1; z-index: 2; transform: scale(1.12); } 41.67% { opacity: 0; z-index: 0; transform: scale(1.12); } 100% { opacity: 0; z-index: 0; transform: scale(1.12); } }
.h2-in { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin: 0 auto; will-change: transform, opacity; }
.h2-txt { opacity: 0; transform: translateY(24px); transition: opacity 1s ease 0.1s, transform 1s ease 0.1s; }
.hero2[data-phase="logo"] .h2-txt, .hero2[data-phase="done"] .h2-txt { opacity: 1; transform: none; }
.hero2 .eyebrow { display: inline-block; padding-bottom: 10px; border-bottom: 2px solid #f4f4f1; font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: 0.3em; text-transform: uppercase; color: #f4f4f1; }
.hero2 h1 { margin: 22px 0 22px; font-size: clamp(56px, 11vw, 168px); line-height: 0.92; font-style: italic; text-transform: uppercase; }
.hero2 h1 span { display: block; overflow: hidden; }
.hero2 h1 i { font-style: italic; display: block; }
.hero2 h1 span:nth-child(2) i { color: transparent; -webkit-text-stroke: 3px #f4f4f1; }
.hero2 .lead { max-width: 520px; margin: 0 0 30px; font-size: clamp(16px, 1.4vw, 19px); color: #d6d6d2; }
.hero2 .btn { padding: 16px 34px; border: 2px solid #f4f4f1; border-radius: 0; background: #f4f4f1; color: #141414; font-size: 20px; font-weight: 700; letter-spacing: 0.1em; }
.hero2 .btn:hover { background: transparent; color: #f4f4f1; box-shadow: none; }
.scroll-cue { position: absolute; z-index: 1; bottom: 14px; right: var(--pad); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; transition: opacity 1s ease 1s; font-family: var(--head); letter-spacing: 0.3em; text-transform: uppercase; font-size: 12px; color: #a3a6ae; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(#f4f4f1, transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero2[data-phase="done"] .scroll-cue { opacity: 1; }

.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border: 2px solid var(--fg); font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--fg); color: var(--bg); }
.btn.solid:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn.light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn.light:hover { background: #dcdcdc; border-color: #dcdcdc; }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); }
.btn.outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn.outline:hover { background: var(--white); color: var(--black); }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

.section { padding: clamp(56px, 8vw, 110px) var(--pad); background: var(--bg); }
.wrap { max-width: var(--max); margin: 0 auto; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(40px, 6vw, 72px); }

.seg { position: relative; display: inline-flex; border: 2px solid var(--fg); }
.seg-pill { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--fg); transition: transform 0.45s cubic-bezier(0.65, 0, 0.25, 1), width 0.45s cubic-bezier(0.65, 0, 0.25, 1); pointer-events: none; }
.seg button { position: relative; z-index: 1; transition: color 0.35s ease; padding: 8px 20px; font-family: var(--head); font-weight: 700; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
.seg button.on { color: var(--bg); }

.matches { border-top: 2px solid var(--fg); }
.match { display: grid; grid-template-columns: 76px 150px 1fr auto; gap: 24px; align-items: center; margin: 0 -20px; padding: 22px 20px; border-bottom: 1px solid var(--line); transition: background-color 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.5s ease, opacity 0.7s ease, transform 0.7s ease; }
.match:hover { background: var(--fg); color: var(--bg); }
.m-photo { height: 92px; background: #222 center / cover no-repeat; filter: grayscale(1); transition: filter 0.5s ease; }
.match:hover .m-photo { filter: none; }
.m-date { text-align: center; line-height: 1; }
.m-date b { display: block; font-family: var(--head); font-weight: 800; font-size: 44px; }
.m-date span { transition: color 0.5s ease; font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.m-teams { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.m-teams img { height: 40px; width: 40px; object-fit: contain; transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.5s ease; }
.m-teams img[src$="juventus.png"] { filter: brightness(0) invert(0); }
.match:hover .m-teams img[src$="juventus.png"] { filter: brightness(0) invert(1); }
.match:hover .m-teams img { transform: scale(1.12); }
.m-teams h3 { font-size: clamp(26px, 3.4vw, 38px); }
.m-info { margin-top: 6px; color: var(--grey); font-size: 14px; transition: color 0.5s ease; }
.m-info b { color: inherit; font-weight: 600; }
.match:hover .m-info, .match:hover .m-date span, .match:hover .m-price small, .match:hover .m-away { color: var(--hov-grey); }
.match:hover .btn.solid { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.m-buy { display: flex; align-items: center; gap: 22px; }
.m-price { text-align: right; line-height: 1.1; }
.m-price small { display: block; font-size: 12px; color: var(--grey); }
.m-price b { font-family: var(--head); font-weight: 800; font-size: 30px; }
.m-away { font-family: var(--head); font-weight: 600; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.m-none { padding: 40px 0; color: var(--grey); }

.section.dark { background: var(--black); color: var(--white); }
.stadio { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.stadio .ph { position: relative; min-height: 420px; height: 100%; overflow: hidden; background: #222; }
.ph i { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; animation: slide 24s linear infinite; }
.ph i:nth-child(2) { animation-delay: 6s; }
.ph i:nth-child(3) { animation-delay: 12s; }
.ph i:nth-child(4) { animation-delay: 18s; }
.ph, .h2-bg { background: #141414; }
.stadio h2 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 26px; }
.stadio ul { list-style: none; display: grid; gap: 20px; margin-bottom: 34px; }
.stadio li b { display: block; font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px; }
.stadio li span { color: #b9b9bd; }

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(44px, 6vw, 84px); padding-top: 36px; border-top: 1px solid #2c2c2c; }
.stat b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(44px, 6vw, 80px); line-height: 1; }
.stat span { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #b9b9bd; }

.acc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.acc div { padding: 26px 0; border-top: 1px solid var(--line); }
.acc h3 { font-size: 28px; margin-bottom: 10px; }
.acc p { color: var(--grey2); }

.faq-list { max-width: 820px; border-top: 2px solid var(--fg); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; text-align: left; font-family: var(--head); font-weight: 700; font-size: 24px; letter-spacing: 0.03em; text-transform: uppercase; }
.qa button i { font-style: normal; font-size: 28px; line-height: 1; transition: transform 0.2s; }
.qa.open button i { transform: rotate(45deg); }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.qa .ans p { padding: 0 0 24px; color: var(--grey2); max-width: 680px; }

.footer { background: var(--black); color: var(--white); padding: 48px var(--pad); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer img { height: 40px; filter: brightness(0) invert(1); }
.footer p { max-width: 520px; font-size: 13px; color: #a5a5aa; }

.page { max-width: 980px; margin: 0 auto; padding: 120px var(--pad) 90px; }
.page.wide { max-width: var(--max); }
.page h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 28px; }
.steps { display: flex; gap: 24px; margin-bottom: 22px; font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; color: #a5a5aa; }
.steps .on { color: var(--fg); border-bottom: 3px solid var(--fg); }
.empty { padding: 48px 0; display: grid; gap: 18px; justify-items: start; }
.empty h3 { font-size: 40px; }
.empty p { color: var(--grey); }

.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.ticket { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.ticket:first-child { border-top: 2px solid var(--fg); }
.crests { display: flex; gap: 6px; }
.crests img { height: 38px; width: 38px; object-fit: contain; }
.ticket h3 { font-size: 26px; margin-bottom: 4px; }
.ticket p { font-size: 14px; color: var(--grey); }
.ticket .tp { text-align: right; }
.ticket .tp b { display: block; font-family: var(--head); font-weight: 800; font-size: 28px; }
.rm { font-size: 13px; color: var(--grey); text-decoration: underline; }
.summary { position: sticky; top: 90px; padding: 28px; background: var(--soft); }
.summary h3 { font-size: 28px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 15px; }
.sum-row.tot { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line2); font-weight: 700; }
.sum-row.tot b { font-family: var(--head); font-size: 32px; }
.summary .btn { width: 100%; margin-top: 18px; }
.oi { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; }
.oi small { display: block; color: var(--grey); }

.paybox h3 { font-size: 28px; margin: 0 0 14px; }
.paybox h3.b { margin-top: 34px; }
.methods { display: grid; gap: 8px; margin-bottom: 20px; }
.methods button { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); text-align: left; font-weight: 600; }
.methods button i { width: 18px; height: 18px; border: 2px solid var(--fg); border-radius: 50%; flex: none; }
.methods button.on { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.methods button.on i { background: radial-gradient(var(--fg) 0 45%, transparent 50%); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--grey); }
.field input, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--line2); background: var(--bg); border-radius: 0; outline: none; font-size: 16px; }
.field input:focus, .field select:focus { border-color: var(--fg); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--fg); }
.note { margin-top: 18px; font-size: 13px; color: var(--grey); }
.wallet { padding: 18px; background: var(--soft); margin-bottom: 14px; font-size: 14px; color: var(--grey2); }

.overlay { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(20, 20, 20, 0.8); color: var(--white); text-align: center; padding: 24px; }
.ov-in { display: grid; gap: 14px; justify-items: center; max-width: 420px; }
.ov-in h2 { font-size: 56px; }
.okmark { width: 84px; height: 84px; }
.okmark circle { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 227; stroke-dashoffset: 227; transform: rotate(-90deg); transform-origin: 50% 50%; animation: okc 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.okmark path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: okp 0.4s ease 0.5s forwards; }
.ov-in.ok h2, .ov-in.ok p, .ov-in.ok .btn { opacity: 0; transform: translateY(10px); animation: okt 0.5s ease 0.85s forwards; }
.ov-in.ok p { animation-delay: 0.95s; }
.ov-in.ok .btn { animation-delay: 1.05s; }
@keyframes okc { to { stroke-dashoffset: 0; } }
@keyframes okp { to { stroke-dashoffset: 0; } }
@keyframes okt { to { opacity: 1; transform: none; } }
.spin { width: 48px; height: 48px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.2); border-top-color: var(--white); animation: rot 0.9s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 20px); padding: 12px 20px; background: var(--black); color: var(--white); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; max-width: 90vw; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

#seats { position: fixed; inset: 0; z-index: 60; background: #141414; color: var(--white); overflow: hidden; user-select: none; -webkit-user-select: none; }
#seats[hidden] { display: none; }
#stage { position: absolute; inset: 0; }
#stage canvas { display: block; outline: none; }
#labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.slabel { position: absolute; left: 0; top: 0; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: #fff; text-shadow: 0 1px 3px rgba(20, 20, 20, 0.9), 0 0 8px rgba(20, 20, 20, 0.6); will-change: transform; }

.s-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(14px + env(safe-area-inset-top)) 16px 12px; background: linear-gradient(180deg, rgba(20, 20, 20, 0.8), transparent); pointer-events: none; }
.s-top > * { pointer-events: auto; }
.round { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); color: #fff; transition: background 0.2s; }
.round:hover { background: rgba(255, 255, 255, 0.28); }
.s-title { flex: 1; text-align: center; line-height: 1.15; }
.s-title b { display: block; font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: 0.08em; text-transform: uppercase; }
.s-title span { font-size: 12px; color: #b4b4ba; }

.s-tabs { position: absolute; top: calc(76px + env(safe-area-inset-top)); left: 50%; z-index: 5; transform: translateX(-50%); display: flex; background: rgba(20, 20, 20, 0.85); border: 1px solid rgba(255, 255, 255, 0.18); transition: opacity 0.3s; }
.s-tabs button { padding: 9px 18px; font-size: 13px; font-weight: 600; color: #b4b4ba; white-space: nowrap; }
.s-tabs button.on { background: #fff; color: #141414; }

.s-sector { position: absolute; top: calc(80px + env(safe-area-inset-top)); left: 50%; z-index: 5; transform: translateX(-50%); display: none; align-items: center; gap: 12px; padding: 7px 8px 7px 16px; background: rgba(20, 20, 20, 0.9); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 14px; white-space: nowrap; }
.s-sector .dot { width: 14px; height: 14px; }
.s-sector button { padding: 7px 14px; background: rgba(255, 255, 255, 0.14); font-size: 12px; font-weight: 600; }

.s-arrows { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 6; display: none; justify-content: space-between; padding: 0 16px; pointer-events: none; }
.s-arrows button { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; background: #fff; color: #141414; font-size: 13px; font-weight: 600; }

.s-legend { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 5; display: flex; justify-content: safe center; gap: 8px; padding: 4px 16px; overflow-x: auto; scrollbar-width: none; transition: opacity 0.3s; }
.s-legend::-webkit-scrollbar { display: none; }
.lg { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(20, 20, 20, 0.88); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 12px; font-weight: 600; }
.lg i { width: 12px; height: 12px; }
.lg small { color: #a5a5aa; font-weight: 500; }
.lg.on { background: #fff; color: #141414; }
.lg.on small { color: #555; }

.s-tip { position: fixed; z-index: 70; display: none; max-width: 260px; padding: 9px 13px; background: rgba(20, 20, 20, 0.95); border: 1px solid rgba(255, 255, 255, 0.2); font-size: 13px; pointer-events: none; transform: translate(14px, 14px); }
.s-tip b { display: block; }
.s-tip span { color: #a5a5aa; font-size: 12px; }
.s-hint { position: absolute; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 4; transform: translateX(-50%); padding: 8px 16px; background: rgba(20, 20, 20, 0.6); color: #cfcfd4; font-size: 13px; white-space: nowrap; pointer-events: none; transition: opacity 0.3s; }

.s-sheet { position: absolute; left: 50%; bottom: 0; z-index: 7; width: min(100%, 560px); transform: translate(-50%, 110%); padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); background: #141414; border: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 0; transition: transform 0.35s ease, opacity 0.3s; }
.s-sheet .eyebrow { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #a5a5aa; }
.s-sheet h2 { margin: 6px 0 4px; font-size: 36px; }
.s-sheet .sub { margin-bottom: 14px; font-size: 14px; color: #a5a5aa; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.stats b { display: block; font-family: var(--head); font-weight: 800; font-size: 28px; }
.stats span { font-size: 11px; color: #a5a5aa; line-height: 1.3; display: block; }
.sh-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-sheet .btn, .s-added .btn { padding: 12px 14px; font-size: 17px; }
.s-sheet .btn.solid, .s-added .btn.solid { background: #fff; color: #141414; border-color: #fff; }
.s-sheet .btn.solid:hover, .s-added .btn.solid:hover { background: #dcdcdc; border-color: #dcdcdc; }
.s-sheet .btn.ghost, .s-added .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.s-sheet .btn.ghost:hover, .s-added .btn.ghost:hover { background: #fff; color: #141414; }
.s-sheet .btn.outline { width: 100%; margin-top: 10px; }

.s-added { position: absolute; left: 50%; top: 50%; z-index: 9; width: min(92%, 420px); transform: translate(-50%, -46%); padding: 26px; background: #141414; border: 1px solid rgba(255, 255, 255, 0.2); text-align: center; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.s-added.on { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.s-added b { font-family: var(--head); font-weight: 800; font-size: 28px; text-transform: uppercase; }
.s-added p { margin: 8px 0 20px; font-size: 14px; color: #a5a5aa; }

.s-confirm { position: absolute; inset: 0; z-index: 20; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 20, 20, 0.6); }
.s-confirm.on { display: flex; }
.s-confirm .box { width: min(440px, 100%); padding: 28px; background: #fff; color: #141414; }
.s-confirm h3 { font-size: 30px; margin-bottom: 10px; }
.s-confirm p { margin-bottom: 22px; color: #444; }
.s-confirm .btn.ghost.dark { color: #141414; border-color: #141414; }
.s-confirm .btn.ghost.dark:hover { background: #141414; color: #fff; }
.s-confirm .btn.solid.dark { background: #141414; color: #fff; border-color: #141414; }

.s-loading { position: absolute; inset: 0; z-index: 25; display: grid; place-content: center; justify-items: center; gap: 16px; background: #141414; text-align: center; transition: opacity 0.5s; }
.s-loading.off { opacity: 0; pointer-events: none; }
.s-loading .ring { width: 54px; height: 54px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.15); border-top-color: #fff; animation: rot 0.9s linear infinite; }
.s-loading b { font-family: var(--head); font-weight: 700; font-size: 26px; letter-spacing: 0.08em; text-transform: uppercase; }
.s-loading span { font-size: 14px; color: #a3a6ae; }

#seats[data-mode="intro"] .s-tabs, #seats[data-mode="intro"] .s-legend, #seats[data-mode="intro"] .s-hint, #seats[data-mode="intro"] .s-sheet { opacity: 0; pointer-events: none; }
#seats[data-mode="overview"] .s-sector { display: none; }
#seats[data-mode="sector"] .s-tabs, #seats[data-mode="sector"] .s-legend { opacity: 0; pointer-events: none; }
#seats[data-mode="sector"] .s-sector { display: flex; }
#seats[data-mode="sector"] .s-arrows { display: flex; }
#seats[data-mode="sector"][data-seat="1"] .s-arrows { bottom: calc(300px + env(safe-area-inset-bottom)); }
#seats[data-mode="sector"][data-seat="1"] .s-sheet { transform: translate(-50%, 0); }
#seats[data-mode="sector"][data-seat="1"] .s-hint { opacity: 0; }
#seats[data-mode="sector"] #b-change { display: none; }
#seats[data-mode="sector"] .sh-btns { grid-template-columns: 1fr; }
#seats[data-mode="seat"] .s-tabs, #seats[data-mode="seat"] .s-legend, #seats[data-mode="seat"] .s-sector { display: none; }
#seats[data-mode="seat"] .s-sheet { transform: translate(-50%, 0); }
#seats[data-mode="seat"] .s-sheet .btn.outline { display: none; }

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .brand img { height: 38px; }
  .nav.scrolled { --nav-h: 52px; --logo-s: 0.737; }
  html { scroll-padding-top: 46px; }
  .links { display: none; }
  .burger { display: block; }
  .stadio { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .stadio .ph { min-height: 260px; }
  .acc { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .match { grid-template-columns: 56px 1fr; gap: 16px; }
  .m-photo { display: none; }
  .m-buy { grid-column: 1 / -1; justify-content: space-between; }
  .m-date b { font-size: 36px; }
  .ticket { grid-template-columns: 1fr auto; }
  .ticket .crests { grid-column: 1 / -1; }
  .s-sheet h2 { font-size: 30px; }
  .s-title b { font-size: 20px; }
  .s-title span { display: block; max-width: 44vw; margin: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .s-hint { bottom: calc(70px + env(safe-area-inset-bottom)); font-size: 12px; }
  .s-arrows button span { display: none; }
  .s-arrows button { width: 46px; padding: 0; justify-content: center; }
}
@media (max-width: 520px) {
  .hero2 h1 { font-size: 15vw; }
  .hero2 { padding-bottom: 80px; }
  .two { grid-template-columns: 1fr; }
  .brand span { display: none; }
}
@media (min-width: 861px) { .menu { display: none; } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rv, .h2-txt { opacity: 1; transform: none; }
  .scroll-cue { opacity: 1; }
  .ph i:first-child, .h2-bg, .h2-bg i:first-child { opacity: 1; }
}

#faq { scroll-margin-top: 36px; }

.theme-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: var(--white); }
.theme-btn svg { position: absolute; width: 22px; height: 22px; transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
.theme-btn .i-sun { opacity: 0; transform: rotate(-60deg) scale(0.6); }
html[data-theme="dark"] .theme-btn .i-moon { opacity: 0; transform: rotate(60deg) scale(0.6); }
html[data-theme="dark"] .theme-btn .i-sun { opacity: 1; transform: none; }
body, .section, .btn, .match, .acc div, .qa, .summary, .field input, .field select { transition-property: background-color, color, border-color; transition-duration: 0.35s; }
.rv { transition: opacity 0.7s ease, transform 0.7s ease, background-color 0.35s, color 0.35s, border-color 0.35s; }
html[data-theme="dark"] { --bg: #141414; --fg: #f3f3f1; --soft: #1f1f1f; --grey: #a3a3a8; --grey2: #c4c4c8; --line: #2e2e2e; --line2: #3b3b3b; --hov-grey: #5a5a5f; color-scheme: dark; }
html[data-theme="dark"] .section.dark, html[data-theme="dark"] .footer { background: #1c1c1c; }
html[data-theme="dark"] .btn.solid:hover { background: #dcdcdc; border-color: #dcdcdc; color: #141414; }
html[data-theme="dark"] .m-teams img[src$="juventus.png"] { filter: brightness(0) invert(1); }
html[data-theme="dark"] .match:hover .m-teams img[src$="juventus.png"] { filter: brightness(0) invert(0); }
html[data-theme="dark"] .crests img[src$="juventus.png"], html[data-theme="dark"] .oi img[src$="juventus.png"] { filter: brightness(0) invert(1); }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select { color: var(--fg); }
html[data-theme="dark"] .match:hover .m-photo { filter: none; }

.sound-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: var(--white); }
.sound-btn .sx, .round .sx { display: none; }
.sound-btn.muted .sw, .round.muted .sw { display: none; }
.sound-btn.muted .sx, .round.muted .sx { display: block; }

.hero2::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(20, 20, 20, 0.85) 0%, rgba(20, 20, 20, 0.45) 45%, rgba(20, 20, 20, 0.35) 100%), linear-gradient(90deg, rgba(20, 20, 20, 0.7) 0%, rgba(20, 20, 20, 0.35) 55%, rgba(20, 20, 20, 0.1) 100%); }
.hero2 .eyebrow, .hero2 .lead { text-shadow: 0 1px 3px rgba(20, 20, 20, 0.7), 0 2px 22px rgba(20, 20, 20, 0.8); }
.hero2 .lead { color: #f1f1ee; }
.hero2 h1 span:first-child i { text-shadow: 0 3px 6px rgba(20, 20, 20, 0.55), 0 4px 40px rgba(20, 20, 20, 0.8); }
.hero2 h1 span:nth-child(2) i { filter: drop-shadow(0 2px 5px rgba(20, 20, 20, 0.75)) drop-shadow(0 6px 30px rgba(20, 20, 20, 0.7)); }
.hero2 .h2-in { z-index: 2; }
.hero2 .scroll-cue { z-index: 2; }

.sh-fold { display: none; }
@media (max-width: 1200px) {
  .s-sheet { padding-top: 34px; }
  .sh-fold { display: flex; align-items: center; justify-content: center; position: absolute; top: 4px; left: 50%; width: 64px; height: 28px; transform: translateX(-50%); background: none; border: 0; color: #fff; cursor: pointer; }
  .sh-fold svg { transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.3, 1); }
  #seats[data-fold="1"] .sh-fold svg { transform: rotate(180deg); }
  .s-sheet .stats, .s-sheet .sh-btns, .s-sheet .btn.outline { overflow: hidden; max-height: 160px; opacity: 1; transition: max-height 0.4s cubic-bezier(0.22, 0.8, 0.3, 1), opacity 0.28s ease, margin 0.4s cubic-bezier(0.22, 0.8, 0.3, 1), padding 0.4s cubic-bezier(0.22, 0.8, 0.3, 1), border-width 0.4s; }
  .s-sheet .sub { transition: margin 0.4s cubic-bezier(0.22, 0.8, 0.3, 1); }
  #seats[data-fold="1"] .s-sheet .stats, #seats[data-fold="1"] .s-sheet .sh-btns, #seats[data-fold="1"] .s-sheet .btn.outline { max-height: 0; opacity: 0; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-width: 0; pointer-events: none; }
  #seats[data-fold="1"] .s-sheet .sub { margin-bottom: 0; }
  .s-arrows { transition: bottom 0.4s cubic-bezier(0.22, 0.8, 0.3, 1); }
  #seats[data-mode="sector"][data-seat="1"][data-fold="1"] .s-arrows { bottom: calc(130px + env(safe-area-inset-bottom)); }
}
