/* Signup prize draw: entry page ([otg_signup_draw]).
 * Mirrors the single competition page: image card + summary card, draw card with
 * countdown tiles, small uppercase section labels, violet primary button. */
.otg-sd {
  --sd-navy: #14263a;
  --sd-violet: #6d28d9;
  --sd-violet-deep: #4c1d95;
  --sd-tint: #f4efff;
  --sd-line: #e7e1f5;
  --sd-muted: #64748b;
  --sd-shadow: 0 1px 2px rgba(20, 38, 58, 0.08), 0 6px 20px rgba(20, 38, 58, 0.06);
  color: var(--sd-navy);
  margin: 0 0 2rem;
}
.otg-sd *,
.otg-sd *::before,
.otg-sd *::after { box-sizing: border-box; }

.otg-sd__crumbs { padding: 1rem 0 1.5rem; }
.otg-sd__crumbs .breadcrumb { margin: 0; }

.otg-sd__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.otg-sd:not(.has-image) .otg-sd__grid { max-width: 640px; margin: 0 auto; }
@media (min-width: 992px) {
  .otg-sd.has-image .otg-sd__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.375rem; }
}

/* Image card */
.otg-sd__media {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sd-shadow);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.otg-sd__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6%;
}

/* Summary card */
.otg-sd__summary {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sd-shadow);
  padding: 32px;
}
@media (max-width: 575.98px) {
  .otg-sd__summary { padding: 22px 18px; }
}
.otg-sd__title {
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2.0125rem);
  line-height: 1.2;
  margin: 0 0 0.35rem;
  color: var(--sd-navy);
}
.otg-sd__price {
  margin: 0 0 0.9rem;
  font-size: 20px;
  font-weight: 700;
  color: var(--sd-violet);
}
.otg-sd__price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--sd-muted);
}
.otg-sd__lead { margin: 0 0 1.25rem; line-height: 1.55; }

/* Draw card: countdown + closing line */
.otg-sd__card {
  background: #fff;
  border: 1px solid var(--sd-line);
  border-radius: 14px;
  padding: 18px;
  margin: 0 0 1.5rem;
}
.otg-sd__timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.otg-sd__tile {
  background: var(--sd-tint);
  border-radius: 10px;
  padding: 10px 2px;
  text-align: center;
  line-height: 1.2;
}
.otg-sd__tile b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--sd-violet-deep);
  font-variant-numeric: tabular-nums;
}
.otg-sd__tile small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sd-muted);
}
.otg-sd__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sd-muted);
}

/* Section labels, like "HOW MANY TICKETS?" */
.otg-sd__section {
  margin: 0 0 0.75rem;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sd-muted);
}

/* Fields */
.otg-sd__field--email { margin-bottom: 12px; }
.otg-sd__fields {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
@media (min-width: 576px) {
  .otg-sd__fields { grid-template-columns: 1fr 1fr; }
}
.otg-sd__hint {
  margin: -2px 0 6px;
  font-size: 12.5px;
  color: var(--sd-muted);
}
.otg-sd__label {
  display: block;
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 600;
}
.otg-sd__input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font: inherit;
  color: var(--sd-navy);
  background: #fff;
  border: 1px solid var(--sd-line);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.otg-sd__input:focus {
  outline: none;
  border-color: var(--sd-violet);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.15);
}
.otg-sd__optional {
  font-size: 11px;
  font-weight: 500;
  color: var(--sd-muted);
}

/* Consent rows, styled like the answer choices */
.otg-sd__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--sd-line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.otg-sd__check:hover { border-color: #cfc2f0; }
.otg-sd__check:has(input:checked) { border-color: var(--sd-violet); background: var(--sd-tint); }
.otg-sd__check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--sd-violet);
}
.otg-sd__badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sd-violet);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: 1px;
}

/* SMS block */
.otg-sd__sms { margin-top: 4px; }
.otg-sd__field--phone { margin: 4px 0 8px; }
.otg-sd__fine {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--sd-muted);
}

/* Account route */
.otg-sd__who { margin: 0 0 12px; font-size: 14px; }
.otg-sd__ok {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--sd-tint);
  font-size: 14px;
  font-weight: 500;
  color: var(--sd-violet-deep);
}
.otg-sd__ok::before { content: "✓"; font-weight: 800; }
.otg-sd__bonus-note { font-weight: 600; color: var(--sd-violet-deep); }

/* Button */
.otg-sd__button {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 13px 26px;
  border: 0;
  border-radius: 8px;
  background: var(--sd-violet);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.otg-sd__button:hover,
.otg-sd__button:focus { background: var(--sd-violet-deep); color: #fff; }
.otg-sd__button--ghost {
  background: #fff;
  color: var(--sd-violet);
  border: 1px solid var(--sd-violet);
}
.otg-sd__button--ghost:hover,
.otg-sd__button--ghost:focus { background: var(--sd-tint); color: var(--sd-violet-deep); }
.otg-sd__small {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--sd-muted);
}
.otg-sd__small a { color: var(--sd-violet); }

/* Notices */
.otg-sd__notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}
.otg-sd__notice--success { background: #ecfdf3; color: #067647; }
.otg-sd__notice--info { background: var(--sd-tint); color: var(--sd-violet-deep); }
.otg-sd__notice--warning { background: #fff6db; color: #8a5a00; }
.otg-sd__notice--danger { background: #fdecef; color: #b4233c; }

.otg-sd .otg-signup-draw__form--sms { margin-top: 6px; }

/* Validation */
.otg-sd__input.is-invalid { border-color: #d64562; }
.otg-sd__input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(214, 69, 98, 0.15); }
.otg-sd__check.is-invalid { border-color: #d64562; background: #fff6f7; }
.otg-sd__error {
  margin: -4px 0 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #b4233c;
}
.otg-sd__input + .otg-sd__error { margin: 5px 0 0; }
.otg-sd__button[disabled] { opacity: 0.7; cursor: default; }

/* SMS bonus: make the extra entry impossible to miss */
.otg-sd__bonus-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -0.5rem 0 1.25rem;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--sd-tint);
  color: var(--sd-violet-deep);
  font-size: 13px;
  font-weight: 600;
}
.otg-sd__bonus-pill span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--sd-violet);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.otg-sd__sms--bonus {
  margin: 14px 0 4px;
  padding: 16px;
  border: 1.5px solid var(--sd-violet);
  border-radius: 14px;
  background: linear-gradient(180deg, #f6f1ff 0%, #ffffff 100%);
}
.otg-sd__bonus-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.otg-sd__bonus-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--sd-violet);
  color: #fff;
}
.otg-sd__bonus-title {
  margin: 0 0 2px;
  font-family: Sora, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--sd-navy);
}
.otg-sd__bonus-text {
  margin: 0;
  font-size: 14px;
  color: var(--sd-navy);
}
.otg-sd__bonus-text strong { color: var(--sd-violet); }
.otg-sd__sms--bonus .otg-sd__check { background: #fff; }
.otg-sd__sms--bonus .otg-sd__fine { margin-bottom: 0; }
