:root {
  --bg1: #061423;
  --bg2: #081d33;

  --card: rgba(255, 255, 255, .08);
  --card2: rgba(255, 255, 255, .12);
  --stroke: rgba(255, 255, 255, .14);

  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .68);

  --shadow: 0 20px 60px rgba(0, 0, 0, .55);
  --radius: 22px;

  --ok: rgba(90, 200, 255, .95);
  --okBg: rgba(90, 200, 255, .16);
  --okStroke: rgba(90, 200, 255, .28);

  --focus: rgba(120, 210, 255, .40);
}

* {
  box-sizing: border-box;
  font-family: "Montserrat Alternates", sans-serif;
  font-style: normal;
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(70, 170, 255, .26), transparent 55%),
    radial-gradient(900px 600px at 80% 20%, rgba(140, 220, 255, .16), transparent 55%),
    radial-gradient(900px 700px at 50% 85%, rgba(0, 150, 255, .12), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .08;
  mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="3" stitchTiles="stitch"/></filter><rect width="240" height="240" filter="url(%23n)" opacity="0.45"/></svg>');
  background-size: 240px 240px;
}

.wrap {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: min(760px, 100%);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .06));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(600px 240px at 10% 0%, rgba(255, 255, 255, .16), transparent 60%),
    radial-gradient(520px 240px at 90% 10%, rgba(255, 255, 255, .10), transparent 60%),
    radial-gradient(520px 260px at 50% 100%, rgba(255, 255, 255, .10), transparent 60%);
  opacity: .85;
  pointer-events: none;
}

header {
  padding: 28px 26px 8px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

h1 {
  font-size: clamp(22px, 3.2vw, 30px);
  margin: 0;
  letter-spacing: .2px;
  line-height: 1.1;
}

.subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  max-width: 60ch;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
  margin: 14px 0 0;
}

main {
  padding: 18px 18px 22px;
  position: relative;
}

@media (max-width:560px) {
  header {
    padding: 24px 18px 8px;
  }
}

/* Блок кнопок */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 6px 2px;
}

.hw-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 10px 16px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;

  color: rgba(210, 240, 255, .95);
  text-decoration: none;

  background: linear-gradient(180deg, rgba(90, 200, 255, .28), rgba(90, 200, 255, .12));
  border: 1px solid rgba(120, 210, 255, .35);

  box-shadow:
    0 0 0 1px rgba(120, 210, 255, .10) inset,
    0 8px 24px rgba(0, 120, 255, .25);

  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.hw-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(160, 230, 255, .6);
  box-shadow:
    0 0 0 1px rgba(120, 210, 255, .25) inset,
    0 12px 32px rgba(0, 140, 255, .35);
}

.hw-btn:active {
  transform: translateY(0);
  box-shadow:
    0 0 0 1px rgba(120, 210, 255, .35) inset,
    0 6px 18px rgba(0, 140, 255, .3);
}

.no-copy {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  pointer-events: auto;
}

.centered-header {
  text-align: center;
  padding: 40px 20px 20px;
}

.centered-header h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin-bottom: 10px;
}

.centered-header .subtitle {
  font-size: 18px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.hw-btn {
  font-size: 18px;
  padding: 18px 34px;
}

.btn-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(140,220,255,.5));
}
