/* ==========================================================================
   VIRA AGENCY - THEME 3: GLOBAL LOTTO & RAJSHREE APP-SHELL SYSTEM
   ========================================================================== */

:root {
  --bg-main: #f0f7ff;
  --bg-card: #ffffff;
  --bg-subtle: #e0f2fe;
  
  --primary-brand: #1d4ed8;       /* Deep Rajshree / Global Lotto Blue */
  --primary-dark: #1e3a8a;
  --accent-cta: #16a34a;          /* Play Now Green */
  --accent-cta-hover: #15803d;
  --jackpot-gold: #ea580c;        /* High-energy jackpot amber */
  --border-card: #bfdbfe;
  --card-shadow: 0 4px 16px rgba(29, 78, 216, 0.08);
  
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 30px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  margin: 0;
  padding: 0;
  padding-bottom: 70px; /* Space for Mobile Bottom App Bar */
}

/* =============================================================
   RAJSHREE STYLE CATEGORY TABS BAR (Horizontal Pill Scroller)
   ============================================================= */
.rajshree-tabs-container {
  background: #ffffff;
  border-bottom: 1px solid var(--border-card);
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.rajshree-tabs-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}

.raj-tab {
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.raj-tab:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

.raj-tab.active {
  background: var(--primary-brand);
  color: #ffffff;
  border-color: var(--primary-brand);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

/* =============================================================
   RAJSHREE STYLE LOTTERY CARDS
   ============================================================= */
.raj-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.raj-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.14);
}

.raj-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.raj-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.raj-badge.bumper {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.raj-badge.daily {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.raj-jackpot-callout {
  background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  margin-bottom: 16px;
}

.raj-jackpot-val {
  font-size: 2rem;
  font-weight: 900;
  color: #b45309;
  line-height: 1.1;
}

.raj-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.raj-info-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
  border-radius: 6px;
}

.raj-info-item span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.raj-info-item strong {
  color: var(--primary-dark);
}

/* =============================================================
   MOBILE BOTTOM APP BAR (Exact BookMyRajshree Mobile UX)
   ============================================================= */
.raj-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-card);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}

.raj-bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  gap: 3px;
  transition: color 0.15s ease;
}

.raj-bottom-tab span.icon {
  font-size: 1.25rem;
}

.raj-bottom-tab.active,
.raj-bottom-tab:hover {
  color: var(--primary-brand);
}

@media (min-width: 769px) {
  .raj-bottom-nav {
    display: none; /* Only show on mobile like BookMyRajshree */
  }
  body {
    padding-bottom: 0;
  }
}
