@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;700;800;900&family=Permanent+Marker&display=swap');

/* --- DESIGN SYSTEM & TOKENS --- */
:root {
  /* Colors from Brand Guide */
  --color-navy: #003865;
  --color-cyan: #009FDF;
  --color-light-blue: #71C5E8;
  --color-soft-gray: #5A738E;
  --color-light-bg: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  
  --color-blue: var(--color-cyan);
  --color-blue-glow: rgba(0, 159, 223, 0.25);
  --color-muted: var(--color-soft-gray);
  --color-gold: #ff9f00;
  --color-gold-glow: rgba(255, 159, 0, 0.25);
  --color-green: #10b981;
  --color-green-glow: rgba(16, 185, 129, 0.25);
  --color-card-border: rgba(0, 56, 101, 0.08);
  --color-card-bg: rgba(255, 255, 255, 0.96);

  /* Fonts */
  --font-headline: 'Outfit', sans-serif;
  --font-brush: 'Permanent Marker', cursive, sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows for Light Theme */
  --card-shadow: 0 16px 36px rgba(0, 56, 101, 0.05), inset 0 1px 0 #ffffff;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--color-light-bg);
  color: var(--color-navy);
  font-family: var(--font-body);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* Particles Background Canvas */
#particlesCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --- PRELOADER (LOADER) --- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#loader.done {
  opacity: 0;
  pointer-events: none;
}

.loader-logo-container {
  width: 100%;
  max-width: 220px;
  display: flex;
  justify-content: center;
}

.loader-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.brand-logo-large {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-light-blue));
}

.loader-pct {
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-soft-gray);
  letter-spacing: 0.08em;
}

/* --- SCROLL/STEP LAYOUT STRUCTURE --- */
.app-container {
  height: 100vh;
  width: 100vw;
  position: relative;
  z-index: 5;
}

.console-section {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, #e8f5fd 50%, #bce2f5 100%);
  position: relative;
  overflow: hidden;
}

/* --- PROGRESS HEADER INDICATOR --- */
.progress-container {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.progress-container.visible {
  opacity: 1;
}

.progress-dots {
  display: flex;
  gap: 8px;
  width: 100%;
}

.progress-dot {
  flex: 1;
  height: 4px;
  background: rgba(0, 56, 101, 0.08);
  border-radius: 2px;
  transition: all 0.4s ease;
}

.progress-dot.active {
  background: var(--active-step-color, var(--color-blue));
  box-shadow: 0 0 8px var(--active-glow-color, var(--color-blue-glow));
}

.progress-dot.completed {
  background: var(--color-navy);
}

.progress-label {
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-soft-gray);
  text-transform: uppercase;
}

/* --- GLASS PANEL CONSOLE --- */
.glass-panel {
  background: var(--color-card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--color-card-border);
  border-radius: 28px;
  box-shadow: var(--card-shadow);
  padding: 24px 20px 20px 20px;
  width: 92%;
  max-width: 440px;
  position: relative;
  z-index: 10;
  text-align: center;
  transition: all 0.5s ease;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* --- STATE MACHINE CONTAINER --- */
.step-container {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(100%); /* slide right-to-left gaming style */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  pointer-events: none;
  z-index: 5;
  padding: 16px;
}

.step-container.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  z-index: 10;
}

.step-container.prev-step {
  transform: translateX(-100%);
  opacity: 0;
}

.headline-xl {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--color-navy);
  text-transform: uppercase;
}

.headline-xl span {
  font-family: var(--font-brush);
  color: var(--color-cyan);
  display: block;
  font-size: 26px;
  margin-top: 4px;
}

.subheadline-md {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-soft-gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* --- BUTTON GROUP & BRUSH TEXTURED BUTTONS --- */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0 auto;
}

.btn-premium {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 20px;
  border-radius: 16px;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  background: #ffffff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0, 56, 101, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 56, 101, 0.1);
}

/* Contrasting primary action button with vibrant yellow base and extra bold navy text */
.btn-primary-blue {
  background-color: #ffd600;
  background-image: 
    linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent),
    linear-gradient(135deg, #ffd600 0%, #ffb300 100%);
  background-size: 12px 12px, 100% 100%;
  color: var(--color-navy);
  font-family: 'DM Sans', var(--font-headline), sans-serif;
  font-weight: 1000;
  border: none;
  box-shadow: 
    0 6px 18px rgba(255, 214, 0, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  text-shadow: none;
}

.btn-primary-blue:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 10px 24px rgba(255, 214, 0, 0.5),
    inset 0 2.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  filter: brightness(1.08);
}

