:root {
  --bg-deep: #091812;
  --bg-mid: #102a1f;
  --bg-warm: #1c1015;
  --card-bg: rgba(16, 36, 27, 0.88);
  --card-border: rgba(247, 206, 104, 0.32);
  --gold: #f7ce68;
  --gold-bright: #ffe599;
  --gold-deep: #c99220;
  --red: #c91f2a;
  --red-bright: #e83845;
  --red-dark: #8e111a;
  --emerald: #1c8c4c;
  --emerald-bright: #28b563;
  --emerald-dark: #105c31;
  --wa-green: #25d366;
  --wa-dark: #128c7e;
  --cream: #fff8eb;
  --text-main: #fff9f0;
  --text-muted: rgba(255, 245, 228, 0.8);
  --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.55);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 31, 42, 0.28), transparent 45%),
    radial-gradient(circle at 82% 18%, rgba(247, 206, 104, 0.16), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(28, 140, 76, 0.25), transparent 55%),
    linear-gradient(165deg, var(--bg-deep) 0%, var(--bg-mid) 52%, var(--bg-warm) 100%);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

#snowCanvas,
#confettiCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#snowCanvas { z-index: 1; }
#confettiCanvas { z-index: 30; }

/* Serie de luces navideñas */
.lights-garland {
  position: relative;
  width: 100%;
  height: 36px;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.lights-wire {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
}

.lightrope {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  list-style: none;
  margin: 0;
  padding: 6px 8px 0;
  position: relative;
}

.lightrope li {
  position: relative;
  width: 10px;
  height: 16px;
  border-radius: 50% 50% 55% 55%;
  animation: glow-odd 2.2s infinite ease-in-out;
}

.lightrope li::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 2px;
  width: 6px;
  height: 5px;
  background: #2e3b32;
  border-radius: 2px;
}

.lightrope li:nth-child(4n + 1) {
  background: #ff4757;
  box-shadow: 0 3px 14px 2px rgba(255, 71, 87, 0.85);
}

.lightrope li:nth-child(4n + 2) {
  background: #ffd32a;
  box-shadow: 0 3px 14px 2px rgba(255, 211, 42, 0.85);
  animation-name: glow-even;
  animation-delay: 0.4s;
}

.lightrope li:nth-child(4n + 3) {
  background: #2ed573;
  box-shadow: 0 3px 14px 2px rgba(46, 213, 115, 0.85);
  animation-delay: 0.8s;
}

.lightrope li:nth-child(4n + 4) {
  background: #70a1ff;
  box-shadow: 0 3px 14px 2px rgba(112, 161, 255, 0.85);
  animation-name: glow-even;
  animation-delay: 1.2s;
}

@keyframes glow-odd {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}

@keyframes glow-even {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

/* Barra superior */
.topbar {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 6px 18px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.star-icon {
  font-size: 1.9rem;
  filter: drop-shadow(0 0 10px rgba(247, 206, 104, 0.7));
  animation: float-soft 3.4s ease-in-out infinite;
}

.brand-title {
  margin: 0;
  font-family: 'Mountains of Christmas', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gold-bright);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
}

.brand-sub {
  margin: 2px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255, 229, 153, 0.78);
}

.topbar-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(247, 206, 104, 0.35);
  background: rgba(15, 36, 26, 0.78);
  color: var(--text-main);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  backdrop-filter: blur(8px);
}

.icon-btn:active { transform: scale(0.92); }

/* Contenedor principal */
.app-shell {
  position: relative;
  z-index: 10;
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 10px 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px 22px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 245, 210, 0.15);
  backdrop-filter: blur(12px);
  text-align: center;
  animation: card-enter 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-wide {
  max-width: 540px;
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hidden { display: none !important; }

.card-ribbon {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(201, 31, 42, 0.9), rgba(142, 17, 26, 0.95));
  border: 1px solid rgba(255, 229, 153, 0.45);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.section-title {
  margin: 0 0 8px;
  font-family: 'Mountains of Christmas', Georgia, serif;
  font-size: 2rem;
  color: var(--gold-bright);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.section-desc {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.spoiler-safe {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.84rem;
  color: #b7ffd3;
  font-weight: 700;
}

/* Barras de estado */
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.status-row.centered { justify-content: center; }

.turn-pill,
.count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.turn-pill {
  background: rgba(247, 206, 104, 0.18);
  border: 1px solid rgba(247, 206, 104, 0.5);
  color: var(--gold-bright);
}

.count-pill {
  background: rgba(28, 140, 76, 0.26);
  border: 1px solid rgba(69, 214, 130, 0.42);
  color: #b7ffd3;
}

.progress-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 229, 153, 0.35);
  transition: all 0.3s ease;
}

.dot.done {
  background: var(--emerald-bright);
  border-color: #a8ffca;
  box-shadow: 0 0 8px rgba(40, 181, 99, 0.7);
}

/* Lista pública de estado */
.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 8px;
  text-align: left;
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(8, 22, 16, 0.65);
  border: 1px solid rgba(255, 235, 190, 0.14);
  font-weight: 700;
  font-size: 0.92rem;
}

