/* ============================================
   WOOCOMMERCE MYSTERY BOX GAME CSS - Premium Theme
   Updated for 3-second box opening phase
   AND square product image focus
   AND improved logo visibility
   ============================================ */

/* CSS Variables - Light/Dark Mode */
:root {
  /* Light Mode Default */
  --bg-primary: #0a0a0f;
  --bg-secondary: #141420;
  --bg-tertiary: #1e1e30;
  --text-primary: #f0f0ff;
  --text-secondary: #b8b8d0;
  --text-tertiary: #7878a0;
  --accent-primary: #e10a1f;
  --accent-secondary: #ff2a3f;
  --accent-success: #10c775;
  --accent-warning: #ffb347;
  --accent-gold: #ffd700;
  --border-light: #2a2a40;
  --border-medium: #3a3a50;
  --shadow-light: rgba(225, 10, 31, 0.1);
  --shadow-medium: rgba(225, 10, 31, 0.2);
  --shadow-heavy: rgba(225, 10, 31, 0.3);
  --card-bg: #141420;
  --overlay-dark: rgba(10,10,15,0.98);
  
  /* Mobile-First Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-xxl: 24px;
  
  /* Mobile Font Sizes */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-xxl: 26px;
  --font-size-xxxl: 32px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-round: 50%;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-bounce: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-linear: 3000ms linear; /* Updated to 3s */
}

.dark-mode {
  /* Dark Mode is already default in this theme */
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.mystery-box-popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  display: none;
  background: var(--bg-primary);
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  color: var(--text-primary);
  transition: background-color 0.3s, color 0.3s;
}

.mystery-box-popup-container * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== BACKDROP ===== */
.backdrop-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
  backdrop-filter: blur(10px);
  z-index: 9998;
  opacity: 1;
  pointer-events: all;
}

/* ===== POPUP CONTAINERS ===== */
.game-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 480px;
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  z-index: 9999;
  overflow: hidden;
  display: none;
  max-height: 95vh;
  overflow-y: auto;
  border: 1px solid var(--border-light);
}

.game-popup.active {
  display: block;
  animation: popupAppear 0.5s var(--transition-bounce);
}

/* ===== STEP INDICATOR ===== */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 25px 0;
  padding: 0 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-normal);
}

.step.active .step-circle {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: white;
}

.step.completed .step-circle {
  border-color: var(--accent-success);
  background: var(--accent-success);
  color: white;
}

.step-label {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step.active .step-label {
  color: var(--text-primary);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  display: none;
  flex-direction: column;
  animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-section.active {
  display: flex;
}

/* ===== HEADER ===== */
.promo-header {
  background: var(--bg-primary);
  padding: 30px 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
}

.brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
}

/* LOGO FIX: Removed all filters that were making it white box */
.brand-logo {
  height: 45px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  /* REMOVED: filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); */
  /* Logo is already white, just add drop shadow for visibility on dark background */
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
  transition: all 0.3s;
  margin-top: 10px;
  /* Removed background that was creating white box */
  /* background: var(--bg-secondary); */
  border-radius: var(--radius-md);
  /* Removed border that was causing visibility issues */
  /* border: 1px solid var(--border-light); */
}

.brand-logo:hover {
  filter: drop-shadow(0 6px 12px rgba(255, 255, 255, 0.3));
  transform: translateY(-2px);
}

.brand-tag {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px var(--shadow-medium);
  margin-top: 5px;
}

/* ===== CLOSE BUTTON ===== */
.popup-close {
  position: absolute;
  left: 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  transition: all 0.2s;
}

.popup-close:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: rotate(90deg);
}

/* ===== STEP 1: GAME SECTION ===== */
.game-headline {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  padding: 0 20px;
}

.game-subheadline {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 16px;
  padding: 0 20px;
}

.instruction-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  margin: 0 20px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}

.compliance-notice {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0 20px 30px;
  text-align: center;
  padding: 0 10px;
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 20px 30px;
}

.game-box {
  aspect-ratio: 1;
  background: var(--bg-secondary);
  border: 2px solid var(--border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  user-select: none;
  min-height: 80px;
}

.game-box:hover:not(.revealed):not(.selecting) {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.game-box.selecting {
  animation: pulseSelect 0.4s ease;
}

@keyframes pulseSelect {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.95); }
}

