@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  --bg-dark: hsl(240, 25%, 3%);
  --bg-card: hsla(240, 20%, 7%, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: hsl(240, 10%, 70%);
  
  /* Glowing Green Theme (High Conversion) */
  --primary-neon: hsl(145, 100%, 50%);
  --primary-neon-glow: hsla(145, 100%, 50%, 0.4);
  --gradient-primary: linear-gradient(135deg, hsl(145, 100%, 40%), hsl(145, 100%, 60%));
  
  --accent-red: hsl(355, 100%, 55%);
  --accent-red-glow: hsla(355, 100%, 55%, 0.4);
  --accent-orange: hsl(20, 100%, 55%);
  --gradient-red: linear-gradient(135deg, var(--accent-red), var(--accent-orange));

  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.theme-98x {
  --primary-neon: hsl(0, 85%, 55%);
  --primary-neon-glow: hsla(0, 85%, 55%, 0.4);
  --gradient-primary: linear-gradient(135deg, hsl(0, 85%, 55%), hsl(0, 70%, 40%));
}

.theme-90x {
  --primary-neon: hsl(50, 84%, 50%);
  --primary-neon-glow: hsla(50, 84%, 50%, 0.3);
  --gradient-primary: linear-gradient(135deg, hsl(56, 84%, 50%), hsla(59, 100%, 36%, 0.83));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border-color);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Background Gradients */
.bg-gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, hsla(258, 100%, 40%, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, hsla(145, 100%, 30%, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

.theme-98x .bg-gradient-overlay {
  background: 
    radial-gradient(circle at 10% 20%, hsla(0, 85%, 55%, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, hsla(0, 70%, 40%, 0.1) 0%, transparent 40%);
}

.view-section {
  display: none;
}

.view-section.active-view {
  display: block;
}

.container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.text-gradient-red {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-neon {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Countdown Bar (tC) */
.timer-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--accent-red);
  background: rgba(10, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
}

.timer-bar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

.timer-lightning {
  color: var(--accent-red);
  font-size: 1.25rem;
  font-weight: 800;
  animation: pulse-glow-light 0.6s infinite alternate;
}

.timer-content {
  text-align: center;
}

.timer-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.15em;
  font-weight: 800;
}

.timer-countdown {
  font-size: 1.65rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  color: var(--accent-red);
  text-shadow: 0 0 12px var(--accent-red-glow);
  line-height: 1.2;
}

/* Floating Alerts (uC) */
.toaster-container {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 300px;
  pointer-events: none;
}

.toast {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #00e676;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 230, 118, 0.3);
  pointer-events: auto;
  transform: translateY(100px);
  opacity: 0;
  animation: toast-in 0.3s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

.toast.removing {
  animation: toast-out 0.3s forwards ease-in;
}

.toast-dot {
  width: 8px;
  height: 8px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.8);
  flex-shrink: 0;
  animation: pulse-dot 1.2s infinite alternate;
}

.toast-body {
  flex-grow: 1;
}

.toast-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.toast-desc {
  font-size: 0.7rem;
  color: #00e676;
}

@keyframes toast-in {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes toast-out {
  to { transform: translateX(-150%); opacity: 0; }
}

/* General Layouts */
.header-badge-wrapper {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.badge-alert {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 59, 92, 0.15);
  border: 1px solid rgba(255, 59, 92, 0.3);
  color: var(--accent-red);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: pulse-glow-red 2s infinite ease-in-out;
}

.badge-gold {
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: hsl(50, 90%, 55%);
}

.view-title-box {
  text-align: center;
  margin-bottom: 1.5rem;
}

.view-title-box h1 {
  font-size: 2rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0.5rem;
}

.view-title-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.view-title-box p span.user-name {
  color: var(--primary-neon);
  font-weight: 700;
  text-shadow: 0 0 10px var(--primary-neon-glow);
}

/* Smartphone Video Frame */
.video-container {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9/16;
  margin: 0 auto 1.25rem;
  background: #000;
  border-radius: 2rem;
  padding: 0.45rem;
  box-shadow: 
    0 0 0 4px #1a1a24,
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 30px var(--primary-neon-glow);
  overflow: hidden;
}

.video-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #06060c;
  border-radius: 1.6rem;
  overflow: hidden;
}

.video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.6rem;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.unmute-btn {
  background: var(--primary-neon);
  color: #000;
  border: none;
  padding: 1rem 1.75rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 25px var(--primary-neon);
  animation: pulse-glow-green 1.5s infinite;
  cursor: pointer;
}

.unmute-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-badge-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.card-badge-header .badge {
  background: rgba(158, 100, 250, 0.12);
  border: 1px solid rgba(158, 100, 250, 0.25);
  color: hsl(258, 100%, 65%);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.glass-card h2 {
  font-size: 1.35rem;
  text-align: center;
  color: #fff;
  margin-bottom: 1rem;
}

/* Image Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 2px solid rgba(158, 100, 250, 0.2);
  box-shadow: 0 10px 25px rgba(158, 100, 250, 0.1);
  margin-bottom: 0.75rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 300%;
}

.carousel-slide {
  width: 33.333%;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 4/5;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
}

.carousel-slide-info h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.carousel-slide-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.slide-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  text-transform: uppercase;
  animation: pulse-glow-red 1s infinite alternate;
}

.slide-badge.badge-green {
  background: #00e676;
  color: #000;
  animation: pulse-glow-green 1s infinite alternate;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  width: 18px;
  border-radius: 3px;
  background: var(--primary-neon);
}

/* Feature Item list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.feature-item.highlight-item {
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.25);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(3px);
}

.feature-icon-wrapper {
  background: rgba(255, 255, 255, 0.08);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item.highlight-item .feature-icon-wrapper {
  background: rgba(0, 230, 118, 0.2);
}

.feature-icon-wrapper svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
}

.feature-item.highlight-item .feature-icon-wrapper svg {
  fill: #00e676;
}

.feature-item-text {
  flex-grow: 1;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-badge-right {
  font-size: 0.6rem;
  font-weight: 800;
  background: rgba(158, 100, 250, 0.2);
  color: hsl(258, 100%, 65%);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.feature-item.highlight-item .feature-badge-right {
  background: rgba(0, 230, 118, 0.2);
  color: #00e676;
}

/* Info Box */
.info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.info-icon-wrapper {
  background: rgba(250, 204, 21, 0.15);
  border-radius: 50%;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-wrapper svg {
  width: 16px;
  height: 16px;
  fill: rgb(250, 204, 21);
}

.info-text-box h4 {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.info-text-box p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Call to Action Button (Blashing/Pulsing with Aggressive Urgency) */
.cta-container {
  padding: 0.5rem 0;
  text-align: center;
}

@keyframes pulse-urgent {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.8), 0 10px 25px rgba(0, 230, 118, 0.2);
  }
  30% {
    filter: brightness(1.25);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 25px 10px rgba(0, 230, 118, 0.5), 0 12px 30px rgba(0, 230, 118, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0), 0 10px 25px rgba(0, 230, 118, 0.2);
  }
}

.cta-btn, .btn-cta {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-neon), #00c853);
  color: #000;
  border: none;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  /* Extremely blinking/flashing animation */
  animation: pulse-urgent 1.2s infinite ease-in-out;
}

.cta-btn::after, .btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cta-btn:hover::after, .btn-cta:hover::after {
  transform: translateX(100%);
}

.cta-btn:hover, .btn-cta:hover {
  filter: brightness(1.3);
}

.cta-btn svg, .btn-cta svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cta-subtext {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-weight: 600;
}

/* Communities & progress bar (ICV view) */
.progress-card {
  text-align: center;
}

.progress-card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.progress-card-title svg {
  width: 24px;
  height: 24px;
  fill: var(--text-primary);
}

.progress-prize-text {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.progress-subtext {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.progress-track-bg {
  width: 100%;
  height: 24px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 100px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  margin-bottom: 0.75rem;
}

.progress-track-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 65.6%; 
  border-radius: 100px;
  position: relative;
  transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 0 15px var(--primary-neon-glow);
}

.progress-track-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  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
  );
  background-size: 20px 20px;
  animation: progress-stripes 1.5s linear infinite;
}

.progress-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.progress-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.progress-stats-row span.highlight {
  color: var(--primary-neon);
  font-weight: 700;
}

/* Share Missions Card */
.share-mission-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.share-mission-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.share-mission-icon {
  background: #facc15;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.share-mission-icon svg {
  width: 18px;
  height: 18px;
  fill: #000;
}

.share-mission-title h3 {
  font-size: 1rem;
  color: #fff;
}

.share-mission-title p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.share-mission-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.share-slots-grid {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.share-slot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-slot svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.2);
}

/* Grid layout options */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.grid-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.grid-card:hover {
  background: rgba(255,255,255,0.05);
}

.grid-card-icon {
  background: rgba(250, 204, 21, 0.15);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
}

.grid-card-icon.color-green {
  background: rgba(0, 230, 118, 0.15);
}

.grid-card-icon svg {
  width: 16px;
  height: 16px;
  fill: #facc15;
}

.grid-card-icon.color-green svg {
  fill: var(--primary-neon);
}

.grid-card h4 {
  font-size: 0.8rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.grid-card p {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* Accordion FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.faq-icon {
  width: 14px;
  height: 14px;
  fill: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  fill: var(--primary-neon);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Trust Section & Footer */
.trust-row {
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.trust-badge-item svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
}

.trust-badge-item span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.footer p {
  margin-bottom: 0.35rem;
}

.footer a {
  color: var(--text-primary);
  text-decoration: underline;
  margin: 0 0.4rem;
}

/* Keyframes */
@keyframes pulse-glow-red {
  0% { box-shadow: 0 0 10px rgba(255, 59, 92, 0.2); }
  50% { box-shadow: 0 0 25px rgba(255, 59, 92, 0.6); }
  100% { box-shadow: 0 0 10px rgba(255, 59, 92, 0.2); }
}

@keyframes pulse-glow-green {
  0% { box-shadow: 0 0 15px rgba(0, 230, 118, 0.3); }
  50% { box-shadow: 0 0 35px rgba(0, 230, 118, 0.7); }
  100% { box-shadow: 0 0 15px rgba(0, 230, 118, 0.3); }
}

@keyframes pulse-glow-light {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

@keyframes pulse-dot {
  from { opacity: 0.3; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.2); }
}

@media (min-width: 600px) {
  body {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .container {
    max-width: 500px;
  }
  .glass-card {
    border-radius: 1.5rem;
    padding: 1.75rem;
  }
  .view-title-box h1 {
    font-size: 2.25rem;
  }
}

/* Títulos Premiados List Widget */
.draw-titles-container {
  margin-top: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.draw-titles-header {
  margin-bottom: 0.75rem;
  text-align: left;
}

.draw-titles-header h3 {
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.draw-titles-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

/* Custom Scrollbar for titles list */
.draw-titles-list::-webkit-scrollbar {
  width: 4px;
}
.draw-titles-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.01);
}
.draw-titles-list::-webkit-scrollbar-thumb {
  background: var(--primary-neon);
  border-radius: 2px;
}

.draw-titles-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.draw-titles-row.won {
  border-color: rgba(255, 59, 92, 0.25);
  background: rgba(255, 59, 92, 0.03);
}

.draw-titles-row.available {
  border-color: rgba(0, 230, 118, 0.25);
  background: rgba(0, 230, 118, 0.03);
}

.draw-titles-number {
  font-family: monospace;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.draw-titles-number.won {
  color: #ff3b5c;
}

.draw-titles-number.available {
  color: #00e676;
}

.draw-titles-award {
  font-weight: 600;
  color: #fff;
}

.draw-titles-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.75rem;
}

.draw-titles-status.won {
  color: #ff3b5c;
}

.draw-titles-status.available {
  color: #00e676;
}

/* Custom Video Control Bar styling */
.video-controls-bar {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  z-index: 20;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

/* Show controls when video-screen is hovered, only when playing is active */
.video-screen.playing-active:hover .video-controls-bar {
  opacity: 1;
  pointer-events: auto;
}

/* Touch fallback: show controls temporarily when tapped on mobile */
.video-screen.playing-active.show-controls .video-controls-bar {
  opacity: 1;
  pointer-events: auto;
}

.control-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.control-btn:hover {
  background: var(--primary-neon);
  color: #000;
}

.control-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Screen Blocking Overlay */
.block-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.block-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 59, 92, 0.25);
  box-shadow: 0 0 50px rgba(255, 59, 92, 0.15);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  max-width: 420px;
  width: 100%;
  animation: block-scale-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes block-scale-up {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.block-icon {
  width: 68px;
  height: 68px;
  background: rgba(255, 59, 92, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: var(--accent-red);
}

.block-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.block-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.block-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.block-release-timer {
  background: rgba(255, 59, 92, 0.05);
  border: 1px solid rgba(255, 59, 92, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  font-family: monospace;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
  display: inline-block;
  letter-spacing: 1px;
}

.block-note {
  font-size: 0.85rem;
  color: #00e676;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  background: rgba(0, 230, 118, 0.06);
  border: 1px dashed rgba(0, 230, 118, 0.2);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.block-buttons-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  width: 100%;
}

.block-btn-secondary {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.block-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.block-btn-secondary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 440px) {
  .block-buttons-container {
    flex-direction: column;
  }
  .block-card {
    padding: 2rem 1.5rem;
  }
  .block-btn-secondary, .block-card .cta-btn {
    padding: 1rem;
    font-size: 0.95rem;
    width: 100%;
  }
}

