/* ==========================================================================
   LudoSport Roma — Apple-style design system (dark cinematic + light sections)
   ========================================================================== */
:root {
  --black: #000;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --paper: #f5f5f7;
  --white: #fff;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --on-dark-3: #6e6e73;
  --cyan: #4fe3ff;
  --cyan-deep: #0aa6d6;
  --blade-glow: 0 0 6px #fff, 0 0 14px var(--cyan), 0 0 36px var(--cyan), 0 0 80px rgba(79, 227, 255, .55);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --r-lg: 28px;
  --r-md: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1080px, 100% - 44px); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 48px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .5s var(--ease), border-color .5s var(--ease);
}
.nav.is-light { background: rgba(245, 245, 247, .72); border-color: rgba(0, 0, 0, .06); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--on-dark); white-space: nowrap; transition: color .5s var(--ease); }
.brand img { width: 26px; height: 26px; border-radius: 50%; }
.nav-cta {
  font-size: 12px; font-weight: 500; white-space: nowrap; color: #001a22;
  padding: 6px 14px; border-radius: 999px; background: var(--cyan);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.nav-cta:hover { transform: scale(1.04); box-shadow: 0 0 20px rgba(79, 227, 255, .5); }
.nav.is-light .brand { color: var(--ink); }
.nav.is-light .nav-cta { background: var(--ink); color: #fff; }

/* ---------- Dark hero ---------- */
.dark { background: var(--black); color: var(--on-dark); position: relative; }
.hero {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 110px 0 90px; overflow: hidden; isolation: isolate;
}
/* pointer spotlight */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 40%), rgba(79, 227, 255, .07), transparent 60%);
}
.hero-inner { transform: translateY(calc(var(--p, 0) * -60px)) scale(calc(1 - var(--p, 0) * .08)); opacity: calc(1 - var(--p, 0) * 1.3); will-change: transform, opacity; }

.logo-orb { position: relative; width: 92px; height: 92px; margin: 0 auto 30px; opacity: 0; animation: pop 1.2s var(--ease) .1s forwards; }
.logo-orb img { width: 100%; height: 100%; border-radius: 50%; position: relative; z-index: 1; }
.logo-orb::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(from var(--a, 0deg), transparent 0 60%, var(--cyan) 80%, #fff 84%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  filter: drop-shadow(0 0 6px var(--cyan)); animation: spin 4s linear infinite;
}
.logo-orb::after { content: ""; position: absolute; inset: -30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 227, 255, .22), transparent); z-index: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.7); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

.kicker { font-size: 19px; font-weight: 600; color: var(--cyan); letter-spacing: -.01em; margin: 0 0 10px; opacity: 0; animation: rise 1s var(--ease) .35s forwards; }

