@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes progress {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  height: 100vh;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Good, prevents horizontal scrolling */
  overscroll-behavior: none;
  -webkit-overflow-scrolling: auto;
  touch-action: pan-y;
}

#game {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--background);
  min-height: 100vh;
  position: relative;
  padding-bottom: 70px;
  padding-top: 70px; /* Add padding to account for fixed header height */
  overflow-x: hidden; /* Keep this to prevent horizontal scrolling */
  overflow-y: auto; /* Allow vertical scrolling */
}

.section {
  padding: 14px;
  display: none;
}

.section.active {
  display: block;
}

.card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--card);
  padding: 12px 16px; /* Etwas mehr Padding für kleinere Bildschirme */
  border-bottom: 1px solid var(--border);
  z-index: 100;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  overflow: visible; /* Ändern von hidden zu visible, um Abschneiden zu testen */
}

/* Stats-Container flexibler machen */
.stats-container {
  display: flex;
  gap: 12px; /* Reduzierter Gap für mehr Platz */
  flex-wrap: nowrap; /* Beibehalten, aber mit Skalierung kombinieren */
  flex-shrink: 1;
  align-items: center;
  overflow: hidden; /* Sicherstellen, dass Überlauf kontrolliert wird */
}

/* Stat-Elemente anpassen */
.stat {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0; /* Verhindert, dass Elemente zu breit werden */
}

/* Stat-Value Schriftgröße flexibler machen */
.stat-value {
  font-weight: 600;
  font-size: 0.8rem; /* Standardwert */
  transition: font-size 0.2s ease; /* Sanfte Schriftgrößenübergänge */
}

/* Game-Title flexibler machen */
.game-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0; /* Verhindert zu starkes Schrumpfen */
  transition: font-size 0.2s ease;
}

/* Compact-Regeln vereinfachen und dynamischer machen */
.header.compact-header .game-title {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.header.compact-header .stat-value {
  font-size: clamp(0.55rem, 1.8vw, 0.65rem);
}
.steak-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.info-text {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.divider {
  height: 1px;
  background-color: var(--border);
  margin: 16px 0;
}

.flex-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.justify-between {
  justify-content: space-between;
}

.mt-4 {
  margin-top: 16px;
}

.mb-4 {
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .header {
    padding: 10px 12px;
  }

  .game-title {
    font-size: 1.2rem;
  }

  .stats-container {
    gap: 8px;
  }

  .stat-value {
    font-size: 0.6rem;
  }

  .header.compact-header .game-title {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
  }

  .header.compact-header .stat-value {
    font-size: clamp(0.5rem, 1.5vw, 0.6rem);
  }
}

.path-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}
.path-stage {
    display: flex;
    align-items: center;
    gap: 10px;
}
.path-stage button {
    padding: 5px 10px;
    cursor: pointer;
}
.path-stage.unlocked .countdown {
    color: green;
}
.path-stage.locked .countdown {
    color: red;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.6rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
}

.btn:focus,
.btn:focus-visible {
  outline: none;
  box-shadow: none;
  user-select: none;
}

.floating-menu {
  position: fixed;
  bottom: 85px;
  right: 20px;
  display: flex;
  flex-direction: column; /* <<< NICHT reversed! */
  align-items: center;
  z-index: 9999;
}

.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.menu-buttons.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: orange;
  color: white;
  font-size: 20px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none; /* ← versteckt den Button */
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #333;
  color: white;
  font-size: 28px;
  border: none;
  cursor: pointer;
}

.menu-btn:hover {
    background-color: var(--warning-dark);
    box-shadow: var(--shadow-hover);
    transform: scale(1.05);
}

.mystery-keys {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
/* Mystery Box Container */
.mystery-container {
  position: relative;
  width: 100%; /* Sicherstellen, dass der Container die volle Breite einnimmt */
  max-width: 300px; /* Begrenze die Breite für bessere Kontrolle */
  margin: 0 auto;
  aspect-ratio: 1; /* Quadratisches Seitenverhältnis */
  display: flex; /* Flexbox für Zentrierung */
  justify-content: center;
  align-items: center;
  overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

/* Würfel-Container */
#cube {
  position: relative;
  width: 160px; /* Explizite Größe statt Tailwind-Klassen */
  height: 160px;
  display: block; /* Sicherstellen, dass der Container sichtbar ist */
  animation: hover 1.5s ease-in-out infinite alternate;
  transition: all 300ms;
  animation-play-state: running;
  overflow: visible; /* Verhindern, dass Kinder abgeschnitten werden */
}

/* Würfelseiten */
.cube {
  position: absolute;
  width: 100%; /* 100% von #cube (160px) */
  height: 100%; /* 100% von #cube (160px) */
  top: 0;
  left: 0;
}

/* Hexagon (Glow-Effekt) */
.hexagon {
  z-index: -2;
  position: absolute;
  width: 160px;
  height: 92.38px;
  background-color: var(--glow);
  margin: 46.19px 0;
  filter: blur(20px);
  top: 50%; /* Zentrieren */
  left: 50%;
  transform: translate(-50%, -50%); /* Mittig positionieren */
}

.hexagon:before,
.hexagon:after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
}

