*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #eaf0ff;
  background: radial-gradient(circle at top, #1c1f3a, #0b0c16 65%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #7ad4ff;
  text-decoration: none;
}

a:hover {
  color: #9de2ff;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  padding: 32px 0 24px;
  background: linear-gradient(135deg, rgba(84, 98, 255, 0.25), rgba(18, 27, 79, 0.1));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.badge {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

h1 {
  margin: 20px 0 12px;
  font-size: clamp(28px, 5vw, 44px);
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  color: #d7dcff;
}

.telegram {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(122, 212, 255, 0.12);
  border: 1px solid rgba(122, 212, 255, 0.3);
  color: #dff5ff;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5f73ff, #23c3ff);
  color: #0b0c16;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(35, 195, 255, 0.25);
}

main {
  padding: 24px 0 40px;
  display: grid;
  gap: 20px;
}

.card {
  background: rgba(16, 20, 45, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  gap: 16px;
  align-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.has-io .card {
  opacity: 0;
  transform: translateY(16px);
}

body.has-io .card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card-media {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.card-body h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 4vw, 26px);
}

.card-body p,
.card-body li {
  color: #ccd3ff;
  line-height: 1.6;
  font-size: 15px;
}

.card-body ul,
.card-body ol {
  padding-left: 20px;
  margin: 10px 0 14px;
}

.footer {
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9aa5ff;
  font-size: 14px;
}

@media (min-width: 768px) {
  .card {
    grid-template-columns: 1fr 1.2fr;
  }
}
