:root{
  --gold: #f6c453; /* brighter gold than #d4af37 */
}

/* GOLD text with real contrast */
.topbar-box .fw-semibold,
#screenStart .game-intro h2,
#screenStart .rules-list h2,
#screenStart .rules-list h3{
  color: var(--gold) !important;
  text-shadow:
    0 2px 0 rgba(0,0,0,.70),
    0 6px 18px rgba(0,0,0,.55);
  -webkit-text-stroke: 1px rgba(0,0,0,.55); /* crisp outline */
}

/* Keep small copy WHITE so it stays readable */
#screenStart .game-intro p,
#screenStart .rules-list li{
  color: rgba(255,255,255,.92) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

/* Bullet dots (if you want them gold without killing readability) */
#screenStart .rules-list li::marker{
  color: var(--gold);
}




/* Base reset */
* {
  box-sizing: border-box;
}

/* Page base */
body {
  background: linear-gradient(rgba(102, 126, 234, 0.7), rgba(118, 75, 162, 0.7)), url('../images/reindeer/forest-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #111;
  min-height: 100vh;
}

/* Simple buttons */
button {
  border-radius: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Game action buttons */
.game-btn {
  padding: 0.6rem 1.4rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.game-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.game-btn:active {
  transform: translateY(-2px) scale(1);
}

.game-btn.btn-dark {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #fff !important;
  color: #fff;
}

.game-btn.btn-dark:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.5);
}

.game-btn.btn-dark:disabled {
  background: #6c757d;
  border-color: #6c757d !important;
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.game-btn.btn-outline-dark {
  background: rgba(255, 255, 255, 0.95);
  border-color: #667eea !important;
  color: #667eea;
}

.game-btn.btn-outline-dark:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #fff !important;
  color: #fff;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.5);
}

/* Top bar box */
.topbar-box {
  border: none;
  background: none;
  border-radius: 16px;
  padding: 0.75rem 1.5rem !important;
  overflow: hidden;
}

/* Title styling */
.topbar-box .fw-semibold {
  font-size: 1.25rem;
  color: whitesmoke;
  font-weight: 900;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.699);
  letter-spacing: 0.5px;
}

/* Desktop controls visibility and layout */
.desktop-controls {
  display: none;
}

@media (min-width: 768px) {
  .desktop-controls {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
  }
  .mobile-controls {
    display: none !important;
  }
}

  /* Unified toggle button styling */
.control-toggle {
  border: none;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Audio toggle - ON state (success) */
#audioToggleBtn.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

#audioToggleBtn.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Audio toggle - OFF state (secondary) */
#audioToggleBtn.btn-secondary {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

#audioToggleBtn.btn-secondary:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

/* Effects toggle - ON state (success) */
#effectsToggleBtn.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

#effectsToggleBtn.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Effects toggle - OFF state (secondary) */
#effectsToggleBtn.btn-secondary {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

#effectsToggleBtn.btn-secondary:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

/* Mobile hamburger button */
#settingsBtn {
  font-size: 1.5rem;
  color: #667eea;
  transition: color 0.3s ease;
}

#settingsBtn:hover {
  color: #764ba2;
}

/*===============================
  Hero box (left) 
===============================*/

.hero-box {
  min-height: auto; /* allow height to adjust naturally */
  border: none;
  border-radius: 5px;
  overflow: hidden;
}

/* Hero row: welcome text + Rudolph */
.hero-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Welcome text column */
.hero-text, .game-intro{
  flex: 1;
  min-width: 180px;
  text-align: center;
  color: whitesmoke;
  font-weight: 600;
}

.hero-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color:whitesmoke;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1rem;
  color: whitesmoke !important;
}

/* Rudolph column */
.hero-image {
  flex: 0 0 auto;
}

.rudolph-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #5a4bcf;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.rudolph-img:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}


/* Rules underneath (centered, bullet points) */
.rules-list {
  margin-top: 1.5rem;
  text-align: center;
}

.rules-list ol {
  list-style-type: disc;  /* change from numbers to bullets */
  padding-left: 0;
  display: inline-block;
  text-align: left;
}

.rules-list ol li {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: whitesmoke;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-row {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .hero-text {
    text-align: center;
  }

  .rudolph-img {
    width: 120px;
    height: 120px;
  }

  .rules-list ul {
    text-align: center;
  }
}