/* ============================================================
   CODER AGENT + REVIEWER AGENT — UI Alignment & Polish
   Kakkamvelly Sreekrishna Temple
   Fixes: alignment, spacing, typography, hero, cards, mobile
   ============================================================ */

/* ── GLOBAL ALIGNMENT RESET ── */
*,*::before,*::after { box-sizing: border-box; }
html, body { max-width: 100vw; overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; }

/* ── CONTAINER CONSISTENCY ── */
.container {
  width: min(92%, 1200px);
  margin-inline: auto;
  padding-inline: 0;
}

/* ============================================================
   HERO — CODER IMPROVEMENTS
   Better text hierarchy, centered alignment, breathing room
   ============================================================ */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 2rem 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}

.hero-title {
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.18;
  margin: 0.3rem 0;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1.2rem);
  letter-spacing: 0.08em;
  margin: 0;
  opacity: 0.9;
}

.hero-location {
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  margin: 0.2rem 0 0.8rem;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-actions .btn {
  min-width: 160px;
  justify-content: center;
}

/* ============================================================
   SECTION HEADER — TIGHTER, CONSISTENT
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: clamp(1.8rem, 4vw, 3.5rem);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.25;
  margin: 0.4rem 0 0;
}

.section-tag {
  display: inline-block;
  padding: 0.28rem 1rem;
  border-radius: 20px;
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================================
   LIVE STATUS GRID — IMPROVED CARD HEIGHTS
   ============================================================ */
.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: stretch;
}
.live-grid-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.live-card {
  display: flex;
  flex-direction: column;
  min-height: 160px;
}
.live-card-title {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .live-grid { grid-template-columns: 1fr 1fr; }
  .live-grid-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .live-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT SECTION — BETTER GRID BALANCE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-content h3.about-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.3;
  margin-bottom: 0.8rem;
}
.about-content p {
  font-size: clamp(0.88rem, 1.8vw, 0.96rem);
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #5a4a2a;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.2rem;
}
.highlight-item {
  font-size: clamp(0.78rem, 1.6vw, 0.88rem);
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  gap: 0.5rem;
}
@media (max-width: 480px) {
  .about-highlights { grid-template-columns: 1fr; }
}

/* ============================================================
   TIMING CARDS — IMPROVED ALIGNMENT
   ============================================================ */
.timings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.timing-card-full { grid-column: 1 / -1; }

@media (max-width: 768px) {
  .timings-grid { grid-template-columns: 1fr; }
  .timing-card-full { grid-column: auto; }
}

.timing-card-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem;
}
.timing-card-header h3 {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  margin: 0;
  line-height: 1.3;
}
.timing-card-header i { font-size: 1.2rem; }

.timing-table th, .timing-table td {
  font-size: clamp(0.78rem, 1.6vw, 0.88rem);
  padding: 0.55rem 1rem;
}

.opening-hours-grid {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.2rem;
}
.hours-block { text-align: center; flex: 1; }
.hours-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b5e00;
  margin-bottom: 0.3rem;
}
.hours-time {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: #3a2a00;
}
.hours-divider {
  font-size: 1.5rem;
  color: #c8860a;
  flex-shrink: 0;
  opacity: 0.4;
}

/* ============================================================
   FESTIVALS GRID — EVEN CARD HEIGHTS
   ============================================================ */
.festivals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 900px) { .festivals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .festivals-grid { grid-template-columns: 1fr; } }

