:root {
  color-scheme: dark;
  font-family: "Outfit", "Poppins", "Segoe UI", -apple-system, system-ui, sans-serif;
}

html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 20%, rgba(255, 122, 24, 0.35), transparent 55%),
              radial-gradient(circle at 80% 0%, rgba(80, 180, 255, 0.35), transparent 55%),
              #05060d;
  color: #f7f9ff;
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}

body::before {
  top: -180px;
  right: -120px;
}

body::after {
  bottom: -200px;
  left: -160px;
}

main {
  position: relative;
  z-index: 1;
  width: min(900px, 92vw);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 60px rgba(10, 15, 30, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

p.subtitle {
  margin: 0 auto clamp(2.2rem, 4vw, 3.2rem);
  color: rgba(241, 243, 255, 0.75);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  max-width: 520px;
  line-height: 1.6;
}

.stations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.card {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 25px 45px rgba(5, 9, 18, 0.5);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  text-align: center;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(190deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top left, rgba(255, 122, 24, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(80, 180, 255, 0.18), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.4;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 32px 60px rgba(6, 10, 20, 0.55);
  border-color: rgba(255, 255, 255, 0.4);
}

.card:hover::before {
  opacity: 0.75;
  transform: translate3d(0, -6px, 0) scale(1.03);
}

.card img {
  width: clamp(130px, 28vw, 170px);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 12px 24px rgba(4, 7, 12, 0.55));
}

.card h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  letter-spacing: 0.04em;
}

.card p {
  margin: 0;
  color: rgba(236, 240, 255, 0.8);
  line-height: 1.6;
  font-size: 1rem;
}

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

@media (max-width: 620px) {
  body {
    padding: 2.5rem 0;
  }
  main {
    margin: 0 1.25rem;
    padding: 2.25rem clamp(1.5rem, 5vw, 2rem);
  }
}

