/* ==========================================================================
   AANMEEGAM - TAMIL SPIRITUAL & POOJA SERVICES WEBSITE DESIGN SYSTEM
   Theme: Deep Cosmic Dark & Sacred Golden Radiance
   ========================================================================== */

/* 1. CSS CUSTOM PROPERTIES (DESIGN TOKENS) */
:root {
  --bg-dark-primary: #09080d;
  --bg-dark-secondary: #121019;
  --bg-dark-card: rgba(22, 19, 31, 0.85);
  --bg-dark-glass: rgba(15, 13, 22, 0.75);
  
  --gold-primary: #d4af37;
  --gold-light: #f7e199;
  --gold-bright: #ffc83b;
  --gold-dark: #8c6a1d;
  --gold-gradient: linear-gradient(135deg, #f9db82 0%, #d4af37 50%, #9e7520 100%);
  --gold-gradient-hover: linear-gradient(135deg, #ffe89e 0%, #e6bf43 50%, #b88a29 100%);
  --gold-border: rgba(212, 175, 55, 0.35);
  --gold-border-bright: rgba(255, 215, 0, 0.7);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.35);

  --text-white: #ffffff;
  --text-primary: #e6dfd5;
  --text-secondary: #b5aba0;
  --text-muted: #7c746b;

  --font-tamil: 'Mukta Malar', 'Noto Sans Tamil', sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* 2. BASE & RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark-primary);
  color: var(--text-primary);
  font-family: var(--font-tamil);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(140, 106, 29, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Utility Classes */
.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Buttons Reset */
button {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

a {
  color: inherit;
  text-decoration: none;
}

/* 3. SITE HEADER (PERMANENTLY FIXED TOP NAVIGATION BAR) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 8, 13, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border-bright);
  padding: 12px 0;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.85);
}

.main-wrapper {
  margin-top: 72px;
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(0, 0, 0, 0.8) 100%);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.logo-icon {
  font-size: 20px;
  color: var(--gold-bright);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Nav Menu */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 6px 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-bright);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gold-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 500;
}

.contact-phone i {
  color: var(--gold-bright);
}

.lang-toggle-btn {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-bright);
}

.login-btn {
  background: var(--gold-gradient);
  color: #0d0b07;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.login-btn:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

/* 4. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 580px;
  background: url('./assets/hero_bg.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gold-border);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Dark shadow ONLY on the left side behind text/letters; right side 100% clear */
  background: linear-gradient(to right, rgba(9, 8, 13, 0.85) 0%, rgba(9, 8, 13, 0.6) 35%, rgba(9, 8, 13, 0) 65%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.hero-title-top {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.9);
}

.hero-title-gold {
  font-size: 42px;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95));
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 32px;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.8);
}

/* Feature Badges */
.feature-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.badge-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-primary);
  background: rgba(18, 16, 25, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 20px;
  box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.2);
  transition: var(--transition-fast);
}

.badge-item:hover .badge-icon-circle {
  border-color: var(--gold-bright);
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
}

.badge-item span {
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Hero CTA Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary-gold {
  background: var(--gold-gradient);
  color: #0b0905;
  font-weight: 800;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.btn-primary-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary-dark {
  background: rgba(22, 19, 31, 0.8);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
}

.btn-secondary-dark:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(30, 26, 42, 0.9);
}

/* 5. TRUST HIGHLIGHTS BAR */
.trust-highlights-bar {
  background: rgba(14, 12, 20, 0.95);
  border-bottom: 1px solid var(--gold-border);
  padding: 14px 0;
}

.trust-bar-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

.trust-icon {
  color: var(--gold-bright);
  font-size: 16px;
}

.trust-item-divider {
  width: 1px;
  height: 24px;
  background: var(--gold-border);
  opacity: 0.5;
}

/* 6. CONTENT SECTION (POOJA CAROUSEL + CHECKOUT PANEL) */
.content-section {
  padding: 40px 0 60px 0;
}

.section-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.pooja-showcase-column {
  min-width: 0;
  width: 100%;
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.section-container.vertical {
  display: flex;
  flex-direction: column;
}

/* Ornamental Title Header */
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ornamental-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ornamental-title.center {
  justify-content: center;
  margin-bottom: 36px;
}

.ornament-flourish {
  color: var(--gold-primary);
  font-size: 14px;
}

.ornamental-title h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.scroll-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border);
  background: rgba(22, 19, 31, 0.8);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.scroll-arrow-btn:hover {
  border-color: var(--gold-bright);
  background: var(--gold-primary);
  color: #0b0905;
}

/* Cards Carousel Track */
.cards-carousel-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) transparent;
}

