:root {
  --bg: #100f2e;
  --bg-soft: #19164a;
  --surface: #ffffff;
  --surface-soft: #f5f5ff;
  --text: #17142f;
  --text-inverse: #ffffff;
  --muted: #6f6b85;
  --primary: #6c4dff;
  --primary-dark: #4d31d7;
  --secondary: #00c2a8;
  --green: #18c970;
  --green-dark: #0e9450;
  --danger: #ff4b6e;
  --danger-dark: #d72d4f;
  --warning: #ffca3a;
  --border: #e6e3f6;
  --shadow: 0 24px 70px rgba(12, 8, 40, 0.22);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(108, 77, 255, 0.5), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(0, 194, 168, 0.35), transparent 30%),
    var(--bg);
  color: var(--text-inverse);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--warning), #ff7a00);
  color: #241000;
  box-shadow: 0 10px 30px rgba(255, 202, 58, 0.25);
}

.nav {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.nav a:hover {
  color: white;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 20px 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--secondary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 650px;
  font-size: 1.18rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 22px;
}

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--warning), #ff8a00);
  color: #261200;
  box-shadow: 0 18px 38px rgba(255, 138, 0, 0.25);
}

.btn-secondary {
  background: var(--primary);
  color: white;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: rgba(255, 75, 110, 0.12);
  color: #ffd8df;
  border: 1px solid rgba(255, 75, 110, 0.35);
}

.btn-xl {
  min-height: 64px;
  padding: 0 34px;
  font-size: 1.08rem;
}

.full {
  width: 100%;
}

.trust-box {
  max-width: 650px;
  padding: 15px 18px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card {
  background: white;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 26px;
  min-height: 430px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(108, 77, 255, 0.14);
  right: -70px;
  top: -80px;
}

.live-label {
  position: relative;
  display: inline-flex;
  background: var(--text);
  color: white;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
}

.winner-preview {
  position: relative;
  margin-top: 42px;
  min-height: 190px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: white;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 20%),
    linear-gradient(135deg, var(--primary), var(--secondary));
}

.winner-preview .small {
  opacity: 0.82;
  font-weight: 800;
}

.winner-preview strong {
  display: block;
  font-size: 2.4rem;
  letter-spacing: -0.05em;
}

.ticket {
  background: rgba(255, 255, 255, 0.2);
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 900;
}

.mini-number-grid {
  position: relative;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mini-number-grid span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 13px;
  color: white;
  font-weight: 1000;
}

.available {
  background: var(--green);
}

.taken {
  background: var(--danger);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 20px 80px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 26px;
}

.section h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 14px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mode-card,
.create-panel,
.panel-card {
  background: white;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.mode-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--surface-soft);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.mode-card h3 {
  margin-bottom: 10px;
}

.mode-card p,
.subtle,
.small-card p,
.field-hint {
  color: var(--muted);
  line-height: 1.55;
}

.field-hint {
  font-size: 0.9rem;
  font-weight: 700;
}

.mode-card.muted {
  opacity: 0.72;
}

.create-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.create-panel h2 {
  color: var(--text);
}

.form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 14px 15px;
  background: white;
  color: var(--text);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 77, 255, 0.12);
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 20px 48px;
  color: rgba(255, 255, 255, 0.68);
}

/* Draw page */

.draw-page {
  background:
    radial-gradient(circle at 20% 10%, rgba(108, 77, 255, 0.42), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(0, 194, 168, 0.22), transparent 22%),
    var(--bg);
}

.draw-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}

.draw-stage {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: 22px;
  min-height: 690px;
}

.draw-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.draw-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.status-pill {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 900;
}

.animation-area {
  min-height: 390px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(108, 77, 255, 0.9), rgba(0, 194, 168, 0.78)),
    var(--primary);
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.empty-state {
  text-align: center;
  max-width: 360px;
}

.empty-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 12px;
}

.empty-state p {
  color: rgba(255, 255, 255, 0.74);
}

.rolling-name {
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  font-weight: 1000;
  letter-spacing: -0.08em;
  text-align: center;
  color: white;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  animation: pulseScale 0.18s ease infinite alternate;
}

@keyframes pulseScale {
  from { transform: scale(0.98); }
  to { transform: scale(1.03); }
}

/* Functional roulette - Canvas */

.roulette-wrap {
  width: min(92vw, 520px);
  display: grid;
  place-items: center;
  gap: 16px;
}

.canvas-wheel-scene {
  width: min(82vw, 500px);
  aspect-ratio: 1 / 1;
  position: relative;
  display: grid;
  place-items: center;
}

.roulette-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
}

.canvas-pointer {
  position: absolute;
  z-index: 5;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 64px;
  background: var(--warning);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.28));
}

