:root {
  --bg-1: #07111a;
  --bg-2: #0d1b26;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.55);
  --gold-1: #fff1b8;
  --gold-2: #f6d365;
  --gold-3: #d4a017;
  --gold-4: #8c6a0a;
  --shadow: rgba(0, 0, 0, 0.45);
}
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 50% 35%, rgba(212, 160, 23, 0.12), transparent 22%), radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 20%), radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.04), transparent 18%), linear-gradient(160deg, var(--bg-1), var(--bg-2) 55%, #050b11);
  overflow: hidden;
}
body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 24px;
  position: relative;
  min-height: 100vh;
}
.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  min-height: 100vh;
  min-width: 100vw;
}
.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  -webkit-filter: blur(80px);
          filter: blur(80px);
  opacity: 0.35;
}
.ambient::before {
  width: 340px;
  height: 340px;
  left: 12%;
  top: 18%;
  background: rgba(246, 211, 101, 0.1);
}
.ambient::after {
  width: 420px;
  height: 420px;
  right: 8%;
  bottom: 12%;
  background: rgba(212, 160, 23, 0.08);
}
.card {
  width: min(760px, 100%);
  padding: 80px 36px 30px 36px;
  border-radius: 28px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.08)), to(rgba(255, 255, 255, 0.04)));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--panel-border);
  -webkit-box-shadow: 0 20px 80px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
          box-shadow: 0 20px 80px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
  position: relative;
  z-index: 1;
}
.code {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.teapot-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 22px;
  position: relative;
  display: -ms-grid;
  display: grid;
  place-items: center;
}
.teapot-glow {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 211, 101, 0.22), rgba(246, 211, 101, 0.06), transparent 72%);
  -webkit-filter: blur(8px);
          filter: blur(8px);
  -webkit-animation: pulse 4s ease-in-out infinite;
          animation: pulse 4s ease-in-out infinite;
}
.teapot {
  width: 150px;
  height: 150px;
  -webkit-filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 18px rgba(246, 211, 101, 0.18));
          filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 18px rgba(246, 211, 101, 0.18));
}
.title {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.subtitle {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}
.line {
  width: 96px;
  height: 1px;
  margin: 28px auto 24px;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(246, 211, 101, 0.75)), to(transparent));
  background: linear-gradient(90deg, transparent, rgba(246, 211, 101, 0.75), transparent);
}
.bottom {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.info {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.steam {
  position: absolute;
  top: 20px;
  width: 90px;
  height: 80px;
  pointer-events: none;
}
.steam span {
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 241, 184, 0.26);
  border-color: rgba(255, 241, 184, 0.22) transparent transparent transparent;
  -webkit-filter: blur(0.3px);
          filter: blur(0.3px);
  -webkit-animation: steam 3.4s ease-in-out infinite;
          animation: steam 3.4s ease-in-out infinite;
}
.steam span:nth-child(1) {
  left: 10px;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.steam span:nth-child(2) {
  left: 34px;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.steam span:nth-child(3) {
  left: 58px;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
@-webkit-keyframes steam {
  0% {
    -webkit-transform: translateY(10px) scale(0.92);
            transform: translateY(10px) scale(0.92);
    opacity: 0;
  }
  20% {
    opacity: 0.65;
  }
  60% {
    opacity: 0.35;
  }
  100% {
    -webkit-transform: translateY(-18px) scale(1.08);
            transform: translateY(-18px) scale(1.08);
    opacity: 0;
  }
}
@keyframes steam {
  0% {
    -webkit-transform: translateY(10px) scale(0.92);
            transform: translateY(10px) scale(0.92);
    opacity: 0;
  }
  20% {
    opacity: 0.65;
  }
  60% {
    opacity: 0.35;
  }
  100% {
    -webkit-transform: translateY(-18px) scale(1.08);
            transform: translateY(-18px) scale(1.08);
    opacity: 0;
  }
}
@-webkit-keyframes pulse {
  0%,
  100% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    opacity: 0.75;
  }
  50% {
    -webkit-transform: scale(1.04);
            transform: scale(1.04);
    opacity: 1;
  }
}
@keyframes pulse {
  0%,
  100% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    opacity: 0.75;
  }
  50% {
    -webkit-transform: scale(1.04);
            transform: scale(1.04);
    opacity: 1;
  }
}
@media (max-width: 640px) {
  .card {
    padding: 30px 22px 26px;
    border-radius: 22px;
  }
  .teapot-wrap {
    width: 180px;
    height: 180px;
    margin-bottom: 18px;
  }
  .teapot {
    width: 126px;
    height: 126px;
  }
  .subtitle {
    font-size: 0.96rem;
    line-height: 1.65;
  }
}
