/* ==========================================================================
   LAXMI DARBAR (laxmidarbar.online) - MOBILE-FIRST SOCIAL LOTTERY & MATKA PORTAL
   Theme: Royal Auspicious Maroon (#1c0709), Deep Crimson (#280a0e), Imperial Gold (#f5b041)
   ========================================================================== */

:root {
  --maroon-dark: #100204;
  --maroon-main: #1c0709;
  --maroon-card: #280b0f;
  --maroon-card-hover: #3a1016;
  --gold-primary: #f5b041;
  --gold-light: #fef08a;
  --gold-dark: #b45309;
  --gold-gradient: linear-gradient(135deg, #fef08a 0%, #f5b041 50%, #b45309 100%);
  --crimson-accent: #e11d48;
  --emerald-accent: #10b981;

  --text-white: #ffffff;
  --text-gold: #fde047;
  --text-muted: #d1a89c;

  --font-heading: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-gold: 0 4px 20px rgba(245, 176, 65, 0.3);
  --shadow-crimson: 0 4px 20px rgba(225, 29, 72, 0.25);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Mobile Viewport */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--maroon-dark);
  color: var(--text-white);
  font-size: 14px;
}

body {
  background-color: var(--maroon-dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 14px;
}

/* Typography Utility */
.gold-text {
  background: linear-gradient(135deg, #fffbeb 0%, #f5b041 50%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #100204;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.btn-gold:hover,
.btn-gold:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 176, 65, 0.45);
  color: #100204;
}

.btn-gold:active {
  transform: scale(0.96);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1.5px solid var(--gold-primary);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: rgba(245, 176, 65, 0.15);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* Header Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 2, 4, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 176, 65, 0.2);
  padding: 10px 0;
}

.navbar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(245, 176, 65, 0.4));
}

.brand-title-box {
  display: flex;
  flex-direction: column;
}

.brand-title-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--gold-light);
  line-height: 1.1;
}

.brand-sub-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.header-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero Section */
.hero-laxmi {
  padding: 36px 0 24px;
  text-align: center;
  background: radial-gradient(circle at 50% 15%, rgba(225, 29, 72, 0.25) 0%, rgba(245, 176, 65, 0.12) 35%, transparent 70%);
  position: relative;
  border-bottom: 1px solid rgba(245, 176, 65, 0.15);
}

.hero-emblem-wrap {
  width: 105px;
  height: 105px;
  margin: 0 auto 16px;
  position: relative;
}

.hero-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(245, 176, 65, 0.4));
}

.hero-vedic-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(245, 176, 65, 0.12);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 8px;
  line-height: 1.15;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

/* Category Quick Navigation Scroll Bar */
.category-scroll-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  flex-wrap: wrap;
}

.category-scroll-bar::-webkit-scrollbar {
  display: none;
}

.cat-scroll-pill {
  padding: 8px 16px;
  background: var(--maroon-card);
  border: 1px solid rgba(245, 176, 65, 0.25);
  border-radius: var(--radius-full);
  color: var(--text-white);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.cat-scroll-pill:hover,
.cat-scroll-pill.active {
  background: rgba(245, 176, 65, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* Live Market Ticker Strip */
.live-market-strip {
  background: #180306;
  border-top: 1px solid rgba(245, 176, 65, 0.2);
  border-bottom: 1px solid rgba(245, 176, 65, 0.2);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.ticker-label {
  position: absolute;
  left: 0;
  z-index: 10;
  background: var(--crimson-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 6px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0 4px 4px 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.ticker-content-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  padding-left: 140px;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-white);
}

.ticker-market-name {
  color: var(--gold-light);
  font-weight: 700;
}

.ticker-result {
  color: #fff;
  background: rgba(245, 176, 65, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
}

/* Section Containers */
.section-container {
  padding: 30px 0;
}

.section-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(245, 176, 65, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-count-badge {
  background: rgba(245, 176, 65, 0.15);
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Search Bar for Matka */
.market-search-box {
  position: relative;
  margin-bottom: 18px;
}

.market-search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: var(--maroon-card);
  border: 1px solid rgba(245, 176, 65, 0.25);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.market-search-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(245, 176, 65, 0.25);
}

.market-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
  font-size: 1rem;
}

/* Matka Markets Grid */
.matka-markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.matka-card {
  background: var(--maroon-card);
  border: 1px solid rgba(245, 176, 65, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.matka-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.matka-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
}

.matka-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.matka-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.matka-status-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.matka-status-pill.live {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid #10b981;
}

.matka-score-row {
  background: rgba(16, 2, 4, 0.6);
  border: 1px dashed rgba(245, 176, 65, 0.3);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
  text-align: center;
}

.matka-digits {
  font-family: 'Cinzel', monospace;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold-primary);
}

.matka-time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.matka-btn-row {
  display: flex;
  gap: 8px;
}

.btn-market-play {
  flex: 1;
  background: var(--gold-gradient);
  color: #100204;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-market-play:hover {
  filter: brightness(1.1);
  color: #100204;
}

.btn-market-chart {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid rgba(245, 176, 65, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
}

.btn-market-chart:hover {
  background: rgba(245, 176, 65, 0.15);
  color: var(--gold-light);
}

/* Lottery Suite Grid */
.lottery-schemes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.lottery-card {
  background: linear-gradient(145deg, #280b0f 0%, #1c0709 100%);
  border: 1.5px solid rgba(245, 176, 65, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.lottery-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.lottery-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #100204;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 14px rgba(245, 176, 65, 0.35);
}

.lottery-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.lottery-card-prize {
  font-size: 0.95rem;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 10px;
}

.lottery-card-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 16px;
  min-height: 38px;
}

/* Rate Matrix & Game Rules Showcase */
.rules-matrix-card {
  background: var(--maroon-card);
  border: 1px solid rgba(245, 176, 65, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.rates-table th {
  background: rgba(16, 2, 4, 0.8);
  color: var(--gold-light);
  font-family: var(--font-heading);
  padding: 10px;
  text-align: left;
  font-size: 0.82rem;
  border-bottom: 2px solid var(--gold-primary);
}

.rates-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(245, 176, 65, 0.1);
  font-size: 0.85rem;
  color: var(--text-white);
}

.rates-table tr:hover td {
  background: rgba(245, 176, 65, 0.05);
}

.multiplier-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid #10b981;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  background: #100204;
  border-top: 1px solid rgba(245, 176, 65, 0.2);
  padding: 24px 0;
  text-align: center;
}

.footer-disclaimer-box {
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.4);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Play Now Selection Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #1a0507;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 26px 20px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), var(--shadow-gold);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

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

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

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.arena-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arena-card-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--maroon-card);
  border: 1px solid rgba(245, 176, 65, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  text-decoration: none;
  color: #fff;
  transition: var(--transition);
}

.arena-card-item:hover {
  border-color: var(--gold-primary);
  background: var(--maroon-card-hover);
  transform: translateX(4px);
}

.arena-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #100204;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.arena-content {
  flex: 1;
}

.arena-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-light);
}

.arena-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .hero-main-title {
    font-size: 1.8rem;
  }
  .brand-sub-text {
    display: none;
  }
}

