/* ========================================
   HSB Krishna Janmashtami Microsite
   Light Krishna & Peacock Feather Theme
   ======================================== */

:root {
  /* 🦚 Light Krishna & Peacock Feather Palette */
  --bg-canvas: #FAF7F2;            /* Warm ivory / soft cream */
  --bg-secondary: #F0F7F7;         /* Very pale peacock blue/green */
  --bg-card: #FFFFFF;              /* Pure white */
  --bg-card-subtle: #F8FAFA;       /* Soft feather mist */

  --peacock-blue: #0C3B5E;         /* Deep Krishna peacock blue — primary accent */
  --peacock-blue-light: #0B4F6C;   /* Medium peacock blue */
  --peacock-teal: #0F766E;         /* Teal / peacock green secondary accent */
  --feather-green: #2A9D8F;        /* Soft feather green highlight */
  
  --sacred-gold: #C59B27;          /* Muted festive gold */
  --sacred-gold-light: #F7E7B4;    /* Soft warm gold tint */
  --sacred-gold-dark: #9A7B1C;     /* Deep rich gold */

  --krishna-dark: #061527;         /* Deep night navy */
  --text-dark: #0F172A;            /* Deep navy for primary headings */
  --text-body: #334155;            /* Crisp slate navy for body prose */
  --text-muted: #64748B;           /* Muted slate */

  --border-subtle: rgba(12, 59, 94, 0.12); /* Subtle pale blue/gold borders */
  --border-gold: rgba(197, 155, 39, 0.35);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-soft: 0 4px 16px rgba(12, 59, 94, 0.06);
  --shadow-card: 0 8px 24px rgba(12, 59, 94, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-gold: 0 4px 18px rgba(197, 155, 39, 0.25);
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-canvas);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--sacred-gold);
  outline-offset: 2px;
}

/* ========================================
   TOP HEADER (Light Premium: Logo + Language)
   ======================================== */
.app-header {
  height: 52px;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(12, 59, 94, 0.04);
}

.header-logo-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-logo-badge img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFFFFF;
  padding: 2px;
  border: 1.5px solid var(--sacred-gold);
  box-shadow: 0 2px 6px rgba(12, 59, 94, 0.12);
}

.header-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--peacock-blue);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.header-logo-text small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.52rem;
  font-weight: 500;
  color: var(--peacock-teal);
  letter-spacing: 0.8px;
}

.lang-switch-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-secondary);
  padding: 0.22rem 0.55rem;
  border-radius: 50px;
  border: 1.2px solid rgba(12, 59, 94, 0.15);
  box-shadow: 0 2px 6px rgba(12, 59, 94, 0.05);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
}

.lang-btn.active {
  background: var(--peacock-blue);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(12, 59, 94, 0.2);
}

.lang-divider {
  color: rgba(12, 59, 94, 0.25);
  font-size: 0.72rem;
}


/* ========================================
   MAIN 1-SCREEN 3-COLUMN GRID
   ======================================== */
.main-screen-grid {
  height: calc(100vh - 52px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.85rem;
  padding: 0.75rem;
  overflow: hidden;
  background: var(--bg-canvas);
}

/* Base Panel Styles */
.col-panel {
  position: relative;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--border-subtle);
}

.col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem 0.5rem;
  border-bottom: 1px solid rgba(12, 59, 94, 0.08);
  background: #FAFCFC;
}

.col-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--peacock-blue);
}

.col-badge {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--peacock-teal);
  background: rgba(15, 118, 110, 0.08);
  padding: 0.14rem 0.45rem;
  border-radius: 50px;
  border: 1px solid rgba(15, 118, 110, 0.2);
}


/* ========================================
   1. LEFT COLUMN: KRISHNA STORIES (33.33%)
   ======================================== */
.col-stories {
  background: var(--bg-card);
}

/* Story Pill Tabs */
.story-tabs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  padding: 0.4rem 0.65rem;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid rgba(12, 59, 94, 0.06);
}

