/* ==========================================================================
   KALYAN LOTTERY AGENCY - PREMIUM DESIGN SYSTEM
   Inspired by DS Traders (Luxury Gold & Royal Navy) & TK Lottery (Interactive Agency UX)
   Authorized Kerala State Lottery Agency | Pollachi - Palakkad Main Road, Gopalapuram
   ========================================================================== */

:root {
  /* Core Colors */
  --c-navy-950: #080e1a;
  --c-navy-900: #0f172a;
  --c-navy-850: #131f38;
  --c-navy-800: #182235;
  --c-navy-700: #24324f;
  
  /* Emerald Kerala Accents */
  --c-emerald-900: #064e3b;
  --c-emerald-700: #047857;
  --c-emerald-600: #059669;
  --c-emerald-500: #10b981;
  --c-emerald-50: #ecfdf5;

  /* Royal Gold Palette (from DS Traders luxury design) */
  --c-gold-pale: #fbf5e6;
  --c-gold-light: #e5c365;
  --c-gold: #c69a2e;
  --c-gold-deep: #9e791b;
  --c-gold-dark: #785a0e;
  --c-gold-gradient: linear-gradient(135deg, #f5d47a 0%, #c69a2e 50%, #9e791b 100%);
  --c-gold-gradient-soft: linear-gradient(135deg, rgba(245, 212, 122, 0.15) 0%, rgba(198, 154, 46, 0.08) 100%);

  /* Neutrals & Surfaces */
  --c-white: #ffffff;
  --c-surface: #f8fafc;
  --c-surface-card: #ffffff;
  --c-surface-muted: #f1f5f9;
  --c-border: #e2e8f0;
  --c-border-gold: rgba(198, 154, 46, 0.3);
  --c-border-gold-strong: rgba(198, 154, 46, 0.6);
  --c-text-main: #0f172a;
  --c-text-muted: #475569;
  --c-text-subtle: #64748b;
  --c-text-on-dark: #f8fafc;
  --c-text-muted-dark: #94a3b8;

  /* WhatsApp & Action Accents */
  --c-whatsapp: #25d366;
  --c-whatsapp-hover: #20bd5a;
  --c-danger: #dc2626;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Dancing Script', 'Caveat', cursive;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Dimensions & Spacing */
  --header-height: 84px;
  --topbar-height: 42px;
  --container-max: 1240px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 12px 32px -6px rgba(198, 154, 46, 0.35);
  --shadow-gold-sm: 0 4px 15px rgba(198, 154, 46, 0.25);
  --shadow-card: 0 8px 30px rgba(15, 23, 42, 0.06);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text-main);
  background-color: var(--c-surface);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 15px);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: #fafbfc;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

ul, ol {
  list-style: none;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-navy-950);
  letter-spacing: -0.01em;
}

p {
  color: var(--c-text-muted);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Section styling */
.section {
  padding: 5rem 0;
  position: relative;
}

@media (min-width: 1024px) {
  .section {
    padding: 6.5rem 0;
  }
}

.section-dark {
  background-color: var(--c-navy-950);
  color: var(--c-text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--c-white);
}

.section-dark p {
  color: var(--c-text-muted-dark);
}

.section-alt {
  background-color: #f1f5f9;
}

/* Section Header - DS Traders Style */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  margin-bottom: 0.75rem;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 32px;
  height: 1.5px;
  background: var(--c-gold);
  display: inline-block;
  opacity: 0.85;
}

.section-dark .eyebrow {
  color: var(--c-gold-light);
}

