/* =========================================================
   BHUTAN SUPER 3-DIGIT LOTTERY - HIGH-CONTRAST PROFESSIONAL THEME
   ========================================================= */

:root {
  /* High-Contrast, Crystal-Clear Dark Slate Palette */
  --bg-main: #0f172a;
  --bg-gradient: radial-gradient(1200px 800px at 50% 0%, #1e293b 0%, #0f172a 100%);
  --card-bg: #1e293b;
  --card-bg-hover: #273549;
  --card-border: #334155;
  --card-border-glow: rgba(245, 158, 11, 0.3);

  /* Vibrant, Professional Accents */
  --gold-primary: #fbbf24;
  --gold-dark: #d97706;
  --gold-gradient: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  --gold-glow: 0 2px 12px rgba(245, 158, 11, 0.3);

  --emerald: #34d399;
  --emerald-dark: #059669;
  --emerald-glow: 0 2px 10px rgba(52, 211, 153, 0.3);

  --cyan: #38bdf8;
  --cyan-dark: #0284c7;
  --cyan-glow: 0 2px 10px rgba(56, 189, 248, 0.3);

  --purple: #c084fc;

  /* Crystal Clear High-Legibility Typography */
  --text-main: #ffffff;
  --text-secondary: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-dark: #0f172a;

  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Rajdhani', var(--font-main);
  --font-digit: 'Rajdhani', monospace;

  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-main);
  background: #0b1329 url('casino-gold.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

.container-custom-narrow {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
}

/* =========================================================
   BOOTSTRAP OVERRIDES FOR MAXIMUM READABILITY
   ========================================================= */
/* Overwrite .bg-warning with a rich, high-contrast, polished Amber badge */
.bg-warning {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

.text-dark {
  color: #0f172a !important;
}

/* Bright high-contrast Amber for .text-warning */
.text-warning {
  color: #fbbf24 !important;
}

.text-info {
  color: #38bdf8 !important;
}

.text-success {
  color: #34d399 !important;
}

.text-muted {
  color: #cbd5e1 !important;
}

/* =========================================================
   NAVBAR & HEADER
   ========================================================= */
.lottery-navbar {
  background: #1e293b;
  border-bottom: 2px solid #334155;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

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

.brand-emblem {
  width: 42px;
  height: 42px;
  background: var(--gold-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

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

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  line-height: 1.1;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu .nav-link {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu .nav-link.active {
  color: #0f172a;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  font-weight: 800;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* Sound Toggle Button */
.btn-sound-toggle {
  background: #0f172a;
  border: 1.5px solid #475569;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-sound-toggle:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Announcement Marquee Ticker */
.ticker-container {
  background: #111827;
  border-bottom: 1px solid #334155;
  padding: 10px 0;
  font-size: 0.9rem;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-badge {
  background: var(--gold-gradient);
  color: #0f172a;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 4px;
  margin-right: 15px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.ticker-marquee {
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

.ticker-marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 25s linear infinite;
  margin: 0;
  font-weight: 600;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

/* =========================================================
   LIVE DRAW STAGE & 3-DIGIT SLOT REELS
   ========================================================= */
@keyframes slotStageBgCycle {

  0%,
  20% {
    background-color: #b91c1c;
    /* Red */
    border-color: #ef4444;
    box-shadow: 0 8px 30px rgba(185, 28, 28, 0.45);
  }

  25%,
  45% {
    background-color: #15803d;
    /* Green */
    border-color: #22c55e;
    box-shadow: 0 8px 30px rgba(21, 128, 61, 0.45);
  }

  50%,
  70% {
    background-color: #1d4ed8;
    /* Blue */
    border-color: #3b82f6;
    box-shadow: 0 8px 30px rgba(29, 78, 216, 0.45);
  }

  75%,
  95% {
    background-color: #ca8a04;
    /* Yellow */
    border-color: #facc15;
    box-shadow: 0 8px 30px rgba(202, 138, 4, 0.45);
  }

  100% {
    background-color: #b91c1c;
    /* Red */
    border-color: #ef4444;
    box-shadow: 0 8px 30px rgba(185, 28, 28, 0.45);
  }
}

.slot-stage-wrapper {
  background-color: #b91c1c;
  border: 2px solid #ef4444;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  animation: slotStageBgCycle 12s ease-in-out infinite;
}

/* Hold Notice Bar for Previous Result View */
.hold-notice-bar {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1.5px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
  animation: slideDownFade 0.3s ease-out;
  position: relative;
  z-index: 10;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hold-notice-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hold-notice-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.hold-notice-text {
  display: flex;
  flex-direction: column;
}

.hold-notice-text strong {
  font-size: 0.98rem;
  color: #fbbf24;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hold-notice-sub {
  font-size: 0.84rem;
  color: #cbd5e1;
}

.hold-timer-digits {
  color: #fbbf24;
  font-weight: 800;
  font-family: var(--font-digit);
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.btn-return-live {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  font-family: var(--font-main);
}

.btn-return-live:hover {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

.btn-return-live:active {
  transform: translateY(0);
}

.live-dot-pulse {
  width: 9px;
  height: 9px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffffff;
  animation: pulseDot 1.2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.85);
    opacity: 0.7;
  }
}

.meta-pill-holding {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: #f59e0b !important;
  color: #fbbf24 !important;
}

.stage-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 14px;
}

.stage-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.stage-title .highlight-time {
  color: #fbbf24;
}

.stage-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-pill {
  background: #091222;
  border: 1px solid #1e3356;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 1.42rem;
  font-weight: 700;
  color: #f1f5f9;
}

.meta-pill.live-indicator {
  background: #212529;
  border-color: #212529;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-pill .dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px #fff;
}

/* Letter Headers (A, B, C) */
.letters-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 12px 0 10px 0;
  position: relative;
  z-index: 2;
}

.letter-box {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display), sans-serif;
  font-size: 3.4rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  user-select: none;
}

.letter-box-red {
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 50%, #580c0c 100%);
  border: 2px solid #ef4444;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.45);
}

.letter-box-black {
  background: linear-gradient(180deg, #27272a 0%, #18181b 50%, #09090b 100%);
  border: 2px solid #71717a;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
}

.letter-box-blue {
  background: linear-gradient(180deg, #2563eb 0%, #1e40af 50%, #172554 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.45);
}

/* 3-Digit Slot Machine Reels */
.reels-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px 0;
}

.reel-frame {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* REEL 1: RED BOX */
.reel-frame.reel-frame-red,
#reelFrame_1 {
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 50%, #580c0c 100%);
  border: 2px solid #ef4444;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.75), 0 0 16px rgba(220, 38, 38, 0.4);
}

.reel-frame.reel-frame-red.locked,
#reelFrame_1.locked {
  border-color: #fca5a5;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6), 0 0 22px rgba(239, 68, 68, 0.85), 0 0 0 2px #ef4444;
}

/* REEL 2: BLACK BOX */
.reel-frame.reel-frame-black,
#reelFrame_2 {
  background: linear-gradient(180deg, #27272a 0%, #18181b 50%, #09090b 100%);
  border: 2px solid #71717a;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 0, 0, 0.6);
}

.reel-frame.reel-frame-black.locked,
#reelFrame_2.locked {
  border-color: #f4f4f5;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8), 0 0 22px rgba(255, 255, 255, 0.4), 0 0 0 2px #a1a1aa;
}

/* REEL 3: BLUE BOX */
.reel-frame.reel-frame-blue,
#reelFrame_3 {
  background: linear-gradient(180deg, #2563eb 0%, #1e40af 50%, #172554 100%);
  border: 2px solid #3b82f6;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.75), 0 0 16px rgba(37, 99, 235, 0.4);
}

.reel-frame.reel-frame-blue.locked,
#reelFrame_3.locked {
  border-color: #93c5fd;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6), 0 0 22px rgba(59, 130, 246, 0.85), 0 0 0 2px #3b82f6;
}

.reel-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 5;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.reel-frame::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 4;
}

.reel-filmstrip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.1s linear;
  will-change: transform;
}

.reel-digit {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-digit);
  font-size: 5.5rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
  flex-shrink: 0;
  user-select: none;
  letter-spacing: -1px;
}

.reel-digit-dash {
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 100px;
}

.reel-frame.locked .reel-digit {
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 4px 15px rgba(0, 0, 0, 0.95);
  animation: digitLockBounce 0.4s ease-out;
}

@keyframes digitLockBounce {
  0% {
    transform: scale(1.18);
  }

  60% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(1);
  }
}

.prize-1st-label-badge {
  display: inline-block;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 5px 20px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

/* =========================================================
   COUNTDOWN TIMER CARD
   ========================================================= */
.countdown-box {
  background: #111d33;
  border: 1.5px solid #1e3356;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

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

.countdown-info .label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #38bdf8;
  font-weight: 800;
}

.countdown-info .target-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.countdown-digits-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.time-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-number {
  background: #091222;
  border: 1.5px solid #0284c7;
  color: #38bdf8;
  font-family: var(--font-digit);
  font-size: 1.4rem;
  font-weight: 900;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.time-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: #cbd5e1;
  font-weight: 700;
  margin-top: 3px;
}

.time-sep {
  font-size: 1.35rem;
  font-weight: 800;
  color: #38bdf8;
  margin-top: -8px;
}

/* =========================================================
   PRIZE RESULTS BOARD & CARDS
   ========================================================= */
.results-card {
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  padding: 22px;
  margin-bottom: 24px;
}

.card-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #334155;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.card-title-bar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

/* Cascade animation classes */
.cascade-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cascade-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Prize Tier Grid (2nd to 5th) */
.prizes-row-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.prize-tier-box {
  background: #0f172a;
  border: 1.5px solid #334155;
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.prize-tier-box:hover {
  border-color: #fbbf24;
  transform: translateY(-2px);
}

.prize-tier-box .tier-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.prize-tier-box .tier-val {
  font-family: var(--font-digit);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
}

.prize-tier-box.p-1st {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.prize-tier-box.p-1st .tier-tag {
  color: #fbbf24;
}

.prize-tier-box.p-1st .tier-val {
  color: #fbbf24;
}

.prize-tier-box.p-2nd {
  border-color: #0284c7;
}

.prize-tier-box.p-2nd .tier-tag {
  color: #38bdf8;
}

.prize-tier-box.p-2nd .tier-val {
  color: #38bdf8;
}

.prize-tier-box.p-3rd {
  border-color: #059669;
}

.prize-tier-box.p-3rd .tier-tag {
  color: #34d399;
}

.prize-tier-box.p-3rd .tier-val {
  color: #34d399;
}

.prize-tier-box.p-4th {
  border-color: #ea580c;
}

.prize-tier-box.p-4th .tier-tag {
  color: #fb923c;
}

.prize-tier-box.p-4th .tier-val {
  color: #fb923c;
}

.prize-tier-box.p-5th {
  border-color: #9333ea;
}

.prize-tier-box.p-5th .tier-tag {
  color: #c084fc;
}

.prize-tier-box.p-5th .tier-val {
  color: #c084fc;
}

/* 6th Prizes Grid */
.sixth-prizes-section {
  background: #0f172a;
  border: 1.5px solid #334155;
  border-radius: 10px;
  padding: 18px;
}

.sixth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sixth-header h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fbbf24;
  text-transform: uppercase;
  margin: 0;
}

.sixth-numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
}

.num-pill {
  background: #1e293b;
  border: 1.5px solid #475569;
  border-radius: 6px;
  padding: 6px 2px;
  text-align: center;
  font-family: var(--font-digit);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.num-pill:hover {
  background: #f59e0b;
  border-color: #fbbf24;
  color: #0f172a;
  transform: scale(1.04);
}

/* =========================================================
   TODAY'S DRAW RESULTS LIST (BOX DESIGN MATCHING SCREENSHOT)
   ========================================================= */
.today-results-card {
  background: #fff;
  border: 1.5px solid #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  padding: 16px;
}

.today-draws-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.today-draw-box {
  background: #1e3a8a;
  border: 1.5px solid #3b82f6;
  border-radius: 8px;
  padding: 12px 16px 8px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Distinct Vibrant Background Color Palette (12 Repeating Themes) */
.today-draw-box:nth-child(12n + 1) {
  background: linear-gradient(135deg, #1e40af 0%, #172554 100%);
  border-color: #3b82f6;
}

.today-draw-box:nth-child(12n + 2) {
  background: linear-gradient(135deg, #b91c1c 0%, #450a0a 100%);
  border-color: #ef4444;
}

.today-draw-box:nth-child(12n + 3) {
  background: linear-gradient(135deg, #047857 0%, #022c22 100%);
  border-color: #10b981;
}

.today-draw-box:nth-child(12n + 4) {
  background: linear-gradient(135deg, #6d28d9 0%, #2e1065 100%);
  border-color: #8b5cf6;
}

.today-draw-box:nth-child(12n + 5) {
  background: linear-gradient(135deg, #b45309 0%, #451a03 100%);
  border-color: #f59e0b;
}

.today-draw-box:nth-child(12n + 6) {
  background: linear-gradient(135deg, #0f766e 0%, #042f2e 100%);
  border-color: #14b8a6;
}

.today-draw-box:nth-child(12n + 7) {
  background: linear-gradient(135deg, #a21caf 0%, #4a044e 100%);
  border-color: #d946ef;
}

.today-draw-box:nth-child(12n + 8) {
  background: linear-gradient(135deg, #3730a3 0%, #1e1b4b 100%);
  border-color: #6366f1;
}

.today-draw-box:nth-child(12n + 9) {
  background: linear-gradient(135deg, #c2410c 0%, #431407 100%);
  border-color: #f97316;
}

.today-draw-box:nth-child(12n + 10) {
  background: linear-gradient(135deg, #be123c 0%, #4c0519 100%);
  border-color: #f43f5e;
}

.today-draw-box:nth-child(12n + 11) {
  background: linear-gradient(135deg, #4d7c0f 0%, #1a2e05 100%);
  border-color: #84cc16;
}

.today-draw-box:nth-child(12n + 12) {
  background: linear-gradient(135deg, #0369a1 0%, #082f49 100%);
  border-color: #0ea5e9;
}

.today-draw-box:hover {
  filter: brightness(1.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.today-draw-box.active {
  border-color: #fef08a !important;
  box-shadow: 0 0 20px rgba(254, 240, 138, 0.6), inset 0 0 12px rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.02);
}

.today-draw-box .draw-title-underline {
  font-family: var(--font-display), sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.today-draw-box .draw-number-val {
  font-family: var(--font-digit), monospace;
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.today-draw-box .draw-status-awaiting {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.2rem;
  font-family: var(--font-digit), monospace;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: none;
}

.prize-scheme-card {
  background: #204170;
  border: 1.5px solid #1e3356;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

.prize-scheme-card .table-custom th {
  background: transparent;
  color: #fbbf24;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 2px solid #f59e0b;
}

.prize-scheme-card .table-custom td {
  padding: 12px 14px;
  border-bottom: 1px solid #1e3356;
  font-size: 0.95rem;
}

/* =========================================================
   TODAY'S DRAW LIST SIDEBAR (FOR LEGACY / OTHER VIEWS)
   ========================================================= */
.sidebar-draw-list {
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  margin-bottom: 24px;
}

.sidebar-header {
  background: #0f172a;
  border-bottom: 2px solid #334155;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #fbbf24;
  text-transform: uppercase;
  margin: 0;
}

.draw-items-scroll {
  max-height: 640px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #f59e0b #0f172a;
}

.draw-items-scroll::-webkit-scrollbar {
  width: 6px;
}

.draw-items-scroll::-webkit-scrollbar-thumb {
  background: #f59e0b;
  border-radius: 4px;
}

.draw-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #334155;
  cursor: default;
  transition: all 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.draw-item-row[onclick] {
  cursor: pointer;
}

.draw-item-row[onclick]:hover {
  background: #273549;
}

.draw-item-row.active {
  background: rgba(245, 158, 11, 0.15);
  border-left: 4px solid #f59e0b;
}

.draw-item-info {
  display: flex;
  flex-direction: column;
}

.draw-item-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.draw-item-time {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 600;
}

.draw-item-status-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.badge-completed {
  background: #0284c7;
  border: 1px solid #38bdf8;
  color: #ffffff;
}

.badge-live {
  background: #059669;
  border: 1px solid #34d399;
  color: #ffffff;
}

.badge-upcoming {
  background: #334155;
  border: 1px solid #475569;
  color: #cbd5e1;
}

/* =========================================================
   TABLES & LISTS
   ========================================================= */
.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 6px;
}

.table-custom th {
  background: #0f172a;
  color: #fbbf24;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 2px solid #f59e0b;
}

.table-custom td {
  padding: 12px 14px;
  border-bottom: 1px solid #334155;
  color: #ffffff;
  font-size: 0.95rem;
}

.table-custom tbody tr:hover td {
  background: #273549;
}

.daily-prize-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1.5px solid #f59e0b;
  color: #fbbf24;
  font-family: var(--font-digit), monospace;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 4px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
  min-width: 80px;
}

/* =========================================================
   MONTHLY CALENDAR RESULT CHART MATRIX TABLE (EXACT MATCH)
   ========================================================= */
.matrix-chart-wrapper {
  background: #0f1e36;
  border: 2px solid #204170;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
}

.lottery-matrix-table {
  width: 100%;
  border-collapse: collapse;
  background: #11223f;
  border: 1px solid #204170;
  font-family: var(--font-digit), monospace;
  text-align: center;
  font-size: 0.95rem;
}

.lottery-matrix-table th,
.lottery-matrix-table td {
  border: 1px solid #204170;
  padding: 8px 4px;
  min-width: 32px;
  height: 38px;
  vertical-align: middle;
  text-align: center;
}

.lottery-matrix-table .matrix-header-box {
  background: #0b172a;
  border-right: 2px solid #204170;
  border-bottom: 2px solid #204170;
  padding: 12px 14px;
  text-align: center;
  color: #ffd700;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 160px;
}

.lottery-matrix-table .matrix-header-box .matrix-game-time {
  font-size: 0.95rem;
  color: #ffd700;
  margin-top: 4px;
  font-weight: 800;
  display: block;
}

.lottery-matrix-table .day-header-cell {
  background: #0b172a;
  color: #ffd700;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  border-bottom: 2px solid #204170;
}

.lottery-matrix-table .month-label-cell {
  background: #0b172a;
  color: #ffd700;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  padding: 6px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 2px solid #204170;
  white-space: nowrap;
}

.lottery-matrix-table .number-cell {
  background: #11223f;
  color: #ffd700;
  font-family: var(--font-digit), monospace;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  transition: background 0.15s ease;
}

.lottery-matrix-table .number-cell:hover {
  background: rgba(255, 215, 0, 0.25);
  color: #ffffff;
}

.lottery-matrix-table .empty-cell {
  background: #0b172a;
}

/* =========================================================
   RESULT CHART - MONTHLY & YEARLY TAB SWITCHER & MONTHLY VIEW
   ========================================================= */
.chart-tabs-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.chart-tab-switcher {
  background: #0f1c34;
  border: 1.5px solid #204170;
  border-radius: 50px;
  padding: 5px;
  display: inline-flex;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.chart-tab-switcher .tab-btn {
  padding: 8px 26px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #cbd5e1;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart-tab-switcher .tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.chart-tab-switcher .tab-btn.active {
  background: var(--gold-gradient);
  color: #0f172a !important;
  font-weight: 900;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* Monthly Filter Card (matching screenshot) */
.monthly-filter-container {
  background: #11223f;
  border: 1.5px solid #204170;
  border-radius: 12px;
  padding: 22px 24px 14px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.filter-gold-label {
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
}

.monthly-select {
  background-color: #2b487e !important;
  border: 1.5px solid #3e5c9b !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.monthly-select:focus {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 0 0.25rem rgba(251, 191, 36, 0.25) !important;
}

.monthly-select option {
  background-color: #11223f;
  color: #ffffff;
}

.filter-divider {
  border-bottom: 1.5px solid #204170;
  margin: 16px 0 12px 0;
}

.monthly-result-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.3rem;
  letter-spacing: 2.5px;
  margin: 0;
  text-transform: uppercase;
}

/* Draw List / Time Header Cell */
.draw-list-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.8px;
  line-height: 1.2;
}

.draw-list-line {
  height: 2px;
  background-color: #ffffff;
  width: 85%;
  margin: 3px auto;
}

.draw-list-time {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.8px;
  line-height: 1.2;
}

/* Game Cell in Monthly Table */
.matrix-game-cell {
  background: #0b172a;
  border-right: 2px solid #204170;
  padding: 8px 10px;
  min-width: 160px;
}

.matrix-game-cell .game-cell-name {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.matrix-game-cell .game-cell-time {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 3px;
  opacity: 0.9;
}


/* =========================================================
   PROFESSIONAL BUTTONS & FORM CONTROLS
   ========================================================= */
.btn-gold {
  background: var(--gold-gradient);
  color: #0f172a !important;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.6px;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-gold:hover {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  color: #000000 !important;
}

.btn-outline-gold {
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid #f59e0b;
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 7px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-outline-gold:hover {
  background: #f59e0b;
  color: #0f172a;
}

/* All inputs and controls are bold, high-contrast, crystal-clear */
.form-control-custom {
  background: #3e5894 !important;
  border: 1.5px solid #475569 !important;
  color: #ffffff !important;
  border-radius: var(--radius-md) !important;
  padding: 9px 14px !important;
  font-size: 0.95rem !important;
  font-weight: 600;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control-custom:focus {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25) !important;
  background: #090d16 !important;
}

/* Footer */
.lottery-footer {
  background: #090d16;
  border-top: 2px solid #334155;
  padding: 26px 0;
  margin-top: 40px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.lottery-footer a {
  color: #fbbf24;
  text-decoration: none;
  font-weight: 700;
}

/* =========================================================
   ADVANCE RESULT SCHEDULING & BATCH TABLE STYLES
   ========================================================= */
.advance-banner {
  display: none !important;
  background: rgba(168, 85, 247, 0.15);
  border: 2px solid #c084fc;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.advance-banner-title {
  color: #f3e8ff;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.advance-banner-desc {
  color: #e2e8f0;
  font-size: 0.88rem;
  margin: 0;
}

/* =========================================================
   ADMIN RESULTS SCREENSHOT-ACCURATE THEME
   ========================================================= */
.admin-results-container {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.admin-results-card {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  margin-bottom: 24px;
}

.results-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  background: #111827;
}

.results-sheet-title {
  font-family: var(--font-display), 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.declared-counter-pill {
  background: #ea9e1a;
  color: #000000;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-save-results-gold {
  background: #ea9e1a;
  color: #000000;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 6px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-save-results-gold:hover {
  background: #f59e0b;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 158, 26, 0.35);
}

.btn-save-results-gold:active {
  transform: translateY(0);
}

.results-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table-results-view {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.table-results-view thead th {
  color: #ea9e1a;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 14px;
  background: #111827;
  border-bottom: 2px solid #ea9e1a;
  border-top: none;
  border-left: none;
  border-right: none;
  vertical-align: middle;
}

.table-results-view thead th.th-time {
  width: 115px;
  padding-left: 18px;
}

.table-results-view thead th.th-game {
  padding-left: 10px;
  padding-right: 6px;
}

.table-results-view thead th.th-edit {
  width: 44px;
  padding: 12px 4px;
  text-align: center;
}

.table-results-view thead th.th-prize {
  width: 140px;
  padding-right: 18px;
  padding-left: 6px;
  text-align: center;
}

.table-results-view tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.15s ease;
}

.table-results-view tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.table-results-view tbody td {
  padding: 11px 14px;
  vertical-align: middle;
  border: none;
}

.table-results-view tbody td.td-time {
  padding-left: 18px;
}

.table-results-view tbody td.td-game {
  padding-left: 10px;
  padding-right: 6px;
}

.table-results-view tbody td.td-edit {
  padding: 11px 4px;
  text-align: center;
}

.table-results-view tbody td.td-prize {
  padding-right: 18px;
  padding-left: 6px;
  text-align: center;
}

.cell-draw-time {
  color: #38bdf8;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.game-name-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.game-name-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-status-awaiting {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1e293b;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.badge-status-published {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #059669;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.btn-pencil-action {
  background: transparent;
  border: none;
  color: #f97316;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, filter 0.15s ease;
  line-height: 1;
}

.btn-pencil-action:hover {
  transform: scale(1.2);
  filter: brightness(1.25);
}

.prize-1st-input {
  background: #111827 !important;
  border: 1.5px solid #d97706 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 2rem !important;
  text-align: center !important;
  width: 130px !important;
  height: 50px !important;
  letter-spacing: 2px !important;
  font-family: var(--font-digit), monospace !important;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s !important;
}

.prize-1st-input::placeholder {
  color: #475569 !important;
  font-weight: 600 !important;
}

.prize-1st-input:focus {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3) !important;
  background: #0f172a !important;
  outline: none !important;
}

.results-date-toolbar {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
}

.batch-input {
  background: #0f172a !important;
  border: 1.5px solid #475569 !important;
  color: #ffffff !important;
  font-family: var(--font-digit), monospace !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-align: center;
  border-radius: var(--radius-sm) !important;
  padding: 6px 8px !important;
  transition: all 0.15s ease;
}

.batch-input:focus {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3) !important;
  background: #111827 !important;
}

.batch-input-1st {
  border-color: #d97706 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  background: #111827 !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .stage-title {
    font-size: 1.4rem;
  }

  .letters-container,
  .reels-container {
    gap: 10px;
  }

  .letter-box,
  .reel-frame {
    width: 68px;
    height: 68px;
  }

  .letter-box {
    font-size: 2.2rem;
  }

  .reel-digit {
    height: 68px;
    font-size: 3.8rem;
  }

  .reel-digit-dash {
    line-height: 68px;
    font-size: 3.8rem;
  }

  .countdown-box {
    justify-content: center;
    text-align: center;
  }

  .countdown-info {
    align-items: center;
    margin-bottom: 8px;
  }

  .countdown-info .label {
    font-size: 1.01rem;
  }

  .countdown-info .target-name {
    font-size: 1.5rem;
  }

  .user.brand-logo {
    margin: auto !important;
  }

  .user .brand-text h1 {
    font-size: 2.45rem;
    font-weight: bolder;
    animation: colorBlink 2s infinite;
  }

  .user .badge {
    font-size: 1.02rem !important;
  }

  .user .meta-pill {
    font-size: 1.16rem;
  }

  @keyframes colorBlink {
    0% {
      color: red;
    }

    20% {
      color: yellow;
    }

    40% {
      color: lime;
    }

    60% {
      color: cyan;
    }

    80% {
      color: #ff00ff;
    }

    100% {
      color: red;
    }
  }

  #dateFilterForm label.form-label {
    display: none !important;
  }

  #dateFilterForm .btn-sm {
    display: none !important;
  }

  .result-date-input {
    margin: auto !important;
  }

  .portal-link-open {
    margin: auto;
  }
}

@media(min-width:922px) {
  .admin .badge {
    font-size: 1.22rem;
  }

  .lottery-navbar {
    margin-bottom: 0rem !important;
  }

  .user .brand-text h1 {
    animation: colorBlink 2s infinite;
    font-size: 3.3rem;
    font-weight: bolder;
  }

  @keyframes colorBlink {
    0% {
      color: red;
    }

    20% {
      color: yellow;
    }

    40% {
      color: lime;
    }

    60% {
      color: cyan;
    }

    80% {
      color: #ff00ff;
    }

    100% {
      color: red;
    }

  }

  .result-date-input {
    max-width: 155px !important;
  }

  .user.brand-logo {
    margin: auto;
  }

  .user .badge {
    font-size: 1.40rem;
  }
}