/* Skorpion Club — sito statico pubblico. Palette e font coerenti col booking engine. */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Barlow+Condensed:wght@600;700&display=swap");

:root {
  --navy: #0a1f3d;
  --navy-light: #12315e;
  --pitch-50: #eaf6f0;
  --pitch-100: #c0e6d5;
  --pitch-400: #1d9e75;
  --pitch-500: #0f7a5a;
  --pitch-600: #0a5a43;
  --pitch-700: #073d2e;
  --whatsapp: #25d366;
  --whatsapp-dark: #20ba59;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-800: #292524;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Barlow Condensed", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  background: var(--stone-50);
  color: var(--stone-800);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 860px) {
  .wrap { max-width: 1080px; padding: 0 32px; }
}

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; }
.header-top {
  display: flex; align-items: center; gap: 12px;
  max-width: 640px; margin: 0 auto; padding: 14px 16px;
}
@media (min-width: 860px) {
  .header-top { max-width: 1080px; padding: 16px 32px; }
}
.logo-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.logo-link img { height: 30px; width: auto; }
.wa-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  background: var(--whatsapp); color: #fff; font-weight: 700;
  padding: 9px 14px; border-radius: 999px; font-size: 12.5px;
  white-space: nowrap; transition: background .15s;
}
.wa-btn:hover { background: var(--whatsapp-dark); }
.wa-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.marquee-strip { border-top: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.marquee-track {
  display: flex; white-space: nowrap; width: max-content;
  animation: marquee 22s linear infinite;
  padding: 8px 0; font-size: 12px; color: #bcd0f0;
}
.marquee-track span { padding: 0 18px; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.subnav {
  background: var(--navy-light); border-top: 1px solid rgba(255,255,255,.08);
}
.subnav .wrap { display: flex; gap: 4px; padding: 0 16px; overflow-x: auto; }
.subnav a {
  padding: 10px 6px; font-size: 13px; font-weight: 600; color: #bcd0f0;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.subnav a.active, .subnav a:hover { color: #fff; border-color: var(--pitch-400); }

/* ---------- Hero ---------- */
.hero { background: var(--stone-50); padding: 0; }
.hero-inner {
  background: var(--navy); border-radius: 0; margin: 0 -16px; padding: 8px 20px 12px; text-align: center;
  position: relative; overflow: hidden;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .02em;
  font-size: 24px; line-height: 1.1; color: #fff; margin: 0 0 5px;
  text-transform: uppercase;
}
.hero p { color: #bcd0f0; font-size: 13.5px; line-height: 1.45; margin: 0 auto; max-width: 420px; }
.hero-meta { display: none; }

/* Desktop: hero copy (fixed comfortable width) + wider CTA cards side by side */
@media (min-width: 860px) {
  .hero-grid { display: grid; grid-template-columns: minmax(300px, 360px) 1fr; gap: 28px; align-items: stretch; }
  .hero-inner { text-align: left; padding: 40px; margin: 0; border-radius: 20px; display: flex; flex-direction: column; justify-content: center; }
  .hero-inner p { margin: 0; max-width: 320px; }
  .hero h1 { font-size: 38px; }
  .hero-grid .cta-grid { padding: 0; }
  .hero-meta {
    display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px;
    padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
  }
  .hero-meta span { color: #9db9de; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
}

/* ---------- CTA grid ---------- */
.cta-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  padding: 12px 0 6px;
}
@media (min-width: 480px) { .cta-grid { grid-template-columns: 1fr 1fr; } }

/* Mobile only: keep the navy hero background wrapping around the 4 cards too
   (shows through the grid gaps and side padding as a frame). Desktop keeps
   the two-column hero/card layout on the plain page background. */
@media (max-width: 859px) {
  .hero { background: var(--navy); padding: 14px 0 24px; }
}

.cta-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--stone-200); border-radius: 18px;
  padding: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: transform .12s, box-shadow .12s;
}
.cta-card:active { transform: scale(0.98); }
.cta-card .icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 22px;
}
.cta-card.primary .icon { background: var(--pitch-50); }
.cta-card.challenge .icon { background: #fff7e0; }
.cta-card.party .icon { background: #fde9f3; }
.cta-card.info .icon { background: #e8f0fe; }
.cta-card h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 3px; color: var(--stone-800); }
.cta-card p { font-size: 12.5px; color: var(--stone-500); margin: 0; line-height: 1.4; }
.cta-card .arrow { margin-left: auto; align-self: center; color: var(--stone-400); flex-shrink: 0; }

/* Tap feedback: each CTA icon gets its own 1.5s animation before navigating away */
.cta-card.primary  .icon.play-anim { animation: iconBallRoll  1.5s ease forwards; }
.cta-card.challenge .icon.play-anim { animation: iconSwordsClash 1.5s ease forwards; }
.cta-card.party    .icon.play-anim { animation: iconHornBlow  1.5s ease forwards; }
.cta-card.info     .icon.play-anim { animation: iconGlow      1.5s ease forwards; }

@keyframes iconBallRoll {
  0%   { transform: scale(1) rotate(0deg); }
  20%  { transform: scale(1.4) rotate(0deg); }
  100% { transform: scale(1.4) rotate(720deg); }
}
@keyframes iconSwordsClash {
  0%   { transform: scale(1) rotate(0deg); }
  10%  { transform: scale(1.3) rotate(-18deg); }
  20%  { transform: scale(1.3) rotate(16deg); }
  30%  { transform: scale(1.3) rotate(-12deg); }
  40%  { transform: scale(1.3) rotate(10deg); }
  50%  { transform: scale(1.3) rotate(0deg); }
  100% { transform: scale(1.3) rotate(0deg); }
}
@keyframes iconHornBlow {
  0%, 100% { transform: scale(1) rotate(0deg); }
  10% { transform: scale(1.3) rotate(-8deg); }
  20% { transform: scale(1.1) rotate(8deg); }
  30% { transform: scale(1.3) rotate(-8deg); }
  40% { transform: scale(1.1) rotate(8deg); }
  50% { transform: scale(1.3) rotate(-5deg); }
  60% { transform: scale(1.15) rotate(5deg); }
  100% { transform: scale(1.25) rotate(0deg); }
}
@keyframes iconGlow {
  0%   { transform: scale(1);    filter: brightness(1)   drop-shadow(0 0 0 rgba(59,130,246,0)); }
  30%  { transform: scale(1.25); filter: brightness(1.3) drop-shadow(0 0 10px rgba(59,130,246,.9)); }
  60%  { transform: scale(1.15); filter: brightness(1.5) drop-shadow(0 0 14px rgba(59,130,246,1)); }
  100% { transform: scale(1.2);  filter: brightness(1.4) drop-shadow(0 0 12px rgba(59,130,246,.9)); }
}
@media (prefers-reduced-motion: reduce) {
  .icon.play-anim { animation: none !important; }
}
@media (min-width: 860px) {
  .hero-grid .cta-grid { gap: 16px; height: 100%; grid-template-rows: 1fr 1fr; }
  .hero-grid .cta-card { padding: 20px; align-items: center; }
  .hero-grid .cta-card h3 { font-size: 16px; }
  .hero-grid .cta-card p { font-size: 13px; }
}

/* ---------- Generic section ---------- */
section.block { padding: 26px 0; }
.eyebrow {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--pitch-600);
}
h2.section-title { font-family: var(--font-display); font-size: 24px; margin: 4px 0 12px; text-transform: uppercase; letter-spacing: .01em; }
p.lead { font-size: 14.5px; color: var(--stone-500); line-height: 1.6; }
@media (min-width: 860px) { h2.section-title { font-size: 30px; } }

.amenity-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.amenity-pills span {
  background: var(--pitch-50); color: var(--pitch-700); font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}

/* ---------- Feature list (compleanno / sfide) ---------- */
.feature-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.feature-item {
  display: flex; gap: 12px; background: #fff; border: 1px solid var(--stone-200);
  border-radius: 16px; padding: 14px;
}
.feature-item .icon { font-size: 22px; flex-shrink: 0; width: 32px; text-align: center; }
.feature-item h4 { font-size: 14px; margin: 0 0 3px; font-weight: 700; }
.feature-item p { font-size: 13px; color: var(--stone-500); margin: 0; line-height: 1.45; }
@media (min-width: 860px) { .feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } }

/* ---------- Steps (how it works) ---------- */
.steps { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
@media (min-width: 860px) { .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; } }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step .num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--pitch-600);
  color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.step p { font-size: 13.5px; color: var(--stone-600); margin: 2px 0 0; line-height: 1.45; }
