:root {
  --accent: #1658da;
  --bg-dark: #0f2d69;
  --yellow: #ffc107;
}

body {
  background: #fffef8;
  color: #111;
  word-spacing: 0.035em;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 12px 32px;
  width: 100%;
  box-sizing: border-box;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: min(1100px, 96vw);
  margin: 0 auto;
}

.banner-wrap {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.16), rgba(22, 88, 218, 0.08), rgba(15, 45, 105, 0.12));
  padding: 32px 16px 8px;
  display: flex;
  justify-content: center;
}

.banner-wrap .b-row {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-img {
  text-align: center;
  margin-bottom: 24px;
}

.hero-img img {
  max-width: 720px;
  width: 100%;
  height: auto;
}

.hero-text {
  max-width: 960px;
  margin: 0 auto 24px;
}

.sup {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f2d69;
  margin: 0 0 6px;
  font-size: 12px;
  word-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sup::after {
  content: "";
  width: 40px;
  height: 6px;
  border-radius: 999px;
  background: var(--yellow);
}

.title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 6px 0 12px;
  color: #0f2d69;
  word-spacing: 0.06em;
  letter-spacing: 0.005em;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  word-spacing: 0.06em;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
  justify-content: center;
}

.button_dark {
  background: #0f2d69;
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 45, 105, 0.25);
}

.button_clean {
  background: linear-gradient(90deg, #fff3cd, #ffe082);
  color: #3c2a00;
  box-shadow: 0 10px 26px rgba(255, 193, 7, 0.35);
}

.cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.timer-box {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.25), rgba(15, 45, 105, 0.15));
  font-family: "Courier New", monospace;
  color: #0f2d69;
}

.builder-section {
  padding: 48px 16px;
  width: min(1200px, 96vw);
  margin: 24px auto;
  background: #fffdf5;
  border: 1px solid #111;
  box-shadow: 12px 12px 0 #ffc107;
  border-radius: 16px;
  align-self: center;
}

.builder-section_dark {
  background: #0b0b0f;
  color: #f4f7ff;
  border-radius: 16px;
  box-shadow: 12px 12px 0 #ffc107;
  border: 1px solid #ffc107;
}

.builder-section_dark .builder-section__title {
  color: #f4f7ff;
}

.builder-section__title {
  margin-bottom: 12px;
}

.builder-section__description {
  font-size: 16px;
  line-height: 1.6;
  word-spacing: 0.06em;
}

.reason-list {
  margin: 12px 0 0;
  padding-left: 18px;
  list-style: disc;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline__item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.builder-section:not(.builder-section_dark) .timeline__item {
  background: #fff;
  border: 1px solid #111;
  box-shadow: 6px 6px 0 #ffc107;
}

.timeline__date {
  font-weight: 700;
  color: #0f2d69;
}

.builder-section_dark .timeline__date {
  color: #cde0ff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.faq-card {
  background: #fff;
  border: 1px solid #111;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 6px 6px 0 #ffc107;
}

.builder-section_dark .faq-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.easter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.egg {
  border: 1px dashed #ffc107;
  padding: 12px;
  border-radius: 10px;
}

.results-bait .bait-card {
  background: #0b0b0f;
  color: #f8f8f8;
  border: 1px solid #ffc107;
  border-radius: 14px;
  box-shadow: 12px 12px 0 #ffc107;
  padding: 28px 18px;
  text-align: center;
}

.bait-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fff3cd, #ffe082);
  color: #2c1a00;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 12px auto;
  box-shadow: 0 10px 26px rgba(255, 193, 7, 0.35);
}

.small-print {
  font-size: 13px;
  color: #c4c4c4;
}

.bilibino {
  background: #0b0b0f;
  color: #f8f8f8;
  border: 1px solid #ffc107;
  box-shadow: 12px 12px 0 #ffc107;
}

.bilibino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.bili-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 12px;
  padding: 14px;
}

.bili-note {
  margin-top: 10px;
  color: #f1d48a;
  font-size: 14px;
}

.scoring .code-card {
  background: #0b0b0f;
  color: #f4f7ff;
  border: 1px solid #ffc107;
  border-radius: 14px;
  box-shadow: 12px 12px 0 #ffc107;
  padding: 16px;
  overflow: auto;
}

.code {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre;
  color: #f8f8f8;
}

.footer {
  padding: 24px 16px;
  background: #0f2d69;
  color: #f4f7ff;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.tag {
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
}

.cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  word-spacing: 0.12em;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: rgba(15, 45, 105, 0.92);
  color: #f4f7ff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 280px;
  z-index: 10;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .hero-img img.pc1 {
    display: none;
  }
  .hero-img img.mobile1 {
    display: block;
  }
}

@media (min-width: 721px) {
  .hero-img img.mobile1 {
    display: none;
  }
}