.section-dark .eyebrow::before,
.section-dark .eyebrow::after {
  background: var(--c-gold-light);
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  color: var(--c-navy-950);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.gold-text {
  background: var(--c-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-gold {
  background: var(--c-gold-gradient);
  color: var(--c-navy-950);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(198, 154, 46, 0.5);
  color: var(--c-navy-950);
}

.btn-navy {
  background-color: var(--c-navy-900);
  color: var(--c-white);
  border: 1px solid var(--c-border-gold);
}

.btn-navy:hover {
  background-color: var(--c-navy-800);
  border-color: var(--c-gold);
  transform: translateY(-2px);
  color: var(--c-white);
}

.btn-outline {
  background: transparent;
  color: var(--c-navy-900);
  border: 1.5px solid var(--c-navy-800);
}

.btn-outline:hover {
  background-color: var(--c-navy-900);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--c-gold-deep);
  border: 1.5px solid var(--c-gold);
}

.btn-outline-gold:hover {
  background: var(--c-gold);
  color: var(--c-navy-950);
  transform: translateY(-2px);
}

.prize-action-wrap {
  text-align: center;
  margin-top: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.btn-view-structure {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  padding: 0.85rem 1.6rem;
}

.btn-whatsapp {
  background-color: var(--c-whatsapp);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  font-weight: 700;
}

.btn-whatsapp:hover {
  background-color: var(--c-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

/* ==========================================================================
   Top Announcement Bar (Hidden as marked by user)
   ========================================================================== */

.topbar,
.topbar-content {
  display: none !important;
}

/* Running Marquee Section (White Background, Red Running Text, No Box Shadow) */
.lottery-marquee-strip {
  width: 100%;
  background: #ffffff !important;
  border-top: 1px solid #fee2e2;
  border-bottom: 1px solid #fee2e2;
  box-shadow: none !important;
  overflow: hidden;
  padding: 0.7rem 0;
  position: relative;
  z-index: 80;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  font-size: 0.94rem;
  color: #dc2626 !important;
  margin-right: 3.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.marquee-item span,
.marquee-item strong,
.marquee-item span.highlight,
.lottery-marquee-strip * {
  color: #dc2626 !important;
  fill: #dc2626 !important;
  text-shadow: none !important;
}

.marquee-item strong,
.marquee-item strong.highlight {
  color: #b91c1c !important;
  font-weight: 800;
}

.marquee-bullet,
.marquee-item i,
.marquee-item svg {
  color: #dc2626 !important;
  font-size: 0.85rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Winning Prize Table Badges & Action Buttons */
.badge-day-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid #e2e8f0;
}

.badge-day-pill.today-highlight {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.prize-jackpot-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a3366;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.prize-jackpot-tag.bumper-gold {
  color: #854d0e;
  background: #fefce8;
  border-color: #fef08a;
  font-size: 1.25rem;
}

.table-ticket-price-pill {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
  background: #f8fafc;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1px solid #e2e8f0;
  display: inline-block;
}

.btn-table-book {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
  white-space: nowrap;
}

.btn-table-book:hover {
  background: #20ba5a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
  color: #ffffff;
}


/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(198, 154, 46, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  height: auto;
  padding: 0.6rem 1.25rem;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 0.75rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo-img,
.brand-emblem-img {
  width: auto;
  height: 48px;
  max-width: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.12));
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.brand-link:hover .brand-logo-img,
.brand-link:hover .brand-emblem-img {
  transform: scale(1.05);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-title-main {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 3.2vw, 1.48rem);
  font-weight: 800;
  color: #0a3366;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand-title-sub {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  color: #0a3366;
  line-height: 1;
  letter-spacing: 0.06em;
  margin-top: 3px;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  font-weight: 700;
  color: var(--c-navy-950);
  line-height: 1.1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-title span {
  color: #0a3366;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-subtle);
  font-weight: 600;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main Nav */
.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: #0a3366;
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: #0a3366;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-navy-pill {
  background: #0a3366;
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.62rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(10, 51, 102, 0.22);
  transition: all var(--transition-fast);
  border: none;
}

.btn-navy-pill:hover {
  background: #072349;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(10, 51, 102, 0.32);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  color: var(--c-navy-950);
  font-size: 1.3rem;
  transition: all var(--transition-fast);
}

@media (max-width: 991px) {
  .header-cta-btn {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle:hover {
  background: #e2e8f0;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--c-white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-nav-drawer.active {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}

.drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  font-size: 1.2rem;
  color: var(--c-navy-950);
  transition: background var(--transition-fast);
}

.drawer-close:hover {
  background: #e2e8f0;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
  overflow-y: auto;
  padding-bottom: 0.75rem;
}

.drawer-links .nav-link {
  font-size: 1.05rem;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-xs);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.drawer-links .nav-link:hover,
.drawer-links .nav-link.active {
  background: #f8fafc;
  color: var(--c-gold-deep);
  font-weight: 600;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

.drawer-footer .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   CLIENT THEME HERO (Inspired by Client Mockup)
   Bright, Tropical Kerala Sky, Houseboat, Tickets & Kathakali Visual
   ========================================================================== */

.hero-section.client-theme-hero {
  position: relative;
  background-color: #eaf4fb;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.65) 18%, rgba(255, 255, 255, 0.45) 46%, rgba(255, 255, 255, 0) 68%),
    url('../Images/kalyan-hero-hd.jpg');
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--c-navy-950);
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid rgba(10, 51, 102, 0.08);
}

@media (min-width: 1400px) {
  .hero-section.client-theme-hero {
    background-size: cover;
    background-position: center right;
    padding: 5rem 0 5.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-section.client-theme-hero {
    padding: 4.5rem 0 5.5rem;
  }
}

.client-hero-wrapper {
  max-width: 660px;
  position: relative;
  z-index: 2;
}

.client-hero-grid {
  display: block;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .client-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.client-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-welcome-script {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  color: #0a3366;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.client-hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: #0a3366;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 0.35rem 0;
}

.client-hero-title span {
  display: block;
  color: #0a3366;
}

.client-hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  color: #059669;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.client-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
}

/* 5 Feature Badges Row (from Client Mockup) */
.client-features-row {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.feature-badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  width: 78px;
}

.feature-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-badge-col:hover .feature-icon-circle {
  transform: translateY(-3px) scale(1.05);
}

.icon-circle-green {
  background: #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.icon-circle-purple {
  background: #8b5cf6;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.icon-circle-orange {
  background: #f97316;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.icon-circle-blue {
  background: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.icon-circle-pink {
  background: #ec4899;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
}

.feature-badge-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
  text-align: center;
}

/* Action Buttons (Pill Theme) */
.client-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-pill-cta {
  background: #0a3366;
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.9rem 2.2rem;
  font-size: 1.02rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 8px 24px rgba(10, 51, 102, 0.28);
  transition: all var(--transition-fast);
  border: 2px solid #0a3366;
}

.btn-hero-pill-cta:hover {
  background: #072349;
  border-color: #072349;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 51, 102, 0.38);
}

.btn-hero-pill-secondary {
  background: #ffffff;
  color: #0a3366;
  border: 2px solid #0a3366;
  border-radius: 9999px;
  padding: 0.9rem 1.8rem;
  font-size: 1.02rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
}

.btn-hero-pill-secondary:hover {
  background: #0a3366;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Live Draw Bar (Docked Directly Below Hero Section) */
.live-draw-bar {
  background: #ffffff;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(10, 51, 102, 0.05);
  position: relative;
  z-index: 10;
}

.live-draw-bar .client-countdown-card {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(10, 51, 102, 0.12);
  box-shadow: none;
  background: #f8fafc;
}

.client-hero-visual-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(10, 51, 102, 0.22);
}

.client-hero-visual-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Countdown Card in Client Theme */
.client-countdown-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(10, 51, 102, 0.08);
  border: 1.5px solid rgba(10, 51, 102, 0.12);
}

.client-countdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.client-cd-eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.client-countdown-header h4 {
  font-size: 1.25rem;
  color: #0a3366;
  font-weight: 700;
  margin-top: 0.15rem;
}

.client-draw-badge {
  background: rgba(10, 51, 102, 0.08);
  color: #0a3366;
  border: 1px solid rgba(10, 51, 102, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.client-timer-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.client-timer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.4rem;
  text-align: center;
}

.client-timer-box .timer-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0a3366;
  line-height: 1;
}

.client-timer-box .timer-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
  margin-top: 0.35rem;
}

.client-timer-box-live {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.4rem;
  text-align: center;
}

.client-countdown-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

.client-countdown-footer a {
  color: #0a3366;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.client-countdown-footer a:hover {
  color: #059669;
}

/* ==========================================================================
   Hero Section - Cinematic Kerala & Luxury Gold
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: #080f1e;
  background-image: 
    linear-gradient(135deg, rgba(8, 14, 28, 0.94) 0%, rgba(8, 15, 30, 0.88) 50%, rgba(8, 15, 30, 0.94) 100%),
    url('../Images/kalyan-hero-banner.jpeg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--c-white);
  overflow: hidden;
  padding: 4rem 0 5rem;
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 6rem 0 7rem;
  }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(198, 154, 46, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(6, 78, 59, 0.22) 0%, transparent 50%),
              linear-gradient(180deg, rgba(8, 15, 30, 0.3) 0%, rgba(8, 15, 30, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(198, 154, 46, 0.12);
  border: 1px solid rgba(198, 154, 46, 0.4);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-pill-badge .dot-live {
  width: 8px;
  height: 8px;
  background-color: var(--c-emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c-emerald-500);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-title .agency-tagline {
  display: block;
  font-family: 'Playfair Display', var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--c-gold-light);
  margin-top: 0.5rem;
}

.hero-banner-frame {
  width: 100%;
  max-width: 650px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--c-border-gold);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.75rem;
  background: var(--c-navy-950);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-banner-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(198, 154, 46, 0.25);
  border-color: var(--c-gold);
}

.hero-banner-frame-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #cbd5e1;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 500;
}

.hero-badge-item i,
.hero-badge-item svg {
  color: var(--c-gold-light);
  font-size: 1.1rem;
}

/* Hero Visual & Interactive Countdown Card */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--c-border-gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  background: var(--c-navy-900);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.hero-card-floating {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.floating-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.draw-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
  border: 1px solid var(--c-emerald-500);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.countdown-timer-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.timer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
}

.timer-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-gold-light);
  line-height: 1;
}

.timer-label {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Trust & Key Statistics Bar
   ========================================================================== */

.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 1.25rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem 1.25rem;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(198, 154, 46, 0.1);
  color: var(--c-gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--c-border-gold);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-navy-950);
  line-height: 1.1;
}

.stat-title {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Weekly Lotteries Schedule & Cards (TK Lottery / DS Style)
   ========================================================================== */

.lottery-schedule-section {
  background-color: #fafbfc;
}

.schedule-tabs-wrap {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--c-navy-800);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--c-gold);
  color: var(--c-gold-deep);
}

.tab-btn.active {
  background: var(--c-navy-900);
  color: #ffffff;
  border-color: var(--c-navy-900);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.lottery-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .lottery-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lottery-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .lottery-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lottery-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.lottery-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-gold);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(198, 154, 46, 0.2);
}

.lottery-card.today-active {
  border: 2px solid var(--c-gold);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.card-top-ribbon {
  background: var(--c-navy-900);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.card-top-ribbon.today {
  background: var(--c-gold-gradient);
  color: var(--c-navy-950);
  font-weight: 700;
}

.draw-code-pill {
  background: rgba(255, 255, 255, 0.18);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-navy-950);
  margin-bottom: 0.35rem;
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 1.25rem;
}

.prize-highlight-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.lottery-card.today-active .prize-highlight-box {
  background: rgba(198, 154, 46, 0.08);
  border-color: rgba(198, 154, 46, 0.3);
}

.prize-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-text-subtle);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.prize-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-gold-deep);
  line-height: 1.1;
  margin-top: 0.2rem;
}

.ticket-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.ticket-spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #e2e8f0;
}

.ticket-spec-item span:first-child {
  color: var(--c-text-subtle);
}

.ticket-spec-item span:last-child {
  font-weight: 600;
  color: var(--c-navy-950);
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ==========================================================================
   Bumper Lotteries Showcase (Mega Jackpots)
   ========================================================================== */

.bumpers-section {
  background: radial-gradient(circle at 50% 0%, #152238 0%, #0b1322 100%);
  color: #ffffff;
}

.bumper-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .bumper-showcase-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.featured-bumper-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1.5px solid var(--c-border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.featured-bumper-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(198, 154, 46, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bumper-badge-tag {
  display: inline-block;
  background: var(--c-gold-gradient);
  color: var(--c-navy-950);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.25rem;
}

.bumper-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.bumper-draw-date {
  font-size: 1rem;
  color: var(--c-gold-light);
  margin-bottom: 1.8rem;
}

.jackpot-display {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--c-border-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.jackpot-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94a3b8;
}

.jackpot-huge-amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  background: var(--c-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.5rem 0;
}

.jackpot-total-prize {
  font-size: 0.95rem;
  color: #e2e8f0;
}

.bumper-mini-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.bumper-mini-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.bumper-mini-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--c-border-gold);
  transform: translateX(4px);
}

.mini-bumper-info h4 {
  font-size: 1.25rem;
  color: #ffffff;
}

.mini-bumper-info p {
  font-size: 0.85rem;
  color: #94a3b8;
}

.mini-bumper-prize {
  text-align: right;
}

.mini-prize-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--c-gold-light);
}

/* ==========================================================================
   Prize Structure Table Section (from official Kerala Lotteries)
   ========================================================================== */

.prize-table-wrap {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-top: 2rem;
}

.table-controls {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lottery-selector-dropdown {
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-border);
  background: #ffffff;
  color: var(--c-navy-950);
  min-width: 240px;
}

.lottery-selector-dropdown:focus {
  border-color: var(--c-gold);
}

.responsive-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prize-master-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.prize-master-table th {
  background: var(--c-navy-900);
  color: #ffffff;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.prize-master-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.95rem;
  vertical-align: middle;
}

.prize-master-table tr:hover {
  background-color: #fafbfc;
}

/* Schedule Presentation Modes */
.desktop-table-view {
  display: block;
  width: 100%;
}

.mobile-schedule-cards {
  display: none;
}

.prize-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.prize-data-table th {
  background: var(--c-navy-900);
  color: #ffffff;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prize-data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.95rem;
}

.prize-data-table tr:hover {
  background-color: #fafbfc;
}

.prize-rank-badge {
  font-weight: 700;
  color: var(--c-navy-950);
}

.prize-amount-cell {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-gold-deep);
}

