/* ===== Tokens ===== */
:root{
  --bg: #0a0908;
  --bg-charcoal: #121110;
  --saffron: #ff9933;
  --gold: #d4af37;
  --gold-light: #ffe3a3;
  --tg-blue: #29a9eb;
  --tg-blue-dark: #1d8ec9;
  --text: #f5f2ea;
  --text-dim: #b9b3a6;
  --glass-bg: rgba(255,255,255,0.045);
  --glass-border: rgba(212,175,55,0.22);
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

*{ box-sizing: border-box; }

html{
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Hind', 'Noto Sans Devanagari', sans-serif;
  overflow-x: hidden;
  position: relative;
}

.page{
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 22px 18px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ambient background glow */
.glow-field{
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(360px 260px at 50% 8%, rgba(255,153,51,0.16), transparent 65%),
    radial-gradient(500px 400px at 50% 55%, rgba(41,169,235,0.05), transparent 70%),
    var(--bg-charcoal);
  z-index: 0;
}

/* ===== 1. Mahadev header ===== */
.mahadev{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.mahadev__chant{
  margin: 0;
  font-family: 'Baloo Bhai 2', 'Hind', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(255,153,51,0.35);
}

.mahadev__frame{
  position: relative;
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
}

.mahadev__ring{
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,51,0.28) 0%, rgba(255,153,51,0) 70%);
  animation: pulse-glow 3.2s ease-in-out infinite;
}

.mahadev__img{
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow:
    0 0 0 3px rgba(10,9,8,0.9),
    0 0 16px rgba(255,153,51,0.45);
  position: relative;
}

@keyframes pulse-glow{
  0%, 100%{ opacity: 0.55; transform: scale(1); }
  50%{ opacity: 1; transform: scale(1.08); }
}

/* ===== 2. Hero heading ===== */
.hero{
  text-align: center;
  margin-top: 22px;
  padding: 0 4px;
}

.hero__title{
  margin: 0;
  font-family: 'Baloo Bhai 2', 'Hind', sans-serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.35;
  color: var(--text);
}

.hero__desc{
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 3. Primary CTA ===== */
.cta-primary{
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, var(--tg-blue) 0%, var(--tg-blue-dark) 100%);
  border-radius: 16px;
  font-family: 'Hind', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow:
    0 8px 24px rgba(29,142,201,0.38),
    0 0 0 1px rgba(255,255,255,0.06) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  will-change: transform;
}

.join-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 12px 30px rgba(29,142,201,0.48),
    0 0 0 1px rgba(255,255,255,0.08) inset;
}

.join-btn:active{
  transform: translateY(0) scale(0.97);
  box-shadow:
    0 4px 14px rgba(29,142,201,0.35),
    0 0 0 1px rgba(255,255,255,0.06) inset;
}

.join-btn--large{
  width: 100%;
  max-width: 360px;
  padding: 17px 20px;
  font-size: 18px;
}

.join-btn--small{
  padding: 13px 26px;
  font-size: 15.5px;
}

.join-btn--whatsapp{
  margin-top: 14px;
  width: 100%;
  max-width: 360px;
  padding: 14px 20px;
  font-size: 16px;
  background: linear-gradient(180deg, #29d366 0%, #20b858 100%);
  box-shadow:
    0 8px 22px rgba(32,184,88,0.35),
    0 0 0 1px rgba(255,255,255,0.06) inset;
}

.join-btn--whatsapp:hover{
  box-shadow:
    0 12px 28px rgba(32,184,88,0.45),
    0 0 0 1px rgba(255,255,255,0.08) inset;
}

.join-btn__icon{
  display: inline-flex;
  color: #ffffff;
}

.join-btn__caption{
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ===== 4. Info card ===== */
.info-card-wrap{
  width: 100%;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(14px);
  animation: card-in 0.7s ease forwards;
  animation-delay: 0.15s;
}

.info-card-wrap + .info-card-wrap{
  margin-top: 16px;
  animation-delay: 0.28s;
}

@keyframes card-in{
  to{ opacity: 1; transform: translateY(0); }
}

.info-card{
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 22px 18px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}

.info-card__title{
  margin: 0;
  text-align: center;
  font-family: 'Baloo Bhai 2', 'Hind', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.info-card__subtitle{
  margin: 6px 0 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-dim);
}

.info-table{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.info-row__label{
  font-size: 13.5px;
  color: var(--text-dim);
  white-space: nowrap;
}

.info-row__value{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  text-align: right;
}

.news-card__title{
  margin-bottom: 16px;
}

.news-list{
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
  counter-reset: news-counter;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-list li{
  counter-increment: news-counter;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 14.5px;
  color: var(--text);
}

.news-list li::before{
  content: counter(news-counter);
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(212,175,55,0.14);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 600;
}

.info-card__note{
  margin: 16px 2px 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  text-align: center;
  opacity: 0.85;
}

/* ===== 5. Final CTA ===== */
.cta-final{
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-final__text{
  margin: 0;
  font-size: 15px;
  color: var(--text-dim);
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 430px){
  .page{ padding: 18px 16px 36px; }
  .join-btn--large{ max-width: none; }
}

@media (max-width: 375px){
  .mahadev__frame, .mahadev__img{ width: 55px; height: 55px; }
  .mahadev__ring{ inset: -8px; }
  .mahadev__chant{ font-size: 17px; }
  .hero__title{ font-size: 22px; }
  .hero__desc{ font-size: 14.5px; }
}

@media (min-width: 640px){
  .page{ max-width: 520px; padding-top: 40px; }
  .hero__title{ font-size: 28px; }
}

/* ===== Motion preference ===== */
@media (prefers-reduced-motion: reduce){
  .mahadev__ring{ animation: none; opacity: 0.75; }
  .info-card-wrap{ animation: none; opacity: 1; transform: none; }
  .join-btn{ transition: none; }
}