.story-tab-btn {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.45rem;
  background: #FFFFFF;
  border: 1px solid rgba(12, 59, 94, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.story-tab-btn:hover {
  border-color: var(--peacock-teal);
  background: #F0F9F8;
}

.story-tab-btn.active {
  background: linear-gradient(135deg, var(--peacock-blue) 0%, var(--peacock-blue-light) 100%);
  border-color: var(--peacock-blue);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(12, 59, 94, 0.2);
}

.tab-num {
  width: 17px;
  height: 17px;
  min-width: 17px;
  border-radius: 50%;
  background: rgba(12, 59, 94, 0.08);
  color: var(--peacock-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
}

.story-tab-btn.active .tab-num {
  background: var(--sacred-gold);
  color: var(--krishna-dark);
}

.tab-title {
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sticky Video Container (Complete Video Shown + Mobile Sticky Top) */
.story-sticky-video-wrapper {
  position: sticky;
  top: 0;
  z-index: 15;
  padding: 0.45rem 0.65rem 0.35rem;
  background: var(--bg-card);
  border-bottom: 1px solid rgba(12, 59, 94, 0.08);
}

.story-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #061527;
  box-shadow: 0 4px 14px rgba(12, 59, 94, 0.12);
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transform-origin: 20% 20%; /* Pushes the bottom-right Gemini AI watermark completely out of view */
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 21, 39, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  z-index: 4;
  transition: opacity 0.3s ease;
}

.video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sacred-gold);
  color: var(--krishna-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  padding-left: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.video-play-overlay:hover .play-icon-circle {
  transform: scale(1.1);
  background: #ECC248;
}

.play-text-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  background: rgba(12, 59, 94, 0.85);
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  border: 1px solid rgba(197, 155, 39, 0.4);
}

/* Scrollable Story Content Area */
.story-scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 0.55rem 0.75rem;
  background: var(--bg-card);
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 155, 39, 0.4) transparent;
}

.story-scroll-content::-webkit-scrollbar {
  width: 5px;
}
.story-scroll-content::-webkit-scrollbar-thumb {
  background: rgba(197, 155, 39, 0.35);
  border-radius: 10px;
}

.story-active-header {
  margin-bottom: 0.45rem;
}

.story-chapter-tag {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--peacock-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.story-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--peacock-blue);
  line-height: 1.2;
}

.story-prose-body {
  font-size: 0.78rem;
  line-height: 1.62;
  color: var(--text-body);
}

.story-prose-body p {
  margin-bottom: 0.6rem;
}

.story-prose-body p:last-child {
  margin-bottom: 0;
}

/* Bottom Action: Share Your Thoughts Button */
.col-footer-action {
  padding: 0.45rem 0.65rem;
  background: #FAFCFC;
  border-top: 1px solid rgba(12, 59, 94, 0.08);
}

.feedback-review-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  min-height: 32px;
  background: #FFFFFF;
  color: var(--peacock-blue);
  border: 1.2px solid var(--peacock-blue);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(12, 59, 94, 0.06);
}

.feedback-review-btn:hover {
  background: var(--peacock-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(12, 59, 94, 0.2);
  transform: translateY(-1px);
}


/* ========================================
   2. CENTER COLUMN: CELEBRATING THE DIVINE (33.33%)
   ======================================== */
.col-divine {
  background: linear-gradient(180deg, #0C3B5E 0%, #06192B 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  color: #FFFFFF;
  padding: 1.5rem 1rem 1rem;
}

.divine-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transform-origin: 75% 25%;
  z-index: 0;
}

.divine-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 59, 94, 0.35) 0%, rgba(6, 21, 39, 0.78) 100%);
  z-index: 1;
}

.gold-shower-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.divine-inner-content {
  position: relative;
  z-index: 5;
  margin: auto 0;
  padding: 0.5rem;
}

.divine-icon {
  display: inline-block;
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 2px 10px rgba(197, 155, 39, 0.5));
}

.divine-top-visitor-text {
  font-size: 0.62rem;
  color: var(--sacred-gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.35rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  opacity: 0.92;
}

.divine-greeting {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sacred-gold-light);
  margin-bottom: 0.45rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.divine-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.35rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
}

.divine-subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.divine-footer {
  position: relative;
  z-index: 5;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.divine-footer-text {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
  line-height: 1.3;
}

.forward-btn-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, var(--sacred-gold) 0%, var(--sacred-gold-dark) 100%);
  border: none;
  color: var(--krishna-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  min-height: 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.35);
}

.forward-btn-compact:hover {
  background: #ECC248;
  transform: translateY(-1px);
}

