/* ==========================================
   Easter Simon Says — Styles
   ========================================== */

#pascuas {
  min-height: 80vh;
  padding: 100px 0 60px;
  background: url('/assets/img/hero-bg-pascuas.jpg') center top / cover no-repeat fixed;
  position: relative;
}

#pascuas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

#pascuas .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ==========================================
   SHARED PARTICLE CANVAS
   ========================================== */

.pascuas-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================
   EVENT COUNTDOWN
   ========================================== */

.pascuas-event-countdown {
  position: relative;
  text-align: center;
  padding: 28px 24px;
  background: rgba(6, 6, 4, 0.7);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.pascuas-event-countdown-label {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #887a5e;
  margin-bottom: 12px;
  font-weight: 600;
}

.pascuas-event-countdown-timer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pascuas-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}

.pascuas-cd-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold, #c9a84c);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.pascuas-cd-lbl {
  font-size: 0.65rem;
  color: #887a5e;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.pascuas-cd-sep {
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.3);
  margin-top: -10px;
}

/* ==========================================
   PRIZE INFO
   ========================================== */

.pascuas-prize-info {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto 28px;
  padding: 20px 24px;
  background: rgba(4, 4, 2, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.pascuas-prize-text {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: #c9a84c;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.6;
}

.pascuas-prize-deadline {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  color: #b0a890;
  margin-bottom: 10px;
  line-height: 1.5;
}

.pascuas-prize-servers {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  color: #887a5e;
  line-height: 1.6;
  font-style: italic;
}

/* ==========================================
   EVENT ENDED
   ========================================== */

.pascuas-ended {
  text-align: center;
  padding: 50px 0 10px;
}

.pascuas-ended-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold, #c9a84c);
  margin-bottom: 16px;
}

.pascuas-ended-thanks {
  font-size: 1.1rem;
  color: #b0a890;
  margin-bottom: 16px;
  line-height: 1.6;
}

.pascuas-ended-thanks strong {
  color: var(--gold, #c9a84c);
  font-size: 1.3rem;
}

.pascuas-ended-ticket {
  font-size: 0.9rem;
  color: #887a5e;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 14px 20px;
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 10px;
}

/* ==========================================
   INTRO — PARCHMENT SCROLL
   ========================================== */

.pascuas-intro {
  position: relative;
  text-align: center;
  padding: 48px 36px 50px;
  margin-top: 24px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(160, 130, 70, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(160, 130, 70, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, rgba(28, 22, 12, 0.95) 0%, rgba(20, 16, 8, 0.98) 50%, rgba(28, 22, 12, 0.95) 100%);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 6px;
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(201, 168, 76, 0.06);
  animation: pascuas-scroll-unfurl 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Parchment texture overlay */
.pascuas-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(201, 168, 76, 0.012) 3px,
      rgba(201, 168, 76, 0.012) 4px
    );
  pointer-events: none;
  z-index: 0;
}

/* Decorative top & bottom scroll edges */
.pascuas-intro::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), rgba(201, 168, 76, 0.5), rgba(201, 168, 76, 0.3), transparent);
  z-index: 1;
}

@keyframes pascuas-scroll-unfurl {
  0% {
    opacity: 0;
    transform: scaleY(0.3) rotateX(40deg);
    transform-origin: top center;
  }
  100% {
    opacity: 1;
    transform: scaleY(1) rotateX(0deg);
    transform-origin: top center;
  }
}

/* Ornamental corners */
.pascuas-scroll-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(201, 168, 76, 0.25);
  border-style: solid;
  z-index: 1;
  pointer-events: none;
}
.pascuas-scroll-corner--tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.pascuas-scroll-corner--tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.pascuas-scroll-corner--bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.pascuas-scroll-corner--br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

/* Scroll bottom edge */
.pascuas-scroll-edge-bottom {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), rgba(201, 168, 76, 0.5), rgba(201, 168, 76, 0.3), transparent);
  z-index: 1;
  pointer-events: none;
}

.pascuas-eggs-deco {
  position: relative;
  z-index: 1;
  font-size: 2.4rem;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  animation: pascuas-float 3s ease-in-out infinite;
}

