@import url("https://fonts.googleapis.com/css?family=Press+Start+2P");

canvas:not(#wheel-canvas) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

:root {
  --primary-color: #ff5252;
  --secondary-color: #34495e;
  --accent-color: #9b59b6;
  --gold-color: #f1c40f;
  --bg-blur: rgba(15, 15, 25, 0.7);
  --border-glass: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.6);
}

body {
  margin: 0;
  padding: 0;
  font-family: "Press Start 2P", cursive;
  font-size: 14px;
  color: white;
  background-color: #111;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

/* Button styles */
.btn {
  font-family: "Press Start 2P", inherit;
  font-size: 11px;
  outline: none;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: 8px;
  text-transform: uppercase;
  color: white;
  transition: all 0.2s ease;
  box-shadow: 0 4px 0px 0px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 0px 0px 0px rgba(0, 0, 0, 0);
}

.btn-primary {
  background: linear-gradient(135deg, #ff5252, #e74c3c);
  border-color: #ff7675;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff7675, #ff5252);
  box-shadow: 0 4px 15px rgba(255, 82, 82, 0.4), 0 4px 0px 0px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, #535c68, #30336b);
  border-color: #778ca3;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #778ca3, #535c68);
  box-shadow: 0 4px 15px rgba(119, 140, 163, 0.4), 0 4px 0px 0px rgba(0, 0, 0, 0.5);
}

.btn-accent {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  border-color: #a55eea;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #a55eea, #9b59b6);
  box-shadow: 0 4px 15px rgba(165, 94, 234, 0.4), 0 4px 0px 0px rgba(0, 0, 0, 0.5);
}

.btn.disabled,
.btn-skin-action.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Credits Button */
.btn-credits {
  background: linear-gradient(135deg, #1a6b4a, #0e4f35);
  border-color: #2ecc71;
  color: #2ecc71;
}

.btn-credits:hover {
  background: linear-gradient(135deg, #27ae60, #1a6b4a);
  color: #fff;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4), 0 4px 0px 0px rgba(0, 0, 0, 0.5);
}

/* ============================
   CREDITS MODAL
   ============================ */
.credits-modal-card {
  max-width: 500px;
  height: auto;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.credits-modal-body {
  overflow-y: auto;
  flex: 1;
  padding: 4px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.credits-modal-body::-webkit-scrollbar {
  width: 6px;
}

.credits-modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.credits-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

/* Developer Section */
.credits-dev-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0 20px;
}

.credits-dev-photo-wrapper {
  flex-shrink: 0;
}

.credits-dev-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2ecc71;
  box-shadow: 0 0 16px rgba(46, 204, 113, 0.4);
  image-rendering: pixelated;
}

.credits-dev-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.credits-dev-name {
  font-family: "Press Start 2P", cursive;
  font-size: 10px;
  color: #fff;
  margin: 0;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

.credits-dev-email {
  font-family: "Press Start 2P", cursive;
  font-size: 7px;
  color: #2ecc71;
  margin: 0;
  word-break: break-all;
}

.credits-dev-course {
  font-family: "Press Start 2P", cursive;
  font-size: 7px;
  color: #bdc3c7;
  margin: 0;
  line-height: 1.8;
}

.credits-dev-lecturer {
  font-family: "Press Start 2P", cursive;
  font-size: 7px;
  color: #e74c3c;
  margin-top: 12px;
  line-height: 1.6;
}

/* Divider */
.credits-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
  border-radius: 1px;
}

/* Audio Section */
.credits-audio-section {
  padding: 16px 0;
}

.credits-section-label {
  font-family: "Press Start 2P", cursive;
  font-size: 9px;
  color: var(--gold-color);
  letter-spacing: 2px;
  margin: 0 0 12px 0;
  text-shadow: 0 0 8px rgba(241, 196, 15, 0.4);
}

.credits-audio-block {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.credits-audio-block p {
  font-family: "Press Start 2P", cursive;
  font-size: 6.5px;
  color: #bdc3c7;
  margin: 0;
  line-height: 1.7;
  word-break: break-all;
}

/* Built With Section */
.credits-built-section {
  padding: 16px 0 4px;
  text-align: center;
}

.credits-tech {
  font-family: "Press Start 2P", cursive;
  font-size: 8px;
  color: #7f8c8d;
  margin: 0;
  letter-spacing: 1px;
}

/* Left Side Action Buttons Container */
#left-actions-container {
  position: absolute;
  top: 130px;
  left: 20px;
  z-index: 100;
  display: flex;
  gap: 12px;
  pointer-events: auto;
}

/* Sound Toggle Button */
#sound-toggle {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
}

#sound-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

/* HUD elements */
#hud {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 50;
  display: none;
  /* Shown only when playing */
}

body.playing #hud {
  display: flex;
}

.hud-panel {
  background: var(--bg-blur);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  pointer-events: auto;
}

.hud-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#counter {
  font-size: 2em;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hud-highscore {
  font-size: 0.8em;
  color: #bdc3c7;
}

.hud-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-hearts {
  font-size: 1.2em;
  color: #ff3344;
  text-shadow: 0 0 8px rgba(255, 51, 68, 0.5);
  margin-right: 15px;
  letter-spacing: 2px;
}

.hud-coins {
  font-size: 1.2em;
  color: var(--gold-color);
  text-shadow: 0 0 8px rgba(241, 196, 15, 0.4);
}

/* Overlay & Menus */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 18, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hidden {
  display: none !important;
}

.menu-card {
  background: var(--bg-blur);
  border: 2px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px;
  width: 90%;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.05);
  animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

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

.menu-title {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 82, 82, 0.6), 0 0 20px rgba(255, 82, 82, 0.3);
}