/* ==========================================================================
   Interactive Ticket Selector & WhatsApp Booking Tool
   ========================================================================== */

.booking-tool-section {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.booking-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--c-border-gold);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.booking-card-header {
  background: var(--c-navy-900);
  color: #ffffff;
  padding: 2rem;
  text-align: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.booking-card-header h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.booking-card-header p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.booking-card-body {
  padding: 2.5rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .booking-card-body {
    padding: 3rem;
  }
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .booking-form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-navy-900);
}

.form-select,
.form-input {
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 0.98rem;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-select:focus,
.form-input:focus {
  border-color: var(--c-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 154, 46, 0.15);
}

/* Interactive Number Boxes Grid */
.lucky-number-controls {
  grid-column: 1 / -1;
  background: #f8fafc;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.series-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.series-sub-label {
  font-size: 0.8rem;
  color: #64748b;
}

.series-pill-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.series-pill {
  padding: 0.5rem 0.25rem;
  background: #ffffff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-navy-900);
  cursor: pointer;
  text-align: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: all var(--transition-fast);
}

.series-pill:hover,
.series-pill.active {
  background: var(--c-gold);
  color: var(--c-navy-950);
  border-color: var(--c-gold);
}

.lucky-digits-wrap {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.lucky-digits-wrap .form-label {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.lucky-input-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.lucky-input-row .form-input {
  flex: 1;
  min-width: 0;
}

.btn-random-action {
  height: 48px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
}

@media (max-width: 480px) {
  .lucky-input-row {
    gap: 0.5rem;
  }

  .btn-random-action {
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
  }
}

.booking-summary-strip {
  grid-column: 1 / -1;
  background: rgba(198, 154, 46, 0.08);
  border: 1px solid var(--c-border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.summary-cost-wrap {
  display: flex;
  flex-direction: column;
}

.summary-cost-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--c-text-subtle);
  font-weight: 600;
}

.summary-cost-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-navy-950);
}

.btn-book-submit {
  flex-shrink: 0;
}

/* ==========================================================================
   How to Order in 3 Simple Steps (from TK Lottery)
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--c-gold);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-gold-gradient);
  color: var(--c-navy-950);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold-sm);
}

.step-icon {
  width: 70px;
  height: 70px;
  margin: 1rem auto 1.5rem;
  border-radius: var(--radius-full);
  background: rgba(198, 154, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--c-gold-deep);
}

.step-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Prize Claim Guidelines & Transparency
   ========================================================================== */

.claim-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .claim-guide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.claim-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.claim-box.featured {
  border: 1.5px solid var(--c-gold);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.claim-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.claim-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(198, 154, 46, 0.15);
  color: var(--c-gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.claim-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.claim-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.claim-item i,
.claim-item svg {
  color: var(--c-emerald-600);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Agency Shop & Physical Verification Showcase
   ========================================================================== */

.agency-showcase-section {
  background: #ffffff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.signboard-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--c-border-gold);
  box-shadow: var(--shadow-lg);
}

.signboard-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.agency-details-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.agency-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
}

.agency-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(198, 154, 46, 0.12);
  color: var(--c-gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.agency-info-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.agency-info-text p {
  font-size: 0.95rem;
  color: var(--c-text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--c-gold);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy-950);
}

.faq-icon-arrow {
  transition: transform var(--transition-fast);
  color: var(--c-gold-deep);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* ==========================================================================
   Responsible Play & Statutory Disclaimer Banner
   ========================================================================== */

.statutory-banner {
  background: #0f172a;
  color: #94a3b8;
  padding: 2.5rem 1.25rem;
  border-top: 1px solid rgba(198, 154, 46, 0.25);
  font-size: 0.88rem;
  text-align: center;
}

.disclaimer-content {
  max-width: 900px;
  margin: 0 auto;
}

.disclaimer-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.15);
  color: #f87171;
  border: 1px solid rgba(220, 38, 38, 0.4);
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Footer (High Luxury Corporate - DS Traders Style)
   ========================================================================== */

.site-footer {
  background: #080d19;
  color: #cbd5e1;
  padding: 5rem 0 2rem;
  border-top: 2px solid var(--c-border-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  }
}

.footer-brand-col p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 1.25rem 0 1.75rem;
}

.footer-col h4 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--c-gold);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--c-gold-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-contact-item i,
.footer-contact-item svg {
  color: var(--c-gold-light);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* ==========================================================================
   Floating Action Buttons (WhatsApp & Call)
   ========================================================================== */

.floating-action-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.7rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
}

.float-btn-whatsapp {
  background-color: var(--c-whatsapp);
}

.float-btn-whatsapp:hover {
  background-color: var(--c-whatsapp-hover);
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.float-btn-call {
  background-color: var(--c-navy-900);
  border: 1.5px solid var(--c-gold);
}

.float-btn-call:hover {
  background-color: var(--c-gold);
  color: var(--c-navy-950);
  transform: scale(1.1);
}

/* Tooltip on floating buttons */
.float-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-navy-900);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--c-border-gold);
}

