/* ============================================
   SECTIONS.CSS — Stili delle sezioni
   ============================================ */

/* ─────────────────────────────────────────
   HERO
   ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 100px 0 60px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(
    180deg,
    var(--sunset-1) 0%,
    var(--sunset-2) 7%,
    var(--sunset-3) 14%,
    var(--sunset-4) 24%,
    var(--sunset-5) 35%,
    var(--sunset-6) 48%,
    var(--sunset-7) 62%,
    var(--sunset-8) 78%,
    var(--sunset-9) 100%
  );
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 220, 100, 0.4) 0%, rgba(255, 120, 60, 0.1) 40%, transparent 70%);
  pointer-events: none;
}

.hero .sun {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 100px;
  background: radial-gradient(circle, #fff9e0 0%, #ffe066 40%, #ffb830 65%, transparent 100%);
  border-radius: 50%;
  animation: sunPulse 4s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.95; }
  50%      { transform: translateX(-50%) scale(1.05); opacity: 1; }
}

.hero .stars-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero .star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) var(--delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.9; }
}

.hero .palm {
  position: absolute;
  bottom: 20%;
  opacity: 0.4;
  pointer-events: none;
}
.hero .palm-left  { left: -40px;  transform: scale(0.8); }
.hero .palm-right { right: -40px; transform: scale(0.8) scaleX(-1); }

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  text-align: center;
}

.hero-brands {
  font-family: var(--font-body);
  font-size: clamp(10px, 1.5vw, 14px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  margin-bottom: 32px;
}

.hero-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 5vw, 60px);
  margin-bottom: 40px;
}
.hero-logo {
  width: clamp(100px, 15vw, 160px);
  height: clamp(100px, 15vw, 160px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 0 2px rgba(255,220,140,0.4);
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-logos-x {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  color: rgba(255,220,140,0.7);
  font-weight: 300;
}

.hero-presentano {
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 11vw, 140px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #e8f8ff 25%, #60e0f0 55%, #1ab8cc 80%, #087888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 30px rgba(30, 200, 220, 0.5));
  margin-bottom: 12px;
}

.hero-edition {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

/* --- COUNTDOWN --- */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.countdown-unit {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(30, 200, 220, 0.45);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 80px;
  backdrop-filter: blur(8px);
}
.countdown-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--teal-bright);
  line-height: 1;
  display: block;
}
.countdown-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  display: block;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Wave transition in bottom of hero */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   KEY INFO (quick event facts)
   ───────────────────────────────────────── */
.key-info {
  background: linear-gradient(180deg, var(--sunset-9), #0a0515);
  padding: 80px 0;
}
.key-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.key-card {
  text-align: center;
  padding: 32px 20px;
}
.key-card .key-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}
.key-card .key-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 8px;
}
.key-card .key-value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold-bright);
  line-height: 1.3;
}
.key-card .key-sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─────────────────────────────────────────
   PROGRAM (timeline)
   ───────────────────────────────────────── */
.program {
  background: #050210;
  position: relative;
}
.program::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(30, 200, 220, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 45, 138, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.timeline {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 80px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-mid), var(--teal-mid), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 24px 0;
  position: relative;
}
.timeline-time {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--teal-bright);
  text-align: right;
  padding-right: 24px;
  padding-top: 4px;
  position: relative;
}
.timeline-time::after {
  content: '';
  position: absolute;
  right: -8px; top: 10px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 2px solid var(--bg-dark);
  box-shadow: 0 0 0 3px var(--gold-mid), 0 0 20px rgba(245, 224, 112, 0.5);
}

.timeline-content h4 {
  font-size: 22px;
  color: var(--gold-bright);
  margin-bottom: 8px;
}
.timeline-content p {
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .timeline::before { left: 50px; }
  .timeline-item { grid-template-columns: 70px 1fr; gap: 20px; }
  .timeline-time { font-size: 18px; padding-right: 14px; }
  .timeline-time::after { right: -6px; width: 12px; height: 12px; }
}

/* ─────────────────────────────────────────
   LOCATION
   ───────────────────────────────────────── */