.menu-title .subtitle {
  font-size: 14px;
  color: var(--gold-color);
  letter-spacing: 4px;
  text-shadow: 0 0 8px rgba(241, 196, 15, 0.6);
}

.stats-panel {
  display: flex;
  justify-content: space-around;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 30px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.credits {
  font-size: 8px;
  color: #7f8c8d;
  margin-top: 35px;
}

/* Modals */
.modal-card {
  background: var(--bg-blur);
  border: 2px solid var(--border-glass);
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 760px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 16px;
  margin: 0;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.coins-display {
  font-size: 14px;
  color: var(--gold-color);
}

/* Shop grid styling */
.shop-grid {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding-right: 10px;
  margin-bottom: 20px;
}

/* Custom Scrollbar for Shop */
.shop-grid::-webkit-scrollbar {
  width: 8px;
}

.shop-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.shop-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.shop-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Skin Card styling */
.skin-card {
  background: rgba(20, 20, 30, 0.5);
  border: 2px solid #555;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
}

.skin-card:hover {
  transform: translateY(-5px);
  background: rgba(25, 25, 40, 0.7);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.skin-card.selected {
  border-color: #2ecc71 !important;
  background: rgba(46, 204, 113, 0.1);
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.skin-badge {
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.skin-badge.common {
  background: #95a5a6;
  color: #fff;
}

.skin-badge.rare {
  background: #2980b9;
  color: #fff;
}

.skin-badge.epic {
  background: #8e44ad;
  color: #fff;
}

.skin-badge.legendary {
  background: #e67e22;
  color: #fff;
}

.skin-badge.special {
  background: linear-gradient(90deg, #ff007f, #7f00ff, #00ffff);
  color: #fff;
  animation: rainbow-bg 3s infinite linear;
}

@keyframes rainbow-bg {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.skin-card.common {
  border-color: #95a5a6;
}

.skin-card.rare {
  border-color: #3498db;
}

.skin-card.epic {
  border-color: #9b59b6;
}

.skin-card.legendary {
  border-color: #f1c40f;
}

.skin-card.special {
  border-color: #00ffff;
}

.skin-preview-container {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.skin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.skin-avatar-inner {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.skin-name {
  font-size: 11px;
  margin: 0 0 6px 0;
  color: #fff;
}

.skin-desc {
  font-size: 8px;
  color: #bdc3c7;
  margin: 0 0 15px 0;
  line-height: 1.4;
  height: 24px;
  overflow: hidden;
}

.skin-action-container {
  width: 100%;
  margin-top: auto;
}

.btn-skin-action {
  font-family: inherit;
  font-size: 8px;
  width: 100%;
  padding: 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.btn-skin-action.buy {
  background: #27ae60;
  border-color: #2ecc71;
}

.btn-skin-action.buy:hover {
  background: #2ecc71;
}

.btn-skin-action.select {
  background: #34495e;
}

.btn-skin-action.select:hover {
  background: #7f8c8d;
}

.btn-skin-action.selected {
  background: rgba(46, 204, 113, 0.2);
  border-color: #2ecc71;
  color: #2ecc71;
  cursor: default;
}

.btn-skin-action.locked {
  background: #7f8c8d;
  color: #2c3e50;
  cursor: not-allowed;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

/* Gacha Modal */
.gacha-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
  gap: 30px;
}

@media(max-width: 650px) {
  .gacha-content {
    flex-direction: column;
    overflow-y: auto;
  }
}

.wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
}

#wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(255, 255, 255, 0.05);
  transition: transform 3.5s cubic-bezier(0.15, 0.85, 0.35, 1);
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  color: #ff3838;
  z-index: 10;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  animation: pointerWobble 0.5s ease infinite alternate;
}

@keyframes pointerWobble {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  100% {
    transform: translateX(-50%) translateY(4px);
  }
}

.gacha-info {
  max-width: 320px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gacha-info p {
  line-height: 1.6;
  font-size: 10px;
}

.gacha-odds-tip {
  color: #7f8c8d;
  font-size: 8px !important;
}

/* Win Popup in Gacha */
.win-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.win-card {
  text-align: center;
  padding: 30px;
  background: rgba(20, 20, 30, 0.95);
  border: 3px solid var(--gold-color);
  border-radius: 12px;
  max-width: 350px;
  box-shadow: 0 0 30px var(--gold-color);
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

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

.win-card h3 {
  color: var(--gold-color);
  margin-top: 0;
  font-size: 20px;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
  }

  100% {
    transform: scale(1.05);
    text-shadow: 0 0 25px rgba(241, 196, 15, 1);
  }
}

.win-skin-name {
  font-size: 16px;
  margin: 15px 0;
  color: #fff;
}

.win-skin-rarity {
  display: inline-block;
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.win-skin-desc {
  font-size: 10px;
  color: #bdc3c7;
  line-height: 1.5;
  margin-bottom: 25px;
}

/* Floating Particles and Confetti */
.confetti {
  position: fixed;
  z-index: 999;
  pointer-events: none;
}

.floating-text {
  position: absolute;
  transform: translate(-50%, -100%);
  color: var(--gold-color);
  font-weight: bold;
  font-size: 14px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 1000;
  animation: floatUp 1.0s cubic-bezier(0.25, 1, 0.50, 1) forwards;
}

@keyframes floatUp {
  0% {
    transform: translate(-50%, -100%) translateY(0) scale(0.8);
    opacity: 0;
  }

  15% {
    transform: translate(-50%, -100%) translateY(-10px) scale(1.2);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -100%) translateY(-60px) scale(1);
    opacity: 0;
  }
}

/* Controls style modifications for play mode */
#controlls {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

#controlls div {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 50px 50px 50px;
  grid-template-rows: auto auto;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(4px);
}

#controlls button {
  width: 100%;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid lightgray;
  border-radius: 6px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}

#controlls button:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

#controlls button:first-of-type {
  grid-column: 1/-1;
}

/* Game over adaptations */
.game-over-card {
  border-color: var(--primary-color);
  box-shadow: 0 20px 50px rgba(231, 76, 60, 0.4);
}

.game-over-title {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(231, 76, 60, 0.6);
  margin-top: 0;
}

.game-over-stats {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.game-over-stats p {
  margin: 10px 0;
  font-size: 12px;
}

/* Pause Button Styles */
#pause-button {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
}

body.playing #pause-button {
  display: flex;
}

body.paused #pause-button {
  display: none !important;
}

#pause-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

/* Pause Sidebar & Overlay Styles */
#pause-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 18, 0.6);
  backdrop-filter: blur(8px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#pause-overlay.active {
  opacity: 1;
  visibility: visible;
}

#pause-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: var(--bg-blur);
  backdrop-filter: blur(12px);
  border-left: 2px solid var(--border-glass);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 45px 30px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#pause-sidebar.active {
  transform: translateX(0);
}

.pause-title {
  font-size: 20px;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.5;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.pause-title span {
  font-size: 11px;
  color: var(--gold-color);
  letter-spacing: 2px;
  display: block;
  margin-top: 8px;
  text-shadow: 0 0 8px rgba(241, 196, 15, 0.5);
}

.pause-stats {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 40px;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pause-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pause-stat-val {
  color: var(--gold-color);
  font-weight: bold;
}

.pause-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: auto;
  margin-bottom: 20px;
}

/* Level Grid Styling */
.btn-level-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-level-item:hover {
  background: #3498db;
  border-color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3);
}

.btn-level-item.active {
  background: #3498db;
  border-color: #3498db;
}

/* Settings Active Button Styling */
.btn.active-setting {
  background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
  border-color: #2ecc71 !important;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4), 0 4px 0px 0px rgba(0, 0, 0, 0.5) !important;
}