.forward-icon {
  font-size: 0.8rem;
  font-weight: 700;
}


/* ========================================
   3. RIGHT COLUMN: FESTIVE HAMPERS (33.33%)
   ======================================== */
.col-hampers {
  background: var(--bg-card);
}

/* Hamper Price Tabs */
.hamper-price-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.3rem;
  padding: 0.4rem 0.65rem;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid rgba(12, 59, 94, 0.06);
}

.price-tab-btn {
  min-height: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.35rem;
  background: #FFFFFF;
  border: 1.2px solid rgba(12, 59, 94, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.price-tab-btn:hover {
  border-color: var(--peacock-teal);
  background: #F0F9F8;
}

.price-tab-btn.active {
  background: linear-gradient(135deg, var(--peacock-blue) 0%, var(--peacock-blue-light) 100%);
  border-color: var(--peacock-blue);
  box-shadow: 0 2px 8px rgba(12, 59, 94, 0.2);
}

.price-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--peacock-blue);
  line-height: 1.1;
}

.price-tab-btn.active .price-val {
  color: var(--sacred-gold-light);
}

.tier-name {
  font-size: 0.56rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.price-tab-btn.active .tier-name {
  color: rgba(255, 255, 255, 0.85);
}

/* Factual Fresh Daily & Outlets Info Bar */
.hamper-batch-bar {
  margin: 0.35rem 0.85rem 0;
  padding: 0.32rem 0.6rem;
  background: #F0F9F8;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: var(--radius-sm);
}

.batch-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.batch-fresh-badge {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--peacock-teal);
  background: rgba(15, 118, 110, 0.12);
  padding: 0.12rem 0.45rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.4px;
}

.batch-text {
  font-size: 0.68rem;
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.3;
}

/* Active Hamper Display Area (Complete Hamper Photo Display) */
.hamper-display-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.75rem;
  overflow-y: auto;
}

.hamper-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #BFB8AD;
  border: 1.2px solid var(--border-gold);
  box-shadow: 0 4px 14px rgba(12, 59, 94, 0.08);
}

.hamper-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hamper-tier-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--sacred-gold);
  color: var(--krishna-dark);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.12rem 0.5rem;
  border-radius: 50px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hamper-info-body {
  padding: 0.4rem 0 0.3rem;
  text-align: center;
}

.hamper-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--peacock-blue);
  margin-bottom: 0.15rem;
}

.hamper-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.hamper-details-line {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--peacock-teal);
  background: rgba(15, 118, 110, 0.08);
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  border: 1px solid rgba(15, 118, 110, 0.2);
}

/* Hamper Compact Action Group: [ View Content Card / பொருட்கள் விவரம் ] [ Swiggy Logo ] [ Zomato Logo ] */
.hamper-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.35rem 0.45rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(12, 59, 94, 0.08);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.view-card-btn {
  flex: 1;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.3rem 0.55rem;
  min-height: 34px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  background: #FFFFFF;
  color: var(--peacock-blue);
  border: 1.2px solid rgba(12, 59, 94, 0.2);
  box-shadow: 0 2px 4px rgba(12, 59, 94, 0.04);
  white-space: nowrap;
}

.view-card-btn:hover {
  background: #FFFFFF;
  border-color: var(--peacock-blue);
  color: var(--peacock-blue);
  box-shadow: 0 2px 8px rgba(12, 59, 94, 0.12);
  transform: translateY(-1px);
}

.view-card-btn:active {
  transform: scale(0.98);
}

.hamper-logo-buttons-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.hamper-logo-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
  padding: 0;
}

.swiggy-logo-btn {
  background: #FC8019;
  border: 1px solid #E66500;
  animation: logoRingAnim 5s ease-in-out infinite;
}

.zomato-logo-btn {
  background: #E23744;
  border: 1px solid #CB202D;
  animation: logoRingAnim 5s ease-in-out 2.5s infinite;
}

