/* ===== FIGHT PREDICTION HERO STYLES - MULTI-FIGHT SUPPORT ===== */
/* Complete CSS with single-fight and multi-fight modes */

/* ============================================================
   UTILITY CLASSES (for JS state management - CSP compliant)
   ============================================================ */

.hidden {
  display: none !important;
}

body.overlay-open {
  overflow: hidden;
}

.fighter-photo.loading {
  opacity: 0;
}

.prediction-overlay.visible {
  display: flex !important;
}

/* ============================================================
   PREDICTION HERO LAYOUT
   ============================================================ */

.hero-prediction {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding: 0 var(--pad-x) clamp(20px, 4vw, 40px);
  background: transparent;
}

.hero-prediction .hero-bg {
  display: none;
}

.hero-prediction .hero-content {
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 0;
}

/* Prediction Container */
.prediction-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ============================================================
   PROMO SECTION - Full width above columns
   Chevrons + Subheadline text
   ============================================================ */

.prediction-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: 0;
  padding: 0 var(--pad-x);
}

/* Desktop promo - visible on desktop */
.prediction-promo--desktop {
  display: flex;
}

/* Mobile promo - hidden on desktop */
.prediction-promo--mobile {
  display: none;
}

.prediction-chevrons {
  width: clamp(36px, 4vw, 50px);
  height: auto;
  flex-shrink: 0;
}

.prediction-promo-text {
  font-family: var(--font-akrobat);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
}

.prediction-subheadline-highlight {
  color: var(--color-brand);
  font-weight: 700;
  text-transform: uppercase;
}

.prediction-subheadline-strong {
  color: var(--color-text-strong);
  font-weight: 700;
  text-transform: none;
}

/* Desktop/Mobile text switching - Desktop shows desktop text by default */
.prediction-promo-text--desktop {
  display: inline;
}

.prediction-promo-text--mobile {
  display: none;
}

/* ============================================================
   TWO-COLUMN LAYOUT (Desktop)
   Left: Card pack | Right: Fight cards
   ============================================================ */

.prediction-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(400px, 1.5fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
  margin-bottom: clamp(10px, 1.5vw, 16px);
}

/* LEFT COLUMN: Card Pack */
.prediction-cardpack-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  padding-right: clamp(20px, 3vw, 40px);
}

.prediction-cardpack-image {
  width: 100%;
  max-width: clamp(208px, 22vw, 288px);
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-base);
}

.prediction-cardpack-image:hover {
  transform: scale(1.02);
}

/* RIGHT COLUMN: Fight Cards */
.prediction-fights-column {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
}

/* ============================================================
   HEADLINES (moved to header, legacy kept for compat)
   ============================================================ */

.prediction-headline {
  display: none; /* Now in header */
}

/* Subheadline - Desktop promo text */
.prediction-subheadline {
  font-family: var(--font-akrobat);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
  text-transform: none;
}

.prediction-subheadline-highlight {
  color: var(--color-brand);
  font-weight: 700;
  text-transform: uppercase;
}

.prediction-subheadline-strong {
  color: var(--color-text-strong);
  font-weight: 700;
  text-transform: none;
}

/* Event Name Inline (within subheadline) */
.prediction-event-name-inline {
  color: var(--color-brand);
  text-transform: uppercase;
  font-weight: 700;
  margin-left: 0.3em;
}

.prediction-event-name-inline:empty {
  display: none;
}

/* Event Name (legacy - keep for backwards compat) */
.prediction-event-name {
  font-family: var(--font-accent);
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: clamp(20px, 3vw, 32px) 0 clamp(8px, 1vw, 12px) 0;
}

.prediction-event-name:empty {
  display: none;
}

/* Fight Label - hidden in single mode */
.prediction-fight-label {
  display: none;
}

/* ============================================================
   SINGLE FIGHT MODE
   Traditional fighter vs fighter matchup
   ============================================================ */

.prediction-single .prediction-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: clamp(20px, 2.5vw, 32px) clamp(16px, 2vw, 24px);
  box-shadow: none;
  position: relative;
  overflow: visible;
}