.festival-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.2rem;
  border-radius: 16px;
}
.festival-card p {
  flex: 1;
  font-size: clamp(0.82rem, 1.6vw, 0.9rem);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.festival-icon {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.7rem;
  line-height: 1;
}
.festival-card h3 {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.festival-month {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  background: rgba(200,134,10,0.12);
  color: #8b5e00;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: auto;
}

/* ============================================================
   BABY KRISHNA GRID — ALIGN HERO + GRID
   ============================================================ */
.bk-hero-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .bk-hero-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bk-hero-svg { margin: 0 auto; }
}

.bk-hero-text h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.bk-hero-text h3 span {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  display: block;
  margin-top: 0.2rem;
}
.bk-hero-text p {
  font-size: clamp(0.85rem, 1.7vw, 0.95rem);
  line-height: 1.8;
}

.bk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
@media (max-width: 900px) { .bk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .bk-grid { grid-template-columns: 1fr; } }

.bk-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 1rem 1.2rem;
}
.bk-name-ml { font-size: clamp(0.9rem, 1.8vw, 1rem); }
.bk-name-en { font-size: clamp(0.68rem, 1.4vw, 0.76rem); }
.bk-desc { font-size: clamp(0.76rem, 1.5vw, 0.84rem); line-height: 1.55; }

/* ============================================================
   GALLERY — UNIFORM CARD GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-photo-card { aspect-ratio: 4/5; }
.gallery-real-photo { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   VISITOR INFO — UNIFORM CARDS
   ============================================================ */
