/* Seven Tours UK — stage effects, animations, hero composition.
   Tailwind output.css handles utilities; this file owns the cinema. */

/* ============================================================
   Brand accent palette (decorative only — not used for currency)
   ============================================================ */
:root {
  --beam-magenta: 255 60 180;
  --beam-violet: 138 96 255;
  --beam-cyan: 80 220 255;
  --beam-amber: 255 170 60;
  --stage-floor: 12 8 24;
  /* Header total: py-4 (32px) + h-8 logo (32px) + 1px border-b = 65px */
  --header-h: 65px;
}

/* ============================================================
   Live spots pulse
   ============================================================ */
@keyframes pulse-spots {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
.spots-live {
  animation: pulse-spots 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(96, 80, 255, 0.15);
}

/* ============================================================
   HERO VIEWPORT — header + hero + marquee fit exactly 1 viewport
   on initial load. We subtract the page header so the marquee
   lands flush with the visible viewport bottom on first paint.
   ============================================================ */
.hero-viewport {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
}
.hero-viewport > .hero-stage {
  flex: 1 1 auto;
  min-height: 0;
}
.hero-viewport > .marquee {
  flex: 0 0 auto;
}

/* ============================================================
   HERO STAGE
   ============================================================ */
.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #050309;
  color: #f4f1ff;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.hero-stage > .hero-content {
  flex: 1 1 auto;
  min-height: 0;
}

/* Layered background: photo backdrop → color washes → beams → content */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../img/the_x_stage.webp");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  opacity: 0.55;
  filter: saturate(1.05) contrast(1.05);
}
.hero-bg::after {
  /* Multi-stop overlay: lifts violet/magenta wash on top of the photo
     so the photo grounds the scene without overpowering the brand. */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(var(--beam-violet) / 0.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(var(--beam-magenta) / 0.22), transparent 60%),
    linear-gradient(180deg, rgba(7,5,15,0.55) 0%, rgba(12,8,32,0.45) 50%, rgba(5,3,9,0.85) 100%);
}

/* Subtle scanline / film grain */
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,0.02) 2px 3px);
  mix-blend-mode: overlay;
  z-index: 0;
}

/* Concrete stage floor at the bottom */
.hero-stage .stage-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.85) 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(var(--beam-violet) / 0.4), transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* Spotlight beams sweeping behind content */
.hero-beam {
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 28%;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
  filter: blur(48px);
  opacity: 0.85;
  mix-blend-mode: screen;
  transform-origin: top center;
}
.hero-beam--magenta {
  left: 8%;
  background: linear-gradient(180deg,
    rgba(var(--beam-magenta) / 0.7) 0%,
    rgba(var(--beam-magenta) / 0.4) 35%,
    transparent 80%);
  animation: beam-sweep 9s ease-in-out infinite alternate;
  animation-delay: 0s;
}
.hero-beam--violet {
  left: 40%;
  background: linear-gradient(180deg,
    rgba(var(--beam-violet) / 0.85) 0%,
    rgba(var(--beam-violet) / 0.45) 35%,
    transparent 80%);
  animation: beam-sweep 11s ease-in-out infinite alternate;
  animation-delay: -3s;
}
.hero-beam--cyan {
  right: 6%;
  background: linear-gradient(180deg,
    rgba(var(--beam-cyan) / 0.55) 0%,
    rgba(var(--beam-cyan) / 0.3) 35%,
    transparent 80%);
  animation: beam-sweep 13s ease-in-out infinite alternate;
  animation-delay: -7s;
}

@keyframes beam-sweep {
  0%   { transform: translateX(-25%) skewX(-8deg); opacity: 0.55; }
  50%  { transform: translateX(0%) skewX(0deg);    opacity: 0.9;  }
  100% { transform: translateX(25%) skewX(8deg);   opacity: 0.55; }
}

/* Haze layer (smoke) */
.hero-haze {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(ellipse 50% 30% at 20% 70%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255,255,255,0.05), transparent 60%);
  filter: blur(12px);
  animation: haze-drift 16s ease-in-out infinite alternate;
}
@keyframes haze-drift {
  0%   { transform: translate3d(-2%, 0, 0); }
  100% { transform: translate3d(2%, -1%, 0); }
}

/* Hero text */
.hero-stage .hero-content {
  position: relative;
  z-index: 5;
}
.hero-title {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #cdbcff 60%, #8a78ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 40px rgba(138, 96, 255, 0.35);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e6dfff;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgb(var(--beam-magenta));
  box-shadow: 0 0 12px rgb(var(--beam-magenta));
  animation: pulse-spots 1.6s ease-in-out infinite;
}

/* Presenter lockup — Seven Tours ev sahibi. Etkinlik başlığıyla yarışmaz,
   onu TAKDİM eder: marka adı ağır, "presents" kelimesi hafif ve harf aralıklı. */
.hero-presents {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.hero-presents__brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(var(--beam-violet) / 0.55);
}
.hero-presents__word {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #b6acd1;
}
@media (min-width: 768px) {
  .hero-presents__brand { font-size: 1.95rem; }
}