.btn-outline-glow {
  background: #ffffff;
  border: 2px solid var(--color-border);
  color: var(--color-navy);
}

.btn-outline-glow:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 0 12px var(--color-blue-glow);
  transform: translateY(-2px);
}

/* --- REACTIVE BUTTON/CARD CLICK ANIMATION (pop & brightness flash) --- */
.click-flash-active {
  animation: clickFlashAnim 0.35s cubic-bezier(0.08, 0.8, 0.15, 1) forwards;
}

@keyframes clickFlashAnim {
  0% { transform: scale(1); filter: brightness(1); }
  15% { transform: scale(0.92); filter: brightness(1.7); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* --- VERTICAL INSTAGRAM-POST VIDEO ASPECT RATIO (4:5) --- */
.instagram-post-container {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 56, 101, 0.12);
  margin-bottom: 14px;
}

.instagram-post-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- SCREEN 1: BRAND LOGO, TV PROMO CARD, CAMPAIGN BANNER & PATH SELECTION STACK --- */
.promo-card-section {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.08) 0%, rgba(255, 160, 0, 0.15) 100%);
  border: 2px solid #ffd600;
  border-radius: 20px;
  padding: 14px 18px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(255, 214, 0, 0.15);
  animation: promoCardPulse 2s infinite ease-in-out;
}

.promo-card-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.promo-card-icon {
  font-size: 24px;
  animation: giftWobble 2s infinite ease-in-out;
}

.promo-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-card-label {
  font-family: var(--font-headline);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #d88f00;
  text-transform: uppercase;
}

.promo-card-headline {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 900;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@keyframes giftWobble {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(15deg) scale(1.1); }
}

@keyframes promoCardPulse {
  0%, 100% {
    border-color: #ffd600;
    box-shadow: 0 6px 20px rgba(255, 214, 0, 0.15);
  }
  50% {
    border-color: #ffa000;
    box-shadow: 0 10px 30px rgba(255, 160, 0, 0.35), 0 0 15px rgba(255, 214, 0, 0.2);
  }
}

.campaign-video-container {
  width: 100%;
  max-width: 380px;
  margin: 0 auto 16px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 56, 101, 0.15);
  border: 1.5px solid var(--color-navy);
  aspect-ratio: 3 / 1;
  position: relative;
  background: #000000;
}

.campaign-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.path-squares-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin: 16px 0;
}

.path-stack-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 4px 0;
}

.divider-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(0, 56, 101, 0.15), transparent);
}

.divider-question {
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 800;
  color: var(--color-soft-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Connect Footer Links */
.connect-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed rgba(0, 56, 101, 0.12);
  width: 100%;
}

.connect-label {
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-soft-gray);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.connect-links {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.connect-link-btn {
  flex: 1;
  max-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  background: #ffffff;
  color: var(--color-navy);
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,56,101,0.02);
}

.connect-link-btn:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 159, 223, 0.08);
}

.path-square-card {
  flex: 1;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(2, 21, 38, 0.95) 0%, rgba(3, 43, 77, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px dashed rgba(113, 197, 232, 0.35);
  border-radius: 24px;
  padding: 16px 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 28px rgba(0, 56, 101, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.25);
  text-align: center;
}

.path-square-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.03) 60%,
    transparent 70%
  );
  transform: rotate(-30deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.path-square-card:hover::after {
  transform: translate(30%, 30%) rotate(-30deg);
}

.path-square-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-cyan);
  border-style: solid;
  box-shadow: 0 16px 36px rgba(0, 56, 101, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.35), 0 0 15px rgba(0, 159, 223, 0.3);
}

.path-square-icon-container {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 159, 223, 0.25), inset 0 2px 4px rgba(255, 255, 255, 1);
  border: 2px solid var(--color-cyan);
  transition: all 0.3s ease;
}

.path-square-icon-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.path-square-card:hover .path-square-icon-container {
  transform: scale(1.08);
  border-color: var(--color-light-blue);
  box-shadow: 0 6px 16px rgba(0, 159, 223, 0.4), inset 0 2px 4px rgba(255, 255, 255, 1);
}

.path-square-card:hover .path-square-icon-img {
  transform: scale(1.1) rotate(5deg);
}