.cards-track {
  display: flex;
  gap: 18px;
}

/* Pooja Card */
.pooja-card {
  min-width: 200px;
  max-width: 210px;
  flex: 0 0 auto;
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pooja-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.pooja-card.selected {
  border: 2px solid var(--gold-bright);
  box-shadow: 0 0 20px rgba(255, 200, 59, 0.4);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pooja-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--gold-gradient);
  color: #0b0905;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.pooja-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pooja-price {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.btn-card-select {
  width: 100%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.pooja-card.selected .btn-card-select,
.btn-card-select:hover {
  background: var(--gold-gradient);
  border-color: var(--gold-bright);
  color: #0b0905;
  font-weight: 800;
}

.bottom-view-all-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.btn-outline-gold {
  background: rgba(22, 19, 31, 0.9);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-gold:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.3);
}

/* 7. CHECKOUT PANEL (RIGHT COLUMN) */
.checkout-panel-column {
  position: sticky;
  top: 90px;
}

.checkout-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.checkout-header-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 10px;
}

.amount-display-box {
  background: rgba(9, 8, 13, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amount-meta {
  display: flex;
  flex-direction: column;
}

.amount-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.selected-pooja-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

.amount-value {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 800;
  color: var(--gold-bright);
}

.payment-selection-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.payment-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 12, 20, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.payment-radio-option:hover {
  border-color: var(--gold-border);
  background: rgba(212, 175, 55, 0.05);
}

.payment-radio-option input[type="radio"] {
  display: none;
}

.custom-radio {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  border: 2px solid var(--text-secondary);
  position: relative;
  transition: var(--transition-fast);
}

.payment-radio-option input[type="radio"]:checked + .custom-radio {
  border-color: var(--gold-bright);
}

.payment-radio-option input[type="radio"]:checked + .custom-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--gold-bright);
  border-radius: var(--radius-full);
}

.option-label-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

.option-brand-icon {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
  opacity: 0.85;
}

.btn-pay-now {
  width: 100%;
  background: var(--gold-gradient);
  color: #0b0905;
  font-weight: 800;
  font-size: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  margin-bottom: 12px;
}

.btn-pay-now:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.5);
}

.checkout-security-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gold-light);
  opacity: 0.9;
}

.security-check-icon {
  color: #4cd964;
}

/* 8. SERVICES PREVIEW GRID */
.services-preview-section {
  padding: 40px 0 80px 0;
  border-top: 1px solid var(--gold-border);
  background: rgba(12, 10, 17, 0.5);
}

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

.service-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-fast);
}