.hexagon:before {
  bottom: 100%;
  border-bottom: 46.19px solid var(--glow);
}

.hexagon:after {
  top: 100%;
  width: 0;
  border-top: 46.19px solid var(--glow);
}

/* Würfelseiten */
.back {
  background-image: url("https://res.cloudinary.com/dbrwtwlwl/image/upload/v1580369339/cube/mysteryBoxBackground_2x_b2espr.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.top {
  background-image: url("https://res.cloudinary.com/dbrwtwlwl/image/upload/v1580369339/cube/mysteryBoxTopFlap_2x_f9cb8g.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.left {
  background-image: url("https://wolf-game-nine.vercel.app/images/links.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.right {
  background-image: url("https://wolf-game-nine.vercel.app/images/rechts.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Powerup */
.powerup {
  background-image: url("");
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  position: absolute;
  top: 48px;
  left: 48px;
  z-index: -5;
  height: 48px;
  width: 48px;
  transition: all 300ms;
}

/* FragmentBox Container (gleiche Stile wie MysteryBox) */
#fragment-box .mystery-container {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

/* Würfel-Container für FragmentBox */
#fragment-box #cube {
  position: relative;
  width: 160px;
  height: 160px;
  display: block;
  animation: hover 1.5s ease-in-out infinite alternate;
  transition: all 300ms;
  animation-play-state: running;
  overflow: visible;
}

/* Würfelseiten für FragmentBox */
#fragment-box .cube {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* Back-Seite (gleiche wie MysteryBox) */
#fragment-box .back {
  background-image: url("https://res.cloudinary.com/dbrwtwlwl/image/upload/v1580369339/cube/mysteryBoxBackground_2x_b2espr.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Neue Bilder für FragmentBox-Seiten */
#fragment-box .top {
  background-image: url("https://wolf-game-nine.vercel.app/images/foben.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

#fragment-box .left {
  background-image: url("https://wolf-game-nine.vercel.app/images/flinks.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

#fragment-box .right {
  background-image: url("https://wolf-game-nine.vercel.app/images/frechts.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Hexagon und Powerup bleiben gleich */
#fragment-box .hexagon {
  z-index: -2;
  position: absolute;
  width: 160px;
  height: 92.38px;
  background-color: var(--glow);
  margin: 46.19px 0;
  filter: blur(20px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#fragment-box .hexagon:before,
#fragment-box .hexagon:after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
}

#fragment-box .hexagon:before {
  bottom: 100%;
  border-bottom: 46.19px solid var(--glow);
}

#fragment-box .hexagon:after {
  top: 100%;
  width: 0;
  border-top: 46.19px solid var(--glow);
}

#fragment-box .powerup {
  background-image: url("");
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  position: absolute;
  top: 48px;
  left: 48px;
  z-index: -5;
  height: 48px;
  width: 48px;
  transition: all 300ms;
}

/* Animation nur vertikal */
@keyframes hover {
  from {
    transform: translateY(-0.5rem);
  }
  to {
    transform: translateY(0.5rem);
  }
}

/* Item-Name unter dem Würfel */
#box-name {
  color: #FFC314;
  margin-top: 1rem;
  font-weight: 600;
  text-align: center;
  font-size: 1.125rem;
}

.tooltip {
  position: absolute;
  background-color: var(--card);
  color: var(--text);
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  border: 1px solid var(--border);
}

.tooltip.visible {
  opacity: 1;
}


.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
  display: flex;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-success {
  background-color: var(--success);
  color: white;
}

.btn-success:hover {
  background-color: var(--success-dark);
}

.btn-warning {
  background-color: var(--warning);
  color: var(--text);
}

.btn-warning:hover {
  background-color: var(--warning-dark);
}

.btn-danger {
  background-color: var(--danger);
  color: white;
}

.btn-danger:hover {
  background-color: var(--danger-dark);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1.1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn-sm {
  padding: 4px 8px;
  font-size: 0.8rem;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.badge-secondary {
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
}

.badge-success {
  background-color: rgba(102, 187, 106, 0.2);
  color: var(--success-dark);
}

.badge-warning {
  background-color: rgba(255, 202, 40, 0.2);
  color: var(--warning-dark);
}

.sale-badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  color: white;
  background-color: #28a745;
  border-radius: 4px;
  margin-top: 4px;
}
.original-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 8px;
}
.sale-price {
  color: #28a745;
  font-weight: bold;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: var(--border);
  border-radius: 5px;
  overflow: hidden;
  margin: 8px 0;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--success);
  transition: width 0.5s ease-in-out;
}

.boost-timer {
  width: 100%;
  height: 10px;
  background-color: var(--border);
  border-radius: 5px;
  margin: 16px 0;
  overflow: hidden;
}

.boost-timer-fill {
  height: 100%;
  background-color: var(--warning);
  transition: width 0.5s ease-in-out;
}


.prize-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}
.prize-item {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Abstand zwischen Icon und Text */
  font-size: 15px;
  transition: transform 0.2s;
}
.prize-item:hover {
    transform: scale(1.02);
}


#navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--card);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}


.nav-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
  gap: 4px;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-button.active {
  color: var(--primary);
  background-color: rgba(255, 112, 67, 0.1);
}

.nav-button:hover {
  color: var(--primary);
}

.nav-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.nav-icon .notification {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  background-color: var(--danger);
  border-radius: 40%;
}

.nav-label {
  font-size: 8px;
  text-align: center;
  font-weight: 500;
}

.upgrade-item,
.quest-item {
  display: flex;
  flex-direction: column;
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.upgrade-item:hover,
.quest-item:hover {
  box-shadow: var(--shadow-hover);
}

.upgrade-header,
.quest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.upgrade-title,
.quest-title {
  font-weight: 600;
}

.upgrade-count {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.upgrade-description,
.quest-description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.upgrade-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.upgrade-cost {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.leaderboard-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.leaderboard-rank {
  font-weight: 600;
  width: 30px;
}

.leaderboard-user {
  flex: 1;
}

.leaderboard-score {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.tab {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.wallet-address {
  background-color: var(--background);
  padding: 12px;
  border-radius: var(--radius);
  font-family: monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.shop-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.shop-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--primary-dark);
}

.shop-item-details {
  flex: 1;
}

.shop-item-title {
  font-weight: 600;
}

.shop-item-description {
  font-size: 0.8rem;
  color: var(--text-light);
}

.shop-item-price {
  font-weight: 600;
  color: var(--primary);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
}

.empty-state-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.empty-state-text {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Add these styles at the end of the file */

/* Leaderboard current user highlight */
.leaderboard-item-current {
  background-color: rgba(255, 112, 67, 0.1);
  border-left: 3px solid var(--primary);
}

.wheel-leaderboard-item-current {
  background-color: rgba(255, 112, 67, 0.1);
  border-left: 3px solid var(--primary);
}

/* Loading state for leaderboard */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: var(--text-light);
}

/* Error state for leaderboard */
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: var(--danger);
}

#global-loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#raffle-details {
    padding: 1rem;
}

.raffle-prize-item {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.raffle-time-left {
    font-weight: bold;
    margin-top: 0.5rem;
}

.raffle-tickets {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

body.loading #game-ui,
body.loading .modal:not(#global-loading-overlay) {
  pointer-events: none; /* Verhindert Interaktionen */
  opacity: 0.6; /* Visuelles Ausgrauen */
}

/* Add this to your existing CSS file */
.loading-spinner {
  display: block;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Make sure the button maintains its size when showing loading state */
#claim-button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Improve wheel segment text visibility */
.wheel-segment-text {
  font-weight: bold;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
  font-size: 12px;
  white-space: nowrap;
}

/* Fix loading spinner alignment in buttons */
.btn .loading-spinner {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  order: 1; /* This puts the spinner before the text */
}

/* Use flexbox for button content alignment */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Add styling for completed quests */
.quest-completed {
  opacity: 0.7;
  border-left: 3px solid var(--success);
}

/* Add a bit more spacing between quests for better readability */
.quest-item {
  margin-bottom: 12px;
  transition: opacity 0.3s ease;
}

/* Make the progress bar more visible for completed quests */
.quest-completed .progress-bar-fill {
  background-color: var(--success);
}

/* Affiliate Styles */
.affiliate-link {
  background-color: var(--background);
  padding: 12px;
  border-radius: var(--radius);
  font-family: monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  word-break: break-all;
  font-size: 0.8rem;
}

.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.affiliate-stat {
  background-color: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.affiliate-stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.affiliate-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    width: 90%;
    max-width: 360px;
    box-shadow: var(--shadow-hover);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.modal-body {
    margin-bottom: 16px;
}

.modal-footer {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}


.commission-link {
    color: #F28C38;
    text-decoration: none;
    font-weight: bold;
}

.commission-link:hover {
    text-decoration: underline;
}

.modal-content h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.modal-content p {
    margin: 5px 0;
    font-size: 1em;
}

.modal-content ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0;
}

.modal-content li {
    margin: 5px 0;
}

.notification-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-hover);
  z-index: 1001;
  max-width: 300px;
  display: none;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.notification-message {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* TON Connect Modal Styles */
.ton-connect-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}

.modal-close-btn:hover {
    color: var(--primary);
}

.ton-connect-content {
  position: relative;
  background-color: #1e1e2d;
  color: white;
  border-radius: 20px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.ton-connect-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.ton-connect-subtitle {
  color: #aaa;
  margin-bottom: 24px;
}

.ton-connect-button {
  background-color: #0088cc;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.ton-connect-button:hover {
  background-color: #0077b3;
}

.ton-connect-wallets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.wallet-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  cursor: pointer;
  transition: transform 0.2s;
}

.wallet-option:hover {
  transform: scale(1.05);
}

.wallet-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin-bottom: 8px;
  background-color: #2a2a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wallet-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wallet-name {
  font-size: 0.8rem;
  color: #ddd;
  text-align: center;
}

.ton-connect-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  color: #aaa;
  font-size: 0.9rem;
}

.ton-connect-logo img {
  height: 24px;
  margin-right: 8px;
}

/* Payment Modal Styles */
.payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

.payment-modal-content {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: var(--shadow-hover);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.payment-method:hover {
  border-color: var(--primary);
  background-color: rgba(255, 112, 67, 0.05);
}

.payment-method.selected {
  border-color: var(--primary);
  background-color: rgba(255, 112, 67, 0.1);
}

.payment-method-icon {
  width: 32px;
  height: 32px;
}

.payment-method-details {
  flex: 1;
}

.payment-method-title {
  font-weight: 600;
}

.payment-method-description {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Wheel Result Modal */
.wheel-result-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

.wheel-result-content {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: var(--shadow-hover);
  text-align: center;
}

.wheel-result-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.wheel-result-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.wheel-result-description {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Loading Screen Styles */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--card);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#loading-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/background.png");
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* <== Hier die Deckkraft anpassen */
  z-index: -1;
  pointer-events: none;
}

.loading-logo {
  width: 120px;
  height: 120px;
  display: flex;              /* hinzufügen */
  align-items: center;        /* vertikal zentrieren */
  justify-content: center;    /* horizontal zentrieren */
  margin-bottom: 30px;
  animation: pulse 1.5s infinite ease-in-out;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--primary-light);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.loading-progress {
  width: 200px;
  height: 6px;
  background-color: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.loading-progress-bar {
  height: 100%;
  background-color: var(--primary);
  width: 0%;
  transition: width 0.3s ease;
  animation: progress 3s ease-in-out forwards;
}

.loading-tip {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
  max-width: 300px;
  margin-top: 20px;
}

/* Season Pass specific styles */
#season-pass-modal .modal-content {
    padding: 12px;
}

.season-pass-header {
    text-align: center;
    margin-bottom: 16px;
    color: var(--text);
}

.season-pass-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.season-pass-header p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 4px 0;
}

.season-pass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 8px;
}

.season-pass-grid::-webkit-scrollbar {
    display: none;
}

.season-pass-day {
    padding: 8px;
    border-radius: 8px;
    background: #2d3748;
    text-align: center;
    transition: transform 0.2s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.season-pass-day:hover {
    transform: scale(1.05);
}

.season-pass-day.claimed {
    background: #1a3c34;
}

.season-pass-day.claimable {
    background: #2f4f4f;
    border: 2px solid var(--success);
}

.season-pass-day.locked {
    opacity: 0.6;
}

.season-pass-day h4 {
    margin: 0 0 4px;
    font-size: 0.9rem;
    color: #fff;
}

.season-pass-day .reward {
    font-size: 0.8rem;
    color: #ccc;
    margin: 2px 0;
}

.season-pass-day .reward.free {
    color: var(--success);
}

.season-pass-day .reward.premium {
    color: #ffd700;
}

.season-pass-day .season-pass-claim-btn {
    margin-top: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    min-height: 32px;
    width: 100%;
    border-radius: var(--radius);
    touch-action: manipulation;
}

.season-pass-day .season-pass-claim-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.season-pass-day .season-pass-claim-btn .loading-spinner {
    width: 14px;
    height: 14px;
    border-width: 2px;
    margin-right: 6px;
}

.season-pass-actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* Buy Premium button in header */
.season-pass-header #buy-premium-pass {
    padding: 8px 16px;
    font-size: 0.95rem;
    min-height: 40px;
    width: 100%;
    max-width: none;
    white-space: nowrap;
    border-radius: var(--radius);
    touch-action: manipulation;
    display: inline-block;
    text-align: center;
}

.buy-premium-button {
  width: 100%;
  margin: 14px auto 0;
  display: block;
  padding: 8px 14px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-align: center;
}


.premium-active-text {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes progress {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

:root {
  --primary: #ff7043;
  --primary-dark: #e64a19;
  --primary-light: #ffab91;
  --secondary: #5c6bc0;
  --secondary-dark: #3949ab;
  --secondary-light: #9fa8da;
  --success: #66bb6a;
  --success-dark: #43a047;
  --danger: #ef5350;
  --danger-dark: #e53935;
  --warning: #ffca28;
  --warning-dark: #ffb300;
  --background: #f5f5f5;
  --card: #ffffff;
  --text: #263238;
  --text-light: #607d8b;
  --border: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* Spin the Wheel Styles - Updated for SVG-based wheel */
.wheel-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  will-change: transform;
}

.wheel svg {
  width: 100%;
  height: 100%;
  transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
  transform: rotate(0deg);
}

.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 50px;
  z-index: 10;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}

.wheel-pointer svg {
  width: 100%;
  height: 100%;
  fill: #333;
}

.wheel-spin-button {
  flex: 1;
  min-width: 0; /* wichtig für Flex-Layout */
  max-width: 220px;
  height: 50px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 4px 15px rgba(230, 74, 25, 0.4);
  transition: all 0.3s ease;
  white-space: nowrap; /* verhindert Umbrüche im Text */
  overflow: hidden;
  text-overflow: ellipsis;
}

.wheel-spin-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 74, 25, 0.5);
}

.wheel-spin-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.wheel-tickets {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.2rem;
}

/* Loading spinner for the spin button */
.wheel-spin-button .loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

/* Responsive scaling for game elements based on screen size */
@media screen and (max-width: 480px) {
  .wheel-container {
    width: 90%;
    max-width: 280px;
  }

  .wheel-spin-button {
    font-size: 0.9rem;
    height: 45px;
  }

  .wheel-tickets {
    font-size: 1rem;
  }

  .wheel-leaderboard-item {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        max-width: 320px;
        padding: 10px;
    }

    .season-pass-header h3 {
        font-size: 1rem;
    }

    .season-pass-header p {
        font-size: 0.8rem;
    }

    .season-pass-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 6px;
    }

    .season-pass-day {
        padding: 6px;
        min-height: 90px;
    }

    .season-pass-day h4 {
        font-size: 0.8rem;
    }

    .season-pass-day .reward {
        font-size: 0.7rem;
    }

    .season-pass-day .badge {
        font-size: 0.6rem;
    }

    #buy-premium-pass, #claim-season-reward {
        padding: 10px 20px;
        font-size: 0.9rem;
        max-width: 140px;
    }
}

