* {
  box-sizing: border-box;
}

:root {
  --bg: #0b1224;
  --surface: #ffffff;
  --muted: #6b7280;
  --text: #0f172a;
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
}

.page {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.ambient {
  display: none;
}

.layout {
  display: block;
  position: relative;
  z-index: 1;
  height: 100%;
}

.stage {
  position: relative;
  padding: 0;
  min-height: 100vh;
  border-radius: 0;
  border: none;
  background: radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.12), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(14, 165, 233, 0.16), transparent 32%),
    linear-gradient(180deg, #0b1224 0%, #0f172a 50%, #0b1224 100%);
  overflow: hidden;
  box-shadow: none;
  display: block;
  color: #e5e7eb;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pill.muted {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.slide-shell {
  position: relative;
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 0;
  backdrop-filter: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  color: #e5e7eb;
  min-height: 100vh;
  height: 100vh;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}

.slides {
  position: relative;
  min-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  border: none;
  isolation: isolate;
}

.slide {
  --bg-image: linear-gradient(135deg, #0f172a 0%, #111827 100%);
  position: absolute;
  inset: 0;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #e5e7eb;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow: hidden;
  text-align: center;
  pointer-events: none;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 12, 26, 0.75), rgba(7, 12, 26, 0.45));
  pointer-events: none;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  width: 100%;
  text-align: center;
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #a5f3fc;
}

.slide h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.lead {
  margin: 0 0 12px;
  color: #dbeafe;
  max-width: 620px;
  line-height: 1.6;
}

.points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #e2e8f0;
  font-weight: 600;
}

.circle-highlight {
  position: relative;
  width: min(85vw, 500px);
  height: min(85vw, 500px);
  margin: 20px auto 0;
}

.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.circle-center img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.5), 0 10px 30px rgba(0, 0, 0, 0.45);
  animation: pulse-center 2s ease-in-out infinite;
}

.circle-title {
  margin: 0;
  color: #f8fafc;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.circle-orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  animation: orbit-spin 30s linear infinite;
}

.circle-ring::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.circle-ring:hover {
  animation-play-state: paused;
}

.circle-avatar {
  --angle: 0deg;
  --radius: min(42.5vw, 220px);
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  transform: translate(
    calc(cos(var(--angle)) * var(--radius)),
    calc(sin(var(--angle)) * var(--radius))
  ) rotate(calc(-1 * var(--orbit-rotation, 0deg)));
  transition: box-shadow 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
}

.circle-avatar.swapping-out {
  opacity: 0;
  transform: translate(0, 0) rotate(calc(-1 * var(--orbit-rotation, 0deg))) scale(0.5);
}

.circle-avatar.swapping-in {
  animation: swap-in 0.5s ease forwards;
}

.circle-avatar:hover {
  box-shadow: 0 0 25px rgba(14, 165, 233, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.circle-center img.swapping {
  animation: center-swap 0.5s ease;
}

@keyframes center-swap {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes swap-in {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(calc(-1 * var(--orbit-rotation, 0deg))) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translate(
      calc(cos(var(--angle)) * var(--radius)),
      calc(sin(var(--angle)) * var(--radius))
    ) rotate(calc(-1 * var(--orbit-rotation, 0deg))) scale(1);
  }
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-center {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.5), 0 10px 30px rgba(0, 0, 0, 0.45);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 60px rgba(14, 165, 233, 0.7), 0 15px 40px rgba(0, 0, 0, 0.5);
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.mini-title {
  margin: 0 0 4px;
  font-weight: 700;
}

.mini-text {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.5;
}

.note {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 540px;
}

.note-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.2);
  color: #e0f2fe;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 6px;
}

/* Área de hover para revelar os controles */
.slide-overlay-container {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 300px;
  height: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 16px;
}

/* Indicador sutil (seta para cima) */
.slide-overlay-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.slide-overlay-hint::before {
  content: '';
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}

.slide-overlay-hint::after {
  content: '▲';
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
  animation: hint-bounce 2s ease-in-out infinite;
}

@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.slide-overlay-container:hover .slide-overlay-hint {
  opacity: 0;
}

.slide-overlay {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.slide-overlay-container:hover .slide-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-video {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 240px;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  z-index: 3;
}

.floating-frame {
  width: 100%;
  height: 100%;
}

.floating-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.floating-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: #e5e7eb;
  font-size: 18px;
  cursor: pointer;
  z-index: 4;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.floating-close:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.45);
}