.path-square-title {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.path-square-desc {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--color-light-blue);
  line-height: 1.3;
}

/* --- DYNAMIC CHECKLISTS (SCREEN 2) --- */
.selection-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 20px;
}

.selectable-item {
  background-color: var(--color-navy);
  background-image: 
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.04) 75%, transparent 75%, transparent),
    linear-gradient(135deg, #003865 0%, #002240 100%);
  background-size: 10px 10px, 100% 100%;
  border: 2px solid rgba(113, 197, 232, 0.25);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 56, 101, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.selectable-item:hover {
  border-color: var(--color-light-blue);
  box-shadow: 0 8px 20px rgba(0, 56, 101, 0.25);
  transform: translateY(-2px);
}

.selectable-item.selected {
  background-color: var(--color-navy);
  background-image: 
    linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.06) 75%, transparent 75%, transparent),
    linear-gradient(135deg, #004d8a 0%, #003865 100%);
  border-color: var(--color-cyan);
  box-shadow: 0 8px 24px rgba(0, 159, 223, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.selection-title {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.checkbox-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: #ffffff;
}

.selectable-item.selected .checkbox-circle {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
  box-shadow: 0 0 8px rgba(0, 159, 223, 0.4);
}

.checkmark {
  width: 10px;
  height: 8px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-dasharray: 12;
  stroke-dashoffset: 12;
  transition: stroke-dashoffset 0.2s ease;
}

.selectable-item.selected .checkmark {
  stroke-dashoffset: 0;
}

/* --- FORM LAYOUT (SCREEN 3) & TV IMAGE INTEGRATION --- */
.tv-prize-banner {
  width: 100%;
  max-width: 290px;
  margin: 0 auto 16px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2.5px solid rgba(113, 197, 232, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  background: #ffffff;
  animation: tvPulse 3s infinite ease-in-out;
}

@keyframes tvPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 0px rgba(0, 159, 223, 0.15);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px 4px rgba(0, 159, 223, 0.3);
    border-color: var(--color-cyan);
  }
}

/* Dark Navy Glass Panel for contrast */
.glass-panel-navy {
  background: linear-gradient(135deg, rgba(2, 21, 38, 0.96) 0%, rgba(3, 43, 77, 0.96) 100%) !important;
  border-color: rgba(113, 197, 232, 0.35) !important;
  box-shadow: 0 20px 48px rgba(0, 56, 101, 0.45) !important;
  color: #ffffff !important;
}

.glass-panel-navy .headline-xl {
  color: #ffffff !important;
}

.glass-panel-navy .subheadline-md {
  color: var(--color-light-blue) !important;
}

.glass-panel-navy .form-label-luxury {
  color: var(--color-light-blue) !important;
}

.glass-panel-navy .giveaway-check-text {
  color: #ffffff !important;
}

.glass-panel-navy .text-input-field {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.glass-panel-navy .text-input-field:focus {
  border-color: var(--color-cyan) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 0 10px rgba(0, 159, 223, 0.25) !important;
}

.glass-panel-navy .text-input-field::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.tv-prize-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label-luxury {
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-soft-gray);
}

.text-input-field {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-navy);
  outline: none;
  transition: all 0.2s ease;
}

.text-input-field:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 159, 223, 0.1);
}

/* Horizontal giveaway lock checkbox */
.giveaway-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  margin-top: 4px;
  margin-bottom: 12px;
  user-select: none;
}

.giveaway-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--color-border);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.giveaway-check-row.checked .giveaway-check-box {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

.giveaway-check-text {
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 800;
  color: var(--color-navy);
}

/* --- TICKET & BANNER CONFIRMATION (SCREEN 4) --- */
.raffle-ticket {
  background: #ffffff;
  border: 2px dashed var(--color-border);
  border-radius: 20px;
  padding: 18px;
  position: relative;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 56, 101, 0.02);
}

.raffle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px dashed var(--color-border);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.raffle-logo {
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 900;
  color: var(--color-navy);
}

.raffle-logo span {
  color: var(--color-cyan);
}

.raffle-badge {
  font-family: var(--font-headline);
  font-size: 8px;
  font-weight: 800;
  padding: 3px 6px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid var(--color-green);
  color: var(--color-green);
  border-radius: 6px;
  text-transform: uppercase;
}

.raffle-body {
  margin-bottom: 12px;
}