@media (max-width: 360px) {
    .season-pass-grid {
        grid-template-columns: 1fr;
    }

    .season-pass-day {
        min-height: 80px;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .wheel-container {
    width: 90%;
    max-width: 300px;
  }
}

@media screen and (min-width: 769px) {
  .wheel-container {
    width: 90%;
    max-width: 320px;
  }
}

/* Improved wheel leaderboard styling */
.wheel-leaderboard-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.wheel-leaderboard-item:hover {
  background-color: rgba(255, 112, 67, 0.05);
}

.wheel-leaderboard-rank {
  font-weight: 600;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-leaderboard-rank-1 {
  color: gold;
  font-size: 1.2em;
}

.wheel-leaderboard-rank-2 {
  color: silver;
  font-size: 1.1em;
}

.wheel-leaderboard-rank-3 {
  color: #cd7f32; /* bronze */
  font-size: 1.05em;
}

.wheel-leaderboard-user {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 10px;
}

.wheel-leaderboard-tickets {
  font-weight: 600;
  color: var(--primary);
}

.wheel-leaderboard-tickets span {
  font-size: 1.1em;
}

/* Ensure the wheel container scales properly */
.wheel-container {
  position: relative;
  margin: 0 auto;
  aspect-ratio: 1;
}

/* Make sure all game elements scale based on viewport size */
html {
  font-size: calc(14px + 0.2vw);
}

/* Ensure the wheel pointer is properly positioned */
.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(30px + 1vw);
  height: calc(40px + 1vw);
  z-index: 10;
}

.banned-screen, .update-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--card);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.banned-content, .update-content {
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 400px;
  box-shadow: var(--shadow);
}