.service-box:hover {
  border-color: var(--gold-bright);
  transform: translateY(-4px);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.service-box h4 {
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.service-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 9. FOOTER */
.site-footer {
  background: #060508;
  border-top: 1px solid var(--gold-border);
  padding: 60px 0 20px 0;
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 40px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-contact p {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact i {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* 10. MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 4, 7, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background: var(--bg-dark-secondary);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 520px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(212, 175, 55, 0.2);
  box-sizing: border-box;
}

.modal-card.small-modal {
  max-width: 400px;
}

.modal-card.success-card {
  text-align: center;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  color: var(--text-secondary);
  font-size: 18px;
}

.modal-close-btn:hover {
  color: var(--gold-bright);
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-icon {
  font-size: 32px;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.modal-header h3 {
  font-size: 20px;
  color: var(--gold-light);
}

.modal-header p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-group label {
  font-size: 12px;
  color: var(--gold-light);
  font-weight: 600;
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(9, 8, 13, 0.8);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.full-width {
  width: 100%;
}

.phone-input-group {
  display: flex;
  align-items: center;
}

.phone-prefix {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--gold-light);
}

.phone-input-group input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  flex: 1;
}

/* Success Receipt */
.success-icon-wrapper {
  font-size: 48px;
  color: #4cd964;
  margin-bottom: 12px;
}

.receipt-box {
  background: rgba(9, 8, 13, 0.7);
  border: 1px dashed var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
  text-align: left;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.receipt-row:last-child {
  margin-bottom: 0;
}

.live-tag {
  color: #ff5252;
  font-weight: 600;
  font-size: 12px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  background: var(--gold-gradient);
  color: #0b0905;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* ==========================================================================
   HOW TO BOOK POOJA FLOWCHART BOX (LIGHT WARM BEIGE/GOLD DESIGN)
   ========================================================================== */
/* ==========================================================================
   HOW TO BOOK POOJA FLOWCHART BOX (ANIMATED WIRED MESH & MOTION DESIGN)
   ========================================================================== */
.how-to-book-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0e0c14 0%, #181308 50%, #09080e 100%);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  margin-top: 28px;
  color: var(--text-white);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.2);
}

.how-to-book-content {
  position: relative;
  z-index: 5;
}

.how-to-book-box .ornamental-title h3 {
  color: var(--gold-light);
  font-weight: 800;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.how-to-book-box .ornament-flourish {
  color: var(--gold-bright);
}

/* Wired Mesh & Motion Background Effects */
.wired-motion-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.wired-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(212, 175, 55, 0.08) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(212, 175, 55, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: wiredGridPulse 6s ease-in-out infinite alternate;
}

@keyframes wiredGridPulse {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.7; transform: scale(1.02); }
}

.wired-glow-pulse {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
  filter: blur(25px);
}

.wired-glow-pulse.pulse1 {
  top: -60px;
  left: 10%;
  animation: wiredFloat1 10s ease-in-out infinite alternate;
}

.wired-glow-pulse.pulse2 {
  bottom: -60px;
  right: 10%;
  animation: wiredFloat2 12s ease-in-out infinite alternate;
}

@keyframes wiredFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 40px) scale(1.3); }
}

@keyframes wiredFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, -40px) scale(1.2); }
}

.wired-svg-mesh {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
}

.wired-path {
  stroke-dasharray: 12, 12;
  animation: wiredPathFlow 15s linear infinite;
}

.wired-path.path2 {
  animation-duration: 22s;
  animation-direction: reverse;
}

.wired-path.path3 {
  animation-duration: 18s;
}

@keyframes wiredPathFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 240; }
}

.how-to-book-box .step-circle-icon {
  background: rgba(14, 12, 20, 0.85);
  border-color: var(--gold-border);
  color: var(--gold-bright);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.how-to-book-box .step-circle-icon.highlight {
  background: var(--gold-gradient);
  color: #0b0905;
  border-color: var(--gold-bright);
}

.how-to-book-box .step-num {
  color: var(--gold-light);
}

.how-to-book-box .step-item p {
  color: var(--text-white);
}

.steps-flow-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: 8px;
}

.step-circle-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  border: 2px solid #2b2113;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #2b2113;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
}

.step-circle-icon.highlight {
  background: #1b73e8;
  border-color: #1557b0;
  color: #ffffff;
}

.step-item:hover .step-circle-icon {
  transform: translateY(-2px);
  border-color: #9e7520;
  color: #9e7520;
}

.step-num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  color: #5c441b;
}

.step-item p {
  font-size: 12px;
  font-weight: 700;
  color: #2b2113;
  line-height: 1.3;
}

.step-arrow {
  color: #8c6a1d;
  font-size: 16px;
  opacity: 0.7;
}