.canvas-center {
  position: absolute;
  z-index: 6;
  width: clamp(82px, 19vw, 126px);
  height: clamp(82px, 19vw, 126px);
  border-radius: 999px;
  background: var(--text);
  color: white;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 1000;
  line-height: 1.08;
  padding: 14px;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    inset 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.roulette-winner-strip {
  color: white;
  font-weight: 1000;
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-align: center;
  min-height: 32px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* Number board */

.number-board-wrap {
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.number-board-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: white;
  font-weight: 900;
}

.number-board-header small {
  opacity: 0.82;
  font-weight: 800;
}

.number-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  gap: 8px;
  width: 100%;
  max-height: 540px;
  overflow: auto;
  padding: 4px;
}

.number-cell {
  border: 0;
  min-height: 52px;
  border-radius: 13px;
  color: white;
  font-weight: 1000;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.number-cell:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.number-cell.available {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.number-cell.taken {
  background: linear-gradient(135deg, var(--danger), var(--danger-dark));
}

.number-cell.winner {
  background: linear-gradient(135deg, var(--warning), #ff8a00);
  color: #261200;
  box-shadow: 0 0 0 4px white, 0 12px 22px rgba(0, 0, 0, 0.24);
}

.number-cell small {
  display: block;
  max-width: 46px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.58rem;
  opacity: 0.95;
}

.number-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.number-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  display: inline-block;
}

.available-dot {
  background: var(--green);
}

.taken-dot {
  background: var(--danger);
}

.winner-card {
  margin-top: 18px;
  border-radius: 26px;
  padding: 24px;
  background: white;
  color: var(--text);
  text-align: center;
  box-shadow: var(--shadow);
}

.winner-card p {
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 8px;
}

.winner-card h2 {
  color: var(--text);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 12px;
}

.winner-card span {
  color: var(--muted);
  font-weight: 800;
}

.proof {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--muted);
  overflow-wrap: anywhere;
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.side-panel {
  display: grid;
  gap: 16px;
}

.panel-card h2,
.panel-card h3 {
  margin-bottom: 8px;
}

.participant-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.validation {
  min-height: 22px;
  margin-top: 10px;
  color: var(--danger);
  font-weight: 800;
  font-size: 0.92rem;
}

.participant-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 14px;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 900;
  cursor: pointer;
}

.danger-text {
  color: var(--danger);
}

.participant-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  max-height: 330px;
  overflow: auto;
}

.participant-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px;
  border-radius: 14px;
  background: var(--surface-soft);
  font-weight: 900;
}

.participant-list small {
  color: var(--muted);
}

.remove-button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: white;
  color: var(--danger);
  font-weight: 1000;
  cursor: pointer;
}

.small-card {
  font-size: 0.95rem;
}


.btn-ghost.light {
  color: var(--text);
  border-color: var(--border);
  background: var(--surface-soft);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.bulk-panel {
  display: grid;
  gap: 12px;
  margin: 12px 0;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.bulk-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.countdown-number {
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 1000;
  letter-spacing: -0.08em;
  text-align: center;
  color: white;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  animation: countdownPop 0.72s ease forwards;
}

@keyframes countdownPop {
  0% { transform: scale(.5); opacity: 0; }
  55% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.confetti-piece {
  position: absolute;
  top: -20px;
  width: 9px;
  height: 16px;
  border-radius: 3px;
  animation: confettiFall 1.45s ease-in forwards;
  z-index: 10;
}

@keyframes confettiFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(470px) rotate(720deg); opacity: 0; }
}

.hidden {
  display: none !important;
}

@media (max-width: 920px) {
  .hero,
  .create-panel,
  .draw-layout {
    grid-template-columns: 1fr;
  }

  .mode-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .draw-stage {
    min-height: auto;
  }

  .side-panel {
    order: -1;
  }

  .canvas-wheel-scene {
    width: min(82vw, 460px);
  }
}

@media (max-width: 560px) {
  .topbar {
    padding-top: 16px;
  }

  .nav {
    gap: 12px;
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero-card {
    min-height: 330px;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-bottom: 46px;
  }

  .draw-layout {
    padding-top: 10px;
  }

  .draw-stage,
  .panel-card,
  .mode-card,
  .create-panel {
    border-radius: 22px;
    padding: 18px;
  }

  .stage-actions .btn {
    width: 100%;
  }

  .animation-area {
    min-height: 300px;
    padding: 14px;
  }

  .participant-tools {
    align-items: start;
    flex-direction: column;
  }

  .bulk-actions {
    grid-template-columns: 1fr;
  }

  .number-board {
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  }

  .number-cell {
    min-height: 44px;
    border-radius: 10px;
  }

  .canvas-wheel-scene {
    width: min(82vw, 360px);
  }

  .canvas-pointer {
    width: 34px;
    height: 50px;
    top: -7px;
  }

  .canvas-center {
    font-size: 0.82rem;
  }
}


/* v0.4 participant status */
.compact-label {
  font-size: 0.92rem;
  gap: 6px;
}

.status-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 900;
  font-size: 0.92rem;
  margin: 8px 0 12px;
}

.draw-options {
  display: grid;
  gap: 12px;
  margin: 12px 0;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.inline-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--text);
}