.hidden {
  display: none !important;
}

.avatar-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px;
  margin-top: 10px;
  max-width: 760px;
}

.avatar-card {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 4px 0;
  border-radius: 14px;
  background: none;
  border: none;
  transition: opacity 0.3s ease;
}

.avatar-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.avatar-card figcaption {
  margin: 0;
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: opacity 0.3s ease;
}

/* Flying avatar animation */
.flying-avatar {
  will-change: transform, left, top, width, height;
}

.slides.dragging {
  outline: 2px dashed rgba(148, 163, 184, 0.8);
  outline-offset: 4px;
}

/* Slide 3 - Dicas do Amigo Secreto */
.slide-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide-intro {
  margin: 0 0 8px;
  font-size: 18px;
  color: #c4b5fd;
  font-weight: 500;
  max-width: 500px;
  line-height: 1.5;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hints-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hint-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: hint-appear 0.6s ease forwards;
}

.hint-card[data-hint="1"] { animation-delay: 0.1s; }
.hint-card[data-hint="2"] { animation-delay: 0.3s; }
.hint-card[data-hint="3"] { animation-delay: 0.5s; }
.hint-card[data-hint="4"] { animation-delay: 0.7s; }

.hint-card:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

.hint-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
  animation: icon-bounce 2s ease-in-out infinite;
}

.hint-card[data-hint="1"] .hint-icon { animation-delay: 0s; }
.hint-card[data-hint="2"] .hint-icon { animation-delay: 0.5s; }
.hint-card[data-hint="3"] .hint-icon { animation-delay: 1s; }
.hint-card[data-hint="4"] .hint-icon { animation-delay: 1.5s; }

.hint-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #e2e8f0;
  font-weight: 500;
}

.hint-footer {
  margin-top: 30px;
  font-size: 20px;
  color: #a5b4fc;
  font-weight: 700;
  animation: pulse-text 2s ease-in-out infinite;
}