.partner-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hamper-logo-btn:hover {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hamper-logo-btn:active {
  transform: scale(0.95);
}

@keyframes logoRingAnim {
  0%, 80%, 100% {
    transform: rotate(0deg) scale(1);
  }
  83% {
    transform: rotate(-6deg) scale(1.05);
  }
  86% {
    transform: rotate(6deg) scale(1.05);
  }
  89% {
    transform: rotate(-4deg) scale(1.03);
  }
  92% {
    transform: rotate(4deg) scale(1.03);
  }
  95% {
    transform: rotate(-2deg) scale(1.01);
  }
  98% {
    transform: rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .swiggy-logo-btn,
  .zomato-logo-btn {
    animation: none;
  }
}


/* ========================================
   MODALS (Light Frosted Popups)
   ======================================== */
.feedback-modal,
.order-modal,
.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.feedback-modal.active,
.order-modal.active,
.poster-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 59, 94, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 5;
  background: #FFFFFF;
  width: 90%;
  max-width: 480px;
  max-height: 85vh;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 20px 60px rgba(12, 59, 94, 0.25);
  border: 1.5px solid var(--border-gold);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.feedback-modal.active .modal-card,
.order-modal.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--peacock-blue);
  color: #FFFFFF;
}

.modal-header-block {
  text-align: center;
  margin-bottom: 1.25rem;
}

.modal-badge-icon {
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.modal-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--peacock-blue);
  line-height: 1.2;
}

