/* ==========================================================================
   SCR99 MALAYSIA - CLEAN DARK BLUE THEME
   Framework: Tailwind CSS + FontAwesome + Custom UI
   No emojis, clean corporate gaming typography (Montserrat + Rajdhani)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Rajdhani:wght@600;700;800&display=swap');

:root {
  --bg-dark-900: #070c18;
  --bg-dark-800: #0b1426;
  --bg-dark-700: #101c36;
  --bg-dark-600: #162444;
  --border-dark: #1b2e56;
  --border-light: #284175;
  
  --gold-primary: #f59e0b;
  --gold-gradient: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  --gold-hover: #fbbf24;
  --red-primary: #dc2626;
  --green-primary: #16a34a;
  
  --font-base: 'Montserrat', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-dark-900);
  color: #cbd5e1;
  -webkit-font-smoothing: antialiased;
}

.font-rajdhani {
  font-family: var(--font-heading);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #080d1a;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Custom UI Elements */
.bg-navy-900 { background-color: #070c18; }
.bg-navy-800 { background-color: #0b1426; }
.bg-navy-750 { background-color: #0e1930; }
.bg-navy-700 { background-color: #101c36; }
.bg-navy-600 { background-color: #162444; }
.border-navy-500 { border-color: #1b2e56; }
.border-navy-400 { border-color: #284175; }

/* Gold Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #0b1120;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 1px solid #fbbf24;
}
.btn-gold:hover {
  background: linear-gradient(180deg, #fbbf24 0%, #e58e0a 100%);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-navy {
  background-color: #162444;
  color: #e2e8f0;
  border: 1px solid #284175;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-navy:hover {
  background-color: #1e3360;
  color: #ffffff;
  border-color: #3b5fa8;
}

/* Running Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marqueeAnimation 35s linear infinite;
}
@keyframes marqueeAnimation {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Modal Dialog */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active {
  display: flex;
}

.modal-content-box {
  animation: modalScaleIn 0.2s ease-out;
}
@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Toast Notification */
.toast-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #0f1c38;
  border: 1px solid #284175;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  font-size: 13px;
  font-weight: 600;
}