/* Etkinlik başlığında yıl, sahne renkleriyle vurgulanır (şehir beyaz kalır). */
.hero-title__year {
  background: linear-gradient(120deg,
    rgb(var(--beam-magenta)) 0%,
    rgb(var(--beam-violet)) 55%,
    rgb(var(--beam-cyan)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

/* Marka vaadi rozetleri — mekân/tarih DEĞİL, her etkinlikte geçerli olan
   şeyler (kalkış, konaklama, sahne, para birimi). Mekân kesinleşmediği için
   hero'da yer bilgisi verilmez; o detay etkinlik kartlarına aittir. */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-chips li {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cdc4ef;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) {
  .hero-chips li { font-size: 0.72rem; }
}

/* Partner künyesi — bilinçli olarak sessiz. Melons World sanatçı
   sözleşmeleri/menajerlik partneri; marka olarak öne çıkmaz. */
.hero-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.2rem;
  font-size: 0.75rem;
  color: #8b85a8;
}
.hero-credit::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--beam-magenta) / 0.85), transparent);
}
.hero-credit strong { color: #cdc4ef; font-weight: 600; }

/* Hero CTA buttons */
.cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, rgb(var(--beam-magenta)), rgb(var(--beam-violet)));
  box-shadow:
    0 10px 40px -10px rgba(var(--beam-magenta) / 0.6),
    0 20px 60px -20px rgba(var(--beam-violet) / 0.5),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 50px -10px rgba(var(--beam-magenta) / 0.75),
    0 24px 70px -20px rgba(var(--beam-violet) / 0.65),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e8e1ff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  transition: background 200ms ease, border-color 200ms ease;
}
.cta-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
}

/* Live spots meter (segmented bar) */
.spots-meter {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.spots-meter-fill {
  position: absolute;
  inset: 0;
  width: var(--fill, 0%);
  background: linear-gradient(90deg,
    rgb(var(--beam-cyan)),
    rgb(var(--beam-violet)),
    rgb(var(--beam-magenta)));
  box-shadow: 0 0 16px rgba(var(--beam-violet) / 0.6);
  transition: width 600ms ease;
}

/* Hero stat tiles */
.hero-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  backdrop-filter: blur(8px);
}
.hero-stat dt { color: #b6acd1; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-stat dd { color: #fff; font-size: 1.2rem; font-weight: 600; margin-top: 0.2rem; }

/* ============================================================
   STAGE RAIL with lit event cards
   ============================================================ */
.lit-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(var(--beam-violet) / 0.18), transparent 70%),
    linear-gradient(180deg, #0a071a 0%, #050309 100%);
  color: #f4f1ff;
  padding-top: 7rem;
  padding-bottom: 5rem;
  overflow: hidden;
  isolation: isolate;
}
.lit-section .stage-rail {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 1;
  pointer-events: none;
}
.stage-light {
  position: relative;
  justify-self: center;
  margin-top: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.95), rgba(255,255,255,0.3) 40%, transparent 70%);
  box-shadow:
    0 0 24px var(--light-color),
    0 0 60px var(--light-color),
    inset 0 -6px 12px rgba(0,0,0,0.5);
}
.stage-light::before {
  /* Mount bracket */
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  width: 4px; height: 12px;
  background: #1a1530;
  transform: translateX(-50%);
  border-radius: 2px;
}
.stage-light::after {
  /* Cone beam shining down */
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  width: 360px;
  height: 540px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 100% at 50% 0%,
    var(--light-color) 0%,
    rgba(0,0,0,0) 70%);
  filter: blur(10px);
  opacity: 0.7;
  z-index: -1;
  animation: light-flicker 4s ease-in-out infinite;
}

.stage-light--magenta { --light-color: rgba(var(--beam-magenta) / 0.85); }
.stage-light--violet  { --light-color: rgba(var(--beam-violet) / 0.85); }
.stage-light--cyan    { --light-color: rgba(var(--beam-cyan) / 0.85); }

@keyframes light-flicker {
  0%, 100% { opacity: 0.6; }
  20% { opacity: 0.75; }
  50% { opacity: 0.55; }
  80% { opacity: 0.8; }
}

/* Lit event card variant — overrides the basic event-card */
.lit-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(20,14,40,0.8), rgba(10,7,24,0.95));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  isolation: isolate;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
  --lit-color: rgba(var(--beam-violet) / 0.7);
  box-shadow:
    0 24px 60px -20px rgba(0,0,0,0.7),
    0 -8px 40px -10px var(--lit-color);
}
.lit-card::before {
  /* Top-edge spill from the spotlight above */
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 80%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 80% at 50% 0%,
    var(--lit-color) 0%,
    transparent 65%);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.9;
  pointer-events: none;
}
.lit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.16);
}
.lit-card--magenta { --lit-color: rgba(var(--beam-magenta) / 0.7); }
.lit-card--violet  { --lit-color: rgba(var(--beam-violet) / 0.7); }
.lit-card--cyan    { --lit-color: rgba(var(--beam-cyan) / 0.7); }