@keyframes pascuas-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pascuas-title {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold, #c9a84c);
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.15);
}

/* Decorative separator under title */
.pascuas-title::after {
  content: '⚜';
  display: block;
  font-size: 0.9rem;
  color: rgba(201, 168, 76, 0.3);
  margin-top: 12px;
  letter-spacing: 0.5em;
}

.pascuas-desc {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.7;
  color: #b0a890;
  max-width: 540px;
  margin: 0 auto 32px;
  font-style: italic;
}

.pascuas-login-msg {
  position: relative;
  z-index: 1;
  color: #887a5e;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.pascuas-intro-actions {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pascuas-play-btn {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  padding: 14px 40px;
  border-radius: 10px;
}

/* ==========================================
   TUTORIAL OVERLAY
   ========================================== */

.pascuas-tutorial-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: pascuas-tutorial-fadein 0.3s ease-out;
  padding: 20px;
}

@keyframes pascuas-tutorial-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pascuas-tutorial {
  position: relative;
  max-width: 440px;
  width: 100%;
  padding: 36px 32px 28px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(160, 130, 70, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, rgba(28, 22, 12, 0.98) 0%, rgba(18, 14, 8, 0.99) 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.4),
    0 16px 48px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(201, 168, 76, 0.06);
  text-align: center;
  animation: pascuas-tutorial-pop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pascuas-tutorial-pop {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.pascuas-tutorial-icon {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.pascuas-tutorial-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold, #c9a84c);
  margin-bottom: 20px;
}

.pascuas-tutorial-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.pascuas-tutorial-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: #b0a890;
  line-height: 1.5;
  border-bottom: 1px solid rgba(201, 168, 76, 0.06);
}

.pascuas-tutorial-steps li:last-child {
  border-bottom: none;
}

.pascuas-tutorial-emoji {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pascuas-tutorial-remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #887a5e;
  margin-bottom: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.pascuas-tutorial-remember input[type="checkbox"] {
  accent-color: var(--gold, #c9a84c);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.pascuas-tutorial-btn {
  font-size: 1rem;
  padding: 12px 36px;
  border-radius: 8px;
}

/* Inframundo */
.infra-corrupted .pascuas-tutorial {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(34, 139, 34, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, rgba(6, 14, 6, 0.98) 0%, rgba(4, 10, 4, 0.99) 100%);
  border-color: rgba(34, 139, 34, 0.2);
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.4),
    0 16px 48px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(34, 139, 34, 0.06);
}

.infra-corrupted .pascuas-tutorial-title {
  color: var(--gold, #228b22);
}

.infra-corrupted .pascuas-tutorial-steps li {
  color: #8fbc8f;
  border-bottom-color: rgba(34, 139, 34, 0.06);
}

.infra-corrupted .pascuas-tutorial-remember {
  color: #5a7a5a;
}

.infra-corrupted .pascuas-tutorial-remember input[type="checkbox"] {
  accent-color: #228b22;
}

/* Mobile */
@media (max-width: 480px) {
  .pascuas-tutorial {
    padding: 28px 20px 22px;
  }

  .pascuas-tutorial-title {
    font-size: 1.2rem;
  }

  .pascuas-tutorial-steps li {
    font-size: 0.82rem;
  }
}

/* ==========================================
   ANTICHEAT WARNING
   ========================================== */

.pascuas-anticheat {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 24px auto 0;
  padding: 18px 22px;
  background: rgba(40, 4, 4, 0.6);
  border: 1px solid rgba(180, 30, 30, 0.25);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.pascuas-anticheat-icon {
  position: relative;
  z-index: 1;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.pascuas-anticheat-text {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  color: rgba(220, 80, 80, 0.9);
  line-height: 1.65;
  margin-bottom: 8px;
}

.pascuas-anticheat-warn {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  color: rgba(180, 60, 60, 0.7);
  font-style: italic;
  line-height: 1.5;
}

/* ==========================================
   GAME AREA
   ========================================== */

.pascuas-game {
  text-align: center;
  padding: 30px 0;
}

.pascuas-game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pascuas-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Settings */
.pascuas-settings-wrap {
  position: relative;
  z-index: 10;
}

.pascuas-settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(201, 168, 76, 0.06);
  color: #b0a890;
  cursor: pointer;
  transition: all 0.2s;
}

.pascuas-settings-btn:hover {
  border-color: rgba(201, 168, 76, 0.4);
  color: var(--gold, #c9a84c);
  background: rgba(201, 168, 76, 0.12);
}

.pascuas-settings-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(12, 12, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 14px;
  padding: 18px 20px;
  min-width: 250px;
  z-index: 9999;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 168, 76, 0.05);
  animation: pascuas-panel-in 0.2s ease-out;
}

@keyframes pascuas-panel-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.pascuas-settings-panel.active {
  display: block;
}

.pascuas-settings-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.06);
}

.pascuas-settings-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pascuas-settings-row:first-child {
  padding-top: 0;
}

.pascuas-mute-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 8px;
  background: rgba(201, 168, 76, 0.06);
  cursor: pointer;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.pascuas-mute-btn:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.12);
  transform: scale(1.05);
}

