/* ============ Royal Canlı Mezat — Redesign ============ */
:root {
  --navy-950: #070D1F;
  --navy-900: #0A1430;
  --navy-850: #0E1B3A;
  --navy-800: #14244C;
  --navy-700: #1C3060;
  --gold: #D8A93C;
  --gold-bright: #F2C75C;
  --gold-deep: #A87E22;
  --ink: #F4F0E6;
  --ink-dim: rgba(244, 240, 230, 0.62);
  --ink-faint: rgba(244, 240, 230, 0.38);
  --live: #FF4D5E;
  --radius: 18px;
  --font-display: "Anton", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --anim-scale: 1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--navy-950);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--navy-950); }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ---------- Display type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.96;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.site-header.scrolled {
  background: rgba(7, 13, 31, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(216, 169, 60, 0.18);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy-800);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand em { font-style: normal; color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ink-dim);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn-gold {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: var(--navy-950);
  box-shadow: 0 10px 32px rgba(216, 169, 60, 0.32);
}
.btn-gold:hover { box-shadow: 0 16px 44px rgba(216, 169, 60, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(244, 240, 230, 0.28);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold), 0 10px 30px rgba(216, 169, 60, 0.15); color: var(--gold-bright); }
.btn-sm { padding: 11px 22px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(216, 169, 60, 0.13), transparent 60%),
    radial-gradient(700px 600px at 8% 110%, rgba(28, 48, 96, 0.55), transparent 65%),
    var(--navy-950);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 240, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(216, 169, 60, 0.35);
  background: rgba(216, 169, 60, 0.07);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 36px;
}
.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--live);
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--live);
  animation: pulse calc(1.6s / var(--anim-scale)) ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.pulse-dot.gold { background: var(--gold); }
.pulse-dot.gold::after { border-color: var(--gold); }

.hero-title {
  font-size: clamp(56px, 11.5vw, 168px);
  margin-bottom: 10px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: riseUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes riseUp { to { transform: translateY(0); } }

.gold-text {
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold-bright) 35%, #FFE9AE 50%, var(--gold-bright) 65%, var(--gold-deep) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer calc(5s / var(--anim-scale)) linear infinite;
}
@keyframes shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -80% 0; }
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-dim);
  margin: 28px 0 40px;
  text-wrap: pretty;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.45s forwards;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Countdown card */