.lit-card .card-cover {
  aspect-ratio: 16 / 10;
  position: relative;
  background:
    linear-gradient(180deg, rgba(13,8,32,0.55), rgba(5,3,9,0.92)),
    radial-gradient(ellipse 60% 70% at 50% 40%, var(--lit-color), transparent 70%),
    url("../img/the_x_belek_spotss.jpg") center / cover no-repeat,
    linear-gradient(180deg, #0d0820, #050309);
  background-blend-mode: normal, screen, normal, normal;
}
.lit-card--magenta .card-cover { background-image:
    linear-gradient(180deg, rgba(13,8,32,0.50), rgba(5,3,9,0.92)),
    radial-gradient(ellipse 60% 70% at 50% 40%, var(--lit-color), transparent 70%),
    url("../img/the_x_belek_dark.JPEG"),
    linear-gradient(180deg, #0d0820, #050309);
  background-size: cover, auto, cover, auto;
  background-position: center, center, center 40%, center;
  background-repeat: no-repeat;
}
.lit-card--cyan .card-cover { background-image:
    linear-gradient(180deg, rgba(13,8,32,0.55), rgba(5,3,9,0.95)),
    radial-gradient(ellipse 60% 70% at 50% 40%, var(--lit-color), transparent 70%),
    url("../img/the_x_stage.webp"),
    linear-gradient(180deg, #0d0820, #050309);
  background-size: cover, auto, cover, auto;
  background-position: center, center, center 30%, center;
  background-repeat: no-repeat;
}
.lit-card .card-cover::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(255,255,255,0.025) 14px 15px);
  pointer-events: none;
}

.lit-card .card-body { padding: 1.25rem 1.25rem 1.4rem; }
.lit-card h3 {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #fff;
  margin-top: 0.4rem;
}
.lit-card .card-meta { color: #b6acd1; font-size: 0.78rem; }

/* ============================================================
   Venue panoramic strip (between marquee and lit section)
   ============================================================ */
.venue-strip {
  position: relative;
  height: clamp(380px, 40vw, 620px);
  background:
    linear-gradient(180deg, rgba(7,5,15,0.55), rgba(7,5,15,0.85)),
    url("../img/the_x_belek_spotss.jpg") center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.venue-strip::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, rgba(7,5,15,0.6) 100%);
  pointer-events: none;
}
.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.venue-strip-tag {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  height: 100%;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.8);
}

/* ============================================================
   Marquee strip — "selling fast" headline ribbon
   ============================================================ */
.marquee {
  display: flex;
  gap: 3rem;
  align-items: center;
  white-space: nowrap;
  padding: 0.6rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  flex-shrink: 0;
}
.marquee-track span::before { content: "✦"; margin-right: 0.6rem; color: rgb(var(--beam-magenta)); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   USER MENU — icon button + dropdown panel
   ============================================================ */
.user-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: #e8e1ff;
  transition: background 180ms ease, border-color 180ms ease;
}
.user-menu-btn:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.22); }
.user-menu-btn[aria-expanded="true"] {
  background: rgba(var(--beam-violet) / 0.15);
  border-color: rgba(var(--beam-violet) / 0.45);
}
.user-menu-chevron {
  transition: transform 180ms ease;
  color: #b6acd1;
}
.user-menu-btn[aria-expanded="true"] .user-menu-chevron { transform: rotate(180deg); }

.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgb(var(--beam-magenta)), rgb(var(--beam-violet)));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset;
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 240px;
  background: linear-gradient(180deg, #120c2c 0%, #0a071a 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 0.9rem;
  padding: 0.5rem;
  box-shadow:
    0 24px 60px -20px rgba(0,0,0,0.75),
    0 10px 30px -10px rgba(var(--beam-violet) / 0.4);
  z-index: 50;
  animation: dropdown-in 160ms ease-out;
}
@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.user-menu-header {
  padding: 0.6rem 0.7rem 0.7rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0.35rem;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.55rem;
  color: #e8e1ff;
  font-size: 0.88rem;
  transition: background 140ms ease, color 140ms ease;
}
.user-menu-item:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.user-menu-item--primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--beam-magenta) / 0.20), rgba(var(--beam-violet) / 0.20));
  border: 1px solid rgba(var(--beam-violet) / 0.40);
}
.user-menu-item--primary:hover {
  background: linear-gradient(135deg, rgba(var(--beam-magenta) / 0.35), rgba(var(--beam-violet) / 0.35));
}
.user-menu-item--danger { color: #fca5a5; }
.user-menu-item--danger:hover { background: rgba(239, 68, 68, 0.12); color: #fecaca; }
.user-menu-item--muted { color: #b6acd1; font-size: 0.82rem; }
.user-menu-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.4rem 0;
}

/* ============================================================
   FOOTER — multi-office, dark with subtle glow
   ============================================================ */
.footer-stage {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, #0a071a 0%, #050309 100%);
  color: #f4f1ff;
}
.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 60% at 18% 0%, rgba(var(--beam-magenta) / 0.12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 82% 0%, rgba(var(--beam-cyan) / 0.10), transparent 60%);
}

.office-card {
  position: relative;
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 200ms ease, background 200ms ease;
}
.office-card:hover {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
}
.office-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--beam-magenta) / 0.85), rgba(var(--beam-violet) / 0.85));
  border-radius: 0.4rem;
  box-shadow: 0 4px 12px -4px rgba(var(--beam-magenta) / 0.5);
}
.office-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b6acd1;
}
.office-city {
  margin-top: 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.office-address {
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #cdc4ef;
}
.office-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.55rem;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.office-tel:hover {
  background: rgba(var(--beam-magenta) / 0.18);
  border-color: rgba(var(--beam-magenta) / 0.45);
  transform: translateY(-1px);
}
.office-tel span[aria-hidden="true"] {
  color: rgb(var(--beam-magenta));
}

/* ============================================================
   Accessibility — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-beam,
  .hero-haze,
  .stage-light::after,
  .marquee-track,
  .spots-live {
    animation: none !important;
  }
  .cta-primary { transition: none; }
  .lit-card { transition: none; }
}

/* ============================================================
   Event card — horizontal layout on listing page
   ============================================================ */
.event-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.event-card__inner {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .event-card__inner {
    flex-direction: row;
  }
}

.event-card__media {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .event-card__media {
    width: 40%;
    aspect-ratio: auto;
    min-height: 220px;
  }
}
.dark .event-card__media {
  background: #0a0a0a;
}

.event-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

.event-card:hover .event-card-title { transform: translateY(-2px); }
.event-card-title { transition: transform 200ms ease-out; }

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */

/* Floating action button */
.cb-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: linear-gradient(135deg, rgb(var(--beam-magenta)), rgb(var(--beam-violet)));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 8px 32px -8px rgba(var(--beam-magenta) / 0.6),
    0 16px 48px -16px rgba(var(--beam-violet) / 0.5);
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
  animation: cb-fab-pulse 3s ease-in-out infinite;
}
.cb-fab:hover {
  transform: scale(1.08);
  box-shadow:
    0 12px 40px -8px rgba(var(--beam-magenta) / 0.75),
    0 20px 56px -16px rgba(var(--beam-violet) / 0.65);
}
.cb-fab--hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}
@keyframes cb-fab-pulse {
  0%, 100% { box-shadow: 0 8px 32px -8px rgba(var(--beam-magenta) / 0.6), 0 16px 48px -16px rgba(var(--beam-violet) / 0.5); }
  50% { box-shadow: 0 8px 32px -8px rgba(var(--beam-magenta) / 0.8), 0 16px 48px -16px rgba(var(--beam-violet) / 0.7), 0 0 0 8px rgba(var(--beam-violet) / 0.08); }
}