.float-btn:hover::before {
  opacity: 1;
}

/* ==========================================================================
   Page Banner & Breadcrumbs (For inner pages)
   ========================================================================== */

.page-hero {
  background-color: #09101f;
  background-image: linear-gradient(135deg, rgba(9, 16, 31, 0.90) 0%, rgba(9, 16, 31, 0.94) 100%), url('../Images/kalyan-hero-banner.jpeg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1.5px solid var(--c-border-gold);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.breadcrumb-nav a {
  color: var(--c-gold-light);
}

.breadcrumb-nav span {
  color: #64748b;
}

/* Result Checker Card */
.result-check-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--c-border-gold);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  max-width: 800px;
  margin: -2.5rem auto 3rem;
  position: relative;
  z-index: 10;
}

.check-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .check-form {
    grid-template-columns: 1.2fr 1.2fr 1fr;
    align-items: flex-end;
  }
}

/* ==========================================================================
   CONTACT & LOCATION PAGE STYLES
   ========================================================================== */

.contact-section {
  padding: 4.5rem 0 5rem;
  position: relative;
}

.contact-showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: flex-start;
  margin-bottom: 3.5rem;
}

.contact-cards-col {
  width: 100%;
}

.contact-page-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--c-navy-950);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-sizing: border-box;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-info-card:hover {
  border-color: var(--c-gold);
  box-shadow: var(--shadow-md);
}