.banned-content h2 {
  color: var(--danger);
  margin-bottom: 20px;
}

.banned-content p {
  margin-bottom: 10px;
  color: var(--text);
}

#shop {
  padding: 16px;
}

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  backdrop-filter: blur(5px);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-size: 0.9rem;
  color: var(--text-light);
  white-space: nowrap;
}

.filter-group select {
  padding: 8px 12px;
  background-color: white;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 112, 67, 0.2);
}

.store-group h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* Neue Item-Struktur mit Icon links, Inhalt Mitte, Preis rechts */
.shop-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.shop-item:hover {
    background-color: rgba(255, 112, 67, 0.05);
}

.shop-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-dark);
    margin-right: 16px;
    flex-shrink: 0;
}

.shop-item-details {
    flex: 1;
}

.shop-item-title {
    font-weight: 600;
}

.shop-item-description {
    font-size: 0.8rem;
    color: var(--text-light);
}

.shop-item-price {
    font-weight: 600;
    color: var(--primary);
}

.purchase-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.purchase-item:hover {
    background-color: rgba(255, 112, 67, 0.05);
}

.purchase-id {
    font-family: monospace;
    color: var(--text-light);
}

.purchase-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.purchase-status.completed {
    background-color: rgba(102, 187, 106, 0.2);
    color: var(--success-dark);
}