/* Matchup Layout - 3 Column Grid */
.prediction-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 2.5vw, 40px);
  align-items: center;
  margin-bottom: clamp(24px, 3vw, 40px);
  position: relative;
}

/* Fighter Cards */
.prediction-fighter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 0 clamp(16px, 2vw, 24px) 0;
  border-radius: var(--radius-lg);
  background: rgba(15, 20, 25, 0.6);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  width: 100%;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

.prediction-fighter:hover {
  background: rgba(15, 20, 25, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.prediction-fighter.selected {
  background: rgba(255, 214, 0, 0.15);
  border-color: var(--color-brand);
  box-shadow: 0 0 20px rgba(255, 214, 0, 0.3);
  transform: translateY(-2px);
}

.prediction-fighter.selected::before {
  content: "✓";
  position: absolute;
  top: clamp(10px, 1.2vw, 14px);
  right: clamp(10px, 1.2vw, 14px);
  width: clamp(28px, 3.5vw, 36px);
  height: clamp(28px, 3.5vw, 36px);
  background: var(--color-brand);
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  line-height: 1;
  z-index: 2;
}

/* Fighter Image */
.prediction-fighter-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: clamp(12px, 1.5vw, 20px);
}

.fighter-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(30%);
  transition: all var(--transition-base);
}

.prediction-fighter:hover .fighter-photo {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.prediction-fighter.selected .fighter-photo {
  filter: grayscale(0%);
  box-shadow: 0 0 20px rgba(255, 214, 0, 0.4);
}

/* Fighter Name */
.prediction-fighter-name {
  font-family: var(--font-accent);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-strong);
  margin: 0;
  line-height: 1.2;
}

/* VS Icon */
.prediction-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.2vw, 16px) 0;
}

.vs-icon {
  width: clamp(100px, 14vw, 160px);
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(255, 214, 0, 0.5));
}

/* ============================================================
   MULTI-FIGHT MODE - VERTICAL CARD STACK
   2-3 fights displayed as horizontal cards
   ============================================================ */

.prediction-cards-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vw, 12px);
  width: 100%;
  margin: 0;
  margin-top: clamp(-20px, -3vw, -10px);
  margin-bottom: -25%;
  margin-left: clamp(10px, 2vw, 20px);
  padding: 0;
  transform: scale(0.75);
  transform-origin: top left;
}

/* Individual Fight Card - Horizontal Layout */
.prediction-card-multi {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
  transition: all var(--transition-base);
  width: 100%;
}

.prediction-card-multi:hover {
  transform: translateY(-2px);
}

/* Unpicked cards have subtle pulse */
.prediction-card-multi:not(.picked) {
  animation: cardPulse 2s ease-in-out infinite;
}

@keyframes cardPulse {
  0%, 100% { border-color: transparent; }
  50% { border-color: rgba(255, 214, 0, 0.3); }
}

.prediction-card-multi:not(.picked):hover {
  animation: none;
  border-color: rgba(255, 214, 0, 0.5);
}

/* Card Hero Image - Full Width */
.prediction-card-hero {
  width: 100%;
  aspect-ratio: 19 / 6;
  overflow: visible;
  position: relative;
}

.prediction-card-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all var(--transition-base);
}

.prediction-card-multi:hover .prediction-card-hero img {
  transform: scale(1.02);
}

/* Status Indicator (top-right corner) - Yellow Diamond with ! */
.prediction-card-indicator {
  position: absolute;
  top: -8.5px;
  right: -8.5px;
  width: 17px;
  height: 17px;
  background: var(--color-brand);
  transform: rotate(45deg);
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.prediction-card-indicator::before {
  content: '!';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 900;
  color: #000;
  line-height: 1;
}

/* ============================================================
   PICKED STATE - Green Border, Winner Image
   ============================================================ */

.prediction-card-multi.picked {
  animation: none;
}

.prediction-card-multi.picked:hover {

}

.prediction-card-multi.picked .prediction-card-indicator {
  background: #00FF88;
}

.prediction-card-multi.picked .prediction-card-indicator::before {
  content: '✓';
  color: #FFF;
  font-size: 20px;
  font-weight: 700;
  text-shadow:
    -1px -1px 0 #7c7c7c,
     1px -1px 0 #7c7c7c,
    -1px  1px 0 #7c7c7c,
     1px  1px 0 #7c7c7c;
}

/* ============================================================
   STICKY BOTTOM BAR (Mobile Only)
   Contains progress indicator and newsletter/submit form
   ============================================================ */

/* Desktop: No special styling, just a wrapper that centers children */
.prediction-sticky-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Placeholder (created by JS) - hidden by default */
.prediction-sticky-bar-placeholder {
  display: none;
  width: 100%;
}

/* ============================================================
   PROGRESS INDICATOR
   ============================================================ */

.prediction-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 24px);
  margin: clamp(16px, 2vw, 24px) 0;
  padding: clamp(8px, 1.5vw, 12px) 0;
  position: relative;
}