.step strong { color: var(--stone-800); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy); border-radius: 20px; padding: 22px 20px; text-align: center;
  margin-top: 8px;
}
/* Mobile only: full-bleed blue banner, no card/border look and no white
   gap around it (flows straight into the footer below). */
@media (max-width: 859px) {
  section.block:has(.cta-banner) { padding: 0; }
  .cta-banner { border-radius: 0; margin: 0 -16px; padding: 26px 20px; }
  section.block:has(.cta-banner) + footer.site-footer { margin-top: 0; }
}
@media (min-width: 860px) { .cta-banner { padding: 32px; } }
.cta-banner p.title { color: #fff; font-weight: 700; font-size: 15px; margin: 0 0 4px; }
.cta-banner p.sub { color: #bcd0f0; font-size: 13px; margin: 0 0 14px; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px; background: var(--whatsapp); color: #fff;
  font-weight: 700; padding: 11px 20px; border-radius: 999px; font-size: 14px;
}
.btn-wa svg { width: 17px; height: 17px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,.35);
  color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 999px; font-size: 13.5px;
  margin-left: 8px;
}

/* ---------- FAQ accordion ---------- */
@media (min-width: 1024px) {
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; }
}
.faq-cat { margin-bottom: 22px; }
.faq-cat-title {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--stone-400); display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.faq-cat-title .line { flex: 1; height: 1px; background: var(--stone-200); }
details.faq-item {
  background: #fff; border: 1px solid var(--stone-200); border-radius: 14px;
  margin-bottom: 8px; overflow: hidden;
}
details.faq-item summary {
  list-style: none; cursor: pointer; padding: 13px 16px; font-weight: 600; font-size: 14px;
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .chev { color: var(--stone-400); transition: transform .15s; flex-shrink: 0; }
details.faq-item[open] summary .chev { transform: rotate(180deg); }
details.faq-item .faq-answer { padding: 0 16px 14px; font-size: 13.5px; color: var(--stone-500); line-height: 1.55; border-top: 1px solid var(--stone-100); padding-top: 10px; }

/* ---------- Rules cards (sfide) ---------- */
.rule-card {
  background: #fff7e0; border: 1px solid #f6e4a8; border-radius: 16px; padding: 16px; margin-bottom: 10px;
}
.rule-card h4 { margin: 0 0 4px; font-size: 14px; }
.rule-card p { margin: 0; font-size: 13px; color: var(--stone-600); line-height: 1.5; }
@media (min-width: 860px) {
  .rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .rules-grid .rule-card { margin-bottom: 0; }
}

/* ---------- Contact ---------- */
.contact-row {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--stone-200);
  border-radius: 14px; padding: 13px 16px; margin-bottom: 10px;
}
.contact-row .icon { font-size: 18px; width: 22px; text-align: center; flex-shrink: 0; }
.contact-row .txt strong { display: block; font-size: 13px; }
.contact-row .txt span { font-size: 12.5px; color: var(--stone-500); }
@media (min-width: 860px) {
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact-grid .contact-row { margin-bottom: 0; }
}