/* Panel */
.cb-panel {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 910;
  width: 400px;
  max-width: calc(100vw - 2rem);
  height: 560px;
  max-height: calc(100vh - 3rem);
  max-height: calc(100dvh - 3rem);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(18,12,44,0.97), rgba(7,5,15,0.98));
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(24px);
  box-shadow:
    0 32px 80px -20px rgba(0,0,0,0.8),
    0 12px 40px -10px rgba(var(--beam-violet) / 0.35);
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: opacity 250ms ease, transform 250ms ease;
}
.cb-panel--open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Header bar */
.cb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, rgba(var(--beam-magenta) / 0.15), rgba(var(--beam-violet) / 0.15));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.cb-header__info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cb-header__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: pulse-spots 2s ease-in-out infinite;
}
.cb-header__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.cb-header__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: #b6acd1;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.cb-header__close:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Messages area */
.cb-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
/* Bottom-align messages — first message pushes everything down */
.cb-messages > .cb-msg:first-child {
  margin-top: auto;
}

/* Message wrapper */
.cb-msg { display: flex; }
.cb-msg--user { justify-content: flex-end; }
.cb-msg--assistant { justify-content: flex-start; }

/* Bubbles */
.cb-bubble {
  max-width: 85%;
  padding: 0.7rem 1rem;
  border-radius: 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}
.cb-bubble--user {
  background: linear-gradient(135deg, rgba(var(--beam-magenta) / 0.25), rgba(var(--beam-violet) / 0.25));
  border: 1px solid rgba(var(--beam-violet) / 0.35);
  color: #f0ecff;
  border-bottom-right-radius: 0.3rem;
}
.cb-bubble--assistant {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e2dbff;
  border-bottom-left-radius: 0.3rem;
}

/* Typing indicator */
.cb-bubble--typing {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1.2rem;
}
.cb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b6acd1;
  animation: cb-typing-bounce 1.4s ease-in-out infinite;
}
.cb-dot:nth-child(2) { animation-delay: 0.15s; }
.cb-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes cb-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Input bar */
.cb-input-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
}
.cb-input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: #f0ecff;
  /* 16px prevents iOS Safari auto-zoom on focus */
  font-size: 16px;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.cb-input::placeholder {
  color: #8b85a8;
}
.cb-input:focus {
  border-color: rgba(var(--beam-violet) / 0.5);
  background: rgba(255,255,255,0.06);
}
.cb-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 0.6rem;
  border: none;
  background: linear-gradient(135deg, rgb(var(--beam-magenta)), rgb(var(--beam-violet)));
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 150ms ease, opacity 150ms ease;
}
.cb-send:hover { transform: scale(1.06); }
.cb-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* Mobile: pin panel to visual viewport so iOS keyboard doesn't push it off-screen.
   --cb-vv-top / --cb-vv-height are set by JS via the visualViewport API. */