.location {
  background: linear-gradient(180deg, #050210 0%, #0a0620 100%);
}
.location-info {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.location-info h3 {
  font-size: clamp(28px, 3.5vw, 36px);
  color: var(--gold-bright);
  margin-bottom: 16px;
}
.location-info .location-address {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.location-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.location-detail-icon {
  font-size: 22px;
  filter: drop-shadow(0 0 8px rgba(212, 168, 32, 0.5));
  flex-shrink: 0;
  margin-top: 2px;
}
.location-detail-text strong {
  display: block;
  color: var(--gold-bright);
  font-size: 14px;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
}
.location-detail-text span {
  color: var(--text-muted);
  font-size: 15px;
}

/* ─────────────────────────────────────────
   DRESS CODE
   ───────────────────────────────────────── */
.dresscode {
  background: #050210;
}
.dresscode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 780px) {
  .dresscode-grid { grid-template-columns: 1fr; }
}
.dc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dc-card-pool { border-color: rgba(30, 200, 220, 0.4); }
.dc-card-pool::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(30, 200, 220, 0.08), transparent 60%);
  pointer-events: none;
}
.dc-card-evening::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(212, 168, 32, 0.08), transparent 60%);
  pointer-events: none;
}
.dc-time {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--teal-bright);
  margin-bottom: 16px;
}
.dc-card-evening .dc-time { color: var(--gold-bright); }
.dc-icon { font-size: 48px; margin-bottom: 16px; }
.dc-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold-bright);
  margin-bottom: 12px;
}
.dc-desc {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   BOOKING — card referenti (Telegram / WhatsApp)
   ───────────────────────────────────────── */
.booking {
  background: linear-gradient(180deg, #050210 0%, #14063a 100%);
  position: relative;
}
.booking-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .contact-cards { grid-template-columns: 1fr; gap: 20px; }
}

.contact-card {
  text-align: center;
  padding: clamp(32px, 4vw, 44px) clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold-bright);
  background: radial-gradient(circle, rgba(212, 168, 32, 0.2), rgba(212, 168, 32, 0.05));
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 24px rgba(212, 168, 32, 0.18), inset 0 0 12px rgba(245, 224, 112, 0.08);
}

.contact-card .contact-card-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--gold-shine), var(--gold-bright) 50%, var(--gold-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.contact-card-role {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-card-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: auto;
}
.contact-card-links .btn {
  width: 100%;
  padding: 13px 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  gap: 10px;
  min-width: 0;
}
.contact-card-links .btn span {
  font-size: 15px;
  line-height: 1;
}

.form-success,
.form-error {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-top: 20px;
  display: none;
}
.form-success {
  background: rgba(30, 200, 220, 0.15);
  border: 1px solid var(--teal-mid);
  color: var(--teal-bright);
}
.form-error {
  background: rgba(255, 80, 80, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.5);
  color: #ff9090;
}
.form-success.show,
.form-error.show { display: block; }

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 20px;
  font-style: italic;
}

/* ─────────────────────────────────────────
   FAQ
   ───────────────────────────────────────── */
.faq {
  background: #050210;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--gold-mid); }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold-bright);
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(212, 168, 32, 0.06); }
.faq-toggle {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(212, 168, 32, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  transition: transform 0.3s;
  font-size: 18px;
  font-weight: 700;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ─────────────────────────────────────────
   CONTACT / FOOTER
   ───────────────────────────────────────── */
.contact {
  background: linear-gradient(180deg, #050210, #020005);
  text-align: center;
}
.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.footer {
  background: #000;
  padding: 40px 0 24px;
  border-top: 1px solid var(--border-gold);
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.3em;
  background: linear-gradient(135deg, var(--gold-shine), var(--gold-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.footer-tag {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-links a:hover { color: var(--gold-bright); }
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid rgba(212, 168, 32, 0.15);
  padding-top: 20px;
  margin-top: 20px;
}

/* ─────────────────────────────────────────
   AGE GATE · overlay 18+
   ───────────────────────────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ageGateIn 0.4s ease;
}
.age-gate[hidden] { display: none; }
.age-gate.is-leaving { animation: ageGateOut 0.35s ease forwards; }

@keyframes ageGateIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ageGateOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.age-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 2, 16, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.age-gate-box {
  position: relative;
  max-width: 460px;
  width: 100%;
  text-align: center;
  padding: clamp(32px, 5vw, 44px) clamp(24px, 4vw, 36px);
  background: linear-gradient(180deg, rgba(20, 6, 58, 0.95), rgba(5, 2, 16, 0.95));
  border: 1px solid var(--gold-mid);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(212, 168, 32, 0.18);
  animation: ageGateBoxIn 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes ageGateBoxIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.age-gate-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  opacity: 0.7;
}

.age-gate-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 32, 0.25), rgba(212, 168, 32, 0.05));
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 24px;
  box-shadow: 0 0 30px rgba(212, 168, 32, 0.25);
}

.age-gate-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--gold-shine), var(--gold-bright) 50%, var(--gold-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.age-gate-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.age-gate-text strong { color: var(--gold-bright); font-weight: 600; }

.age-gate-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
  margin-bottom: 22px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.age-gate-check:hover,
.age-gate-check:focus-within {
  border-color: var(--gold-mid);
  background: rgba(0, 0, 0, 0.55);
}
.age-gate-check input {
  width: 20px; height: 20px;
  accent-color: var(--gold-bright);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
}
.age-gate-check span {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.5;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.age-gate-actions .btn { width: 100%; max-width: 280px; }
.age-gate-actions .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.4);
  transform: none;
  box-shadow: none;
}
.age-gate-leave {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.age-gate-leave:hover { color: var(--text-muted); }

/* blocca lo scroll del body quando il gate è aperto */
body.age-gate-open { overflow: hidden; }

/* ─────────────────────────────────────────
   PRIVATE EVENT BANNER
   ───────────────────────────────────────── */
.private-banner {
  background: linear-gradient(90deg, var(--pink-hot), var(--sunset-5), var(--pink-hot));
  background-size: 200% auto;
  animation: bannerShift 6s linear infinite;
  padding: 10px 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: white;
  font-weight: 600;
}
@keyframes bannerShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