.status-item.done {
  border-color: rgba(46, 213, 115, 0.38);
  background: rgba(28, 140, 76, 0.18);
}

.badge-done {
  font-size: 0.76rem;
  font-weight: 800;
  color: #9effc8;
  white-space: nowrap;
}

.badge-pending {
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 229, 153, 0.75);
  white-space: nowrap;
}

/* Tómbola */
.tombola-stage {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#tombolaCanvas {
  width: 100%;
  height: auto;
  max-width: 340px;
  display: block;
}

.raffle-prompt {
  min-height: 2.5em;
  margin: 4px 0 14px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.raffle-prompt.highlight { color: var(--gold-bright); }

/* Tarjeta de regalo (Resultado) */
.reveal-greeting {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.gift-tag {
  position: relative;
  margin: 8px 0 16px;
  padding: 34px 18px 26px;
  border-radius: 20px;
  background: radial-gradient(circle at top center, rgba(255, 244, 210, 0.98), #f9ebd0 70%, #eed7ad 100%);
  color: #2b1414;
  border: 3px solid var(--gold-deep);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), inset 0 0 0 4px rgba(201, 31, 42, 0.16);
  animation: pop-reveal 0.55s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes pop-reveal {
  0% { opacity: 0; transform: scale(0.65) rotate(-3deg); }
  70% { opacity: 1; transform: scale(1.04) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.gift-tag-hole {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-mid);
  border: 2.5px solid var(--gold-deep);
}

.holly-corner {
  position: absolute;
  top: 10px;
  font-size: 1.35rem;
}

.holly-corner.top-left { left: 14px; }
.holly-corner.top-right { right: 14px; }

.reveal-label {
  margin: 4px 0 6px;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red-dark);
}

.revealed-name {
  font-family: 'Mountains of Christmas', Georgia, serif;
  font-size: clamp(2.3rem, 9.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--red);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
  word-break: break-word;
  margin: 8px 0 12px;
}

.hidden-curtain {
  margin: 10px 0 12px;
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(142, 17, 26, 0.12);
  border: 1.5px dashed rgba(142, 17, 26, 0.45);
  color: var(--red-dark);
  font-weight: 800;
  font-size: 1.05rem;
}

.reveal-hint {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #5c3a21;
}

.lock-note {
  margin-top: 14px;
  margin-bottom: 0;
}

/* Panel del organizador */
.admin-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.live-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: #7dffb3;
  background: rgba(40, 181, 99, 0.18);
  border: 1px solid rgba(40, 181, 99, 0.45);
  padding: 4px 10px;
  border-radius: 999px;
}

.base-url-box {
  text-align: left;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(8, 22, 16, 0.55);
  border: 1px solid rgba(247, 206, 104, 0.22);
}

.base-url-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.base-url-input {
  font-size: 0.88rem !important;
  padding: 9px 11px !important;
}

.admin-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  text-align: left;
}

.admin-person-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(8, 22, 16, 0.68);
  border: 1px solid rgba(255, 235, 190, 0.18);
}

.admin-person-card.done {
  border-color: rgba(46, 213, 115, 0.45);
  background: rgba(20, 62, 39, 0.45);
}

.admin-person-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 125px;
}

.admin-person-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
}

.admin-person-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.btn-mini {
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: transform 0.12s ease;
}

.btn-mini:active { transform: scale(0.95); }

.btn-wa {
  background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
  color: #fff;
}

.btn-copy {
  background: rgba(247, 206, 104, 0.2);
  color: var(--gold-bright);
  border: 1px solid rgba(247, 206, 104, 0.45);
}

.btn-open {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Inputs de participantes */
.participants-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 40dvh;
  overflow-y: auto;
  padding: 2px 4px 8px;
  margin-bottom: 10px;
}

.participant-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.participant-index {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(247, 206, 104, 0.16);
  border: 1px solid rgba(247, 206, 104, 0.4);
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.participant-input {
  flex: 1;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 235, 190, 0.22);
  background: rgba(8, 22, 16, 0.72);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  outline: none;
}

.participant-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(247, 206, 104, 0.2);
}

.remove-btn {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 120, 120, 0.35);
  background: rgba(201, 31, 42, 0.22);
  color: #ffb3b8;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}

/* Ilustraciones */
.pass-illustration { margin: 8px 0 12px; }