.inline-option input {
  width: auto;
  accent-color: var(--primary);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,.22);
}

.confirmed-dot {
  background: var(--green);
}

.pending-dot {
  background: var(--danger);
}

.number-cell .status-dot,
.mini-number-grid .status-dot {
  position: absolute;
  top: 6px;
  left: 6px;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 1000;
  font-size: 0.78rem;
  cursor: pointer;
}

.status-label.confirmed {
  color: #064b29;
  background: rgba(24, 201, 112, 0.16);
}

.status-label.pending {
  color: #89162c;
  background: rgba(255, 75, 110, 0.16);
}

.participant-list li {
  display: grid;
  gap: 8px;
}

.participant-main-line,
.participant-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.participant-name-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.participant-name-line strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* v0.6 polish */
.result-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary) !important;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.winner-card {
  position: relative;
  overflow: hidden;
}

.winner-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--warning), var(--primary), var(--secondary));
}

.proof {
  text-align: left;
  white-space: pre-line;
  font-size: 0.92rem;
}

.made-by {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 1000;
  font-size: 0.88rem;
}

.participant-tools {
  align-items: center;
}

.link-button {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--surface-soft);
}

.link-button:hover {
  filter: brightness(0.97);
}

.danger-text {
  background: rgba(255, 75, 110, 0.10);
}

.status-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-summary span:first-child {
  grid-column: 1 / -1;
  color: var(--text);
}

@media (max-width: 560px) {
  .status-summary {
    grid-template-columns: 1fr;
  }

  .participant-tools .link-button {
    width: 100%;
    text-align: left;
  }
}


/* Pre-launch pages */

.page-section {
  padding-top: 38px;
}

.page-card {
  background: white;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 46px);
  box-shadow: var(--shadow);
}

.page-card h1 {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

.page-card h2 {
  color: var(--text);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  letter-spacing: -0.04em;
  margin-top: 22px;
  margin-bottom: 8px;
}

.page-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.03rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.info-grid article {
  padding: 20px;
  border-radius: 20px;
  background: var(--surface-soft);
}

.notice-box {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 202, 58, 0.18);
  color: var(--text);
  line-height: 1.6;
  margin: 26px 0;
}

.legal-card {
  max-width: 880px;
  margin: 0 auto;
}

.site-footer {
  display: grid;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-links a:hover {
  color: white;
}

@media (max-width: 820px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .page-card h1 {
    font-size: 2.7rem;
  }
}

/* Sortick v1.0 brand identity */

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(12, 8, 40, 0.18));
}

.brand-mark {
  display: none;
}

@media (max-width: 560px) {
  .brand-icon {
    width: 40px;
    height: 40px;
  }
}


.report-box p {
  margin-top: 8px;
  margin-bottom: 14px;
}

.report-box .btn {
  width: fit-content;
}

/* Sortick v1.2 wheel brand identity */

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(12, 8, 40, 0.18));
}

.brand-mark {
  display: none;
}

@media (max-width: 560px) {
  .brand-icon {
    width: 42px;
    height: 42px;
  }
}

/* v1.4.2 - bloqueio mínimo das regras durante o sorteio */

body.drawing-locked .draw-options .inline-option:nth-of-type(1),
body.drawing-locked .draw-options .inline-option:nth-of-type(2),
body.drawing-locked #confirmedOnlyToggle,
body.drawing-locked #removeWinnerToggle {
  cursor: not-allowed !important;
}

body.drawing-locked #confirmedOnlyToggle:disabled,
body.drawing-locked #removeWinnerToggle:disabled {
  cursor: not-allowed !important;
}


/* v1.5-som.2 */

#soundOption {
  user-select: none;
}


/* v1.6 - Grupos / Times */

.groups-board {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  align-self: stretch;
}

.group-card {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.group-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.group-card ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: var(--text);
  font-weight: 800;
}


/* v1.7 - Bingo simples */

.bingo-wrap .number-board {
  max-height: 390px;
}

.bingo-latest {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 128px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.22);
  color: white;
  text-align: center;
}

.bingo-latest small {
  font-weight: 900;
  opacity: 0.84;
}

.bingo-latest strong {
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

#bingoRepeatOption {
  user-select: none;
}
