:root {
  --accent: #f2a61b;
  --green: #4caf50;
  --bg: #5c3f28;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: url('static_assets/images/background_image.png') center center / cover no-repeat fixed;
  color: #fff;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: 20px;
  margin-top: 20px;
}

.main-layout {
  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: 20px 0;
}

/* Modern Header Layout */
.header-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(242, 166, 27, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Single Header Bar */
.header-single-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  min-height: 60px;
  background: transparent;
  border-bottom: 2px solid rgba(242, 166, 27, 0.3);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Page Title */
.page-title {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(242, 166, 27, 0.15) 0%, rgba(242, 166, 27, 0.05) 100%);
  border: 2px solid rgba(242, 166, 27, 0.4);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 12px rgba(242, 166, 27, 0.2);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  color: #000;
  background: linear-gradient(135deg, #ffb86b 0%, #ff9000 100%);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu a:hover {
  background: linear-gradient(135deg, #ffc97a 0%, #ffa500 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-menu a.active {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: #fff;
}

/* Fullscreen Button */
.fullscreen-btn {
  color: #000;
  background: linear-gradient(135deg, #ffb86b 0%, #ff9000 100%);
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fullscreen-btn:hover {
  background: linear-gradient(135deg, #ffc97a 0%, #ffa500 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Fullscreen button in fullscreen mode */
.fullscreen-mode .fullscreen-btn {
  color: #fff;
  background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
}

.fullscreen-mode .fullscreen-btn:hover {
  background: linear-gradient(135deg, #ff6666 0%, #ee0000 100%);
}

/* User Info Display */
.user-info {
  color: var(--accent);
  font-weight: 600;
  font-size: 25px;
  background: linear-gradient(135deg, rgba(242, 166, 27, 0.15) 0%, rgba(242, 166, 27, 0.05) 100%);
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(242, 166, 27, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Fullscreen Mode Styles - Minimal changes to prevent layout shifts */
/* Only hide elements, do NOT change any positioning or sizing */

.fullscreen-mode .nav-menu {
  display: none; /* Hide navigation menu in fullscreen */
}

.fullscreen-mode footer {
  display: none; /* Hide footer in fullscreen mode */
}

/* wheel */
.wheel-wrap {
  position: relative;
  width: 520px;
  height: 520px;
  margin: 30px 0;
  animation: wheelWrapGlow 2.5s ease-in-out infinite;
}

@keyframes wheelWrapGlow {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(255, 215, 100, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(255, 215, 100, 0.6)) 
            drop-shadow(0 0 25px rgba(255, 215, 100, 0.4));
  }
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(180deg, #2f9e3b, #2a8f35);
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border: 8px solid #f2a61b;
  overflow: hidden;
  will-change: transform;
  backface-visibility: hidden;
}

.slice-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: 0 0;
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  z-index: 5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slice-line {
  position: absolute;
  left: 50%;
  top: 0;
  transform-origin: 50% 50%;
  width: 2px;
  height: 100%;
  background: #000;
  z-index: 3;
}

/* thin guides on number degree rays */
.number-guide {
  position: absolute;
  left: 50%;
  top: 0;
  transform-origin: 50% 50%;
  height: 100%;
  z-index: 4;
}

.wheel .center-med {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd27a, #c78d1e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.2);
  z-index: 6;
  overflow: hidden;
}

.money-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  transform-origin: center center;
  will-change: transform;
}

.money-symbol {
  position: absolute;
  font-size: 100px;
  opacity: 0;
  animation: moneyRotate 2s infinite;
  transform: translateX(100px);
}

.money-symbol:nth-child(1) { animation-delay: 0s; }
.money-symbol:nth-child(2) { animation-delay: 0.5s; }
.money-symbol:nth-child(3) { animation-delay: 1s; }
.money-symbol:nth-child(4) { animation-delay: 1.5s; }


@keyframes moneyRotate {
  0% {
    opacity: 0;
    transform: translateX(100px) scale(0.5);
  }
  10% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  20% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  30% {
    opacity: 0;
    transform: translateX(-100px) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translateX(-100px) scale(0.5);
  }
}

.pointer {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 6px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pointer::after {
  content: '▼';
  color: #000;
  font-size: 60px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* keypad */
.keypad {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.keys {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 800px;
  justify-content: center;
}

.key {
  width: 88px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(#9fe889, #6fbf4a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 12px;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  background: linear-gradient(#ffb86b, #ff9000);
  border: none;
  cursor: pointer;
  font-size: 30px;
  font-weight: 700;
  color: #000;
  transition: all 0.3s ease;
}

.btn:disabled {
  background: linear-gradient(#666, #444);
  color: #999;
  cursor: not-allowed;
  opacity: 0.7;
}

/* countdown */
.countdown-container {
  text-align: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 2px solid var(--accent);
}

.countdown-display {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.countdown-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.countdown-display.warning {
  color: #ff6b6b;
  animation: pulse 1s infinite;
}

.countdown-display.danger {
  color: #ff0000;
  animation: pulse 0.5s infinite;
}

/* wait period */
.wait-container {
  text-align: center;
  margin: 20px 0;
  padding: 30px;
  background: rgba(0, 50, 100, 0.4);
  border-radius: 12px;
  border: 3px solid var(--accent);
  box-shadow: 0 0 20px rgba(100, 200, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Seven Segment Display */
.seven-segment-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-family: 'Courier New', monospace;
}

.seven-segment-digit {
  position: relative;
  width: 60px;
  height: 100px;
  background: #000;
  border-radius: 8px;
  box-shadow: 
    inset 0 0 10px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(100, 200, 255, 0.3);
}

.seven-segment-segment {
  position: absolute;
  background: transparent;
  border-radius: 2px;
  transition: all 0.3s ease;
  opacity: 0;
}

.seven-segment-segment.active {
  opacity: 1;
}

/* Segment positions for digit */
.seven-segment-segment.a { top: 5px; left: 8px; width: 44px; height: 8px; }
.seven-segment-segment.b { top: 8px; right: 5px; width: 8px; height: 36px; }
.seven-segment-segment.c { bottom: 8px; right: 5px; width: 8px; height: 36px; }
.seven-segment-segment.d { bottom: 5px; left: 8px; width: 44px; height: 8px; }
.seven-segment-segment.e { bottom: 8px; left: 5px; width: 8px; height: 36px; }
.seven-segment-segment.f { top: 8px; left: 5px; width: 8px; height: 36px; }
.seven-segment-segment.g { top: 50%; left: 8px; width: 44px; height: 8px; transform: translateY(-50%); }

/* Digit patterns */
.seven-segment-digit[data-digit="0"] .a,
.seven-segment-digit[data-digit="0"] .b,
.seven-segment-digit[data-digit="0"] .c,
.seven-segment-digit[data-digit="0"] .d,
.seven-segment-digit[data-digit="0"] .e,
.seven-segment-digit[data-digit="0"] .f { 
  background: #64c8ff !important; 
  opacity: 1 !important;
}

.seven-segment-digit[data-digit="1"] .b,
.seven-segment-digit[data-digit="1"] .c { 
  background: #64c8ff !important; 
  opacity: 1 !important;
}

.seven-segment-digit[data-digit="2"] .a,
.seven-segment-digit[data-digit="2"] .b,
.seven-segment-digit[data-digit="2"] .g,
.seven-segment-digit[data-digit="2"] .e,
.seven-segment-digit[data-digit="2"] .d { 
  background: #64c8ff !important; 
  opacity: 1 !important;
}

.seven-segment-digit[data-digit="3"] .a,
.seven-segment-digit[data-digit="3"] .b,
.seven-segment-digit[data-digit="3"] .g,
.seven-segment-digit[data-digit="3"] .c,
.seven-segment-digit[data-digit="3"] .d { 
  background: #64c8ff !important; 
  opacity: 1 !important;
}

.seven-segment-digit[data-digit="4"] .f,
.seven-segment-digit[data-digit="4"] .g,
.seven-segment-digit[data-digit="4"] .b,
.seven-segment-digit[data-digit="4"] .c { 
  background: #64c8ff !important; 
  opacity: 1 !important;
}

.seven-segment-digit[data-digit="5"] .a,
.seven-segment-digit[data-digit="5"] .f,
.seven-segment-digit[data-digit="5"] .g,
.seven-segment-digit[data-digit="5"] .c,
.seven-segment-digit[data-digit="5"] .d { 
  background: #64c8ff !important; 
  opacity: 1 !important;
}

.seven-segment-digit[data-digit="6"] .a,
.seven-segment-digit[data-digit="6"] .f,
.seven-segment-digit[data-digit="6"] .g,
.seven-segment-digit[data-digit="6"] .e,
.seven-segment-digit[data-digit="6"] .d,
.seven-segment-digit[data-digit="6"] .c { 
  background: #64c8ff !important; 
  opacity: 1 !important;
}

.seven-segment-digit[data-digit="7"] .a,
.seven-segment-digit[data-digit="7"] .b,
.seven-segment-digit[data-digit="7"] .c { 
  background: #64c8ff !important; 
  opacity: 1 !important;
}

.seven-segment-digit[data-digit="8"] .a,
.seven-segment-digit[data-digit="8"] .b,
.seven-segment-digit[data-digit="8"] .c,
.seven-segment-digit[data-digit="8"] .d,
.seven-segment-digit[data-digit="8"] .e,
.seven-segment-digit[data-digit="8"] .f,
.seven-segment-digit[data-digit="8"] .g { 
  background: #64c8ff !important; 
  opacity: 1 !important;
}

.seven-segment-digit[data-digit="9"] .a,
.seven-segment-digit[data-digit="9"] .b,
.seven-segment-digit[data-digit="9"] .c,
.seven-segment-digit[data-digit="9"] .d,
.seven-segment-digit[data-digit="9"] .f,
.seven-segment-digit[data-digit="9"] .g { 
  background: #64c8ff !important; 
  opacity: 1 !important;
}

/* Warning and danger states */
.seven-segment-display.warning .seven-segment-segment { background: #ff6b6b !important; }
.seven-segment-display.danger .seven-segment-segment { background: #ffffff !important; }

.seven-segment-display.warning .seven-segment-digit { 
  box-shadow: 
    inset 0 0 10px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(255, 107, 107, 0.5);
  animation: pulse 1s infinite;
}

.seven-segment-display.danger .seven-segment-digit { 
  box-shadow: 
    inset 0 0 10px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(255, 0, 0, 0.5);
  animation: pulse 0.5s infinite;
}

.wait-label {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.wait-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}


@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}


/* configuration link */
.config-link {
  text-align: center;
  margin: 20px 0;
}

.config-btn {
  background: linear-gradient(#4caf50, #45a049);
  font-size: 16px;
  padding: 12px 24px;
  text-decoration: none;
  display: inline-block;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
}

.config-btn:hover {
  background: linear-gradient(#45a049, #3d8b40);
  transform: translateY(-2px);
}

/* three-column layout */
.left-column {
  flex: 1;
  min-width: 200px;
  padding: 20px;
}

/* Left Empty Container with Coin Grid */
.left-empty-container {
  text-align: center;
  margin: 20px 0;
  padding: 30px;
  background: rgba(0, 50, 100, 0.4);
  border-radius: 12px;
  border: 3px solid var(--accent);
  box-shadow: 0 0 20px rgba(100, 200, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.coin-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.coin-row {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.coin-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
  animation: coinPulse 3s ease-in-out infinite;
}

.coin-item img:hover {
  transform: scale(1.1);
}

/* Coin pulse animation with staggered delays */
.coin-item:nth-child(1) img { animation-delay: 0s; }
.coin-item:nth-child(2) img { animation-delay: 1s; }
.coin-item:nth-child(3) img { animation-delay: 2s; }

@keyframes coinPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.10);
  }
}

.center-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 400px;
  padding: 20px;
  /* margin-left: var(--gapLeftCenter, 50px); */
}

.right-column {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  margin-left: var(--gapCenterRight, 50px);
}

/* Bottom Number Selection */
.bottom-number-selection {
  align-self: center;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.bottom-number-selection h3 {
  color: var(--accent);
  margin: 0 0 20px 0;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.number-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.number-cell {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  border-radius: 50%;
  border: 4px solid #b8860b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: #8b4513;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 0 #b8860b,
    0 12px 20px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
  position: relative;
}

.number-cell:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 12px 0 #b8860b,
    0 16px 25px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3);
  border-color: #8b6914;
}

.number-cell.winner {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 50%, #ff6b6b 100%);
  border-color: #cc4444;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 
    0 8px 0 #cc4444,
    0 12px 20px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  animation: winnerPulse 1s infinite;
}

@keyframes winnerPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* results panel */
.results-panel {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 25px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin: 10px 0;
  border: 3px solid var(--accent);
}

.results-panel h3 {
  color: var(--accent);
  margin: 0 0 15px 0;
  text-align: center;
  font-size: 60px;
}

.result-display {
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  position: relative;
}

.winning-number-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 30px;
  margin-bottom: 8px;
}

.winning-number {
  font-size: 150px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  position: relative;
}



/* Confetti Animation */
.confetti-container {
  position: absolute;
  top: 20%;
  left: 15%;
  width: 70%;
  height: 70%;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0;
  animation: confettiFall 3s ease-out forwards;
  border-radius: 2px;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(-100px) rotate(0deg);
  }
  10% {
    opacity: 1;
    transform: translateY(-80px) rotate(36deg);
  }
  20% {
    opacity: 1;
    transform: translateY(-60px) rotate(72deg);
  }
  30% {
    opacity: 1;
    transform: translateY(-40px) rotate(108deg);
  }
  40% {
    opacity: 1;
    transform: translateY(-20px) rotate(144deg);
  }
  50% {
    opacity: 1;
    transform: translateY(0px) rotate(180deg);
  }
  60% {
    opacity: 0.8;
    transform: translateY(20px) rotate(216deg);
  }
  70% {
    opacity: 0.6;
    transform: translateY(40px) rotate(252deg);
  }
  80% {
    opacity: 0.4;
    transform: translateY(60px) rotate(288deg);
  }
  90% {
    opacity: 0.2;
    transform: translateY(80px) rotate(324deg);
  }
  100% {
    opacity: 0;
    transform: translateY(100px) rotate(360deg);
  }
}

footer {
  text-align: center;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .main-layout {
    flex-direction: column;
  }
  .left-column, .center-column, .right-column {
    min-width: auto;
    margin-left: 0;
  }
  
  .header-single-bar {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  
  .header-left {
    justify-content: center;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-single-bar {
    padding: 12px 16px;
  }
  
  .page-title {
    font-size: 16px;
    padding: 10px 20px;
  }
  
  .nav-menu a {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .fullscreen-btn {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .user-info {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Configuration Page Specific Styles */
.config-panel {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 600px;
}

.config-panel h2 {
  color: var(--accent);
  margin: 0 0 25px 0;
  text-align: center;
  font-size: 24px;
}

.config-section {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.config-section h3 {
  color: var(--accent);
  margin: 0 0 15px 0;
  font-size: 18px;
}

.config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
  gap: 15px;
}

.config-row label {
  color: #fff;
  font-weight: 500;
  min-width: 250px;
}

.config-row input[type="number"] {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #666;
  background: #333;
  color: #fff;
  width: 100px;
  text-align: center;
  font-size: 16px;
}

.config-row input[type="range"] {
  flex: 1;
  max-width: 300px;
  height: 8px;
  background: #333;
  border-radius: 4px;
  outline: none;
}

.config-row input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}

.config-row input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.config-row span {
  color: var(--accent);
  font-weight: 700;
  min-width: 40px;
  text-align: center;
  font-size: 18px;
}

.config-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 5px;
  font-style: italic;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.current-settings {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.current-settings h3 {
  color: var(--accent);
  margin: 0 0 15px 0;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-label {
  color: rgba(255, 255, 255, 0.8);
}

.setting-value {
  color: var(--accent);
  font-weight: 700;
}

/* Messages */
.success-message {
  background: linear-gradient(#4caf50, #45a049);
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
  font-weight: 500;
}

.error-message {
  background: linear-gradient(#f44336, #d32f2f);
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
  font-weight: 500;
}

/* Configuration page responsive design */
@media (max-width: 768px) {
  .config-panel {
    padding: 20px;
    margin: 10px;
  }
  
  .config-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .config-row label {
    min-width: auto;
  }
}

@media (max-width: 700px) {
  .wheel-wrap {
    width: 380px;
    height: 380px;
  }
  .bottom-number-selection {
    margin: 20px auto;
    padding: 15px;
  }
  .bottom-number-selection h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .number-line {
    gap: 10px;
  }
  .number-cell {
    width: 60px;
    height: 60px;
    font-size: 24px;
    border-radius: 50%;
  }
  .winning-number {
    font-size: 36px;
  }
}