@media (max-width: 480px) {
  .cb-panel {
    left: 0;
    right: 0;
    bottom: auto;
    top: calc(var(--cb-vv-top, 0px) + 8px);
    height: calc(var(--cb-vv-height, 100dvh) - 16px);
    width: auto;
    max-width: none;
    max-height: none;
    border-radius: 1rem;
    margin: 0 8px;
  }
  .cb-fab {
    bottom: 1rem;
    right: 1rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cb-fab { animation: none; }
  .cb-panel { transition: none; }
  .cb-dot { animation: none; opacity: 0.6; }
}

/* ============================================================
   AUTH — giriş/kayıt kartı (sahne ışığı altında cam panel)
   Site dark-only: light varyant yok.
   ============================================================ */
.auth-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: #070510;
}
.auth-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 20% 0%, rgba(var(--beam-magenta) / 0.20), transparent 62%),
    radial-gradient(ellipse 65% 55% at 82% 12%, rgba(var(--beam-violet) / 0.24), transparent 62%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(var(--beam-cyan) / 0.14), transparent 62%);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(18px);
  box-shadow:
    0 30px 80px -24px rgba(0, 0, 0, 0.8),
    0 12px 40px -16px rgba(var(--beam-violet) / 0.45);
  color: #f4f1ff;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #cdc4ef;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}
.auth-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgb(var(--beam-magenta));
  box-shadow: 0 0 8px 2px rgba(var(--beam-magenta) / 0.7);
}

.auth-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #cdc4ef;
  margin-bottom: 0.4rem;
}

.auth-input {
  width: 100%;
  border-radius: 0.75rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.auth-input::placeholder { color: rgba(214, 206, 245, 0.45); }
.auth-input:focus {
  outline: none;
  border-color: rgba(var(--beam-violet) / 0.75);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(var(--beam-violet) / 0.25);
}

.auth-submit {
  width: 100%;
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(var(--beam-violet) / 0.5);
  background: linear-gradient(135deg, rgb(var(--beam-magenta)), rgb(var(--beam-violet)));
  box-shadow: 0 10px 30px -12px rgba(var(--beam-violet) / 0.9);
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.auth-submit:hover { filter: brightness(1.08); box-shadow: 0 14px 36px -12px rgba(var(--beam-magenta) / 0.85); }
.auth-submit:active { transform: translateY(1px); }

.auth-error {
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.83rem;
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
}

.auth-link { color: #cdc4ef; transition: color 140ms ease; }
.auth-link:hover { color: #ffffff; }

.auth-muted { color: #b6acd1; }

/* ============================================================
   EVENT ROW — yatay etkinki kartı (Upcoming Events listesi)
   Mobilde dikey (görsel üstte), md+ ekranda yatay (görsel solda).
   ============================================================ */
.event-row {
  position: relative;
  z-index: 2;
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(20, 14, 40, 0.85), rgba(10, 7, 24, 0.95));
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.7),
    0 -8px 40px -12px rgba(var(--beam-violet) / 0.45);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.event-row:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 30px 70px -20px rgba(0, 0, 0, 0.8),
    0 -8px 48px -12px rgba(var(--beam-magenta) / 0.5);
}

.event-row__inner {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .event-row__inner { flex-direction: row; }
}

.event-row__media {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  background: #0d0820;
}
@media (min-width: 768px) {
  .event-row__media {
    width: 38%;
    aspect-ratio: auto;
    min-height: 240px;
  }
}
.event-row__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.event-row:hover .event-row__media img { transform: scale(1.04); }
.event-row__media::after {
  /* Gövdeye doğru eriyen kenar — kart tek parça hissetsin */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 7, 24, 0.15) 0%, rgba(10, 7, 24, 0.75) 100%);
}
@media (min-width: 768px) {
  .event-row__media::after {
    background: linear-gradient(90deg, rgba(10, 7, 24, 0.10) 40%, rgba(10, 7, 24, 0.85) 100%);
  }
}

.event-row__badge {
  position: absolute;
  z-index: 2;
  bottom: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4f1ff;
  background: rgba(10, 7, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}
.event-row__badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: rgb(var(--beam-magenta));
  box-shadow: 0 0 8px 2px rgba(var(--beam-magenta) / 0.7);
}

.event-row__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.4rem 1.5rem 1.5rem;
}

.event-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b6acd1;
}
.event-row__meta .sep { color: rgba(var(--beam-magenta) / 0.9); }

.event-row__title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  transition: color 200ms ease;
}
.event-row:hover .event-row__title { color: #f0e9ff; }
@media (min-width: 768px) {
  .event-row__title { font-size: 1.55rem; }
}

.event-row__lineup {
  font-size: 0.9rem;
  color: #cdc4ef;
}

.event-row__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.event-row__price { display: inline-flex; align-items: baseline; gap: 0.4rem; }
.event-row__price .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: #b6acd1; }
.event-row__price strong { font-size: 1.25rem; font-weight: 600; color: #fff; }
.event-row__price .unit { font-size: 0.7rem; color: #b6acd1; }

.event-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e8e1ff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.event-row:hover .event-row__cta {
  background: linear-gradient(135deg, rgba(var(--beam-magenta) / 0.25), rgba(var(--beam-violet) / 0.25));
  border-color: rgba(var(--beam-violet) / 0.5);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .event-row, .event-row__media img { transition: none; }
  .event-row:hover { transform: none; }
  .event-row:hover .event-row__media img { transform: none; }
}

/* ============================================================
   EVENT DETAIL — kompakt sahne başlığı (ana sayfadaki tam ekran
   hero'dan ayrılır: burada bilgi öncelikli, gösteri ikincil)
   ============================================================ */
.event-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #060410;
  color: #f4f1ff;
}
.event-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/the_x_stage.webp");
  background-size: cover;
  background-position: center 40%;
  opacity: 0.32;
  filter: saturate(1.05);
}
.event-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 12% 0%, rgba(var(--beam-magenta) / 0.22), transparent 62%),
    radial-gradient(ellipse 60% 60% at 88% 10%, rgba(var(--beam-cyan) / 0.16), transparent 62%),
    linear-gradient(180deg, rgba(6,4,16,0.55) 0%, rgba(6,4,16,0.82) 60%, #060410 100%);
}