.hero-live-card {
  position: absolute;
  right: 28px;
  bottom: 96px;
  z-index: 3;
  background: rgba(14, 27, 58, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(216, 169, 60, 0.28);
  border-radius: var(--radius);
  padding: 22px 26px;
  min-width: 300px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}
.hero-live-card .label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 12px;
}
.countdown {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.countdown .unit { text-align: center; }
.countdown .num {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.countdown .cap {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}
.countdown .sep {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold);
  animation: blink calc(1s / var(--anim-scale)) steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }
.live-now-banner {
  display: none;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 30px;
  text-transform: uppercase;
  color: var(--live);
}
.hero-live-card.is-live .countdown { display: none; }
.hero-live-card.is-live .live-now-banner { display: flex; }
.hero-live-card .next-info {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid rgba(216, 169, 60, 0.3);
  border-bottom: 1px solid rgba(216, 169, 60, 0.3);
  background: linear-gradient(90deg, rgba(216, 169, 60, 0.06), rgba(216, 169, 60, 0.12), rgba(216, 169, 60, 0.06));
  overflow: hidden;
  padding: 18px 0;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scrollX calc(28s / var(--anim-scale)) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  white-space: nowrap;
}
.marquee-item .diamond { color: var(--ink-faint); font-size: 14px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: 120px 0; }

.section-head { margin-bottom: 64px; }
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 36px; height: 2px;
  background: var(--gold);
}
.section-title {
  font-size: clamp(40px, 6vw, 84px);
}
.section-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 240, 230, 0.45);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- Why us ---------- */
.why {
  background: var(--navy-900);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  border: 1px solid rgba(244, 240, 230, 0.09);
  border-radius: var(--radius);
  padding: 36px 28px;
  background: linear-gradient(160deg, rgba(244, 240, 230, 0.03), transparent 50%);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, background 0.3s ease;
}
.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 169, 60, 0.5);
  background: linear-gradient(160deg, rgba(216, 169, 60, 0.08), transparent 60%);
}
.why-num {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.why-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 169, 60, 0.4), transparent);
}
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.why-card p { color: var(--ink-dim); font-size: 15.5px; text-wrap: pretty; }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background: var(--navy-800);
  cursor: pointer;
}
.cat-card.span-7 { grid-column: span 7; }
.cat-card.span-5 { grid-column: span 5; }
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: saturate(0.92);
}
.cat-card:hover img { transform: scale(1.07); filter: saturate(1.1); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 31, 0.05) 30%, rgba(7, 13, 31, 0.88) 100%);
  transition: background 0.4s ease;
}
.cat-card .cat-label {
  position: relative;
  z-index: 2;
  padding: 28px 30px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cat-card .cat-count {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding-bottom: 7px;
  white-space: nowrap;
}
.cat-card .cat-arrow {
  position: absolute;
  top: 22px; right: 22px;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(244, 240, 230, 0.1);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--ink);
  transform: rotate(-45deg);
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cat-card:hover .cat-arrow {
  background: var(--gold);
  color: var(--navy-950);
  transform: rotate(0deg) scale(1.1);
}

/* ---------- Steps ---------- */
.steps { background: var(--navy-900); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(244, 240, 230, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  padding: 48px 40px 52px;
  position: relative;
  background: var(--navy-850);
  transition: background 0.35s ease;
}
.step + .step { border-left: 1px solid rgba(244, 240, 230, 0.1); }
.step:hover { background: var(--navy-800); }
.step-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 120px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(216, 169, 60, 0.55);
  margin-bottom: 24px;
  transition: color 0.35s ease;
}
.step:hover .step-num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.step p { color: var(--ink-dim); font-size: 15.5px; text-wrap: pretty; }

/* ---------- Schedule ---------- */
.schedule-list { display: flex; flex-direction: column; }
.sched-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 30px 8px;
  border-bottom: 1px solid rgba(244, 240, 230, 0.1);
  transition: padding 0.3s ease, background 0.3s ease;
  position: relative;
}
.sched-row:first-child { border-top: 1px solid rgba(244, 240, 230, 0.1); }
.sched-row:hover { padding-left: 24px; background: rgba(216, 169, 60, 0.04); }
.sched-day {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}
.sched-row:hover .sched-day { color: var(--gold-bright); }
.sched-time {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.sched-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(244, 240, 230, 0.18);
  color: var(--ink-dim);
  white-space: nowrap;
}
.sched-row.is-today .sched-badge {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}
.sched-row.is-live-now .sched-badge {
  background: var(--live);
  border-color: var(--live);
  color: #fff;
  animation: blink calc(1.4s / var(--anim-scale)) steps(2) infinite;
}
.sched-note {
  margin-top: 28px;
  color: var(--ink-faint);
  font-size: 14.5px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(216, 169, 60, 0.22), transparent 70%),
    var(--navy-900);
  text-align: center;
  overflow: hidden;
}
.cta-band .giant {
  font-size: clamp(48px, 9vw, 130px);
  margin-bottom: 36px;
}
.cta-band .hero-cta { justify-content: center; opacity: 1; animation: none; }
.cta-sub {
  color: var(--ink-dim);
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 18px;
  text-wrap: pretty;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(244, 240, 230, 0.1);
  padding: 56px 0 40px;
  background: var(--navy-950);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--ink-dim); }
.footer-links a { transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--gold-bright); }
.copyright { margin-top: 40px; font-size: 13.5px; color: var(--ink-faint); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wa-float:hover { transform: scale(1.12) rotate(6deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid rgba(244, 240, 230, 0.1); }
  .cat-card.span-7, .cat-card.span-5 { grid-column: span 12; }
  .cat-card { min-height: 300px; }
  .nav-links { display: none; }
  .hero-live-card {
    position: relative;
    right: auto; bottom: auto;
    margin-top: 48px;
    display: inline-block;
  }
  .hero { min-height: 0; padding: 130px 0 70px; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 80px 0; }
  .sched-row { grid-template-columns: 1fr auto; }
  .sched-badge { display: none; }
  .countdown .num { font-size: 34px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-title .line > span { animation-duration: 0.01s; }
  .hero-sub, .hero-cta, .hero-live-card { animation-duration: 0.01s; }
  .marquee-track, .gold-text, .pulse-dot::after { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* Animation intensity: low */
body[data-anim="low"] .marquee-track { animation-play-state: paused; }
body[data-anim="low"] .gold-text { animation: none; }
body[data-anim="low"] .pulse-dot::after { animation: none; opacity: 0; }
body[data-anim="low"] .reveal { transition-duration: 0.4s; }