.contact-info-card .stat-icon {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(198, 154, 46, 0.1);
  color: var(--c-gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-card-content {
  flex: 1;
  min-width: 0;
}

.contact-card-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--c-navy-950);
}

.contact-card-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

.contact-badge-note {
  display: inline-block;
  color: var(--c-gold-deep);
  font-weight: 600;
  margin-top: 0.25rem;
  font-size: 0.88rem;
}

.contact-phone-link {
  font-weight: 700;
  color: var(--c-navy-950);
  transition: color var(--transition-fast);
}

.contact-phone-link:hover {
  color: var(--c-gold-deep);
}

.contact-btn-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.open-all-days-tag {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--c-emerald-700);
  font-weight: 600;
}

.contact-form-card {
  background: #ffffff;
  border: 1.5px solid var(--c-border-gold);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  width: 100%;
  box-sizing: border-box;
}

.contact-form-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--c-navy-950);
}

.contact-form-intro {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.btn-contact-submit {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
}

.directions-card {
  background: #f8fafc;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  box-sizing: border-box;
}

.directions-header {
  margin-bottom: 2rem;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.direction-item {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

.direction-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--c-navy-950);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.direction-item p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--c-text-muted);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE ENGINE (ALL DEVICES: 320px - 1024px)
   ========================================================================== */

/* Mobile Table Scroll Helper Hint */
.mobile-table-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(198, 154, 46, 0.12);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-gold-deep);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (min-width: 769px) {
  .mobile-table-scroll-hint {
    display: none;
  }
}