.raffle-label {
  font-family: var(--font-headline);
  font-size: 8px;
  font-weight: 800;
  color: var(--color-soft-gray);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.raffle-val-name {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.raffle-val-goal {
  font-family: var(--font-brush);
  font-size: 14px;
  color: var(--color-cyan);
  line-height: 1.3;
}

.raffle-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1.5px dashed var(--color-border);
  padding-top: 10px;
}

.raffle-ticket-number {
  text-align: left;
}

.raffle-num-label {
  font-family: var(--font-headline);
  font-size: 8px;
  font-weight: 800;
  color: var(--color-soft-gray);
}

.raffle-num-val {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 900;
  color: var(--color-navy);
}

.raffle-screenshot-hint {
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 800;
  color: var(--color-cyan);
  margin-top: 4px;
  margin-bottom: 16px;
  text-align: center;
}

/* closing banner contrast */
.closing-banner {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(0, 56, 101, 0.08);
  border: 1.5px solid var(--color-navy);
  aspect-ratio: 2206 / 946;
  position: relative;
  background: #000000;
}

.closing-banner video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Glowing selection checklist emojis */
.emoji-icon {
  display: inline-block;
  margin-right: 6px;
  filter: drop-shadow(0 0 5px rgba(0, 159, 223, 0.85));
  animation: emojiFloat 3s infinite ease-in-out;
  transform-origin: center;
}

@keyframes emojiFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-1.5px) scale(1.05); }
}

.slogan-card {
  font-family: var(--font-brush);
  font-size: 18px;
  color: var(--color-navy);
  letter-spacing: 0.05em;
  margin: 12px 0;
  text-align: center;
}

/* --- NAVIGATION BACK BUTTON --- */
.back-button {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 800;
  color: var(--color-navy);
}

.back-button.visible {
  opacity: 1;
  pointer-events: all;
}

.back-button svg {
  width: 12px;
  height: 12px;
  stroke: var(--color-navy);
  stroke-width: 2.5;
  fill: none;
}



.hide {
  display: none !important;
}

/* --- PORTRAIT MOBILE RESPONSIVENESS AND ADJUSTMENTS --- */
@media (max-width: 480px) {
  .glass-panel {
    padding: 20px 16px 16px 16px;
    border-radius: 24px;
  }
  .hero-headline {
    font-size: 26px;
  }
  .promo-card-section {
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: 16px;
  }
  .promo-card-headline {
    font-size: 13px;
  }
  .promo-card-icon {
    font-size: 20px;
  }
  .brand-logo-container {
    margin-bottom: 16px;
  }
  .brand-logo-large {
    max-width: 160px;
  }
  .path-squares-grid {
    gap: 8px;
    margin: 8px 0;
  }
  .path-square-card {
    max-width: 170px;
    padding: 12px 8px;
    border-radius: 18px;
  }
  .path-square-icon-container {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
  }
  .path-square-icon-img {
    width: 38px;
    height: 38px;
  }
  .path-square-title {
    font-size: 11px;
    margin-bottom: 4px;
  }
  .path-square-desc {
    font-size: 9px;
  }
  .headline-xl {
    font-size: 20px;
  }
  .subheadline-md {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .selectable-item {
    padding: 12px 14px;
    border-radius: 14px;
  }
  .selection-title {
    font-size: 14px;
  }
}

@media (max-height: 720px) {
  .glass-panel {
    padding: 16px 12px 12px 12px;
  }
  .hero-headline {
    font-size: 22px;
    margin-bottom: 4px;
  }
  .hero-subheadline {
    margin-bottom: 12px;
  }
  .promo-card-section {
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 14px;
  }
  .promo-card-headline {
    font-size: 11px;
  }
  .promo-card-label {
    font-size: 8px;
  }
  .promo-card-icon {
    font-size: 16px;
  }
  .brand-logo-container {
    margin-bottom: 10px;
  }
  .brand-logo-large {
    max-width: 130px;
  }
  .path-squares-grid {
    gap: 6px;
    margin: 4px 0;
  }
  .path-square-card {
    max-width: 140px;
    padding: 8px 6px;
  }
  .path-square-icon-container {
    width: 50px;
    height: 50px;
    margin-bottom: 4px;
  }
  .path-square-icon-img {
    width: 30px;
    height: 30px;
  }
  .path-square-title {
    font-size: 10px;
  }
  .path-square-desc {
    display: none;
  }
  .headline-xl {
    font-size: 18px;
  }
}