/* Horizontal line - LEFT side */
.prediction-progress::before {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

/* Horizontal line - RIGHT side */
.prediction-progress::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.prediction-progress-text {
  font-family: var(--font-accent);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-strong);
  white-space: nowrap;
  flex-shrink: 0;
}

.prediction-progress-count {
  color: var(--color-brand);
}

/* Diamond Icon - Matches card indicator style */
.prediction-progress-icon {
  width: 16px;
  height: 16px;
  background: var(--color-brand);
  transform: rotate(45deg);
  flex-shrink: 0;
  position: relative
}

.prediction-progress-icon::before {
  content: '!';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 900;
  color: #000;
  line-height: 1;
}

/* Hide progress indicator when success message is shown */
.prediction-newsletter .newsletter-success-message.visible ~ .prediction-multi .prediction-progress,
body:has(.newsletter-success-message.visible) .prediction-progress {
  display: none;
}

/* ============================================================
   COMPLETE STATE - Green Progress Indicator
   ============================================================ */

/* When button has .complete class, style the progress indicator green */
body:has(.newsletter-button.complete) .prediction-progress-count {
  color: #00FF88;
}

body:has(.newsletter-button.complete) .prediction-progress-icon {
  background: #00FF88;
}

body:has(.newsletter-button.complete) .prediction-progress-icon::before {
  content: '✓';
  color: #FFF;
  font-size: 20px;
  font-weight: 700;
  text-shadow:
    -1px -1px 0 #7c7c7c,
     1px -1px 0 #7c7c7c,
    -1px  1px 0 #7c7c7c,
     1px  1px 0 #7c7c7c;
}

/* ============================================================
   FIGHTER SELECTION OVERLAY
   Opens when user taps a multi-fight card
   ============================================================ */

.prediction-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  padding-top: clamp(60px, 10vh, 120px);
}

.prediction-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
}

.prediction-overlay-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: #1a1f2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: clamp(30px, 4vw, 40px);
  animation: overlaySlideIn 0.3s ease forwards;
}

@keyframes overlaySlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.prediction-overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.prediction-overlay-close:hover {
  opacity: 0.7;
}

.prediction-overlay-label {
  font-family: var(--font-accent);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand);
  text-align: center;
  margin: 0 0 8px 0;
}

.prediction-overlay-title {
  font-family: var(--font-accent);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin: 0 0 clamp(24px, 3vw, 32px) 0;
}

/* Overlay Matchup - 2 Column Grid */
.prediction-overlay-matchup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.prediction-overlay-fighter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: rgba(0, 0, 0, 0.3);
  border: 3px solid transparent;
  border-radius: 0;
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
  padding-bottom: clamp(12px, 1.5vw, 16px);
}

.prediction-overlay-fighter:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.prediction-overlay-fighter.selected {
  border-color: #00FF88;
}

.prediction-overlay-fighter-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: clamp(12px, 1.5vw, 16px);
}

.prediction-overlay-fighter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: filter var(--transition-base), opacity 0.15s ease;
}

.prediction-overlay-fighter-name {
  font-family: var(--font-primary);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 clamp(10px, 1.2vw, 14px) 0;
  text-align: center;
  padding: 0 12px;
}

/* SELECT Button */
.prediction-overlay-select-btn {
  background: var(--color-brand);
  color: #000;
  border: none;
  border-radius: 0;
  font-family: var(--font-accent);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: clamp(8px, 1vw, 12px) clamp(16px, 2vw, 24px);
  cursor: pointer;
  transition: all var(--transition-base);
  width: calc(100% - 24px);
  margin: 0 12px;
}