.vi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}
.vi-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.3rem 1rem;
}
.vi-icon { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.vi-title { font-size: clamp(0.85rem, 1.7vw, 0.95rem); }
.vi-text  { font-size: clamp(0.78rem, 1.5vw, 0.85rem); line-height: 1.55; }

@media (max-width: 900px) { .vi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .vi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   DONATE GRID — EVEN SPACING
   ============================================================ */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  align-items: stretch;
}
.donate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.3rem 0.9rem;
}
.donate-icon { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.donate-name { font-size: clamp(0.82rem, 1.6vw, 0.9rem); }
.donate-desc { font-size: clamp(0.7rem, 1.4vw, 0.76rem); }

@media (max-width: 900px) { .donate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { .donate-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LOCATION GRID
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 768px) { .location-grid { grid-template-columns: 1fr; } }

.transport-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  border-radius: 12px;
}
.transport-details strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.transport-details p { font-size: 0.84rem; line-height: 1.6; margin: 0; }

/* ============================================================
   CONTACT GRID
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(200,134,10,0.1);
  font-size: clamp(0.84rem, 1.7vw, 0.93rem);
}
.contact-list li:last-child { border-bottom: none; }

/* ============================================================
   FOOTER ALIGNMENT
   ============================================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; text-align: center; } }

.footer-name-ml { font-size: 1rem; font-weight: 700; }
.footer-name-en { font-size: 0.82rem; opacity: 0.75; }
.footer-location { font-size: 0.78rem; opacity: 0.6; margin-top: 0.2rem; }
.footer-hours p  { font-size: 0.84rem; margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.4rem; }
.footer-note     { font-size: 0.75rem; opacity: 0.6; font-style: italic; }

.footer-copy    { font-size: 0.82rem; }
.footer-tagline { font-size: 0.88rem; margin-top: 0.3rem; }

/* ============================================================
   ANNADHANAM + KULAM — IMPROVED LAYOUT
   ============================================================ */
.annadhanam-kulam-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .annadhanam-kulam-wrapper { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLLBAR & FOCUS STYLES
   ============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #f0e8d0; }
::-webkit-scrollbar-thumb { background: linear-gradient(#c8860a, #ffd700); border-radius: 5px; }

:focus-visible {
  outline: 2.5px solid #c8860a;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   BUTTON CONSISTENCY
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }

/* ============================================================
   PLACE DETAILS CARD
   ============================================================ */
.place-details-card {
  background: #fff;
  border: 1px solid rgba(200,134,10,0.15);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.place-details-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(200,134,10,0.1);
  font-size: 0.9rem;
  font-weight: 700;
}
.place-details-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.place-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem;
  border-radius: 8px;
  background: rgba(255,243,224,0.5);
  font-size: clamp(0.8rem, 1.5vw, 0.87rem);
}
.place-detail-item strong { display: block; color: #8b5e00; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 600px) { .place-details-content { grid-template-columns: 1fr; } }

/* ============================================================
   MOBILE-SPECIFIC OVERRIDES (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Section padding tighter on mobile */
  .section { padding: 2.5rem 0; }
  .container { width: 94%; }

  /* Hero full screen */
  .hero { min-height: 100dvh; }
  .hero-content { padding: 1.2rem 1rem; }

  /* Live cards stack */
  .live-card { min-height: 120px; }

  /* Carousels for festivals + BK on mobile */
  .festivals-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.9rem;
    padding: 0.4rem 1rem 1.2rem;
    margin: 0 -4%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .festivals-grid::-webkit-scrollbar { display: none; }
  .festival-card {
    flex: 0 0 78vw;
    max-width: 290px;
    scroll-snap-align: center;
  }

  .bk-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.9rem;
    padding: 0.4rem 1rem 1.2rem;
    margin: 0 -4%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bk-grid::-webkit-scrollbar { display: none; }
  .bk-card {
    flex: 0 0 74vw;
    max-width: 270px;
    scroll-snap-align: center;
  }

  /* Timing table responsive */
  .timing-table { font-size: 0.82rem; }
  .timing-table th, .timing-table td { padding: 0.5rem 0.75rem; }

  /* Gallery 2-col on mobile */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .gallery-photo-card { aspect-ratio: 3/4; }

  /* Footer minimal */
  .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; text-align: center; }
  .footer-hours p { justify-content: center; }
}

/* ============================================================
   EXTRA SMALL (≤380px)
   ============================================================ */
@media (max-width: 380px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.75rem; }
  .btn { padding: 0.7rem 1.2rem; font-size: 0.83rem; }
}

/* ============================================================
   DARK MODE BASIC SUPPORT
   ============================================================ */
@media (prefers-color-scheme: dark) {
  .section-light { background-color: #1a1208; color: #f0e8d0; }
  .section-saffron { background: linear-gradient(135deg, #1a0a00, #2a1000); color: #f0d0a0; }
  .highlight-item { background: rgba(255,215,0,0.06); border-left-color: #c8860a; color: #f0d0a0; }
  .about-content p { color: #c0a870; }
  .timing-card { background: rgba(255,255,255,0.04); }
  .festival-card { background: rgba(255,255,255,0.04); }
  .vi-card { background: rgba(255,255,255,0.04); }
  .contact-form { background: rgba(255,255,255,0.04); }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  #site-header, #mobile-bottom-nav, #whatsapp-float,
  #pwa-banner, .back-to-top, .hero-scroll-indicator,
  #krishna-canvas, .peacock-feather { display: none !important; }
  .hero { min-height: auto; padding: 2rem; }
  .section { padding: 1.5rem 0; }
  body { font-size: 11pt; color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ══════════════════════════════════════════════
   PERFORMANCE: will-change + contain + GPU hints
══════════════════════════════════════════════ */
#galaxy-canvas {
  will-change: contents;
  contain: strict;
}

.hero-content,
.hero-title,
.peacock-feather,
.cursor-sparkle,
.krishna-float-element {
  will-change: transform, opacity;
}

.festival-card,
.bk-card,
.timing-card,
.gallery-photo-card,
.vi-card,
.donate-card {
  contain: layout style;
}

/* Reduce paint on scroll */
.site-footer,
#live-section,
.annadhanam-kulam-wrapper {
  contain: layout;
}

/* ══════════════════════════════════════════════
   SMOOTH SCROLLING — all browsers
══════════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* account for sticky nav + nav strip */
}

/* Mobile: less scroll-padding */
@media (max-width: 768px) {
  html { scroll-padding-top: 115px; }
}

/* ══════════════════════════════════════════════
   PERFORMANCE: Reduce expensive animations on mobile
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Fewer floating elements */
  .krishna-float-element:nth-child(n+6) { display: none; }
  /* No cursor trail on mobile (no cursor) */
  .cursor-sparkle { display: none !important; }
  /* Simpler box shadows */
  .bk-card:hover,
  .festival-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
}

/* ══════════════════════════════════════════════
   SCROLLBAR — thin, themed
══════════════════════════════════════════════ */
* { scrollbar-width: thin; scrollbar-color: #c8860a #1a0a00; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#c8860a, #ffd700);
  border-radius: 4px;
}
::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); }

/* Horizontal nav scroll — hide scrollbar entirely */
.nav-menu::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════════════
   HERO BABY KRISHNA IMAGE
   Architect sizing: mobile 200px / tablet 240px / desktop 280px
   Transparent PNG — renders clean over galaxy background
══════════════════════════════════════════════ */
.hero-krishna-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: -10px; /* pull slightly closer to tagline */
  flex-shrink: 0;
}

/* Transparent PNG — flood-fill removed background, no blend mode needed */
.hero-krishna-img {
  width: 280px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 8px 24px rgba(0,0,0,0.45))
    drop-shadow(0 0 40px rgba(255,215,0,0.5))
    drop-shadow(0 0 80px rgba(255,180,0,0.25));
  animation: krishna-hero-float 4s ease-in-out infinite;
  transform-origin: center bottom;
  position: relative;
  z-index: 2;
}

/* Gentle float — 10px travel */
@keyframes krishna-hero-float {
  0%,100% {
    transform: translateY(0px);
    filter:
      drop-shadow(0 8px 24px rgba(0,0,0,0.45))
      drop-shadow(0 0 35px rgba(255,215,0,0.45))
      drop-shadow(0 0 70px rgba(255,180,0,0.2));
  }
  50% {
    transform: translateY(-10px);
    filter:
      drop-shadow(0 18px 35px rgba(0,0,0,0.35))
      drop-shadow(0 0 55px rgba(255,215,0,0.7))
      drop-shadow(0 0 100px rgba(255,180,0,0.35));
  }
}

/* Divine halo glow behind krishna */
.hero-krishna-img-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 60%,
    rgba(255,215,0,0.22) 0%,
    rgba(255,165,0,0.1) 40%,
    transparent 70%
  );
  animation: halo-breathe 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes halo-breathe {
  0%,100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.12); }
}