/* Base Global Overflow Fix & Mobile Scroll Engine */
html {
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  min-height: 100%;
}

body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

@supports not (overflow-x: clip) {
  html {
    overflow-x: hidden;
  }
  body {
    overflow-x: hidden;
  }
}

/* --------------------------------------------------------------------------
   TABLETS & MEDIUM SCREENS (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-height: 74px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    align-items: flex-start;
  }

  .bumper-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   TABLETS PORTRAIT & LARGE PHONES (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
  }

  .section-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }

  .section-lead {
    font-size: 0.98rem;
  }

  /* Topbar */
  .topbar-content {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    text-align: center;
  }

  .topbar-meta, .topbar-links {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.75rem 0 3.5rem;
    background-color: #080f1e;
    background-image: 
      linear-gradient(180deg, rgba(8, 14, 28, 0.97) 0%, rgba(8, 14, 28, 0.95) 50%, rgba(8, 14, 28, 0.98) 100%),
      url('../Images/kalyan-hero-banner.jpeg');
    background-position: left top;
    background-size: cover;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-title .agency-tagline {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-badges-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
    padding-top: 1.25rem;
  }

  .hero-badge-item {
    font-size: 0.8rem;
  }

  /* Stats Bar */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 2rem 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .stat-title {
    font-size: 0.82rem;
  }

  /* Weekly Draws Cards */
  .lottery-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .schedule-tabs-wrap {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
    width: 100%;
  }

  .schedule-tabs-wrap::-webkit-scrollbar {
    height: 4px;
  }
  .schedule-tabs-wrap::-webkit-scrollbar-thumb {
    background: var(--c-gold);
    border-radius: 4px;
  }

  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.6rem 1.15rem;
    font-size: 0.85rem;
  }

  /* Featured Bumper */
  .featured-bumper-card {
    padding: 1.75rem 1.25rem;
  }

  .jackpot-display {
    padding: 1.25rem;
  }

  .jackpot-huge-amount {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }

  .jackpot-total-prize {
    font-size: 0.85rem;
  }

  /* Steps Section */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-card {
    padding: 2rem 1.5rem;
  }

  /* Claims Guide */
  .claim-guide-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .claim-box {
    padding: 1.75rem 1.25rem;
  }

  /* Ticket Booking Card */
  .booking-card-header {
    padding: 1.5rem 1rem;
  }

  .booking-card-header h3 {
    font-size: 1.5rem;
  }

  .booking-card-body {
    padding: 1.5rem 1rem;
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .lucky-number-controls {
    padding: 1rem;
  }

  .booking-summary-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem;
  }

  .booking-summary-strip .btn {
    width: 100%;
    justify-content: center;
  }

  /* Prize Tables & Schedule Presentation */
  .desktop-table-view {
    display: none;
  }

  .mobile-schedule-cards {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1.25rem;
  }

  .schedule-card-item {
    background: #ffffff;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 1.15rem 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    box-sizing: border-box;
    transition: all var(--transition-fast);
  }

  .schedule-card-item:hover {
    border-color: var(--c-gold);
    box-shadow: var(--shadow-md);
  }

  .schedule-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .schedule-scheme-name {
    font-size: 1.05rem;
    color: var(--c-navy-950);
    font-weight: 800;
  }

  .schedule-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .schedule-prize-box {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .schedule-prize-box .prize-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.04em;
  }

  .schedule-prize-box .prize-jackpot-tag {
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    padding: 0.5rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .schedule-time-box {
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .schedule-time-box i {
    color: #059669;
  }

  .schedule-card-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.92rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
  }

  .prize-action-wrap {
    margin-top: 1.5rem;
    padding: 0 0.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .btn-view-structure {
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    justify-content: center;
    box-sizing: border-box;
    white-space: normal;
  }

  .prize-table-wrap {
    margin-top: 1.25rem;
  }

  .table-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
  }

  .lottery-selector-dropdown {
    width: 100%;
    min-width: 0;
  }

  .prize-data-table {
    min-width: 580px;
  }

  .prize-data-table th,
  .prize-data-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }

  /* FAQ */
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Contact Page Mobile */
  .contact-section {
    padding: 3rem 0 4rem;
  }

  .contact-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .contact-page-title {
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
  }

  .contact-info-card {
    padding: 1.25rem 1rem;
    gap: 0.85rem;
  }

  .contact-info-card .stat-icon {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

  .contact-form-card h3 {
    font-size: 1.5rem;
  }

  .directions-card {
    padding: 2rem 1.25rem;
  }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .direction-item {
    padding: 1.35rem 1.15rem;
  }

  /* Footer */
  .site-footer {
    padding: 3.5rem 0 calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Floating Action Buttons */
  .floating-action-container {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    gap: 8px;
    z-index: 990;
  }

  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  }

  .float-btn::before {
    display: none; /* Hide hover tooltip on touch devices */
  }

  /* Result Checker Box */
  .result-check-box {
    margin: -1.5rem auto 2.5rem;
    padding: 1.5rem 1rem;
  }

  .check-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .check-form .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   STANDARD SMARTPHONES (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }

  /* Header Branding */
  .brand-logo-img {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 1.18rem;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .header-cta-btn {
    display: none !important;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 420px) {
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

  .header-cta-btn {
    display: none !important;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {

  /* Topbar compact */
  .topbar-content {
    padding: 0.3rem 0.65rem;
    gap: 0.25rem;
  }

  .topbar-badge {
    font-size: 0.68rem;
    padding: 0.1rem 0.5rem;
  }

  .topbar-meta, .topbar-links {
    gap: 0.5rem;
  }

  .topbar-item {
    font-size: 0.74rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-pill-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .hero-badges-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  /* Countdown Clock */
  .countdown-timer-wrap {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
  }

  .timer-box {
    padding: 0.5rem 0.2rem;
  }

  .timer-num {
    font-size: 1.35rem;
  }

  .timer-label {
    font-size: 0.62rem;
  }

  /* Series selection pills in booking tool */
  .series-pill-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
  }

  .series-pill {
    padding: 0.4rem 0.2rem;
    font-size: 0.75rem;
    text-align: center;
  }

  /* Card and inner page banners */
  .page-hero {
    padding: 3rem 0 2rem;
  }

  .page-hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .statutory-banner {
    padding: 1.75rem 0.85rem;
    font-size: 0.8rem;
  }

  /* Contact page ultra-responsive adjustments */
  .contact-info-card {
    padding: 1.1rem 0.85rem;
    gap: 0.75rem;
  }

  .contact-card-content h4 {
    font-size: 1.1rem;
  }

  .contact-card-content p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .contact-btn-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form-card {
    padding: 1.35rem 0.85rem;
  }

  .directions-card {
    padding: 1.5rem 0.85rem;
  }

  .direction-item {
    padding: 1.15rem 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   ULTRA-COMPACT PHONES (max-width: 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .container {
    padding: 0 0.7rem;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .header-actions .btn span {
    display: none;
  }

  .topbar-meta span, .topbar-links a {
    font-size: 0.75rem;
  }

  .timer-num {
    font-size: 1.15rem;
  }

  .series-pill-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   CLIENT THEME MOBILE RESPONSIVENESS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero-section.client-theme-hero {
    background-image: 
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.95) 100%),
      url('../Images/kalyan-hero-hd.jpg');
    background-position: center top;
    background-size: cover;
    padding: 3rem 0 3.5rem;
  }

  .client-hero-wrapper {
    max-width: 100%;
  }

  .client-hero-grid {
    display: block;
  }

  .client-hero-content {
    width: 100%;
    align-items: stretch;
  }

  .client-features-row {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    width: 100%;
    gap: 0.2rem;
    margin-bottom: 1.75rem;
  }

  .feature-badge-col {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  .feature-icon-circle {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .feature-badge-label {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .client-hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-hero-pill-cta, .btn-hero-pill-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .brand-logo-img,
  .brand-emblem-img {
    height: 38px;
    max-width: 42px;
  }

  .brand-title-main {
    font-size: 1.15rem;
  }

  .brand-title-sub {
    font-size: 0.65rem;
  }

  .feature-icon-circle {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .feature-badge-label {
    font-size: 0.58rem;
  }

  .hero-welcome-script {
    font-size: 1.75rem;
  }

  .client-hero-title {
    font-size: 2.2rem;
  }

  .client-hero-tagline {
    font-size: 1.75rem;
  }

  .client-hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 350px) {
  .feature-icon-circle {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  .feature-badge-label {
    font-size: 0.52rem;
  }
}