@keyframes hint-appear {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes icon-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-text {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@media (max-width: 700px) {
  .slide {
    padding: 20px;
  }

  .avatar-card img {
    width: 72px;
    height: 72px;
  }

  .hints-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hint-card {
    padding: 18px;
  }

  .hint-icon {
    font-size: 36px;
  }

  .hint-text {
    font-size: 14px;
  }
}

/* Slide 4 - Quiz LoL Theme */
.lol-eyebrow {
  color: #c89b3c !important;
  font-size: 14px;
  letter-spacing: 0.15em;
}

.lol-title {
  color: #f0e6d2;
  text-shadow: 0 0 20px rgba(200, 155, 60, 0.5);
  font-size: clamp(24px, 5vw, 32px);
}

.lol-subtitle {
  color: #a09b8c;
  font-style: italic;
  margin-bottom: 20px;
  font-size: 16px;
}

.lol-hint {
  color: #5b5a56 !important;
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px auto;
  max-width: 750px;
  position: relative;
  z-index: 10;
}

.lol-grid {
  background: linear-gradient(180deg, rgba(1, 10, 19, 0.8) 0%, rgba(1, 10, 19, 0.4) 100%);
  border: 1px solid #463714;
  border-radius: 4px;
  padding: 30px;
  box-shadow: 0 0 30px rgba(200, 155, 60, 0.1), inset 0 0 60px rgba(0, 0, 0, 0.5);
}

.quiz-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 11;
}

.lol-grid .quiz-option {
  background: linear-gradient(180deg, #1e2328 0%, #0a0c0e 100%);
  border: 2px solid #463714;
  border-radius: 4px;
  padding: 14px;
}

.lol-grid .quiz-option:hover {
  transform: scale(1.05);
  border-color: #c89b3c;
  box-shadow: 0 0 20px rgba(200, 155, 60, 0.4), 0 0 40px rgba(200, 155, 60, 0.2);
  background: linear-gradient(180deg, #2a2f35 0%, #12161a 100%);
}

.lol-grid .quiz-option img {
  width: 90px;
  height: 90px;
  border: 2px solid #463714;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.lol-grid .quiz-option:hover img {
  border-color: #c89b3c;
}

.lol-grid .quiz-option span {
  color: #a09b8c;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lol-grid .quiz-option:hover span {
  color: #f0e6d2;
}

.lol-grid .quiz-option.selected {
  border-color: #c89b3c;
  background: linear-gradient(180deg, #2a2f35 0%, #12161a 100%);
  box-shadow: 0 0 30px rgba(200, 155, 60, 0.5);
}

.lol-grid .quiz-option.wrong {
  border-color: #c24a4a;
  background: linear-gradient(180deg, #2a1f1f 0%, #1a0c0c 100%);
  box-shadow: 0 0 20px rgba(194, 74, 74, 0.4);
}

.quiz-option:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.quiz-option.selected {
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.2);
}

.quiz-option.correct {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.2);
  animation: correct-pulse 0.6s ease;
}

.quiz-option.wrong {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.2);
  animation: wrong-shake 0.5s ease;
}

@keyframes correct-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes wrong-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.quiz-option img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.quiz-option span {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

.quiz-hint {
  color: #a5b4fc;
  font-size: 16px;
  margin-top: 16px;
}

.quiz-result {
  margin-top: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
}

.quiz-result.correct {
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid #10b981;
  color: #6ee7b7;
}

.quiz-result.wrong {
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid #ef4444;
  color: #fca5a5;
}

/* Slide 5 - Revelação */
.reveal-container {
  position: relative;
  margin: 20px 0;
}

.reveal-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.reveal-photo {
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 60px rgba(236, 72, 153, 0.5), 0 20px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: reveal-photo-appear 1s ease forwards;
}

.reveal-photo-main {
  width: 180px;
  height: 180px;
  animation-delay: 0.3s;
}

.reveal-photo-side {
  width: 100px;
  height: 100px;
  animation-delay: 0.6s;
}

@keyframes reveal-photo-appear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  60% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.reveal-name {
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 40px rgba(236, 72, 153, 0.8), 0 0 80px rgba(124, 58, 237, 0.6);
  margin: 0;
  opacity: 0;
  animation: reveal-name-appear 1s ease forwards 0.8s;
  letter-spacing: -0.02em;
}

@keyframes reveal-name-appear {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  60% {
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal-title {
  animation: pulse-text 2s ease-in-out infinite;
}

.reveal-message {
  font-size: 22px;
  color: #f0abfc;
  font-weight: 600;
  margin-top: 20px;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards 1.2s;
}

/* Foto do presente */
.gift-photo-container {
  margin: 20px auto;
  opacity: 0;
  animation: gift-appear 1s ease forwards 1.5s;
}

.gift-photo {
  max-width: 300px;
  max-height: 250px;
  width: auto;
  height: auto;
  border-radius: 16px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 40px rgba(236, 72, 153, 0.4), 0 15px 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

@keyframes gift-appear {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }
  60% {
    transform: scale(1.05) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Confetti */
.confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 12px;
  height: 12px;
  top: -20px;
  opacity: 0;
}

.confetti-piece.active {
  animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg);
  }
}

/* Telas grandes (1440p+) */
@media (min-width: 1800px) {
  .slide h2 {
    font-size: 48px;
  }

  .eyebrow {
    font-size: 18px;
  }

  .avatar-deck {
    max-width: 95vw;
    gap: 32px;
  }

  .avatar-card img {
    width: 120px;
    height: 120px;
  }

  .avatar-card figcaption {
    font-size: 18px;
  }

  .circle-center img {
    width: 200px;
    height: 200px;
  }

  .circle-avatar {
    width: 90px;
    height: 90px;
  }

  .hint-card {
    padding: 32px;
  }

  .hint-icon {
    font-size: 64px;
  }

  .hint-text {
    font-size: 20px;
  }

  .hint-footer {
    font-size: 28px;
  }

  .quiz-grid {
    max-width: 900px;
    gap: 24px;
  }

  .lol-grid {
    padding: 40px;
  }

  .lol-grid .quiz-option img {
    width: 120px;
    height: 120px;
  }

  .lol-grid .quiz-option span {
    font-size: 16px;
  }

  .lol-title {
    font-size: 42px;
  }

  .lol-subtitle {
    font-size: 22px;
  }

  .reveal-photo-main {
    width: 160px;
    height: 160px;
  }

  .reveal-photo-side {
    width: 100px;
    height: 100px;
  }

  .reveal-name {
    font-size: 56px;
  }

  .reveal-message {
    font-size: 24px;
  }

  .gift-photo {
    max-width: 320px;
    max-height: 260px;
  }
}

/* Telas 4K (2160p+) */
@media (min-width: 2500px) {
  .slide h2 {
    font-size: 56px;
  }

  .eyebrow {
    font-size: 20px;
  }

  .slide-intro {
    font-size: 24px;
  }

  .avatar-deck {
    max-width: 95vw;
    gap: 40px;
  }

  .avatar-card img {
    width: 140px;
    height: 140px;
    border-width: 4px;
  }

  .avatar-card figcaption {
    font-size: 20px;
  }

  .circle-highlight {
    width: min(85vw, 800px);
    height: min(85vw, 800px);
  }

  .circle-center img {
    width: 280px;
    height: 280px;
    border-width: 6px;
  }

  .circle-avatar {
    --radius: min(42.5vw, 350px);
    width: 120px;
    height: 120px;
  }

  .hints-container {
    max-width: 1000px;
    gap: 32px;
  }

  .hint-card {
    padding: 48px;
    border-radius: 28px;
  }

  .hint-icon {
    font-size: 80px;
  }

  .hint-text {
    font-size: 26px;
  }

  .hint-footer {
    font-size: 36px;
  }

  .quiz-grid {
    max-width: 1200px;
    gap: 32px;
  }

  .lol-grid {
    padding: 50px;
  }

  .lol-grid .quiz-option {
    padding: 24px;
  }

  .lol-grid .quiz-option img {
    width: 160px;
    height: 160px;
  }

  .lol-grid .quiz-option span {
    font-size: 20px;
  }

  .lol-title {
    font-size: 56px;
  }

  .lol-subtitle {
    font-size: 28px;
  }

  .lol-hint {
    font-size: 22px;
  }

  .reveal-container {
    margin: 10px 0;
  }

  .reveal-photos {
    gap: 16px;
    margin-bottom: 16px;
  }

  .reveal-photo-main {
    width: 140px;
    height: 140px;
    border-width: 3px;
  }

  .reveal-photo-side {
    width: 90px;
    height: 90px;
  }

  .reveal-name {
    font-size: 48px;
  }

  .reveal-title {
    font-size: 32px;
  }

  .reveal-message {
    font-size: 20px;
    margin-top: 10px;
  }

  .gift-photo-container {
    margin: 10px auto;
  }

  .gift-photo {
    max-width: 280px;
    max-height: 220px;
    border-width: 3px;
    border-radius: 12px;
  }

  .slide-content-centered {
    padding: 15px;
    gap: 8px;
  }

  .slide-overlay-container {
    width: 400px;
    height: 100px;
    padding-bottom: 20px;
  }

  .slide-overlay-hint::before {
    width: 60px;
    height: 4px;
  }

  .slide-overlay-hint::after {
    font-size: 10px;
  }

  .slide-overlay {
    padding: 16px 20px;
    gap: 16px;
  }

  .icon-btn {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }

  .pill {
    font-size: 18px;
    padding: 10px 16px;
  }
}

@media (max-width: 700px) {
  .quiz-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .quiz-option img {
    width: 55px;
    height: 55px;
  }

  .quiz-option span {
    font-size: 11px;
  }

  .reveal-photo-main {
    width: 140px;
    height: 140px;
  }

  .reveal-photo-side {
    width: 80px;
    height: 80px;
  }

  .reveal-name {
    font-size: 32px;
  }
}