.event-back {
  /* flex + fit-content: kendi satırında durur, rozet alt satıra iner */
  display: flex;
  width: fit-content;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b6acd1;
  transition: color 160ms ease;
}
.event-back:hover { color: #fff; }

.event-hero__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #d6c9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 40px rgba(138, 96, 255, 0.3);
}

.event-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cdc4ef;
}
.event-hero__meta .sep { color: rgba(var(--beam-magenta) / 0.9); }

.event-lineup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}
.event-lineup__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b6acd1;
}
.event-lineup__value { font-size: 0.95rem; font-weight: 600; color: #fff; }

.event-countdown {
  display: inline-flex;
  flex-direction: column;
  gap: 0.6rem;
}
.event-countdown__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b6acd1;
}
.event-countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 82px));
  gap: 0.5rem;
}
.event-countdown__grid > div {
  text-align: center;
  padding: 0.7rem 0.4rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}
.event-countdown__grid strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.event-countdown__grid span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b6acd1;
}

/* Bilet kartı içi — perk listesi ve fiyat ayağı */
.tier-perks {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tier-perks li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.83rem;
  color: #cdc4ef;
}
.tier-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lit-color, rgba(var(--beam-violet) / 0.9));
  box-shadow: 0 0 8px 1px var(--lit-color, rgba(var(--beam-violet) / 0.6));
}