.modal-card-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Feedback Form Styles */
.modal-feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #F8FAFC;
  border: 1.2px solid #CBD5E1;
  border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--peacock-blue);
  outline-offset: 2px;
  border-color: var(--peacock-blue);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(12, 59, 94, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.modal-submit-btn {
  width: 100%;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(135deg, var(--peacock-blue) 0%, var(--peacock-blue-light) 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(12, 59, 94, 0.2);
  margin-top: 0.25rem;
}

.modal-submit-btn:hover {
  background: var(--peacock-teal);
  transform: translateY(-1px);
}

.form-thank-you {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}

.form-thank-you.visible {
  display: block;
}

.thank-icon {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.form-thank-you h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--peacock-blue);
  margin-bottom: 0.35rem;
}

.form-thank-you p {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Poster Card Modal */
.poster-modal-content {
  position: relative;
  z-index: 5;
  background: transparent;
  width: 95%;
  max-width: 860px;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-close-btn {
  top: -12px;
  right: -12px;
  background: var(--sacred-gold);
  color: var(--krishna-dark);
  border: 2px solid #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.poster-modal-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(12, 59, 94, 0.4);
  border: 2px solid var(--sacred-gold);
}


/* ========================================
   RESPONSIVE LAYOUT (Tablets & Mobile)
   ======================================== */
@media (max-width: 1024px) {
  html, body {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .main-screen-grid {
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
    gap: 1.25rem;
    padding: 0.65rem;
  }

  .col-panel {
    flex: none;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: 0 4px 20px rgba(12, 59, 94, 0.1);
  }

  .col-stories {
    order: 1; /* Stories is #1 ranked job on mobile: earn the forward! */
    height: auto;
    overflow: visible;
    position: relative;
  }

  .story-sticky-video-wrapper {
    position: sticky;
    top: 0;
    z-index: 25;
    background: var(--bg-card);
    box-shadow: 0 4px 14px rgba(12, 59, 94, 0.08);
  }

  .story-scroll-content {
    max-height: none;
    overflow-y: visible;
  }

  .col-divine {
    order: 2;
    min-height: 480px;
    overflow: hidden;
  }

  .col-hampers {
    order: 3;
    height: auto;
    overflow: visible;
  }

  .hamper-display-card {
    overflow-y: visible;
  }
}


/* ========================================
   TAMIL TRANSLATION TYPOGRAPHY HARMONY
   Scaled proportionally to maintain identical
   compact 1-screen interface as English
   ======================================== */
html[lang="ta"] body,
body.lang-ta {
  font-size: 0.86rem;
  line-height: 1.45;
}

/* Header */
html[lang="ta"] .header-logo-text,
body.lang-ta .header-logo-text {
  font-size: 0.82rem;
}

/* Stories Column (Left) */
html[lang="ta"] .col-stories .col-title,
body.lang-ta .col-stories .col-title {
  font-size: 0.94rem;
}

html[lang="ta"] .col-stories .col-badge,
body.lang-ta .col-stories .col-badge {
  font-size: 0.56rem;
  padding: 0.12rem 0.38rem;
}

html[lang="ta"] .story-tab-btn .tab-title,
body.lang-ta .story-tab-btn .tab-title {
  font-size: 0.58rem;
  letter-spacing: -0.15px;
}

html[lang="ta"] .play-text-label,
body.lang-ta .play-text-label {
  font-size: 0.64rem;
}

html[lang="ta"] .story-chapter-tag,
body.lang-ta .story-chapter-tag {
  font-size: 0.54rem;
}

html[lang="ta"] .story-heading,
body.lang-ta .story-heading {
  font-size: 1.02rem;
}

html[lang="ta"] .story-prose-body,
body.lang-ta .story-prose-body {
  font-size: 0.72rem;
  line-height: 1.58;
}

html[lang="ta"] .feedback-review-btn,
body.lang-ta .feedback-review-btn {
  font-size: 0.65rem;
  padding: 0.32rem 0.5rem;
  letter-spacing: 0;
}

/* Divine Hero Center Column */
html[lang="ta"] .divine-greeting,
body.lang-ta .divine-greeting {
  font-size: 0.82rem;
  letter-spacing: 1px;
}

html[lang="ta"] .divine-title,
body.lang-ta .divine-title {
  font-size: 1.82rem;
  line-height: 1.25;
}

html[lang="ta"] .divine-subtitle,
body.lang-ta .divine-subtitle {
  font-size: 0.72rem;
  line-height: 1.5;
}

html[lang="ta"] .divine-top-visitor-text,
body.lang-ta .divine-top-visitor-text {
  font-size: 0.58rem;
  letter-spacing: 0.4px;
}

html[lang="ta"] .forward-btn-compact,
body.lang-ta .forward-btn-compact {
  font-size: 0.64rem;
  padding: 0.22rem 0.55rem;
}

/* Hampers Column (Right) */
html[lang="ta"] .col-hampers .col-title,
body.lang-ta .col-hampers .col-title {
  font-size: 0.92rem;
}

html[lang="ta"] .col-hampers .col-badge,
body.lang-ta .col-hampers .col-badge {
  font-size: 0.56rem;
  padding: 0.12rem 0.38rem;
}

html[lang="ta"] .price-tab-btn .tier-name,
body.lang-ta .price-tab-btn .tier-name {
  font-size: 0.52rem;
  letter-spacing: -0.15px;
}

html[lang="ta"] .batch-fresh-badge,
body.lang-ta .batch-fresh-badge {
  font-size: 0.52rem;
  padding: 0.1rem 0.36rem;
}

html[lang="ta"] .batch-text,
body.lang-ta .batch-text {
  font-size: 0.58rem;
  line-height: 1.22;
}

html[lang="ta"] .hamper-tier-badge,
body.lang-ta .hamper-tier-badge {
  font-size: 0.52rem;
  padding: 0.1rem 0.45rem;
}

html[lang="ta"] .hamper-title,
body.lang-ta .hamper-title {
  font-size: 1.02rem;
}

html[lang="ta"] .hamper-desc,
body.lang-ta .hamper-desc {
  font-size: 0.68rem;
  line-height: 1.3;
}

html[lang="ta"] .hamper-details-line,
body.lang-ta .hamper-details-line {
  font-size: 0.58rem;
  padding: 0.14rem 0.45rem;
  line-height: 1.3;
}

html[lang="ta"] .view-card-btn,
body.lang-ta .view-card-btn {
  font-size: 0.65rem;
  padding: 0.3rem 0.45rem;
  letter-spacing: -0.1px;
}

/* Modals */
html[lang="ta"] .modal-card-title,
body.lang-ta .modal-card-title {
  font-size: 1.15rem;
}

html[lang="ta"] .modal-card-sub,
body.lang-ta .modal-card-sub {
  font-size: 0.72rem;
}

html[lang="ta"] .form-group input,
html[lang="ta"] .form-group textarea,
body.lang-ta .form-group input,
body.lang-ta .form-group textarea {
  font-size: 0.74rem;
}

html[lang="ta"] .modal-submit-btn,
body.lang-ta .modal-submit-btn {
  font-size: 0.74rem;
}

html[lang="ta"] .form-thank-you h3,
body.lang-ta .form-thank-you h3 {
  font-size: 1.15rem;
}

html[lang="ta"] .form-thank-you p,
body.lang-ta .form-thank-you p {
  font-size: 0.74rem;
}