.prediction-overlay-select-btn:hover {
  background: #ffde33;
  transform: translateY(-1px);
}

.prediction-overlay-select-btn:active {
  transform: translateY(0);
}

/* Hide VS logo and hint */
.prediction-overlay-vs,
.prediction-overlay-hint {
  display: none;
}

/* ============================================================
   NEWSLETTER / SUBMIT SECTION
   Shared between single and multi-fight modes
   ============================================================ */

.prediction-newsletter {
  width: 100%;
  max-width: clamp(400px, 50vw, 500px);
  margin: 0 auto;
}

.prediction-newsletter .newsletter-form {
  max-width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
}

.prediction-newsletter .newsletter-input-wrapper {
  width: 100%;
}

.prediction-newsletter .newsletter-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  color: var(--color-text-strong);
  font-size: clamp(14px, 1.5vw, 17px);
  padding: clamp(12px, 1.4vw, 16px) clamp(14px, 1.6vw, 18px);
  transition: all var(--transition-base);
  font-family: var(--font-primary);
}

.prediction-newsletter .newsletter-input:focus {
  outline: none;
  border-color: var(--color-brand);
  background: rgba(255, 255, 255, 0.18);
}

.prediction-newsletter .newsletter-button {
  width: 100%;
  max-width: 300px; 
  margin: 0 auto;    
  background: var(--color-brand);
  color: #111;
  border: none;
  border-radius: 0;
  font-family: var(--font-accent);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: clamp(12px, 1.4vw, 16px) clamp(18px, 2.2vw, 24px);
  cursor: pointer;
  transition: all var(--transition-base);
}

.prediction-newsletter .newsletter-button:hover {
  background: #ffde33;
  transform: translateY(-1px);
}

