/* Modern Web CSS - Flappy Burgers & Bottles Design System */

:root {
  --color-bg-dark: #09090b;
  --color-bg-panel: rgba(20, 20, 25, 0.8);
  --color-accent-orange: #ff5100;
  --color-accent-gold: #ffb700;
  --color-accent-gold-rgb: 255, 183, 0;
  --color-text-light: #f4f4f5;
  --color-text-muted: #a1a1aa;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --glow-orange: 0 0 15px rgba(255, 81, 0, 0.6);
  --glow-gold: 0 0 15px rgba(255, 183, 0, 0.6);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Reset and Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #040405;
  background-image: radial-gradient(circle at center, #181512 0%, #040405 100%);
  color: var(--color-text-light);
  font-family: var(--font-body);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Desktop Smartphone Device Wrapper */
.phone-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 440px;
  max-height: 880px;
  background-color: var(--color-bg-dark);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 80px rgba(255, 81, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 480px) {
  .phone-wrapper {
    border-radius: 40px;
    border: 12px solid #202024;
    height: 92vh;
  }
  
  /* Smartphone Camera Notch Mock */
  .phone-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background-color: #202024;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 100;
    pointer-events: none;
  }
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Canvas styling */
#game-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

/* Overlays Container (General) */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: radial-gradient(circle at center, rgba(14, 14, 18, 0.85) 0%, rgba(9, 9, 11, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 24px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(1.05);
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Header Text styling */
.brand-header {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: 1px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-burgers {
  background: linear-gradient(135deg, #ff7b00 0%, #ff3c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 15px rgba(255, 60, 0, 0.25);
}

.logo-amp {
  font-size: 1.6rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin: 2px 0;
}

.logo-bottles {
  background: linear-gradient(135deg, #ffe066 0%, #ffb700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 15px rgba(255, 183, 0, 0.25);
}

.tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* Promo Ticket Widget */
.promo-widget {
  width: 100%;
  background: var(--color-bg-panel);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  margin: 15px 0;
  transition: transform 0.3s ease;
}

.promo-widget:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 183, 0, 0.2);
}

.promo-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.promo-details {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Live Countdown Timers */
.countdown-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.countdown-segment {
  background: rgba(10, 10, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-num {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  line-height: 1;
}

.countdown-label {
  font-size: 0.6rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Character Selection Grid */
.character-selection-section {
  width: 100%;
  margin-bottom: 15px;
}

.character-selection-section h3 {
  text-align: center;
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.character-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.char-card {
  background: rgba(18, 18, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.char-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.char-card.active {
  background: rgba(255, 183, 0, 0.05);
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 15px rgba(255, 183, 0, 0.15), inset 0 0 0 1px var(--color-accent-gold);
  transform: translateY(-2px);
}

.char-preview {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  position: relative;
  transition: transform 0.2s ease;
}

.char-card:active .char-preview {
  transform: scale(0.9);
}

/* Draw Character Previews with CSS Vector Graphic Styling */
.burger-preview {
  background: radial-gradient(circle at 50% 30%, #ffb700 0%, #ff8000 100%);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(255, 128, 0, 0.3);
}
.burger-preview::before {
  content: '';
  position: absolute;
  top: 40%;
  left: -5%;
  width: 110%;
  height: 25%;
  background: linear-gradient(to bottom, #00cc66, #00994d);
  border-radius: 4px;
}
.burger-preview::after {
  content: '';
  position: absolute;
  top: 55%;
  left: -2%;
  width: 104%;
  height: 35%;
  background: linear-gradient(to bottom, #d4a373, #a98467);
  border-radius: 0 0 20px 20px;
}

.bottle-preview {
  width: 20px;
  height: 48px;
  background: linear-gradient(to right, #2a5a3a, #1b3d26);
  border-radius: 4px 4px 6px 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.bottle-preview::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: linear-gradient(to right, #d4af37, #aa8c2c);
  border-radius: 2px 2px 0 0;
}
.bottle-preview::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #ffd700, #b8860b);
  border-radius: 2px;
}

.char-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.char-special {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Button styles */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--color-accent-orange) 0%, #d42a00 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 16px 20px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: var(--glow-orange);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  margin-bottom: 12px;
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 0 5px rgba(255, 81, 0, 0.3);
}

.btn-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 20px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.btn-secondary:active {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ticket {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, #d49500 100%);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 8px 18px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 183, 0, 0.3);
  transition: all 0.2s ease;
}

.btn-ticket:active {
  transform: scale(0.96);
}

.glow-pulse-button {
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 4px 10px rgba(var(--color-accent-gold-rgb), 0.3), 0 0 0 0px rgba(var(--color-accent-gold-rgb), 0.4);
  }
  100% {
    box-shadow: 0 4px 15px rgba(var(--color-accent-gold-rgb), 0.5), 0 0 0 8px rgba(var(--color-accent-gold-rgb), 0);
  }
}

.game-instruction {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 10px;
}

/* Pre-game Ready Overlay */
#ready-overlay {
  background: rgba(9, 9, 11, 0.7);
  justify-content: center;
}

.ready-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ready-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: var(--glow-orange);
}

.ready-countdown {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 6rem;
  color: var(--color-accent-gold);
  line-height: 1;
  text-shadow: var(--glow-gold);
  margin-bottom: 30px;
  animation: scaleTick 1s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleTick {
  0% { transform: scale(0.6); opacity: 0; }
  20% { transform: scale(1.1); opacity: 1; }
  80% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0; }
}

.tap-hint-animation {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.finger-tap {
  animation: tapMotion 1s infinite ease-in-out;
}

@keyframes tapMotion {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(0.95); }
}

.ripple {
  animation: rippleOut 1s infinite linear;
}
.ripple2 {
  animation: rippleOut 1s infinite linear 0.4s;
}

@keyframes rippleOut {
  0% { r: 5px; opacity: 1; }
  100% { r: 25px; opacity: 0; }
}

.ready-instruction {
  font-size: 0.9rem;
  color: var(--color-text-light);
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Game-Over Overlay styling */
#game-over-screen {
  justify-content: center;
}

.game-over-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 2.8rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ff4500 0%, #ff0055 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.stats-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 20px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.stat-row:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.8rem;
  color: #fff;
}

.promo-widget.mini {
  padding: 16px;
  margin-bottom: 24px;
}

.promo-widget.mini h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-accent-gold);
  margin-bottom: 4px;
}

.promo-widget.mini p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.btn-ticket.mini {
  padding: 6px 14px;
  font-size: 0.7rem;
}

.game-over-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* HUD Overlay during gameplay */
.hud-container {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hud-container.active {
  opacity: 1;
}

.hud-left {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

#live-score {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.hud-target {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.progress-bar-container {
  position: absolute;
  top: 48px;
  left: 24px;
  width: calc(100% - 48px);
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--color-accent-orange), var(--color-accent-gold));
  box-shadow: 0 0 8px rgba(var(--color-accent-gold-rgb), 0.5);
  border-radius: 4px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.difficulty-tag {
  background: rgba(0, 204, 102, 0.2);
  border: 1px solid #00cc66;
  color: #00cc66;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Scrollbar customization for start menu overlay scrolling */
.overlay::-webkit-scrollbar {
  width: 4px;
}
.overlay::-webkit-scrollbar-track {
  background: transparent;
}
.overlay::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

/* Brand logo & Stukes Company App Credit */
.brand-logo {
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
  margin: 0 auto 6px;
  display: block;
}

.credit-text {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  text-align: center;
  font-family: var(--font-body);
}

.stukes-link {
  color: var(--color-accent-gold);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(255, 183, 0, 0.4);
  transition: all 0.2s ease;
}

.stukes-link:hover {
  color: var(--color-accent-orange);
  border-bottom-color: var(--color-accent-orange);
}

/* Victory Overlay styling */
.victory-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 2.8rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(255, 183, 0, 0.35);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.victory-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 20px;
}

.code-panel {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 183, 0, 0.08) 0%, rgba(255, 81, 0, 0.08) 100%);
  border: 2px dashed var(--color-accent-gold);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(255, 183, 0, 0.1);
}

.code-label {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 6px;
}

.code-value {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--color-accent-gold);
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(255, 183, 0, 0.4);
}

.promo-widget.win {
  border-color: rgba(255, 183, 0, 0.4);
}

/* Challenge Banner styling */
.challenge-banner {
  width: 100%;
  background: rgba(var(--color-accent-gold-rgb), 0.08);
  border: 1.5px solid rgba(var(--color-accent-gold-rgb), 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: challengePulse 2s infinite alternate;
}

@keyframes challengePulse {
  0% {
    border-color: rgba(var(--color-accent-gold-rgb), 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 4px rgba(var(--color-accent-gold-rgb), 0.1);
  }
  100% {
    border-color: rgba(var(--color-accent-gold-rgb), 0.85);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(var(--color-accent-gold-rgb), 0.25);
  }
}

.banner-badge {
  background: var(--color-accent-gold);
  color: #000;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 0.65rem;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.banner-text {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.2px;
}

/* Winner Registration Form & Input Elements */
.claim-form {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.claim-form h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 4px;
}

.form-help {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.3;
}

.form-group {
  margin-bottom: 10px;
}

.form-group input {
  width: 100%;
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-group input::placeholder {
  color: #55555d;
}

.form-group input:focus {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 10px rgba(var(--color-accent-gold-rgb), 0.25);
  background: rgba(14, 14, 18, 0.95);
}

#btn-submit-winner {
  margin-top: 6px;
  padding: 12px 20px;
  font-size: 0.95rem;
}

.success-message {
  width: 100%;
  background: rgba(0, 204, 102, 0.06);
  border: 1px solid rgba(0, 204, 102, 0.4);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 204, 102, 0.08);
}

.success-message p {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.hidden {
  display: none !important;
}

/* Instagram Profile Links styled gold with hover effects */
.insta-tag {
  color: var(--color-accent-gold);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  border-bottom: 1px dashed rgba(255, 183, 0, 0.4);
  padding: 0 2px;
}

.insta-tag:hover, .insta-tag:focus {
  color: #fff;
  border-bottom-color: #fff;
  text-shadow: 0 0 8px rgba(255, 183, 0, 0.6);
  background: rgba(255, 183, 0, 0.1);
  border-radius: 4px;
}

/* Closed Challenge Banner - styled crimson/dark orange with a custom keyframe pulse animation */
.challenge-banner.closed {
  background: rgba(220, 38, 38, 0.08);
  border: 1.5px solid rgba(220, 38, 38, 0.4);
  animation: challengeClosedPulse 2s infinite alternate;
}

@keyframes challengeClosedPulse {
  0% {
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 4px rgba(220, 38, 38, 0.1);
  }
  100% {
    border-color: rgba(220, 38, 38, 0.85);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(220, 38, 38, 0.25);
  }
}

/* Closed Banner Badge - styled gradient red/crimson */
.banner-badge.closed {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

/* Closed Win Widget on Victory Screen */
.promo-widget.win.closed {
  background: rgba(220, 38, 38, 0.05);
  border: 1.5px solid rgba(220, 38, 38, 0.3);
  border-radius: 12px;
  padding: 12px;
  margin-top: 15px;
  box-shadow: inset 0 0 10px rgba(220, 38, 38, 0.05);
}

.promo-widget.win.closed h3 {
  color: #ef4444;
  margin-bottom: 6px;
  font-family: var(--font-title);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
}

