/* ============================================
   Aradana TV — Static HTML Stylesheet
   ============================================ */

:root {
  --bg-cream: #FAF7F2;
  --bg-white: #FFFFFF;
  --bg-soft: #F5EFE6;
  --ink: #0A1628;
  --ink-2: #1A2942;
  --ink-3: #5A6B7C;
  --muted: #8B95A1;
  --line: #EAE3D2;
  --line-soft: #F1ECE0;
  --gold: #B68A4E;
  --gold-bright: #D4A574;
  --gold-deep: #8E6A35;
  --gold-tint: #FAF3E8;
  --rose: #C9886B;
  --red: #C8102E;
}

html, body {
  background: var(--bg-cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  margin: 0;
}
* { box-sizing: border-box; }

.font-display { font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; }
.font-serif-elegant { font-family: 'Cormorant Garamond', serif; }
.font-body { font-family: 'Inter', sans-serif; }

/* Frosted glass */
.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(182, 138, 78, 0.15);
}
.glass-strong {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(182, 138, 78, 0.18);
}
.glass-cream {
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(182, 138, 78, 0.18);
}
.glass-dark {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.18);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #C9986A 0%, #B68A4E 50%, #8E6A35 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.bg-gold-gradient { background: linear-gradient(135deg, #D4A574 0%, #B68A4E 60%, #8E6A35 100%); }
.text-gold-deep { color: var(--gold-deep); }
.text-gold { color: var(--gold); }
.text-ink { color: var(--ink); }
.text-ink-2 { color: var(--ink-2); }
.text-ink-3 { color: var(--ink-3); }
.bg-cream { background-color: var(--bg-cream); }
.bg-gold-tint { background-color: var(--gold-tint); }
.border-line { border-color: var(--line); }

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, #D4A574 0%, #B68A4E 60%, #8E6A35 100%);
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px -10px rgba(182, 138, 78, 0.5);
}
.btn-gold:hover {
  filter: brightness(1.06);
  box-shadow: 0 16px 36px -10px rgba(182, 138, 78, 0.6);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid rgba(182, 138, 78, 0.35);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: var(--gold-tint);
  border-color: var(--gold);
}
.btn-dark {
  background: linear-gradient(135deg, #1A2942 0%, #0A1628 100%);
  color: #FFFFFF;
}

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(182, 138, 78, 0.45) 50%, transparent 100%);
}

.gold-shadow { box-shadow: 0 30px 80px -30px rgba(182, 138, 78, 0.35), 0 0 0 1px rgba(182, 138, 78, 0.10) inset; }
.soft-shadow { box-shadow: 0 20px 50px -25px rgba(10, 22, 40, 0.15), 0 0 0 1px rgba(182, 138, 78, 0.08); }
.card-tilt { transition: transform 350ms cubic-bezier(.2,.8,.2,1), box-shadow 350ms ease; }
.card-tilt:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(10,22,40,0.18); }

.hero-grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.clip-card {
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

/* Animations */
@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}
.kb-active img { animation: kenBurns 7s ease-out forwards; }

@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.anim-fade-up { animation: heroFadeUp 900ms cubic-bezier(.2,.8,.2,1) both; }

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float-slow 6s ease-in-out infinite; }

@keyframes pulse-ping {
  0% { transform: scale(1); opacity: .75; }
  100% { transform: scale(2); opacity: 0; }
}
.live-ping::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: white;
  animation: pulse-ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }
.animate-spin-slow { animation: spin-slow 30s linear infinite; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #D4A574, #B68A4E); border-radius: 8px; }
::selection { background: rgba(182,138,78,0.25); color: var(--ink); }

button:focus-visible, a:focus-visible {
  outline: 2px solid rgba(182,138,78,0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

button, a, input, textarea, select {
  transition: color 200ms ease, background-color 250ms ease, border-color 250ms ease,
              transform 350ms cubic-bezier(.2,.8,.2,1), box-shadow 350ms ease, opacity 250ms ease;
}

/* Mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* Header dropdown */
.dropdown { display: none; }
.dropdown-trigger:hover .dropdown,
.dropdown.open { display: block; }

/* Embla / horizontal slider */
.hslider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.25rem; scrollbar-width: none; padding-bottom: 8px; }
.hslider::-webkit-scrollbar { display: none; }
.hslider > * { scroll-snap-align: start; flex: 0 0 auto; }

/* Modal */
.modal-bg { background: rgba(10,22,40,0.7); backdrop-filter: blur(8px); }

/* Light beam */
.light-beam {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 165, 116, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 80% 30%, rgba(201, 136, 107, 0.10) 0%, transparent 55%);
}

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 50px -20px rgba(10,22,40,0.25);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 350ms cubic-bezier(.2,.8,.2,1), opacity 250ms ease;
}
.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