/* ==========================================================================
   LIVE POOJA BROADCAST BOX
   ========================================================================== */
.live-stream-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  margin-top: 28px;
  backdrop-filter: blur(10px);
}

.live-temples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.live-temple-card {
  background: rgba(14, 12, 20, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-fast);
}

.live-temple-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.live-img-container {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
}

.live-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.live-temple-card:hover .live-img-container img {
  transform: scale(1.06);
}

.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff3b30;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.live-card-body {
  padding: 12px;
  text-align: center;
}

.live-card-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.live-location {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==========================================================================
   COUNTER STATS BAR
   ========================================================================== */
.counter-stats-bar {
  background: rgba(12, 10, 17, 0.95);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 24px 0;
  margin-top: 40px;
}

.stats-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold-bright);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==========================================================================
   ENHANCED 5-COLUMN FOOTER WITH NEWSLETTER
   ========================================================================== */
.footer-container-5col {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 24px 40px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr 1.8fr;
  gap: 32px;
}

.brand-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 14px 0 18px 0;
  line-height: 1.5;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  transition: var(--transition-fast);
}

.social-icon.fb { background: #1877f2; }
.social-icon.insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icon.yt { background: #ff0000; }
.social-icon.wa { background: #25d366; }

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.footer-col h4,
.footer-col-newsletter h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 13px;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-col p {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-col p i {
  color: var(--gold-primary);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  background: rgba(9, 8, 13, 0.8);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-white);
  font-size: 13px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  background: #050407;
}

.footer-bottom-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.bottom-legal-links a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.bottom-legal-links a:hover {
  color: var(--gold-bright);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE DESIGN (ZERO OVERFLOW, PERFECT FIT)
   ========================================================================== */

/* Global Overflow Prevention */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

/* Tablet & Medium Screens (< 1024px) */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 16px;
  }
  
  .main-nav {
    display: none; /* Hide desktop nav bar on mobile/tablet */
  }

  .section-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }

  .pooja-showcase-column {
    width: 100%;
    min-width: 0;
    padding: 16px 12px;
  }

  .checkout-panel-column {
    position: static;
    width: 100%;
  }

  .feature-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-bar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 16px;
  }

  .trust-item-divider {
    display: none;
  }

  .steps-flow-grid {
    flex-direction: column;
    gap: 16px;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }

  .live-temples-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-container-5col {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* Small Mobile Devices (< 600px) */
@media (max-width: 600px) {
  .site-header {
    padding: 8px 0;
  }

  .header-container {
    gap: 10px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    font-size: 9px;
  }

  .contact-phone span {
    display: none;
  }

  .login-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero-section {
    min-height: auto;
    padding: 30px 0;
  }

  .hero-container {
    padding: 20px 16px;
  }

  .hero-title-top {
    font-size: 20px;
  }

  .hero-title-gold {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .feature-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
  }

  .badge-icon-circle {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .badge-item span {
    font-size: 11px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-primary-gold,
  .btn-secondary-dark {
    width: 100%;
    font-size: 14px;
    padding: 10px 16px;
  }

  .section-title-row h3,
  .ornamental-title h3 {
    font-size: 18px;
  }

  .cards-carousel-viewport {
    width: 100%;
    padding-bottom: 8px;
  }

  .pooja-card {
    min-width: 160px;
    max-width: 170px;
  }

  .card-img-wrapper {
    height: 120px;
  }

  .pooja-name {
    font-size: 14px;
    min-height: 38px;
  }

  .pooja-price {
    font-size: 16px;
  }

  .amount-value {
    font-size: 20px;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-box {
    justify-content: flex-start;
  }

  .footer-container-5col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .modal-card {
    width: 95%;
    padding: 20px 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ==========================================================================
   MULTI-PAGE SPA ROUTER & DEDICATED PAGE VIEWS
   ========================================================================== */
.page-view {
  display: none;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 70vh;
}

.page-view.active {
  display: block;
  opacity: 1;
}

.page-view.hidden {
  display: none !important;
}

.margin-top-lg {
  margin-top: 36px;
}

/* Dedicated Page Banner */
.page-banner {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.2) 0%, rgba(9, 8, 13, 0.95) 100%);
  border-bottom: 1px solid var(--gold-border);
  padding: 40px 0 24px 0;
  text-align: center;
}

.page-banner-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-banner-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 500;
}

/* ==========================================================================
   ARTICLES PAGE STYLING
   ========================================================================== */
.articles-section {
  padding: 40px 0 80px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.article-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.article-img-box {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.article-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-img-box img {
  transform: scale(1.08);
}

.article-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-date {
  font-size: 12px;
  color: var(--gold-bright);
  font-weight: 600;
}

.article-content h3 {
  font-size: 18px;
  color: var(--text-white);
  line-height: 1.35;
}

.article-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT PAGE STYLING
   ========================================================================== */
.contact-page-section {
  padding: 40px 0 80px 0;
}

.contact-form-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.contact-form-box h3,
.contact-info-card h3 {
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 10px;
}

.contact-form-elements {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  font-size: 20px;
  color: var(--gold-bright);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border);
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item strong {
  font-size: 14px;
  color: var(--gold-light);
}

.info-item p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   ADMIN PORTAL DASHBOARD & LOGIN STYLES
   ========================================================================== */
.admin-body {
  background-color: #08070c;
  min-height: 100vh;
}

.admin-login-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #08070c !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-login-fullscreen.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.admin-login-card {
  background: var(--bg-dark-secondary);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(212, 175, 55, 0.25);
  text-align: center;
}

.center-logo {
  flex-direction: column;
  margin-bottom: 24px;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.login-hint-text {
  font-size: 12px;
  color: var(--gold-bright);
  text-align: center;
  opacity: 0.8;
  margin-top: 8px;
}

/* Admin Layout */
.admin-dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: #0d0b12;
  border-right: 1px solid var(--gold-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-bright);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.admin-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.admin-nav-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: var(--transition-fast);
}

.admin-nav-btn:hover,
.admin-nav-btn.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

.admin-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-view-site {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-logout {
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid #ff3b30;
  color: #ff5252;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Admin Main Content */
.admin-main-viewport {
  padding: 30px;
  overflow-y: auto;
}

.admin-tab-content {
  display: block;
}

.admin-tab-content.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold-border);
}

.admin-topbar h2 {
  font-size: 22px;
  color: var(--gold-light);
}

.admin-user-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-table-container {
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.admin-data-table th,
.admin-data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-data-table th {
  background: rgba(9, 8, 13, 0.9);
  color: var(--gold-bright);
  font-weight: 700;
}

.table-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.action-btns-cell {
  display: flex;
  gap: 8px;
}

.btn-edit {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.btn-delete {
  background: rgba(255, 59, 48, 0.2);
  border: 1px solid #ff3b30;
  color: #ff5252;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.admin-card-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.admin-form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .admin-dashboard-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--gold-border);
  }
}

/* ==========================================================================
   REAL UPI PAYMENT GATEWAY MODAL STYLES
   ========================================================================== */
.pg-card {
  max-width: 440px;
  width: 92%;
  padding: 24px;
  background: #0d0b13;
  border: 1px solid var(--gold-border-bright);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.25);
  text-align: center;
}

.pg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 16px;
}

.pg-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 15px;
}

.pg-timer-badge {
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid #ff3b30;
  color: #ff5252;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pg-amount-box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px dashed var(--gold-border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.pg-amount-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.pg-amount-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-light);
}

.pg-pooja-tag {
  font-size: 12px;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.pg-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.qr-frame {
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gold-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-scan-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: 320px;
}

.pg-app-links {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-pay-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: left;
}

.upi-apps-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.btn-app-pay {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gold-border);
  color: var(--text-white);
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-app-pay:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.pg-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pg-security-note {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   HOROSCOPE FILE UPLOAD BOX STYLES
   ========================================================================== */
.file-upload-box {
  position: relative;
  border: 2px dashed var(--gold-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  text-align: center;
  transition: var(--transition-fast);
  cursor: pointer;
}

.file-upload-box:hover {
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.08);
}

.file-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 13px;
}

.upload-placeholder i {
  font-size: 22px;
  color: var(--gold-bright);
}

.upload-preview-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-preview-box img {
  max-height: 100px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-bright);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.btn-remove-img {
  position: absolute;
  top: -8px;
  right: 10px;
  background: #ff3b30;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 12px;
}

.form-row.three-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .form-row.three-cols {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ==========================================================================
   BLUE VFX WAVE ANNOUNCEMENT BANNER STYLES
   ========================================================================== */
.blue-vfx-banner-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #020713 0%, #061833 50%, #020817 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.4);
  border-bottom: 1px solid rgba(0, 212, 255, 0.4);
  padding: 32px 20px;
  box-shadow: 0 0 35px rgba(0, 188, 255, 0.25), inset 0 0 20px rgba(0, 212, 255, 0.15);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blue-vfx-banner-section.hidden {
  display: none !important;
}

/* VFX Motion Waves Background */
.vfx-wave-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.65;
}

.vfx-wave {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  border-radius: 40%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.25) 0%, rgba(0, 102, 255, 0.1) 60%, transparent 80%);
}

.vfx-wave.wave1 {
  animation: vfxWaveRotate 16s linear infinite;
}

.vfx-wave.wave2 {
  animation: vfxWaveRotate 22s linear infinite reverse;
  opacity: 0.7;
}

.vfx-wave.wave3 {
  animation: vfxWaveRotate 30s linear infinite;
  opacity: 0.4;
}

@keyframes vfxWaveRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

.vfx-banner-container {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.vfx-banner-badge {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid #00d4ff;
  color: #00e5ff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  animation: cyanPulse 2s ease-in-out infinite;
}

@keyframes cyanPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.4); transform: scale(1); }
  50% { box-shadow: 0 0 22px rgba(0, 212, 255, 0.8); transform: scale(1.03); }
}