.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--pitch-50); color: var(--pitch-700);
}

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: #bcd0f0; padding: 26px 0 30px; margin-top: 10px; }
footer.site-footer .wrap { text-align: center; }
footer.site-footer img { height: 26px; margin: 0 auto; }
footer.site-footer p { font-size: 12.5px; margin: 3px 0; }
footer.site-footer a { text-decoration: underline; }
footer.site-footer .foot-brand { margin-bottom: 14px; }
footer.site-footer .foot-info { margin-bottom: 14px; }
footer.site-footer .foot-links { margin-top: 14px; display: flex; justify-content: center; gap: 16px; font-size: 12.5px; }
@media (min-width: 860px) {
  footer.site-footer .wrap.foot-grid {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; text-align: left;
  }
  footer.site-footer .foot-brand, footer.site-footer .foot-info { margin-bottom: 0; }
  footer.site-footer img { margin: 0; }
  footer.site-footer .foot-social { margin-left: auto; }
  footer.site-footer .foot-links { margin-top: 0; justify-content: flex-end; }
}

.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--pitch-600); padding: 14px 0 0; }

/* Party page hero image placeholder */
.party-hero {
  border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, var(--pitch-600), var(--navy));
  padding: 34px 20px; text-align: center; position: relative;
}
.party-hero .emoji-row { font-size: 34px; margin-bottom: 6px; letter-spacing: 6px; }
.party-hero h1 { color: #fff; font-family: var(--font-display); font-size: 26px; text-transform: uppercase; margin: 6px 0 8px; }
.party-hero p { color: #d7f0e4; font-size: 14px; max-width: 380px; margin: 0 auto; line-height: 1.5; }
@media (min-width: 860px) {
  .party-hero { padding: 56px 40px; }
  .party-hero h1 { font-size: 36px; }
  .party-hero p { max-width: 460px; font-size: 15px; }
}
