*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg, #080b14);
  color: var(--text, #f0f4ff);
  line-height: 1.6;
}

.container {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 min(10vw, 3rem);
}

header.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0.5rem min(10vw, 6rem) 1rem;
  align-items: center;
  min-height: clamp(220px, 45vh, 320px);
  background:
    radial-gradient(circle at top left, rgba(36, 198, 220, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(123, 54, 255, 0.2), transparent 55%),
    linear-gradient(135deg, var(--surface-muted, rgba(9, 12, 22, 0.95)), var(--surface, #0b1424));
}

.hero__content h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--muted-strong, #ffffff);
}

.hero__content .tagline {
  font-size: 1.1rem;
  max-width: 50ch;
  color: var(--muted, #c8d9ff);
}

.cta {
  margin-top: 1.5rem;
  padding: 0.85rem 2.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #24c6dc, #5433ff);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(36, 198, 220, 0.35);
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.hero__image {
  width: min(160px, 100%);
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(36, 198, 220, 0.35));
}

main {
  padding: 0 0 4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  width: min(960px, 100%);
  margin: 2.5rem auto 0;
  padding: 0 min(10vw, 3rem);
}

.feature-grid article {
  background: var(--surface, rgba(12, 17, 34, 0.75));
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid var(--border, rgba(120, 146, 255, 0.18));
  backdrop-filter: blur(8px);
}

.feature-grid h2 {
  margin-top: 0;
  color: var(--muted-strong, #7fc5ff);
  font-size: 1.25rem;
}

.how-it-works {
  width: min(960px, 100%);
  margin: 3rem auto 0;
  padding: 0 min(10vw, 3rem);
}

.how-it-works h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--muted-strong, #f0f4ff);
}

.how-it-works ol {
  margin: 0;
  padding-left: 1.25rem;
}

.how-it-works li {
  margin-bottom: 0.75rem;
  color: var(--muted, #c8d9ff);
}

footer {
  padding: 1.5rem min(10vw, 6rem);
  text-align: center;
  background: var(--surface, rgba(7, 10, 21, 0.92));
  color: var(--muted, #8ea3d9);
  font-size: 0.9rem;
  border-top: 1px solid var(--border, rgba(120, 146, 255, 0.18));
}

@media (max-width: 600px) {
  header.hero {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .hero__visual {
    min-height: 180px;
  }
}


.disclaimer {
  font-style: italic;
  color: var(--muted, #9bb4ff);
  margin-bottom: 0.4rem;
}

.welcome-section {
  background: var(--surface, rgba(12, 17, 34, 0.75));
  border-radius: 16px;
  border: 1px solid var(--border, rgba(120, 146, 255, 0.18));
  padding: 2.5rem;
  box-shadow: var(--shadow, 0 12px 25px rgba(9, 15, 35, 0.35));
}

.welcome-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--muted-strong, #f0f4ff);
}

.welcome-section p {
  margin: 0;
  color: var(--muted, #c8d9ff);
}

.round-section {
  width: min(960px, 100%);
  margin: 3rem auto 0;
  padding: 0 min(10vw, 3rem);
}

.round-section h2 {
  margin-bottom: 0.75rem;
  color: var(--muted-strong, #f0f4ff);
}

.round-section p {
  color: var(--muted, #c8d9ff);
}

.stats-grid,
.element-grid,
.round-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.info-card,
.element-card,
.stats-card,
.round-link-card {
  background: var(--surface, rgba(12, 17, 34, 0.75));
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border, rgba(120, 146, 255, 0.18));
  backdrop-filter: blur(8px);
}

.info-card h3,
.element-card h3,
.stats-card h3 {
  margin-top: 0;
  color: var(--muted-strong, #7fc5ff);
}

.stats-card dl {
  margin: 0;
}

.stats-card dt {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, #9bb4ff);
}

.stats-card dd {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  color: var(--muted-strong, #f0f4ff);
}

.element-card p {
  margin-bottom: 0.4rem;
}

.element-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 8px 16px rgba(36, 198, 220, 0.35));
}

.element-thumb-pair {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.element-thumb-pair .element-thumb {
  margin-bottom: 0;
}

.round-links {
  width: min(960px, 100%);
  margin: 3rem auto 0;
  padding: 0 min(10vw, 3rem);
}

.round-link-card a {
  color: var(--muted-strong, #7fc5ff);
  text-decoration: none;
  font-weight: 600;
}

.round-link-card a::after {
  content: ' →';
}