.prediction-newsletter .newsletter-consent {
  font-size: clamp(10px, 1.1vw, 12px);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.prediction-newsletter .newsletter-success-message {
  display: none;
  text-align: center;
  padding: 0;
  background: none;
  border: none;
  position: relative;
  /* Remove glass panel effects from newsletter.css */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
}

.prediction-newsletter .newsletter-success-message.visible {
  display: block;
}


.prediction-newsletter .newsletter-message-container {
  min-height: 0;
  margin: 0;
}

/* Button Progress Indicator (Multi-fight) */
.button-progress {
  display: none;
  margin-left: 8px;
  font-size: 0.85em;
  opacity: 0.8;
}

.prediction-multi .newsletter-button .button-progress {
  display: inline;
}

/* Multi-fight button defaults to gray - using sibling selector */
.prediction-multi ~ .prediction-newsletter .newsletter-button,
body:has(.prediction-multi) .prediction-newsletter .newsletter-button {
  background: #666666 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.prediction-multi ~ .prediction-newsletter .newsletter-button:hover,
body:has(.prediction-multi) .prediction-newsletter .newsletter-button:hover {
  background: #666666 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Enable button when all picks are made */
.prediction-multi ~ .prediction-newsletter .newsletter-button.complete,
body:has(.prediction-multi) .prediction-newsletter .newsletter-button.complete {
  background: var(--color-brand) !important;
  color: #111 !important;
  cursor: pointer !important;
}

.prediction-multi ~ .prediction-newsletter .newsletter-button.complete:hover,
body:has(.prediction-multi) .prediction-newsletter .newsletter-button.complete:hover {
  background: #ffde33 !important;
  transform: translateY(-1px) !important;
}

/* ============================================================
   RESPONSIVE: TABLET (max-width: 900px)
   ============================================================ */

@media (max-width: 900px) {
  .prediction-newsletter {
    max-width: clamp(350px, 60vw, 450px);
  }
  
  .prediction-cards-grid {
    max-width: 600px;
  }
  
  .prediction-card-hero {
    aspect-ratio: 19 / 6;
  }
}

/* ============================================================
   RESPONSIVE: MOBILE (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {
  .hero-prediction {
    min-height: auto;
    padding-top: clamp(15px, 2.5vw, 20px);
    padding-bottom: clamp(20px, 4vw, 30px);
  }
  
  /* ===== STICKY BOTTOM BAR - Mobile Only (JS-controlled) ===== */
  .prediction-sticky-bar.is-fixed-bottom {
    position: fixed;
    top: auto !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px var(--pad-x) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  }
  
  /* Hide prediction progress when fixed to bottom */
  .prediction-sticky-bar.is-fixed-bottom .prediction-progress {
    display: none;
  }
  
  /* Tighter spacing when fixed */
  .prediction-sticky-bar.is-fixed-bottom .newsletter-form {
    gap: 6px;
  }
  
  .prediction-sticky-bar.is-fixed-bottom .newsletter-consent {
    margin-top: 0;
    padding-bottom: 8px;
  }
  
  /* ===== MOBILE LAYOUT: Stack columns vertically ===== */
  .prediction-layout {
    display: block !important;
    grid-template-columns: unset !important;
  }
  
  /* Hide desktop promo, show mobile promo */
  .prediction-promo--desktop {
    display: none !important;
  }
  
  .prediction-promo--mobile {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: clamp(12px, 3vw, 16px) 0;
    padding-bottom: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  /* Swap text visibility on mobile */
  .prediction-promo--mobile .prediction-promo-text--desktop {
    display: none;
  }
  
  .prediction-promo--mobile .prediction-promo-text--mobile {
    display: inline;
  }
  
  /* Chevron below text, left-aligned, vertically centered */
  .prediction-promo--mobile .prediction-chevrons {
    width: clamp(64px, 18vw, 96px);
    margin-top: clamp(16px, 4vw, 24px);
    margin-bottom: clamp(16px, 4vw, 24px);
    order: 2;
  }
  
  .prediction-promo--mobile .prediction-promo-text {
    display: block;
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.4;
    margin: 0;
    order: 1;
  }
  
  /* Card pack row: image left, promo right */
  .prediction-cardpack-column {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    flex-direction: unset !important;
    align-items: center !important;
    gap: clamp(12px, 4vw, 20px);
    padding: 0 clamp(8px, 2vw, 16px);
    padding-left: clamp(16px, 4vw, 24px);
    padding-bottom: 0;
    margin-bottom: clamp(8px, 2vw, 12px);
    border-bottom: none;
  }
  
  .prediction-cardpack-image {
    width: clamp(115px, 33vw, 180px) !important;
    max-width: none !important;
  }
  
  /* Fight cards below */
  .prediction-fights-column {
    width: 100%;
  }

  .prediction-matchup {
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(10px, 3vw, 20px);
    margin-bottom: clamp(20px, 4vw, 28px);
  }

  .vs-icon {
    width: clamp(60px, 12vw, 100px);
  }

  .prediction-fighter {
    padding: 0 0 clamp(12px, 3vw, 16px) 0;
  }

  .prediction-fighter-image {
    max-width: 100%;
  }

  .prediction-fighter-name {
    font-size: clamp(14px, 3.5vw, 20px);
  }

  .prediction-newsletter {
    max-width: 100%;
    padding-left: clamp(16px, 4vw, 24px);
    padding-right: clamp(16px, 4vw, 24px);
    box-sizing: border-box;
  }

  .prediction-newsletter .newsletter-input,
  .prediction-newsletter .newsletter-button {
    font-size: 16px;
  }

  .hero-prediction .scroll-indicator {
    margin-top: clamp(10px, 3vw, 20px);
  }
  
  /* Multi-fight mobile - centered with breathing room */
  .prediction-cards-grid {
    gap: 10px;
    padding: 0 clamp(16px, 4vw, 24px);
    position: relative;
    left: 0;
    transform: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 0 !important;
    margin-top: clamp(15px, 4vw, 25px) !important;
    width: 100%;
    max-width: calc(100% - clamp(32px, 8vw, 48px));
    box-sizing: border-box;
  }
  
  .prediction-card-hero {
    aspect-ratio: 19 / 6;
  }
  
  .prediction-card-indicator {
    width: 15px;
    height: 15px;
    top: -7.5px;
    right: -7.5px;
  }
  
  .prediction-card-indicator::before {
    font-size: 8px;
  }
  
  .prediction-progress {
    margin: 12px 0;
    padding: 8px 0;
  }
  
  .prediction-progress-text {
    font-size: 12px;
  }
  
.prediction-progress-icon {
  width: 14px;
  height: 14px;
}
  
  .prediction-overlay-content {
    padding: 20px 16px;
  }
  
  /* Move overlay higher on mobile - anchor just below title bar */
  .prediction-overlay {
    align-items: flex-start;
    padding-top: 4px;
  }
  
  .prediction-overlay-matchup {
    gap: 8px;
  }
  
  .prediction-overlay-vs .vs-icon {
    width: 40px;
  }
}

/* ============================================================
   RESPONSIVE: SMALL MOBILE (max-width: 480px)
   ============================================================ */

@media (max-width: 480px) {
  .hero-prediction {
    padding-top: clamp(10px, 2vw, 15px);
    padding-bottom: clamp(15px, 3vw, 20px);
  }

  .prediction-headline {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: clamp(2px, 0.5vw, 4px);
  }

.prediction-subheadline {
  font-size: clamp(10px, 2.8vw, 13px);
  margin-bottom: clamp(28px, 5vw, 40px);
}

  .prediction-single .prediction-card {
    padding: clamp(8px, 2vw, 12px) clamp(6px, 1.5vw, 10px);
  }

  .prediction-matchup {
    gap: clamp(6px, 2vw, 12px);
    margin-bottom: clamp(14px, 3vw, 20px);
  }

  .vs-icon {
    width: clamp(40px, 10vw, 60px);
  }

  .prediction-fighter-name {
    font-size: clamp(11px, 3vw, 14px);
  }

  .prediction-fighter {
    padding: 0 0 clamp(8px, 2vw, 12px) 0;
  }

  .hero-prediction .scroll-indicator {
    margin-top: clamp(8px, 2vw, 12px);
  }
  
  /* Multi-fight small mobile - full width, centered */
  .prediction-cards-grid {
    gap: 8px;
    padding: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw;
  }
  
  .prediction-card-indicator {
    width: 14px;
    height: 14px;
    top: -7px;
    right: -7px;
  }
  
  .prediction-card-indicator::before {
    font-size: 7px;
  }
  
  .prediction-progress-text {
    font-size: 11px;
  }
  
.prediction-progress-icon {
  width: 12px;
  height: 12px;
}
  
  .prediction-overlay-fighter-name {
    font-size: 12px;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .prediction-fighter,
  .prediction-newsletter .newsletter-button,
  .fighter-photo,
  .prediction-card-multi,
  .prediction-overlay-fighter,
  .prediction-card-hero img {
    transition: none !important;
  }

  .prediction-fighter:hover,
  .prediction-fighter.selected,
  .prediction-newsletter .newsletter-button:hover {
    transform: none !important;
  }

  .prediction-fighter:hover .fighter-photo {
    transform: none !important;
  }
  
  section.hero-content,
  section.hero-prediction {
    animation: none !important;
    opacity: 1 !important;
  }
  
  .prediction-card-multi:not(.picked) {
    animation: none !important;
  }
  
  .prediction-overlay-content {
    animation: none !important;
  }
}

/* ============================================================
   ERROR & FEEDBACK STATES
   ============================================================ */

.prediction-error {
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.4);
  color: #ff6b6b;
  padding: clamp(10px, 2vw, 14px);
  border-radius: var(--radius-md);
  font-size: clamp(13px, 1.4vw, 15px);
  text-align: center;
  margin-bottom: clamp(10px, 2vw, 14px);
  display: none;
}

/* Highlight pulse animation */
@keyframes fighterPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 214, 0, 0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(255, 214, 0, 0.6); }
}

.prediction-fighter.highlight-pulse,
.prediction-card-multi.highlight-pulse {
  animation: fighterPulse 0.5s ease-in-out 3;
}

/* ============================================================
   HERO TOGGLE SYSTEM - Loading State Approach
   Shows spinner while loading, then reveals correct hero
   ============================================================ */

/* Loading container - shows spinner until JS decides */
.hero-loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  width: 100%;
}