.gift-pulse {
  display: inline-grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  font-size: 3rem;
  background: radial-gradient(circle, rgba(247, 206, 104, 0.25), rgba(201, 31, 42, 0.16));
  border: 2px solid rgba(247, 206, 104, 0.5);
  animation: pulse-ring 2.2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

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

/* Botones */
.btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.14s ease, opacity 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
}

.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-lg { padding: 16px 20px; font-size: 1.12rem; }
.btn-md { padding: 13px 18px; font-size: 0.98rem; }
.btn-sm { padding: 10px 14px; font-size: 0.9rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 55%, var(--red-dark) 100%);
  color: #fff;
  border: 1.5px solid rgba(255, 229, 153, 0.55);
  box-shadow: 0 10px 24px rgba(170, 18, 28, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, #ffe799 0%, #f5c044 55%, #cf8f19 100%);
  color: #2b1606;
  border: 1.5px solid #fff2c2;
  box-shadow: 0 10px 24px rgba(201, 146, 32, 0.42);
}

.btn-amber {
  background: rgba(247, 179, 55, 0.16);
  color: #ffe29e;
  border: 1.5px solid rgba(247, 189, 75, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  animation: shine-sweep 3.2s infinite;
}

@keyframes shine-sweep {
  0%, 70% { left: -80%; }
  100% { left: 140%; }
}

/* Mensajes */
.error-banner,
.info-banner {
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.error-banner {
  background: rgba(232, 56, 69, 0.24);
  border: 1px solid rgba(255, 130, 140, 0.55);
  color: #ffd5d8;
}

.info-banner {
  background: rgba(247, 206, 104, 0.14);
  border: 1px solid rgba(247, 206, 104, 0.38);
  color: var(--gold-bright);
}

/* Footer */
.footer-note {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 6px 16px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 232, 180, 0.62);
}

/* Modales */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(4, 12, 9, 0.78);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-card {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(160deg, #132e23, #191318);
  border: 1.5px solid var(--card-border);
  border-radius: 22px;
  padding: 22px 18px 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.modal-icon { font-size: 2.2rem; margin-bottom: 4px; }

.modal-title {
  margin: 0 0 8px;
  font-family: 'Mountains of Christmas', Georgia, serif;
  font-size: 1.8rem;
  color: var(--gold-bright);
}

.modal-text {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 10px;
}

/* Multi-sorteos: pestañas y tarjetas */
.raffle-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.raffle-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  flex: 1;
}

.raffle-tab {
  border: 1px solid rgba(247, 206, 104, 0.35);
  background: rgba(8, 22, 16, 0.7);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 7px 13px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.raffle-tab.active {
  background: linear-gradient(135deg, rgba(201, 31, 42, 0.92), rgba(142, 17, 26, 0.96));
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 4px 14px rgba(170, 18, 28, 0.45);
}

.raffle-tab-count {
  font-size: 0.74rem;
  opacity: 0.88;
  background: rgba(0, 0, 0, 0.28);
  padding: 2px 7px;
  border-radius: 999px;
}

.btn-gold-mini {
  background: linear-gradient(135deg, #ffe799, #f5c044);
  color: #2b1606;
  border: 1px solid #fff2c2;
  white-space: nowrap;
}

.active-raffle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(247, 206, 104, 0.2);
}

.active-raffle-title {
  margin: 0;
  font-family: 'Mountains of Christmas', Georgia, serif;
  font-size: 1.65rem;
  color: var(--gold-bright);
  text-align: left;
}

.admin-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-danger-ghost {
  background: rgba(201, 31, 42, 0.16);
  color: #ffb8be;
  border: 1px solid rgba(232, 56, 69, 0.45);
}

.form-field {
  text-align: left;
  margin-bottom: 12px;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 5px;
}

.empty-state {
  padding: 18px 10px;
}

/* Portada pública con múltiples sorteos */
.how-to-box {
  text-align: left;
  padding: 14px 14px 12px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(247, 206, 104, 0.11), rgba(201, 31, 42, 0.1));
  border: 1px solid rgba(247, 206, 104, 0.34);
}

.how-to-title {
  margin: 0 0 10px;
  font-family: 'Mountains of Christmas', Georgia, serif;
  font-size: 1.45rem;
  color: var(--gold-bright);
  text-align: center;
}

.how-to-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.how-to-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.how-to-steps strong {
  color: var(--text-main);
}

.step-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(8, 22, 16, 0.65);
  border: 1px solid rgba(247, 206, 104, 0.4);
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  margin-top: 1px;
}

.home-raffles-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-raffle-block {
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(8, 22, 16, 0.52);
  border: 1px solid rgba(247, 206, 104, 0.24);
}

.home-raffle-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.home-raffle-title {
  margin: 0;
  font-family: 'Mountains of Christmas', Georgia, serif;
  font-size: 1.55rem;
  color: var(--gold-bright);
}