/* Tablet */
@media (max-width: 768px) {
  .hero-krishna-img { width: 240px; }
  .hero-krishna-img-wrap::before { width: 270px; height: 270px; }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-krishna-img { width: 200px; }
  .hero-krishna-img-wrap::before { width: 230px; height: 230px; }
  .hero-krishna-img-wrap { margin-bottom: -6px; }
}

/* Very small */
@media (max-width: 360px) {
  .hero-krishna-img { width: 170px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-krishna-img { animation: none; }
  .hero-krishna-img-wrap::before { animation: none; }
}e; }
  .hero-krishna-img-wrap::before { animation: none; }
}

/* ══════════════════════════════════════════════
   HERO GRADIENT BACKGROUND
   radial-gradient: golden center → near black
══════════════════════════════════════════════ */
.hero-gradient {
  background: radial-gradient(
    circle at center,
    #f5d37a 0%,
    #c8860a 25%,
    #3a1800 55%,
    #0b0b0b 70%
  ) !important;
  position: relative;
}

/* Subtle galaxy still peeks through via overlay */
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(245, 211, 122, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

/* Ensure hero content sits above gradient overlay */
.hero-gradient .hero-content {
  position: relative;
  z-index: 1;
}

/* ── Krishna image over golden gradient ── */
.hero-gradient .hero-krishna-img {
  /* Transparent PNG over golden bg — clean render, no blend mode */
  filter:
    drop-shadow(0 6px 20px rgba(0,0,0,0.5))
    drop-shadow(0 0 50px rgba(245,211,122,0.6))
    drop-shadow(0 0 100px rgba(200,134,10,0.3));
}

/* Floating animation stays the same */
.hero-gradient .hero-krishna-img-wrap::before {
  background: radial-gradient(
    circle at 50% 65%,
    rgba(245,211,122,0.30) 0%,
    rgba(200,134,10,0.12) 45%,
    transparent 70%
  );
}

/* Tagline and title on gradient bg */
.hero-gradient .hero-tagline {
  text-shadow: 0 0 20px rgba(245,211,122,0.8), 0 2px 8px rgba(0,0,0,0.6);
}
.hero-gradient .hero-title {
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 0 30px rgba(245,211,122,0.2);
}