.vfx-banner-text {
  font-size: 19px;
  font-weight: 700;
  color: #e0f7fc;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.7), 0 0 30px rgba(0, 150, 255, 0.4);
  line-height: 1.5;
  max-width: 960px;
}

/* ==========================================================================
   DYNAMIC LOOPING VIDEO SHOWCASE BANNER
   ========================================================================== */
.video-showcase-section {
  max-width: 1320px;
  margin: 20px auto;
  padding: 0 24px;
}

.video-showcase-section.hidden {
  display: none !important;
}

.video-banner-container {
  width: 100%;
}

.video-frame-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border-bright);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.25);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(5, 4, 7, 0.7) 100%),
              linear-gradient(to top, rgba(5, 4, 7, 0.6) 0%, transparent 40%);
  pointer-events: none;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS ENHANCEMENTS
   ========================================================================== */
@media (max-width: 768px) {
  .site-header {
    padding: 10px 0;
  }

  .header-container {
    padding: 0 16px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .main-nav ul {
    gap: 12px;
  }

  .nav-link {
    font-size: 13px;
  }

  .contact-phone span {
    display: none;
  }

  .main-wrapper {
    margin-top: 60px;
  }

  .hero-title-top {
    font-size: 18px;
  }

  .hero-title-gold {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .vfx-banner-text {
    font-size: 15px;
  }

  .video-frame-wrapper {
    max-height: 250px;
  }

  .video-frame-wrapper video {
    max-height: 250px;
  }

  .form-row,
  .form-row.three-cols {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .modal-card {
    width: 94%;
    padding: 18px 14px;
    max-height: 92vh;
  }

  .admin-dashboard-layout {
    grid-template-columns: 1fr !important;
  }

  .admin-sidebar {
    padding: 16px;
  }

  .admin-nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .admin-nav-btn {
    font-size: 12px;
    padding: 8px 10px;
  }

  .admin-main-viewport {
    padding: 16px 12px;
  }

  .admin-action-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