/* Hide loading container once decided */
body.hero-decided .hero-loading-container {
  display: none;
}

/* Spinner styles */
.hero-loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--color-brand, #FFD600);
  border-radius: 50%;
  animation: heroSpinner 0.8s linear infinite;
}

@keyframes heroSpinner {
  to { transform: rotate(360deg); }
}

/* DEFAULT: Hide BOTH hero sections until JS decides */
section.hero-content,
section.hero-prediction {
  display: none !important;
  visibility: hidden;
  opacity: 0;
}

/* ===== AFTER JS DECIDES ===== */

/* Non-fight night ONLY: Show original hero */
body.hero-decided:not(.fight-night) section.hero-content {
  display: flex !important;
  visibility: visible;
  opacity: 1;
  animation: heroFadeIn 0.3s ease forwards;
}

/* Fight Night ONLY: Show prediction hero */
body.hero-decided.fight-night section.hero-prediction {
  display: flex !important;
  visibility: visible;
  opacity: 1;
  animation: heroFadeIn 0.3s ease forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================================
   LOCKED FIGHT STYLES
   ============================================================ */

/* ----- MULTI-FIGHT: Locked Card State ----- */
.prediction-card-multi.locked {
  cursor: not-allowed;
  animation: none !important;
}

.prediction-card-multi.locked .prediction-card-hero {
  filter: grayscale(100%);
  opacity: 0.5;
}

.prediction-card-multi.locked .prediction-card-hero img {
  filter: grayscale(100%);
}

.prediction-card-multi.locked:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.prediction-card-multi.locked:hover .prediction-card-hero img {
  transform: none;
  filter: grayscale(100%);
}

.prediction-card-multi.locked .prediction-card-label {
  color: var(--color-text-muted);
}

.prediction-card-multi.locked .prediction-card-cta {
  color: var(--color-text-muted);
  font-style: italic;
}

/* Locked Badge */
.prediction-card-locked-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  z-index: 5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ----- SINGLE FIGHT: Locked State ----- */
.prediction-matchup.locked .prediction-fighter {
  cursor: not-allowed;
  position: relative;
}

.prediction-matchup.locked .prediction-fighter:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.prediction-matchup.locked .prediction-fighter-image {
  position: relative;
}

.prediction-matchup.locked .prediction-fighter-image::after {
  content: "🔒";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  z-index: 5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.prediction-matchup.locked .fighter-photo {
  filter: grayscale(100%);
  opacity: 0.5;
}

.prediction-matchup.locked .prediction-fighter-name {
  color: var(--color-text-muted);
}

/* Hide CSS diamond since fight card images already have it */
.prediction-card-indicator {
  display: none;
}
/* ============================================================
   SUCCESS SCREEN REDESIGN
   ============================================================ */

/* Hide success promo by default */
.success-promo {
  display: none;
}

/* Success confirmation box - wrapper for two panels */
.success-confirmation-box {
  display: none;
  text-align: center;
  align-self: center;
}

/* Title Panel - separate glass background */
.success-title-panel {
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 0;
  padding: clamp(4px, 0.5vw, 8px) clamp(24px, 3vw, 40px);
  margin-bottom: 4px;
}

/* Content Panel - separate glass background */
.success-content-panel {
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 0;
  padding: clamp(12px, 1.5vw, 18px) clamp(24px, 3vw, 40px);
}

/* When success message is visible: Hide fight cards, show confirmation box */
body:has(.newsletter-success-message.visible) .prediction-single,
body:has(.newsletter-success-message.visible) .prediction-multi,
body:has(.newsletter-success-message.visible) .prediction-cards-grid {
  display: none !important;
}

body:has(.newsletter-success-message.visible) .success-confirmation-box {
  display: block !important;
}

/* Vertically center success box with card pack */
body:has(.newsletter-success-message.visible) .prediction-layout {
  align-items: center;
}

/* Hide prediction promo and show success promo when confirmed */
body:has(.newsletter-success-message.visible) .prediction-promo {
  display: none !important;
}

body:has(.newsletter-success-message.visible) .success-promo--desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(20px, 3vw, 32px);
}

/* Hide progress indicator when success */
body:has(.newsletter-success-message.visible) .prediction-progress {
  display: none !important;
}

/* Hide newsletter form when success */
body:has(.newsletter-success-message.visible) .newsletter-form {
  display: none !important;
}

/* Unstick the bar on success state */
body:has(.newsletter-success-message.visible) .prediction-sticky-bar {
  position: static !important;
  background: transparent;
  border-top: none;
  padding-top: 0;
  box-shadow: none;
}

body:has(.newsletter-success-message.visible) .prediction-sticky-bar.is-fixed-bottom {
  position: static !important;
}

body:has(.newsletter-success-message.visible) .prediction-sticky-bar-placeholder {
  display: none !important;
}

/* Success promo styling */
.success-promo-text {
  font-family: var(--font-primary);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
  text-align: center;
}

.success-promo-highlight {
  color: var(--color-brand);
  font-weight: 700;
}

/* ===== Success Confirmation Box Styling ===== */
.success-title {
  font-family: var(--font-accent);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #00FF88;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.success-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 400;
  color: var(--color-text-body);
  margin: 0 0 clamp(16px, 2vw, 24px) 0;
  line-height: 1.5;
}

/* Picks List */
.success-picks-list {
  margin: clamp(16px, 2vw, 24px) 0;
}

/* Success picks row - holds cardpack + picks on mobile */
.success-picks-row {
  display: block;
}

/* Card pack in success panel - hidden on desktop */
.success-cardpack-mobile {
  display: none;
}

.success-cardpack-image {
  width: 100%;
  max-width: 140px;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
}

.success-pick {
  font-family: var(--font-primary);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 400;
  color: var(--color-text-body);
  margin: clamp(8px, 1vw, 12px) 0;
  line-height: 1.4;
}

.success-pick-name {
  color: var(--color-brand);
  font-weight: 700;
  text-transform: uppercase;
}

.success-footer {
  font-family: var(--font-primary);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 400;
  color: var(--color-text-body);
  margin: clamp(16px, 2vw, 24px) 0 0 0;
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== Mobile Success Styles ===== */
@media (max-width: 768px) {
  body:has(.newsletter-success-message.visible) .success-promo--desktop {
    display: none !important;
  }
  
  body:has(.newsletter-success-message.visible) .success-promo--mobile {
    display: block;
    padding: clamp(12px, 3vw, 16px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .success-promo--mobile .success-promo-text {
    font-size: clamp(12px, 3vw, 16px);
    text-align: left;
  }
  
  .success-confirmation-box {
    margin-top: clamp(16px, 4vw, 24px);
  }
  
  .success-title-panel {
    padding: clamp(14px, 3vw, 20px) clamp(16px, 4vw, 24px);
  }
  
  .success-content-panel {
    padding: clamp(16px, 4vw, 24px);
  }
  
  .success-title {
    font-size: clamp(20px, 5vw, 28px);
  }
}

/* ============================================================
   MOBILE SUCCESS STATE: Card pack in bottom panel
   ============================================================ */
@media (max-width: 768px) {
  body:has(.newsletter-success-message.visible) .prediction-layout {
    display: flex !important;
    flex-direction: column;
  }
  
  /* Hide the original cardpack column on mobile success */
  body:has(.newsletter-success-message.visible) .prediction-cardpack-column {
    display: none !important;
  }
  
  body:has(.newsletter-success-message.visible) .prediction-fights-column {
    order: 1;
  }
  
  /* Show card pack inside content panel on mobile */
  body:has(.newsletter-success-message.visible) .success-cardpack-mobile {
    display: block;
  }
  
  /* Grid layout for card pack + picks */
  body:has(.newsletter-success-message.visible) .success-picks-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(12px, 4vw, 20px);
    align-items: center;
    text-align: left;
  }
  
  body:has(.newsletter-success-message.visible) .success-cardpack-image {
    width: clamp(100px, 28vw, 140px);
  }
  
  body:has(.newsletter-success-message.visible) .success-picks-list {
    margin: 0;
  }
  
  body:has(.newsletter-success-message.visible) .success-pick {
    text-align: left;
    margin: clamp(4px, 1vw, 8px) 0;
  }
}