.game-box.revealed {
  cursor: default;
  pointer-events: none;
}

.game-box.revealed.empty {
  border-color: var(--border-medium);
  background: var(--bg-tertiary);
}

.game-box.revealed.reward {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
  animation: rewardGlow 2s infinite alternate;
}

@keyframes rewardGlow {
  0% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.1); }
  100% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.2); }
}

.box-content {
  font-size: 24px;
  font-weight: 800;
  transition: var(--transition-normal);
}

.game-box:not(.revealed) .box-content {
  color: var(--accent-primary);
  opacity: 1;
  animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.game-box.revealed.empty .box-content {
  color: var(--text-tertiary);
  font-size: 32px;
  opacity: 0.5;
  animation: none !important;
}

.game-box.reward .box-content {
  font-size: 20px;
  color: var(--accent-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: none !important;
}

.reward-text {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}

.selections-counter {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  margin: 0 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selections-label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.selections-number {
  font-weight: 700;
  font-size: 24px;
  color: var(--accent-primary);
}

/* ===== STEP 2: CLAIM SECTION - PRODUCT IMAGE FIRST (SQUARE) ===== */
.step2-content {
  padding: 0 0 30px;
}

/* Product Section - FIRST AND SQUARE */
.product-section {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 0;
  margin: 0 20px 24px;
  overflow: hidden;
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SQUARE IMAGE CONTAINER */
.product-image-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Creates square aspect ratio (1:1) */
  background: var(--bg-secondary);
  overflow: hidden;
}

/* SQUARE IMAGE - Fills the container perfectly */
.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 40px;
  animation: imageReveal 0.8s ease-out;
}

@keyframes imageReveal {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  70% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Win Badge on Product Image */
.win-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-gold);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: badgePulse 2s infinite;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  z-index: 10;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.product-details {
  padding: 24px;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.4;
  text-align: center;
}

/* Celebration Header - NOW AFTER PRODUCT */
.celebration-header {
  text-align: center;
  margin: 0 20px 24px;
  animation: fadeIn 0.6s ease-out 0.3s both;
}

.celebration-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.celebration-title {
  color: var(--accent-gold);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.celebration-text {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Compliance Banner - AFTER CELEBRATION */
.compliance-banner {
  background: rgba(225, 10, 31, 0.05);
  border: 1px solid rgba(225, 10, 31, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin: 0 20px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  animation: fadeIn 0.6s ease-out 0.5s both;
}

.compliance-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
}

/* Price Display */
.price-display {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.price-comparison {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.original-price {
  color: var(--text-tertiary);
  font-size: 18px;
  text-decoration: line-through;
  font-weight: 600;
  position: relative;
}

.reward-price {
  color: var(--text-primary);
  font-size: 40px;
  font-weight: 800;
  position: relative;
}

.reward-price::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  border-radius: 2px;
}

.price-note {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
  font-weight: 600;
}

/* Shipping Info */
.shipping-info-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  animation: fadeIn 0.6s ease-out 0.4s both;
}

.shipping-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shipping-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shipping-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.shipping-icon {
  color: var(--accent-primary);
  font-size: 16px;
  min-width: 20px;
}

/* Timer Card */
.timer-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px;
  margin: 0 20px 24px;
  text-align: center;
  animation: fadeIn 0.6s ease-out 0.6s both;
}

.timer-label {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timer-display {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.timer-display.urgent {
  color: var(--accent-primary);
  animation: pulseUrgent 1s infinite;
}

@keyframes pulseUrgent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ===== CTA BUTTON ===== */
.cta-button {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border: none;
  border-radius: 14px;
  padding: 22px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  margin: 0 20px 20px;
  animation: fadeIn 0.6s ease-out 0.7s both;
}

.cta-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(225, 10, 31, 0.3);
}

.cta-button:active:not(:disabled) {
  transform: translateY(0);
}

.cta-button:disabled {
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::after:not(:disabled) {
  left: 100%;
}

.disclosure-text {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.5;
  margin: 0 20px 20px;
  animation: fadeIn 0.6s ease-out 0.8s both;
}

/* ===== BLACKOUT OPENING SPINNER WITH 3 SECOND PROGRESS BAR ===== */
.blackout-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.blackout-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.blackout-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

/* Progress Bar Container */
.progress-bar-container {
  width: 100%;
  background: var(--bg-tertiary);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin: 20px 0;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 3px;
  transition: width var(--transition-linear);
}

.blackout-text {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(225, 10, 31, 0.5);
}

.blackout-subtext {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
}

/* Box Reveal Animation - HIDDEN */
.box-reveal-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--bg-secondary);
  border: 3px solid var(--accent-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.box-reveal-content {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-primary);
}

/* ===== PROCESSING OVERLAY ===== */
.processing-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-dark);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.processing-content {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  border: 1px solid var(--accent-primary);
  animation: fadeIn 0.3s forwards;
}

.processing-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.processing-step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.processing-step.active {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.processing-step.completed {
  color: var(--accent-success);
  border-color: var(--accent-success);
}

.reassurance-note {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== PARTICLES ===== */
.particle {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  animation: particleFloat 1.5s ease-out forwards;
  border-radius: 50%;
}

@keyframes particleFloat {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

/* ===== FOOTER ===== */
.game-footer {
  padding: 20px 20px 30px;
  border-top: 1px solid var(--border-light);
  color: var(--text-tertiary);
  font-size: 12px;
  text-align: center;
  margin-top: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

/* ===== MOBILE STICKY CTA ===== */
@media (max-width: 768px) {
  .game-popup {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    height: 100vh;
  }
  
  /* Mobile-specific logo adjustments */
  .promo-header {
    padding: 25px 15px 15px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    z-index: 1000;
  }
  
  .brand-center {
    gap: 15px;
    padding: 10px 0;
  }
  
  /* MOBILE LOGO FIX */
  .brand-logo {
    height: 50px;
    max-width: 250px;
    margin-top: 15px;
    /* Removed padding that was creating white box */
    padding: 0;
    /* Updated filter for mobile */
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.9));
    /* Removed background and border */
    background: none;
    border: none;
  }
  
  .brand-logo:hover {
    filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.4));
  }
  
  .brand-tag {
    padding: 10px 24px;
    font-size: 15px;
    margin-top: 5px;
  }
  
  .step2-content {
    padding-bottom: 100px;
  }
  
  .product-image {
    padding: 30px;
  }
  
  .reward-price {
    font-size: 32px;
  }
  
  .game-box {
    min-height: 70px;
  }
  
  .blackout-text {
    font-size: 20px;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 480px) {
  .game-headline {
    font-size: 24px;
  }
  
  .game-subheadline {
    font-size: 14px;
  }
  
  /* Extra small screen adjustments */
  .promo-header {
    padding: 20px 10px 10px;
  }
  
  /* EXTRA SMALL SCREEN LOGO FIX */
  .brand-logo {
    height: 45px;
    max-width: 200px;
    margin-top: 10px;
    padding: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
    background: none;
    border-radius: 0;
  }
  
  .brand-tag {
    padding: 8px 20px;
    font-size: 13px;
  }
  
  .product-image {
    padding: 20px;
  }
  
  .reward-price {
    font-size: 28px;
  }
  
  .timer-display {
    font-size: 24px;
  }
  
  .game-box {
    min-height: 60px;
  }
  
  .blackout-text {
    font-size: 18px;
    letter-spacing: 2px;
  }
}

/* Landscape Mode - Optimize logo for landscape */
@media (orientation: landscape) and (max-height: 600px) {
  .game-popup {
    max-height: 100vh;
  }
  
  .promo-header {
    padding: 15px 20px 10px;
  }
  
  /* LANDSCAPE LOGO FIX */
  .brand-logo {
    height: 35px;
    margin-top: 5px;
    padding: 0;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
  }
  
  .brand-center {
    gap: 10px;
  }
  
  .brand-tag {
    padding: 6px 16px;
    font-size: 12px;
  }
  
  .product-image-container {
    padding-top: 70%;
  }
  
  .game-box {
    min-height: 50px;
  }
}

/* High-resolution mobile devices */
@media (min-width: 769px) and (max-width: 1024px) {
  /* TABLET LOGO FIX */
  .brand-logo {
    height: 55px;
    max-width: 280px;
    padding: 0;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.9));
  }
  
  .brand-tag {
    padding: 12px 28px;
    font-size: 16px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes popupAppear {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .progress-bar {
    transition-duration: 0.01ms !important;
  }
}