:root {
  --ink: #ecf0f5;
  --line: rgba(236, 240, 245, 0.22);
  --panel: rgba(9, 14, 22, 0.68);
  --btn-bg: rgba(236, 240, 245, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(132, 145, 160, 0.26) 0%, transparent 38%),
    radial-gradient(circle at 84% 85%, rgba(114, 128, 146, 0.2) 0%, transparent 36%),
    #060b12;
  padding: clamp(12px, 3vw, 28px);
  overflow: hidden;
  position: relative;
}

.smoke-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.smoke-field span {
  position: absolute;
  bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 227, 237, 0.35) 0%, rgba(220, 227, 237, 0.05) 62%, transparent 72%);
  filter: blur(6px);
  animation: smoke-rise linear infinite;
}

.smoke-field span:nth-child(1) { left: 8%; width: 180px; height: 180px; animation-duration: 17s; animation-delay: -5s; }
.smoke-field span:nth-child(2) { left: 20%; width: 130px; height: 130px; animation-duration: 14s; animation-delay: -9s; }
.smoke-field span:nth-child(3) { left: 33%; width: 200px; height: 200px; animation-duration: 20s; animation-delay: -4s; }
.smoke-field span:nth-child(4) { left: 47%; width: 150px; height: 150px; animation-duration: 16s; animation-delay: -10s; }
.smoke-field span:nth-child(5) { left: 59%; width: 170px; height: 170px; animation-duration: 18s; animation-delay: -7s; }
.smoke-field span:nth-child(6) { left: 72%; width: 140px; height: 140px; animation-duration: 15s; animation-delay: -11s; }
.smoke-field span:nth-child(7) { left: 86%; width: 190px; height: 190px; animation-duration: 19s; animation-delay: -6s; }

@keyframes smoke-rise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.72);
    opacity: 0;
  }

  20% {
    opacity: 0.42;
  }

  80% {
    opacity: 0.22;
  }

  100% {
    transform: translate3d(32px, -120vh, 0) scale(1.28);
    opacity: 0;
  }
}

.layout {
  min-height: calc(100vh - 2 * clamp(12px, 3vw, 28px));
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
}

.card {
  width: min(980px, 100%);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  padding: clamp(16px, 3.3vw, 28px);
  text-align: center;
}

.label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: rgba(236, 240, 245, 0.9);
}

h1 {
  margin: 8px 0 10px;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(1.8rem, 5vw, 3.6rem);
}

.lead {
  margin: 0 0 14px;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: rgba(236, 240, 245, 0.88);
}

.hero-photo {
  width: min(860px, 100%);
  height: auto;
  max-height: min(70vh, 640px);
  display: block;
  margin: 0 auto 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  object-fit: contain;
  object-position: center;
  background: rgba(236, 240, 245, 0.08);
}

.button-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  background: var(--btn-bg);
  transition: transform 150ms ease, background-color 150ms ease;
}

.btn:hover {
  background: rgba(236, 240, 245, 0.26);
  transform: translateY(-2px);
}

@media (max-height: 820px) {
  .hero-photo {
    max-height: min(60vh, 520px);
  }

  .card {
    padding: 14px;
  }
}