.purchase-status.pending {
    background-color: rgba(255, 202, 40, 0.2);
    color: var(--warning-dark);
}

.purchase-status.failed {
    background-color: rgba(239, 83, 80, 0.2);
    color: var(--danger-dark);
}


/* Badge für spezielle Kategorien */
.shop-item-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 4px;
}

.shop-item-badge.boost {
  background-color: rgba(255, 112, 67, 0.1);
  color: var(--primary-dark);
}

.shop-item-badge.permanent {
  background-color: rgba(102, 187, 106, 0.1);
  color: var(--success-dark);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .shop-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .shop-item-icon {
        margin-bottom: 12px;
    }
    
    .shop-item-price {
        margin-top: 12px;
        margin-left: 0;
    }
}

.task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  background-color: var(--card);
  box-shadow: var(--shadow);
  transition: var(--transition);
  font-family: "Poppins", sans-serif;
  color: var(--text);
  margin-bottom: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.task:hover {
  box-shadow: var(--shadow-hover);
  background-color: rgba(255, 112, 67, 0.05); /* Match shop-item hover */
}

.task__reward {
  flex: 1; /* Nimmt so viel Platz wie möglich */
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 4px 0 0 0;
}

.task__button {
  flex-shrink: 0;
  white-space: nowrap;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  background-color: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  min-width: 0;
}

.task__button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.task__button_claim {
  background-color: var(--warning); /* Use warning color to match original orange tone */
  color: var(--text);
}

.task__button_claim:hover {
  background-color: var(--warning-dark);
}

.task__button_done {
  background-color: var(--success); /* Use success color to match original green */
  color: white;
}

.task__button_done:hover {
  background-color: var(--success-dark);
}

/* Responsive adjustments for task */
@media (max-width: 768px) {
  .task {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  .task__button,
  .task__button_claim,
  .task__button_done {
    margin-top: 8px;
    width: 100%; /* Full-width buttons on smaller screens */
    text-align: center;
  }
}

/* Ensure task elements scale properly */
@media (max-width: 480px) {
  .task {
    max-width: 100%;
    padding: 10px;
  }

  .task__reward {
    font-size: 0.8rem;
  }

  .task__button,
  .task__button_claim,
  .task__button_done {
    font-size: 0.7rem;
    padding: 6px 10px;
  }
}

.timeout-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.timeout-content {
  background: #1f2937;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  color: white;
}

.timeout-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.timeout-content p {
  font-size: 1rem;
  color: #d1d5db;
}