.tier-foot {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.tier-price { display: inline-flex; align-items: baseline; gap: 0.4rem; }
.tier-price .label { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: #b6acd1; }
.tier-price strong { font-size: 1.3rem; font-weight: 600; color: #fff; }
.tier-soon { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8b85a8; }

/* "What's included" kutuları */
.spec-card {
  padding: 1.3rem 1.3rem 1.4rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(20, 14, 40, 0.7), rgba(10, 7, 24, 0.9));
  transition: border-color 200ms ease, transform 200ms ease;
}
.spec-card:hover { border-color: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.spec-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  font-size: 1.15rem;
  background: linear-gradient(135deg, rgba(var(--beam-magenta) / 0.28), rgba(var(--beam-violet) / 0.28));
  border: 1px solid rgba(var(--beam-violet) / 0.35);
}
.spec-card h3 { margin-top: 0.9rem; font-size: 1rem; font-weight: 600; color: #fff; }
.spec-card p { margin-top: 0.35rem; font-size: 0.85rem; line-height: 1.55; color: #b6acd1; }

/* SSS — native <details>, JS yok */
.faq-item {
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 200ms ease, background 200ms ease;
}
.faq-item:hover { border-color: rgba(255, 255, 255, 0.16); }
.faq-item[open] { background: rgba(255, 255, 255, 0.05); border-color: rgba(var(--beam-violet) / 0.35); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0ecff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chevron { color: #b6acd1; flex-shrink: 0; transition: transform 200ms ease; }
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item p {
  padding: 0 1.2rem 1.2rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #cdc4ef;
}

/* Alt sabit satış çubuğu */
.sale-bar {
  position: sticky;
  bottom: 0;
  z-index: 40;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 7, 24, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 -12px 40px -18px rgba(0, 0, 0, 0.9);
}
.sale-bar__info { display: flex; flex-direction: column; min-width: 0; }
.sale-bar__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sale-bar__price { font-size: 0.75rem; color: #b6acd1; }
.sale-bar__ready {
  font-size: 0.82rem;
  font-weight: 600;
  color: #86efac;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .spec-card, .faq-item, .faq-item__chevron { transition: none; }
  .spec-card:hover { transform: none; }
}

/* ── flatpickr — koyu tema ─────────────────────────────────────────────
   flatpickr.min.css açık temadır ve site tek temalı koyu; takvim beyaz bir
   kutu olarak sırıtıyordu. Aşağısı yalnız renk/kenarlık ezmesidir; konum ve
   ölçü flatpickr'ın kendi CSS'inde kalır.

   Her seçici `body` ile başlar: flatpickr.min.css sayfa şablonunun extra_head
   bloğunda, yani BU dosyadan SONRA yükleniyor. Eşit özgüllükte sonraki kazanır,
   bu yüzden özgüllüğü bir seviye yükseltmek şart.                          */
body .flatpickr-calendar {
  background: #140f22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  color: #e2dbff;
}
body .flatpickr-calendar.arrowTop::before,
body .flatpickr-calendar.arrowTop::after { border-bottom-color: #140f22; }
body .flatpickr-calendar.arrowBottom::before,
body .flatpickr-calendar.arrowBottom::after { border-top-color: #140f22; }

body .flatpickr-months,
body .flatpickr-month,
body .flatpickr-current-month .flatpickr-monthDropdown-months {
  background: transparent;
  color: #ffffff;
  fill: #ffffff;
}
body .flatpickr-current-month .flatpickr-monthDropdown-months option { background: #140f22; }
body .flatpickr-current-month .flatpickr-monthDropdown-months:hover { background: rgba(255, 255, 255, 0.06); }
body .flatpickr-current-month input.cur-year { color: #ffffff; }
body .numInputWrapper span { border-color: rgba(255, 255, 255, 0.15); }
body .numInputWrapper span:hover { background: rgba(255, 255, 255, 0.08); }
body .numInputWrapper span.arrowUp::after { border-bottom-color: #cdc4ef; }
body .numInputWrapper span.arrowDown::after { border-top-color: #cdc4ef; }
body .numInputWrapper:hover { background: transparent; }

body .flatpickr-months .flatpickr-prev-month svg,
body .flatpickr-months .flatpickr-next-month svg { fill: #cdc4ef; }
body .flatpickr-months .flatpickr-prev-month:hover svg,
body .flatpickr-months .flatpickr-next-month:hover svg { fill: rgb(var(--beam-magenta)); }

body .flatpickr-weekdays { background: transparent; }
body span.flatpickr-weekday {
  background: transparent;
  color: #b6acd1;
  font-weight: 600;
}

body .flatpickr-day {
  color: #e2dbff;
  border-radius: 9px;
}
body .flatpickr-day:hover,
body .flatpickr-day:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
}
body .flatpickr-day.today { border-color: rgba(var(--beam-cyan) / 0.7); }
body .flatpickr-day.selected,
body .flatpickr-day.selected:hover {
  background: rgb(var(--beam-violet));
  border-color: rgb(var(--beam-violet));
  color: #ffffff;
}
body .flatpickr-day.prevMonthDay,
body .flatpickr-day.nextMonthDay,
body .flatpickr-day.flatpickr-disabled,
body .flatpickr-day.flatpickr-disabled:hover {
  color: rgba(226, 219, 255, 0.25);
  background: transparent;
}

/* ── Booking durum rozeti ───────────────────────────────────────────
   Ton `Booking.status_tone`'dan gelir (pending / positive / muted).
   Model rengi bilmez, anlamı bilir; eşleme burada. */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: currentColor;
}
.status-pill--pending {
  border-color: rgb(252 211 77 / 0.4);
  background: rgb(251 191 36 / 0.1);
  color: #fef3c7;
}
.status-pill--positive {
  border-color: rgb(52 211 153 / 0.4);
  background: rgb(16 185 129 / 0.1);
  color: #d1fae5;
}
.status-pill--muted {
  border-color: rgb(255 255 255 / 0.15);
  background: rgb(255 255 255 / 0.04);
  color: #b6acd1;
}

/* ── Hata sayfaları (404) ───────────────────────────────────────────
   Sayfa kısa olduğu için dikeyde ortalanır; aksi hâlde footer yukarı
   tırmanıp içerik ekranın tepesinde asılı kalıyor. */
.error-page {
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
}

/* Dev sunucusu üzerindeki kod: sahne ışıklarının rengini alır ama okunmaya
   çalışılmasın diye çok düşük kontrastta durur — başlık öne çıksın. */
.error-code {
  font-size: clamp(6rem, 22vw, 13rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 0.16) 0%,
    rgb(214 188 250 / 0.09) 45%,
    rgb(255 255 255 / 0) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

/* ============================================================
   CHAT WIDGET — müşteri sohbet botu
   Eski seven.tours widget'ının bu projeye uyarlanmış hâli. Yapı ve ölçüler
   aynı; renkler marka paletine (magenta→violet) çevrildi ve AÇIK TEMA
   varyantları KALDIRILDI — bu projede tek tema koyu (claude.md §4).
   Alpine.js yok: durum app.js'teki setupChatWidget() ile yönetilir, bu dosya
   yalnız görünümü tutar.
   ============================================================ */
.stchat-root {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9998;
  font-family: 'Inter', system-ui, sans-serif;
}

.stchat-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgb(var(--beam-magenta)), rgb(var(--beam-violet)));
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, filter .18s ease;
  --stchat-ring: rgba(var(--beam-magenta) / 0.5);
  --stchat-glow: rgba(var(--beam-violet) / 0.45);
  animation: stchat-pulse 1.7s infinite;
}
.stchat-fab:hover { transform: scale(1.07); filter: brightness(1.08); }
.stchat-fab svg { width: 27px; height: 27px; }

.stchat-fab--wa {
  background: #25D366;
  --stchat-ring: rgba(37, 211, 102, .55);
  --stchat-glow: rgba(37, 211, 102, .45);
}
.stchat-fab--wa:hover { background: #1ebe5d; }
.stchat-fab--wa svg { width: 30px; height: 30px; }

@keyframes stchat-pulse {
  0%   { box-shadow: 0 6px 18px var(--stchat-glow), 0 0 0 0 var(--stchat-ring); }
  70%  { box-shadow: 0 6px 18px var(--stchat-glow), 0 0 0 18px transparent; }
  100% { box-shadow: 0 6px 18px var(--stchat-glow), 0 0 0 0 transparent; }
}

.stchat-panel {
  position: fixed;
  left: 20px;
  bottom: 88px;
  z-index: 9998;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: #0f0b1c;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 70px -20px rgba(0,0,0,.75);
}

.stchat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgb(var(--beam-magenta)), rgb(var(--beam-violet)));
  color: #fff;
}
.stchat-header__title { display: flex; align-items: center; gap: 10px; }
.stchat-header__title strong { display: block; font-size: 15px; line-height: 1.1; }
.stchat-sub { font-size: 11.5px; opacity: .85; }
.stchat-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.3);
}
.stchat-close {
  background: none; border: none; color: #fff; font-size: 26px;
  line-height: 1; cursor: pointer; opacity: .85; padding: 0 4px;
}
.stchat-close:hover { opacity: 1; }

.stchat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #0a0718;
}
/* İlk mesaj yukarıdaki boşluğu margin olarak yer — sohbet aşağıya yaslı başlar. */
.stchat-body > .stchat-msg:first-of-type { margin-top: auto; }
.stchat-hint {
  font-size: 13px; color: #8b85a8; text-align: center;
  margin: auto 8px; line-height: 1.5;
}

.stchat-msg { display: flex; flex-direction: column; max-width: 88%; }
.stchat-msg--user { align-self: flex-end; align-items: flex-end; }
.stchat-msg--assistant { align-self: flex-start; align-items: flex-start; }
.stchat-bubble {
  padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word;
}
.stchat-msg--user .stchat-bubble {
  background: linear-gradient(135deg, rgb(var(--beam-magenta)), rgb(var(--beam-violet)));
  color: #fff; border-bottom-right-radius: 4px;
}
.stchat-msg--assistant .stchat-bubble {
  background: rgba(255,255,255,0.05); color: #e7e3f5;
  border: 1px solid rgba(255,255,255,0.09); border-bottom-left-radius: 4px;
}

.stchat-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; width: 100%; }
.stchat-card {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px; padding: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.stchat-card:hover {
  border-color: rgba(var(--beam-magenta) / 0.55);
  box-shadow: 0 4px 18px -6px rgba(var(--beam-magenta) / 0.5);
}
.stchat-card__img {
  width: 56px; height: 56px; border-radius: 9px; object-fit: cover;
  flex-shrink: 0; background: #1a1230;
}
.stchat-card__info { display: flex; flex-direction: column; min-width: 0; }
.stchat-card__name { font-size: 13.5px; font-weight: 600; color: #e7e3f5; line-height: 1.25; }
.stchat-card__meta { font-size: 11.5px; color: #b6acd1; margin-top: 1px; }
.stchat-card__price {
  font-size: 12.5px; font-weight: 700; margin-top: 2px;
  color: rgb(var(--beam-magenta));
}

.stchat-wa {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  padding: 10px 14px; background: #25D366; color: #fff; text-decoration: none;
  border-radius: 12px; font-size: 13.5px; font-weight: 700;
  --stchat-ring: rgba(37,211,102,.5); --stchat-glow: rgba(37,211,102,.35);
  animation: stchat-pulse 1.7s infinite;
}
.stchat-wa:hover { background: #1ebe5d; }
.stchat-wa svg { width: 18px; height: 18px; flex-shrink: 0; }

.stchat-typing { display: flex; gap: 4px; align-items: center; }
.stchat-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: #8b85a8;
  animation: stchat-bounce 1.2s infinite ease-in-out;
}
.stchat-typing span:nth-child(2) { animation-delay: .2s; }
.stchat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes stchat-bounce {
  0%, 80%, 100% { transform: scale(.6); opacity: .5; }
  40% { transform: scale(1); opacity: 1; }
}

.stchat-input {
  display: flex; gap: 8px; padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,0.08); background: #0f0b1c;
}
/* font-size 16px: iOS Safari 16px altındaki alana odaklanınca sayfayı ZOOMLAR. */
.stchat-input input {
  flex: 1; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  padding: 10px 12px; font-size: 16px; outline: none;
  background: rgba(255,255,255,0.04); color: #e7e3f5;
}
.stchat-input input::placeholder { color: #6f6890; }
.stchat-input input:focus { border-color: rgba(var(--beam-violet) / 0.7); }
.stchat-input button {
  width: 42px; flex-shrink: 0; border: none; border-radius: 10px;
  background: linear-gradient(135deg, rgb(var(--beam-magenta)), rgb(var(--beam-violet)));
  color: #fff; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: filter .15s ease;
}
.stchat-input button:hover:not(:disabled) { filter: brightness(1.1); }
.stchat-input button:disabled { opacity: .45; cursor: not-allowed; }
.stchat-input button svg { width: 18px; height: 18px; }

.stchat-foot {
  font-size: 10.5px; color: #5a5572; text-align: center;
  padding: 0 12px 9px; background: #0f0b1c; margin: 0;
}

@media (max-width: 480px) {
  /* Panel LAYOUT viewport'a değil GÖRSEL viewport'a yaslanır: iOS Safari'de
     klavye açılınca sayfa kayar ve header ekrandan çıkardı. --stchat-vv-*
     değişkenlerini app.js visualViewport API'siyle günceller. */
  .stchat-panel {
    left: 12px; right: 12px;
    top: calc(var(--stchat-vv-top, 0px) + 12px);
    height: calc(var(--stchat-vv-height, 100dvh) - 24px);
    bottom: auto; width: auto; max-width: none; max-height: none;
    border-radius: 16px;
  }
  .stchat-fab { left: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .stchat-fab, .stchat-wa { animation: none; }
}
