*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy-950: #04070e;
  --navy-900: #080d1a;
  --navy-800: #0d1424;
  --gold-600: #b8962e;
  --gold-500: #d4af37;
  --gold-400: #e8c84a;
  --gold-300: #f5dc82;
  --saffron: #e8843a;
  --ivory: #f5f0e8;
  --ivory-muted: rgba(245, 240, 232, 0.58);
  --ivory-soft: rgba(245, 240, 232, 0.38);
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-tamil: "Noto Sans Tamil", "Latha", system-ui, sans-serif;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--navy-950);
  color: var(--ivory);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #04070e 0%, #080d1a 48%, #0d1424 100%);
  pointer-events: none;
}

.stars,
.stars-slow {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 15%, rgba(212, 175, 55, 0.85) 0%, transparent 100%),
    radial-gradient(1px 1px at 22% 68%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 42% 8%, rgba(212, 175, 55, 0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 67% 82%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 35%, rgba(212, 175, 55, 0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 12% 90%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 52%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 78% 12%, rgba(212, 175, 55, 0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 40%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 93% 60%, rgba(212, 175, 55, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 3% 48%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 92%, rgba(212, 175, 55, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 47% 28%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 72%, rgba(212, 175, 55, 0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 20% 55%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 88%, rgba(212, 175, 55, 0.5) 0%, transparent 100%);
  animation: twinkle 7s ease-in-out infinite;
}

.stars-slow {
  opacity: 0.55;
  animation-duration: 11s;
  animation-delay: -3s;
  transform: scale(1.08);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.glow-gold {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(212, 175, 55, 0.16);
}

.glow-saffron {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -90px;
  background: rgba(232, 132, 58, 0.12);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  margin-bottom: 36px;
  animation: rise 0.9s ease both;
}

.logo {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

.logo svg {
  width: 100%;
  height: 100%;
  animation: spin-slow 28s linear infinite;
}

.hero {
  animation: rise 1s ease 0.12s both;
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  margin-bottom: 14px;
}

.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.05;
  background: linear-gradient(120deg, #f5dc82 0%, #d4af37 42%, #f5dc82 70%, #e8c84a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
  margin-bottom: 10px;
}

.name {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 22px;
}

.tagline {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ivory-muted);
}

.tagline.tamil {
  font-family: var(--font-tamil);
  font-size: 15px;
  margin-top: 12px;
  color: var(--ivory-soft);
}

.channels {
  width: 100%;
  margin: 40px 0 36px;
  animation: rise 1s ease 0.22s both;
}

.channels h3 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(8, 13, 26, 0.55);
  text-decoration: none;
  color: var(--ivory);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.channel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(13, 20, 36, 0.82);
}

.yt-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}

.yt-icon svg {
  width: 100%;
  height: 100%;
}

.channel-card strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.channel-card span:last-child {
  font-size: 12px;
  color: var(--ivory-soft);
  line-height: 1.4;
}

.contact {
  width: 100%;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  animation: rise 1s ease 0.4s both;
}

.contact h3 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(8, 13, 26, 0.55);
  text-decoration: none;
  color: var(--ivory);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(13, 20, 36, 0.82);
}

.contact-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-400);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-icon.whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.1);
}

.contact-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.contact-card strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--ivory);
  word-break: break-word;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .page {
    padding: 36px 18px 28px;
  }

  .channel-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stars,
  .stars-slow,
  .logo svg,
  .title,
  .brand,
  .hero,
  .channels,
  .contact {
    animation: none;
  }
}