.pascuas-mute-btn.pascuas-muted {
  opacity: 0.45;
  border-color: rgba(255, 70, 70, 0.25);
  background: rgba(255, 70, 70, 0.06);
}

.pascuas-mute-btn.pascuas-muted:hover {
  opacity: 0.7;
  border-color: rgba(255, 70, 70, 0.4);
}

.pascuas-settings-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #9a8a6a;
  min-width: 52px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pascuas-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(201, 168, 76, 0.12);
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.pascuas-slider:hover {
  background: rgba(201, 168, 76, 0.2);
}

.pascuas-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold, #c9a84c);
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(201, 168, 76, 0.15);
  transition: box-shadow 0.15s, transform 0.15s;
}

.pascuas-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.pascuas-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold, #c9a84c);
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(201, 168, 76, 0.15);
}

.pascuas-slider::-moz-range-track {
  height: 5px;
  border-radius: 3px;
  background: rgba(201, 168, 76, 0.12);
  border: none;
}

.pascuas-round {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold, #c9a84c);
}

.pascuas-quit-btn {
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: #887a5e;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.pascuas-quit-btn:hover {
  border-color: rgba(201, 168, 76, 0.4);
  color: var(--gold, #c9a84c);
}

.pascuas-status {
  font-size: 1.1rem;
  color: #b0a890;
  margin-bottom: 30px;
  min-height: 28px;
  font-weight: 600;
}

/* Countdown animation */
.pascuas-countdown-anim {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold, #c9a84c);
  animation: pascuas-countdown-pop 0.6s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes pascuas-countdown-pop {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Timer bar */
.pascuas-timer-wrap {
  width: 100%;
  max-width: 360px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  margin: 0 auto 24px;
  overflow: hidden;
}

.pascuas-timer-bar {
  height: 100%;
  width: 0%;
  background: var(--gold, #c9a84c);
  border-radius: 3px;
  transition: width 0.2s linear;
}

.pascuas-timer-danger {
  background: #ff4444 !important;
  animation: pascuas-timer-pulse 0.4s ease-in-out infinite;
}

@keyframes pascuas-timer-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Board: 3x2 grid */
.pascuas-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 360px;
  margin: 0 auto;
  transition: transform 0.1s;
}

.pascuas-emoji-btn {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  border: 2px solid rgba(201, 168, 76, 0.15);
  border-radius: 16px;
  background: rgba(201, 168, 76, 0.04);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.pascuas-emoji-btn:hover:not(:disabled) {
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.08);
}

.pascuas-emoji-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.pascuas-emoji-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pascuas-emoji-btn span {
  pointer-events: none;
}

/* Active state (during sequence display) */
.pascuas-emoji-active {
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Correct input flash */
.pascuas-emoji-correct {
  border-color: #4ecdc4 !important;
  background: rgba(78, 205, 196, 0.15) !important;
  box-shadow: 0 0 15px rgba(78, 205, 196, 0.4) !important;
}

/* Wrong input flash */
.pascuas-emoji-wrong {
  border-color: #ff6b6b !important;
  background: rgba(255, 107, 107, 0.15) !important;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.4) !important;
}

/* Board shake on wrong answer */
@keyframes pascuas-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.pascuas-board-shake {
  animation: pascuas-shake 0.4s ease;
}

/* ==========================================
   GAME OVER
   ========================================== */

.pascuas-gameover {
  text-align: center;
  padding: 50px 0;
}

.pascuas-gameover-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: pascuas-float 2s ease-in-out infinite;
}

.pascuas-gameover-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold, #c9a84c);
  margin-bottom: 12px;
}

.pascuas-gameover-score {
  font-size: 1.2rem;
  color: #b0a890;
  margin-bottom: 8px;
}

.pascuas-gameover-best {
  font-size: 1rem;
  color: #887a5e;
  margin-bottom: 8px;
}

.pascuas-gameover-record {
  font-size: 1rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 20px;
  animation: pascuas-pulse 1s ease-in-out infinite;
}

@keyframes pascuas-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.pascuas-gameover-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pascuas-gameover-actions .btn-ghost {
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: #887a5e;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  background: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.pascuas-gameover-actions .btn-ghost:hover {
  border-color: rgba(201, 168, 76, 0.4);
  color: var(--gold, #c9a84c);
}

/* ==========================================
   RANKING (inline toggle inside parchment)
   ========================================== */

.pascuas-ranking-toggle {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 340px;
  margin: 28px auto 0;
  padding: 12px 20px;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 8px;
  color: var(--gold, #c9a84c);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.04em;
}

.pascuas-ranking-toggle:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
}

.pascuas-ranking-toggle-icon {
  font-size: 1.1rem;
}

.pascuas-ranking-toggle-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.pascuas-ranking-toggle.open .pascuas-ranking-toggle-chevron {
  transform: rotate(180deg);
}

.pascuas-ranking-inline {
  position: relative;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.pascuas-ranking-inline .pascuas-ranking-table-wrap {
  padding-top: 20px;
}

.pascuas-ranking-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding-bottom: 4px;
}

.pascuas-ranking-pager button {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 6px;
  background: rgba(201, 168, 76, 0.04);
  color: #b0a890;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pascuas-ranking-pager button:hover {
  border-color: rgba(201, 168, 76, 0.3);
  color: var(--gold, #c9a84c);
  background: rgba(201, 168, 76, 0.08);
}

.pascuas-ranking-pager button.active {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--gold, #c9a84c);
  font-weight: 700;
}

.pascuas-ranking-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pascuas-ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pascuas-ranking-table th {
  text-align: center;
  padding: 10px 16px;
  color: #a09070;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.pascuas-ranking-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.06);
  color: #c8b888;
}

.pascuas-ranking-table tr:hover td {
  background: rgba(201, 168, 76, 0.06);
}

.pascuas-rank-pos {
  font-size: 1.1rem;
  width: 50px;
}

.pascuas-rank-name {
  font-weight: 700;
  color: #e0d0a0;
  letter-spacing: 0.04em;
}

.pascuas-rank-score {
  font-weight: 700;
  color: var(--gold, #c9a84c);
}

.pascuas-rank-games {
  color: #887a5e;
}

/* Top 3 highlight */
.pascuas-top1 .pascuas-rank-name { color: #ffd700; }
.pascuas-top2 .pascuas-rank-name { color: #d0d0d0; }
.pascuas-top3 .pascuas-rank-name { color: #cd7f32; }

.pascuas-ranking-empty {
  text-align: center;
  color: #887a5e;
  font-size: 0.95rem;
  padding: 24px 0;
}

/* ==========================================
   INFRAMUNDO THEME OVERRIDES
   ========================================== */

.infra-corrupted .pascuas-event-countdown-label,
.infra-corrupted .pascuas-cd-lbl,
.infra-corrupted .pascuas-prize-servers,
.infra-corrupted .pascuas-ended-ticket {
  color: #5a7a5a;
}

.infra-corrupted .pascuas-cd-val,
.infra-corrupted .pascuas-prize-text,
.infra-corrupted .pascuas-ended-title,
.infra-corrupted .pascuas-ended-thanks strong {
  color: var(--gold, #228b22);
}

.infra-corrupted .pascuas-cd-sep {
  color: rgba(34, 139, 34, 0.3);
}

.infra-corrupted .pascuas-event-countdown {
  background: rgba(2, 6, 2, 0.7);
  border-color: rgba(34, 139, 34, 0.1);
}

.infra-corrupted .pascuas-prize-info {
  background: rgba(2, 6, 2, 0.75);
  border-color: rgba(34, 139, 34, 0.1);
}

.infra-corrupted .pascuas-ended-ticket {
  background: rgba(34, 139, 34, 0.04);
  border-color: rgba(34, 139, 34, 0.12);
}

.infra-corrupted .pascuas-prize-deadline,
.infra-corrupted .pascuas-ended-thanks {
  color: #8fbc8f;
}

.infra-corrupted .pascuas-anticheat {
  background: rgba(40, 4, 4, 0.5);
  border-color: rgba(180, 30, 30, 0.2);
}

.infra-corrupted .pascuas-intro {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(34, 139, 34, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(34, 139, 34, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, rgba(6, 14, 6, 0.95) 0%, rgba(4, 10, 4, 0.98) 50%, rgba(6, 14, 6, 0.95) 100%);
  border-color: rgba(34, 139, 34, 0.18);
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(34, 139, 34, 0.06);
}

.infra-corrupted .pascuas-intro::before {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(34, 139, 34, 0.012) 3px,
      rgba(34, 139, 34, 0.012) 4px
    );
}

.infra-corrupted .pascuas-intro::after,
.infra-corrupted .pascuas-scroll-edge-bottom {
  background: linear-gradient(90deg, transparent, rgba(34, 139, 34, 0.3), rgba(34, 139, 34, 0.5), rgba(34, 139, 34, 0.3), transparent);
}

.infra-corrupted .pascuas-scroll-corner {
  border-color: rgba(34, 139, 34, 0.25);
}

.infra-corrupted .pascuas-title::after {
  color: rgba(34, 139, 34, 0.3);
}

.infra-corrupted .pascuas-title {
  color: var(--gold, #228b22);
}

.infra-corrupted .pascuas-desc,
.infra-corrupted .pascuas-status {
  color: #8fbc8f;
}

.infra-corrupted .pascuas-login-msg,
.infra-corrupted .pascuas-quit-btn,
.infra-corrupted .pascuas-rank-games,
.infra-corrupted .pascuas-gameover-best,
.infra-corrupted .pascuas-ranking-empty {
  color: #5a7a5a;
}

.infra-corrupted .pascuas-quit-btn {
  border-color: rgba(34, 139, 34, 0.2);
}

.infra-corrupted .pascuas-quit-btn:hover {
  border-color: rgba(34, 139, 34, 0.4);
  color: var(--gold, #228b22);
}

.infra-corrupted .pascuas-settings-btn {
  border-color: rgba(34, 139, 34, 0.2);
  background: rgba(34, 139, 34, 0.06);
}

.infra-corrupted .pascuas-settings-btn:hover {
  border-color: rgba(34, 139, 34, 0.4);
  color: var(--gold, #228b22);
  background: rgba(34, 139, 34, 0.12);
}

.infra-corrupted .pascuas-settings-panel {
  background: rgba(4, 8, 4, 0.96);
  border-color: rgba(34, 139, 34, 0.18);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(34, 139, 34, 0.05);
}

.infra-corrupted .pascuas-settings-row {
  border-bottom-color: rgba(34, 139, 34, 0.06);
}

.infra-corrupted .pascuas-mute-btn {
  border-color: rgba(34, 139, 34, 0.18);
  background: rgba(34, 139, 34, 0.06);
}

.infra-corrupted .pascuas-mute-btn:hover {
  border-color: rgba(34, 139, 34, 0.35);
  background: rgba(34, 139, 34, 0.12);
}

.infra-corrupted .pascuas-settings-label {
  color: #5a7a5a;
}

.infra-corrupted .pascuas-slider {
  background: rgba(34, 139, 34, 0.12);
}

.infra-corrupted .pascuas-slider:hover {
  background: rgba(34, 139, 34, 0.2);
}

.infra-corrupted .pascuas-slider::-webkit-slider-thumb {
  background: var(--gold, #228b22);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(34, 139, 34, 0.15);
}

.infra-corrupted .pascuas-slider::-moz-range-thumb {
  background: var(--gold, #228b22);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(34, 139, 34, 0.15);
}

.infra-corrupted .pascuas-slider::-moz-range-track {
  background: rgba(34, 139, 34, 0.12);
}

.infra-corrupted .pascuas-timer-wrap {
  background: rgba(34, 139, 34, 0.08);
}

.infra-corrupted .pascuas-timer-bar {
  background: var(--gold, #228b22);
}

.infra-corrupted .pascuas-emoji-btn {
  border-color: rgba(34, 139, 34, 0.15);
  background: rgba(34, 139, 34, 0.04);
}

.infra-corrupted .pascuas-emoji-btn:hover:not(:disabled) {
  border-color: rgba(34, 139, 34, 0.3);
  background: rgba(34, 139, 34, 0.08);
}

.infra-corrupted .pascuas-ranking-toggle {
  background: rgba(34, 139, 34, 0.06);
  border-color: rgba(34, 139, 34, 0.18);
  color: var(--gold, #228b22);
}

.infra-corrupted .pascuas-ranking-toggle:hover {
  background: rgba(34, 139, 34, 0.1);
  border-color: rgba(34, 139, 34, 0.3);
}

.infra-corrupted .pascuas-ranking-pager button {
  border-color: rgba(34, 139, 34, 0.15);
  background: rgba(34, 139, 34, 0.04);
  color: #8fbc8f;
}

.infra-corrupted .pascuas-ranking-pager button:hover {
  border-color: rgba(34, 139, 34, 0.3);
  color: var(--gold, #228b22);
  background: rgba(34, 139, 34, 0.08);
}

.infra-corrupted .pascuas-ranking-pager button.active {
  background: rgba(34, 139, 34, 0.15);
  border-color: rgba(34, 139, 34, 0.35);
  color: var(--gold, #228b22);
}

.infra-corrupted .pascuas-ranking-table th {
  color: #5a7a5a;
  border-bottom-color: rgba(34, 139, 34, 0.15);
}

.infra-corrupted .pascuas-ranking-table td {
  color: #8fbc8f;
  border-bottom-color: rgba(34, 139, 34, 0.06);
}

.infra-corrupted .pascuas-ranking-table tr:hover td {
  background: rgba(34, 139, 34, 0.06);
}

.infra-corrupted .pascuas-rank-name {
  color: #a0d0a0;
}

.infra-corrupted .pascuas-rank-score {
  color: var(--gold, #228b22);
}

.infra-corrupted .pascuas-gameover-actions .btn-ghost {
  border-color: rgba(34, 139, 34, 0.2);
  color: #5a7a5a;
}

.infra-corrupted .pascuas-gameover-actions .btn-ghost:hover {
  border-color: rgba(34, 139, 34, 0.4);
  color: var(--gold, #228b22);
}

.infra-corrupted .pascuas-gameover-record {
  color: #3bef3b;
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 480px) {
  #pascuas {
    padding: 80px 0 40px;
  }

  .pascuas-intro {
    padding: 28px 18px 36px;
    margin-top: 16px;
  }

  .pascuas-eggs-deco {
    font-size: 1.8rem;
  }

  .pascuas-title {
    font-size: 1.5rem;
  }

  .pascuas-desc {
    font-size: 0.9rem;
  }

  .pascuas-board {
    gap: 10px;
    max-width: 280px;
  }

  .pascuas-emoji-btn {
    font-size: 2.2rem;
    border-radius: 12px;
  }

  .pascuas-ranking-table {
    font-size: 0.85rem;
  }

  .pascuas-ranking-table th,
  .pascuas-ranking-table td {
    padding: 8px 10px;
  }

  .pascuas-cd-val {
    font-size: 1.4rem;
  }

  .pascuas-cd-unit {
    min-width: 40px;
  }

  .pascuas-cd-sep {
    font-size: 1.2rem;
  }

  .pascuas-prize-info {
    padding: 16px 18px;
  }

  .pascuas-ended-title {
    font-size: 1.4rem;
  }
}