.headline {
  margin: 0 auto; font-weight: 700; letter-spacing: -.045em; line-height: 1.02;
  font-size: clamp(48px, 9vw, 112px); max-width: 11ch;
}
.headline .w { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.35em); animation: word 1.1s var(--ease) forwards; animation-delay: calc(.5s + var(--i) * .09s); }
@keyframes word { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.headline .w.glow-text, .glow-text {
  background: linear-gradient(90deg, #fff 0%, #c9f6ff 30%, var(--cyan) 55%, #fff 80%, #c9f6ff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: word 1.1s var(--ease) forwards, sheen 6s linear 2s infinite;
  animation-delay: calc(.5s + var(--i) * .09s), 2s;
}
@keyframes sheen { to { background-position: -250% 0; } }

/* Lightsaber blade that ignites */
.blade-wrap { position: relative; width: min(760px, 86vw); height: 60px; margin: 34px auto 26px; }
.blade {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #fff 6%, #fff 94%, rgba(255,255,255,0) 100%);
  box-shadow: var(--blade-glow);
  transform: scaleX(0); transform-origin: left center;
  animation: ignite .9s var(--ease-in-out) 1.25s forwards, hum 2.6s ease-in-out 2.3s infinite;
}
.blade-halo {
  position: absolute; left: 5%; right: 5%; top: 50%; height: 80px; margin-top: -40px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(79, 227, 255, .35), transparent 70%);
  filter: blur(18px); opacity: 0; animation: halo 1.2s var(--ease) 1.6s forwards;
}
.hilt {
  position: absolute; left: -54px; top: 50%; width: 52px; height: 12px; margin-top: -6px; border-radius: 3px;
  background: linear-gradient(180deg, #e6e8ec, #8a8f98 55%, #3a3d43);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  opacity: 0; animation: rise .8s var(--ease) 1s forwards;
}
.hilt::after { content: ""; position: absolute; left: 12px; top: 3px; width: 18px; height: 6px; border-radius: 2px; background: repeating-linear-gradient(90deg, #222 0 2px, #777 2px 4px); }
@keyframes ignite { 0% { transform: scaleX(0); } 80% { transform: scaleX(1.02); } 100% { transform: scaleX(1); } }
@keyframes hum { 0%, 100% { opacity: 1; } 50% { opacity: .82; } 52% { opacity: 1; } 54% { opacity: .9; } }
@keyframes halo { to { opacity: 1; } }

.sub { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.35; color: var(--on-dark-2); max-width: 30ch; margin: 0 auto; font-weight: 500; opacity: 0; animation: rise 1s var(--ease) 1.9s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; opacity: 0; animation: rise 1s var(--ease) 2.1s forwards; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 38px; margin-left: -12px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.25); opacity: 0; animation: rise 1s var(--ease) 2.6s forwards; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 17px/1 var(--font); letter-spacing: -.01em; padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  transform: translate(var(--tx), var(--ty)); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-blade { color: #00161d; background: var(--cyan); box-shadow: 0 0 0 0 rgba(79,227,255,0), 0 10px 30px -8px rgba(79, 227, 255, .6); }
.btn-blade::before { /* light sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-blade:hover { box-shadow: 0 0 0 4px rgba(79,227,255,.18), 0 16px 50px -8px rgba(79, 227, 255, .85); }
.btn-blade:hover::before { transform: translateX(120%); }
.btn-ghost { color: var(--cyan); background: transparent; padding-inline: 12px; }
.btn-ghost:hover { color: #fff; }
.btn-dark { color: #fff; background: var(--ink); }
.btn-dark:hover { background: #000; box-shadow: 0 14px 40px -12px rgba(0,0,0,.45); }

/* ---------- Scroll-filled statement ---------- */
.statement { height: 220vh; }
.statement-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.statement p {
  margin: 0; width: min(980px, 100% - 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.12;
  font-size: clamp(34px, 5.6vw, 68px);
}
.statement .sw { color: #2a2a2d; transition: color .35s var(--ease), text-shadow .35s var(--ease); }
.statement .sw.on { color: var(--on-dark); }
.statement .sw.hl.on { color: var(--cyan); text-shadow: 0 0 24px rgba(79, 227, 255, .45); }

/* ---------- Light sections ---------- */
.light { background: var(--paper); color: var(--ink); position: relative; }
.section { padding: 120px 0; }
.section-title { text-align: center; margin: 0 auto 60px; }
.section-title h2 { margin: 0 0 12px; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -.04em; }
.section-title p { margin: 0 auto; max-width: 40ch; font-size: clamp(19px, 2vw, 22px); color: var(--ink-2); font-weight: 500; }
.ink-grad { background: linear-gradient(90deg, #0a84c6, var(--cyan-deep) 40%, #1d1d1f); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 100px; }
.tile {
  background: var(--white); border-radius: var(--r-lg); padding: 34px 30px 32px; min-height: 250px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.tile .big { font-size: clamp(64px, 8vw, 96px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.tile h3 { margin: 0; font-size: 24px; letter-spacing: -.025em; font-weight: 600; }
.tile p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
.tile.dark-tile { color: var(--on-dark); background:
  radial-gradient(120% 90% at 100% 0%, rgba(79, 227, 255, .22) 0%, rgba(10, 166, 214, .08) 38%, transparent 65%),
  radial-gradient(90% 80% at 0% 100%, rgba(79, 227, 255, .07) 0%, transparent 60%),
  linear-gradient(160deg, #1b2330 0%, #0b0f16 55%, #000 100%); }
.tile.dark-tile p { color: var(--on-dark-2); }
.tile .icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #e8f9fe; color: var(--cyan-deep); }
.tile .icon svg { width: 22px; height: 22px; }

/* 3D tilt */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ly, 0)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); will-change: transform; }
.tilt:hover { --ly: -4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.22); }
.tilt .glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.35), transparent 50%); opacity: 0; transition: opacity .4s var(--ease); z-index: 2; }
.tilt:hover .glare { opacity: 1; }

/* Form card */
.form-shell { max-width: 640px; margin: 0 auto; }
.form-card { background: var(--white); border-radius: 32px; padding: 44px 40px 30px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.04); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #fff 10%, var(--cyan) 50%, #fff 90%, transparent); box-shadow: 0 0 18px var(--cyan); transform: scaleX(0); transition: transform 1.2s var(--ease-in-out) .3s; }
.form-card.in::before { transform: scaleX(1); }
.form-card h3 { margin: 0 0 6px; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.form-card .hint { margin: 0 0 26px; color: var(--ink-2); font-size: 16px; }
.hs-form-frame { min-height: 360px; }
.form-skeleton { display: grid; gap: 14px; }
.form-skeleton span { height: 50px; border-radius: 12px; background: linear-gradient(90deg, #f0f0f2, #e6e6e9, #f0f0f2); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.form-skeleton span:last-child { width: 50%; border-radius: 999px; }
.form-ready .form-skeleton { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.privacy { margin: 18px 0 0; text-align: center; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.vcard { grid-column: span 2; background: var(--white); border-radius: var(--r-lg); overflow: hidden; position: relative; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.vcard:nth-child(4), .vcard:nth-child(5) { grid-column: span 3; }
.vframe { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.vframe iframe, .vframe video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.poster {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; color: #fff;
  background: radial-gradient(90% 70% at 50% 120%, rgba(79, 227, 255, .28), transparent 60%), linear-gradient(170deg, #1b1d22, #000 70%);
  display: grid; place-items: center; transition: opacity .6s var(--ease);
  background-size: cover; background-position: center;
}
.poster .pblade { position: absolute; left: 12%; right: 12%; top: 58%; height: 2px; border-radius: 2px; background: #fff; box-shadow: var(--blade-glow); transform: rotate(-14deg) scaleX(.2); transform-origin: left center; opacity: .35; transition: transform .9s var(--ease-in-out), opacity .6s var(--ease); }
.vcard:hover .pblade, .vcard.in-view .pblade { transform: rotate(-14deg) scaleX(1); opacity: 1; }
.play { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); border: 1px solid rgba(255,255,255,.28); transition: transform .5s var(--ease), background .5s var(--ease); }
.play svg { width: 22px; height: 22px; margin-left: 3px; fill: #fff; }
.vcard:hover .play { transform: scale(1.12); background: rgba(79, 227, 255, .35); }
.lnum { position: absolute; top: 14px; left: 16px; z-index: 1; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: .02em; }
.vbody { padding: 22px 24px 26px; }
.vbody h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.vbody p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* ---------- Dark CTA ---------- */
.cta { text-align: center; padding: 150px 0 140px; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; left: 50%; top: 0; width: 1100px; height: 700px; margin-left: -550px; z-index: -1; background: radial-gradient(50% 50% at 50% 30%, rgba(79, 227, 255, .16), transparent 70%); }
.cross { position: relative; width: 220px; height: 120px; margin: 0 auto 40px; }
.cross i { position: absolute; left: 0; right: 0; top: 50%; height: 3px; border-radius: 3px; background: #fff; box-shadow: var(--blade-glow); transform-origin: center; transform: rotate(var(--r)) scaleX(0); transition: transform 1s var(--ease-in-out); }
.cross i:nth-child(1) { --r: 28deg; }
.cross i:nth-child(2) { --r: -28deg; transition-delay: .2s; box-shadow: 0 0 6px #fff, 0 0 14px #b8c4d6, 0 0 36px #b8c4d6, 0 0 80px rgba(200, 210, 230, .5); }
.cross.in i { transform: rotate(var(--r)) scaleX(1); }
.cta h2 { margin: 0 auto 18px; max-width: 14ch; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.03; font-weight: 700; letter-spacing: -.045em; }
.cta p { margin: 0 auto 40px; max-width: 42ch; color: var(--on-dark-2); font-size: clamp(18px, 2vw, 21px); }
.cta small { display: block; margin-top: 22px; color: var(--on-dark-3); font-size: 13px; }

/* ---------- Footer ---------- */
footer { padding: 26px 0 36px; font-size: 12px; color: var(--ink-3); border-top: 1px solid rgba(0,0,0,.08); background: var(--paper); }
footer.dark-foot { background: var(--black); color: var(--on-dark-3); border-color: rgba(255,255,255,.08); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Toast (iOS notification) ---------- */
.toast {
  position: fixed; z-index: 100; left: 50%; top: 60px; width: min(420px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 22px;
  background: rgba(250, 250, 252, .78); color: var(--ink);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.45), 0 0 0 .5px rgba(0,0,0,.08);
  transform: translate(-50%, -140%) scale(.9); opacity: 0; transition: transform .8s cubic-bezier(.2, 1.4, .4, 1), opacity .5s var(--ease);
}
.toast.show { transform: translate(-50%, 0) scale(1); opacity: 1; }
.toast-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; overflow: hidden; }
.toast-icon img { width: 100%; height: 100%; }
.toast strong { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.toast strong em { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.toast span { display: block; font-size: 14px; line-height: 1.3; color: #3a3a3c; margin-top: 1px; }
.toast-close { position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(120,120,128,.8); color: #fff; font-size: 13px; line-height: 22px; cursor: pointer; opacity: 0; transition: opacity .3s; }
.toast:hover .toast-close { opacity: 1; }

/* ---------- Page transition ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; background: #000; pointer-events: none; clip-path: circle(0% at 50% 50%); transition: clip-path .8s var(--ease-in-out); }
.curtain.on { clip-path: circle(150% at 50% 50%); pointer-events: auto; }
.curtain::after { content: ""; position: absolute; left: 20%; right: 20%; top: 50%; height: 2px; background: #fff; box-shadow: var(--blade-glow); transform: scaleX(0); transition: transform .6s var(--ease-in-out) .35s; }
.curtain.on::after { transform: scaleX(1); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .tile:first-child { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .vcard, .vcard:nth-child(4) { grid-column: span 1; }
  .vcard:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .bento, .video-grid { grid-template-columns: 1fr; gap: 16px; }
  .bento .tile, .vcard, .vcard:nth-child(4), .vcard:nth-child(5) { grid-column: auto; }
  .tile { min-height: 190px; }
  .form-card { padding: 32px 22px 22px; border-radius: 26px; }
  .hilt { display: none; }
  .hero-actions .btn-blade { width: 100%; }
  .statement { height: 180vh; }
  .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition-duration: .01s !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
.poster[style] .pblade { display: none; }

/* ---------- Palestre ---------- */
.gyms { padding: 20px 0 120px; }
.gym-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gym-card { background: #07090c; color: var(--on-dark); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; position: relative; box-shadow: 0 30px 60px -32px rgba(0,0,0,.55); transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.gym-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.6), 0 0 40px -12px rgba(79,227,255,.35); }
.gym-art { position: relative; height: 220px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 80% at 50% 110%, rgba(79,227,255,.22), transparent 60%), radial-gradient(40% 40% at 50% 45%, rgba(79,227,255,.08), transparent 70%); }
.gym-art svg { width: 132px; height: auto; position: relative; z-index: 1; overflow: visible; transition: transform .8s var(--ease); }
.gym-card:hover .gym-art svg { transform: scale(1.06); }
.gym-zone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 132px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(79,227,255,.14); text-transform: uppercase; white-space: nowrap; user-select: none; }
.gym-art::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #fff 15%, var(--cyan) 50%, #fff 85%, transparent); box-shadow: var(--blade-glow); transform: scaleX(.25); opacity: .5; transition: transform .8s var(--ease-in-out), opacity .6s var(--ease); }
.gym-card:hover .gym-art::after, .gym-card.in .gym-art::after { transform: scaleX(1); opacity: 1; }
.ic-ring { fill: none; stroke: rgba(245,245,247,.55); stroke-width: 1.5; }
.ic-faint { opacity: .35; }
.ic-hot { fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); }
.ic-cold { fill: #3a3f48; }
.ic-core { fill: #fff; }
.ic-letter { font: 700 16px var(--font); fill: #fff; letter-spacing: .05em; }
.ic-line { fill: none; stroke: #f5f5f7; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; opacity: .85; }
.ic-wave { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 5px var(--cyan)); }
.gym-info { padding: 22px 24px 26px; display: grid; gap: 4px; border-top: 1px solid rgba(255,255,255,.06); flex: 1; align-content: start; }
.gym-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.gym-info strong { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: #fff; line-height: 1.25; }
.gym-city { font-size: 15px; color: var(--on-dark-2); }
.gym-go { margin-top: 14px; justify-self: start; font-size: 14px; font-weight: 600; color: #00161d; background: var(--cyan); padding: 9px 16px; border-radius: 999px; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.gym-go:hover { transform: translateY(-1px); box-shadow: 0 0 20px rgba(79,227,255,.5); }
.gym-go:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gym-contact { margin-top: 22px; background: var(--white); border-radius: var(--r-lg); padding: 30px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.gym-contact h3 { margin: 0 0 6px; font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.gym-contact p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.gym-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gym-mail .btn { user-select: all; overflow-wrap: anywhere; text-align: center; }
@media (max-width: 640px) { .gym-mail .btn { font-size: clamp(13px, 4vw, 16px); padding-left: 14px; padding-right: 14px; letter-spacing: -.01em; } }
.copy-btn { font: 500 14px var(--font); color: var(--ink); background: transparent; border: 1px solid #d2d2d7; border-radius: 999px; padding: 12px 18px; cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease); }
.copy-btn:hover { border-color: var(--ink); }
.copy-btn:focus-visible { outline: 2px solid var(--cyan-deep); outline-offset: 2px; }
.gym-social { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,.07); }
.gym-social span { font-size: 14px; color: var(--ink-2); margin-right: 4px; }
.gym-social a { font-size: 14px; font-weight: 600; color: var(--ink); background: var(--paper); border-radius: 999px; padding: 9px 16px; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.gym-social a em { font-style: normal; font-weight: 400; color: var(--ink-2); margin-left: 4px; }
.gym-social a:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.gym-social a:hover em { color: #c7c7cc; }
.gym-social a:focus-visible { outline: 2px solid var(--cyan-deep); outline-offset: 2px; }
@media (max-width: 900px) { .gym-cards { grid-template-columns: 1fr; } .gym-art { height: 180px; } }
@media (max-width: 640px) { .gyms { padding-bottom: 84px; } .gym-contact { padding: 24px 22px; } .gym-mail, .gym-mail .btn { width: 100%; } .copy-btn { width: 100%; } .gym-social a { flex: 1 1 100%; text-align: center; } .gym-social span { flex-basis: 100%; } }
