:root {
  --bg: #080d1d;
  --bg-soft: #0e1428;
  --text: #ffffff;
  --muted: #aab0c5;
  --accent: #ff5257;
  --accent-2: #ff6b6f;
  --line: rgba(255, 255, 255, .16);
  --panel: rgba(18, 25, 48, .72);
  --panel-strong: rgba(24, 32, 61, .92);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(255, 107, 111, .92);
  outline-offset: 3px;
}

.page-shell { min-height: 100vh; background: linear-gradient(180deg, #080d1d 0%, #090e1f 100%); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 74px;
  padding: 0 clamp(18px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 29, .82);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  letter-spacing: 0;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  font-weight: 700;
}
.nav-link {
  position: relative;
  transition: color .18s ease, transform .18s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.nav-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}
.nav-link:hover::after { transform: scaleX(1); }
.primary-btn, .secondary-btn, .outline-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.primary-btn::before, .secondary-btn::before, .outline-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.16) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform .45s ease;
  pointer-events: none;
}
.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(255, 82, 87, .28);
}
.secondary-btn, .outline-btn {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 82, 87, .85);
}
.primary-btn:hover, .secondary-btn:hover, .outline-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,0,0,.28), 0 0 0 1px rgba(255,82,87,.18);
}
.primary-btn:hover::before, .secondary-btn:hover::before, .outline-btn:hover::before {
  transform: translateX(120%);
}
.is-loading-btn {
  gap: 10px;
  pointer-events: none;
  opacity: .88;
}
.is-loading-btn::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
.telegram-btn { gap: 10px; }
.telegram-btn img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 56px clamp(18px, 9vw, 160px) 110px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.diagonal {
  position: absolute;
  display: block;
  width: 42vw;
  height: 130vh;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,82,87,.24), rgba(255,82,87,.02));
  transform: rotate(41deg);
  filter: blur(.2px);
}
.diagonal-one { left: 9vw; top: -22vh; }
.diagonal-two { right: 8vw; top: -36vh; opacity: .55; }
.diagonal-three { left: -18vw; bottom: -72vh; opacity: .42; }
.hero-copy {
  position: relative;
  max-width: 840px;
  animation: rise .7s ease both;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(52px, 9vw, 132px);
  line-height: .92;
  letter-spacing: 0;
}
.hero h1 span, .feature-band h2 span { color: var(--accent); }
.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 760;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.status-panel {
  position: absolute;
  right: clamp(18px, 7vw, 120px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 12px;
  width: min(560px, calc(100% - 36px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 15, 32, .72);
  backdrop-filter: blur(16px);
}
.status-panel > div { padding: 12px; border-radius: 6px; background: rgba(255,255,255,.035); }
.panel-label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.status-panel strong { font-size: 16px; }

.feature-band, .apps-band, .account-view {
  padding: 76px clamp(18px, 7vw, 112px);
}
.feature-band h2, .apps-band h2, .account-header h1 {
  margin: 0 0 30px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.05;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card, .metric-card, .detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(16px);
}
.feature-card {
  padding: 24px;
  min-height: 230px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,82,87,.48);
  background: rgba(23, 31, 57, .84);
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
}
.feature-card h3 { margin: 22px 0 10px; font-size: 24px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 26px rgba(255,82,87,.42);
  position: relative;
  font-size: 34px;
}
.signal-icon::after, .device-icon::after, .pay-icon::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(8,13,29,.8);
  border-radius: 50%;
}
.feature-icon::after { display: none; }
.device-icon { border-radius: 18px; }
.pay-icon { border-radius: 22px; }
.apps-band {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}
.app-list { display: flex; flex-wrap: wrap; gap: 12px; }
.app-list span {
  padding: 12px 16px;
  border: 1px solid rgba(255,82,87,.54);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.app-list span:hover {
  transform: translateY(-2px);
  background: rgba(255,82,87,.09);
  border-color: rgba(255,82,87,.86);
}

.modal-layer { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 16, .72); backdrop-filter: blur(10px); }
.auth-sheet {
  position: relative;
  width: min(460px, calc(100% - 24px));
  margin: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  animation: sheetIn .2s ease both;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.close-btn { position: absolute; right: 16px; top: 16px; }
.close-btn::before, .close-btn::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #fff;
  left: 11px;
  top: 18px;
}
.close-btn::before { transform: rotate(45deg); }
.close-btn::after { transform: rotate(-45deg); }
.tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.tab {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}
.tab.is-active { background: var(--accent); color: #fff; }
.auth-sheet h2 { margin: 24px 0 18px; }
.auth-form { display: grid; gap: 14px; }
.auth-form label > span:not(.password-field) { display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.auth-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 0 14px;
  outline: none;
}
.auth-form input:focus { border-color: var(--accent); }
.password-field {
  position: relative;
  display: block;
}
.auth-form .password-field input {
  padding-right: 52px;
}
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.password-toggle::before {
  content: "";
  width: 22px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.74);
  border-radius: 50% / 58%;
  transition: border-color .18s ease, opacity .18s ease;
}
.password-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  transform: translateY(-50%);
  transition: background .18s ease;
}
.password-toggle.is-visible::before {
  border-color: var(--accent-2);
}
.password-toggle.is-visible::after {
  background: var(--accent-2);
}
.password-toggle:hover::before,
.password-toggle:hover::after {
  opacity: 1;
}
.full-btn { width: 100%; }
.form-note, .form-error { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.form-error { color: #ff9a9d; min-height: 18px; }
.form-error.is-success { color: #ffe28a; }
.auth-link-btn {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  cursor: pointer;
  font-weight: 800;
  padding: 2px 0;
  text-align: center;
  transition: color .18s ease, transform .18s ease;
}
.auth-link-btn:hover {
  color: #fff;
  transform: translateY(-1px);
}
.telegram-link-view {
  display: grid;
  align-items: center;
}
.telegram-link-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,82,87,.38);
  border-radius: 8px;
  padding: clamp(22px, 5vw, 36px);
  background:
    radial-gradient(420px 180px at 12% 0%, rgba(255,82,87,.22), transparent 64%),
    linear-gradient(135deg, rgba(35, 22, 47, .94), rgba(12, 19, 40, .94));
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
  animation: rise .45s ease both;
}
.telegram-link-glow {
  position: absolute;
  inset: -90px auto auto 18%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,82,87,.22);
  filter: blur(36px);
  animation: pulseGlow 3s ease-in-out infinite;
  pointer-events: none;
}
.telegram-link-card > *:not(.telegram-link-glow) {
  position: relative;
}
.telegram-link-card h1 {
  max-width: 640px;
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.04;
}
.telegram-link-id {
  display: inline-flex;
  gap: 8px;
  margin: 0 0 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.86);
  font-weight: 800;
}
.telegram-link-text {
  max-width: 620px;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.5;
}
.telegram-link-form {
  max-width: 460px;
}

.account-view { min-height: calc(100vh - 74px); }
.account-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}
.notice-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,82,87,.38);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 22px;
  background:
    radial-gradient(420px 150px at 8% 0%, rgba(255,82,87,.24), transparent 64%),
    linear-gradient(135deg, rgba(35, 22, 47, .94), rgba(12, 19, 40, .94));
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
  animation: rise .45s ease both;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.notice-banner:hover {
  transform: translateY(-3px);
  border-color: rgba(255,82,87,.62);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}
.notice-glow {
  position: absolute;
  inset: -60% auto auto 12%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,82,87,.28);
  filter: blur(32px);
  animation: pulseGlow 3s ease-in-out infinite;
}
.notice-badge {
  position: relative;
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.notice-banner strong,
.notice-banner p {
  position: relative;
}
.notice-banner strong {
  display: block;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.1;
}
.notice-banner p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}
.account-header { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.account-header h1 {
  font-size: clamp(36px, 6vw, 52px);
  margin-bottom: 20px;
}
.renewal-alert {
  margin: -4px 0 18px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 211, 77, .78);
  border-radius: 8px;
  background: rgba(255, 191, 0, .13);
  color: #ffe28a;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(255, 191, 0, .12), 0 16px 38px rgba(255, 191, 0, .12);
  animation: yellowBlink 1.15s ease-in-out infinite;
}
.bot-profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(52, 34, 54, .9);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
  animation: rise .55s ease both;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.bot-profile-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 34px 82px rgba(0,0,0,.36);
}
.profile-hero-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #08090f;
}
.profile-hero-img,
.payment-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.profile-stats {
  padding: 22px 24px 10px;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.38;
  font-weight: 500;
}
.profile-stats p {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}
.profile-stats strong {
  font-weight: 500;
}
.profile-link-block { padding: 22px 24px 24px; }
.profile-link-block h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 4vw, 30px);
}
.link-hint {
  margin: 10px 0 0;
  color: var(--muted);
}
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.metric-card { padding: 20px; }
.metric-card span { display: block; color: var(--muted); margin-bottom: 10px; }
.metric-card strong { font-size: clamp(28px, 4vw, 46px); }
.wide { grid-column: span 1; }
.copy-link {
  width: 100%;
  min-height: 76px;
  overflow-wrap: anywhere;
  text-align: left;
  border: 0;
  border-left: 5px solid #ff981f;
  border-radius: 8px;
  color: #fff;
  background: rgba(92, 55, 45, .9);
  cursor: pointer;
  padding: 12px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(15px, 3.4vw, 24px);
  line-height: 1.25;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.copy-link:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.copy-link.is-loading {
  background: linear-gradient(90deg, rgba(92,55,45,.85), rgba(255,82,87,.22), rgba(92,55,45,.85));
  background-size: 220% 100%;
  animation: loadingSweep 1.4s ease-in-out infinite;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.bot-actions { grid-template-columns: repeat(2, 1fr); }
.bot-action {
  min-height: 64px;
  border-color: transparent;
  border-radius: 8px;
  background: rgba(45, 46, 61, .96);
  font-size: clamp(18px, 4vw, 26px);
  justify-content: center;
  animation: actionPop .38s ease both;
}
.bot-action:nth-child(1) { animation-delay: .04s; }
.bot-action:nth-child(2) { animation-delay: .08s; }
.bot-action:nth-child(3) { animation-delay: .12s; }
.bot-action:nth-child(4) { animation-delay: .16s; }
.bot-action:nth-child(5) { animation-delay: .20s; }
.bot-action:nth-child(6) { animation-delay: .24s; }
.bot-action:nth-child(7) { animation-delay: .28s; }
.bot-action:nth-child(8) { animation-delay: .32s; }
.bot-action:nth-child(9) { animation-delay: .36s; }
.bot-action:nth-child(10) { animation-delay: .40s; }
.bot-action:hover {
  background: rgba(58, 59, 78, .98);
  box-shadow: 0 14px 34px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.06);
}
.bot-actions .full-row { grid-column: 1 / -1; }
.pay-action {
  border-color: rgba(255, 152, 31, .78);
  background:
    radial-gradient(160px 70px at 20% 0%, rgba(255,152,31,.18), transparent 70%),
    rgba(61, 49, 69, .98);
  box-shadow: inset 0 0 0 1px rgba(255, 82, 87, .28), 0 12px 30px rgba(255, 82, 87, .12);
}
.pay-action:hover {
  border-color: rgba(255, 152, 31, .96);
  box-shadow: 0 18px 42px rgba(255,82,87,.18), inset 0 0 0 1px rgba(255,152,31,.26);
}
.support-action { background: rgba(61, 49, 69, .98); }
.action-link { text-align: center; }
.detail-panel { margin-top: 16px; padding: 20px; color: rgba(255,255,255,.88); }
.detail-panel.is-entering { animation: detailIn .22s ease both; }
.detail-panel.is-leaving { animation: detailOut .18s ease both; }
.detail-panel h3 { margin: 0 0 12px; }
.detail-lead {
  margin: 0 0 16px;
  color: rgba(255,255,255,.86);
  font-size: clamp(17px, 3.6vw, 22px);
  line-height: 1.42;
}
.detail-copy-link {
  margin-top: 8px;
}
.detail-panel.is-payment {
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.detail-panel.is-checking-payment .payment-success-title::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid rgba(255,255,255,.36);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -1px;
  animation: spin .75s linear infinite;
}
.payment-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(52, 34, 54, .92);
  animation: rise .32s ease both;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.payment-hero {
  min-height: 270px;
  overflow: hidden;
  background: #08090f;
}
.payment-body {
  padding: 18px 22px 20px;
  font-size: clamp(17px, 3.4vw, 22px);
  line-height: 1.34;
}
.payment-body h3 {
  margin: 0 0 20px;
  font-size: clamp(22px, 4.2vw, 30px);
  line-height: 1.28;
}
.payment-stats {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
}
.payment-stats p {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.payment-stats strong {
  font-weight: 760;
}
.payment-note {
  position: relative;
  margin: 0 0 22px;
  padding: 12px 38px 12px 16px;
  border-left: 5px solid #ff981f;
  border-radius: 8px;
  background: rgba(92, 55, 45, .9);
}
.payment-note::after {
  content: "”";
  position: absolute;
  right: 12px;
  top: 0;
  color: #ff981f;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}
.payment-desc {
  margin: 0;
  color: rgba(255,255,255,.92);
}
.detail-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.detail-list li { padding: 12px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--muted); }
.device-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.device-row:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.075);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.device-row-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.device-row-copy strong {
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.device-row-copy span {
  font-size: 13px;
}
.device-delete-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,82,87,.58);
  border-radius: 50%;
  background: rgba(255,82,87,.08);
  color: #fff;
  cursor: pointer;
  font-size: 19px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.device-delete-btn:hover {
  transform: translateY(-1px) scale(1.04);
  background: rgba(255,82,87,.18);
  border-color: rgba(255,82,87,.94);
  box-shadow: 0 12px 28px rgba(255,82,87,.16);
}
.confirm-card {
  display: grid;
  gap: 12px;
}
.confirm-card p {
  margin: 0;
  color: rgba(255,255,255,.9);
  line-height: 1.45;
}
.confirm-note {
  color: var(--muted) !important;
}
.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.danger-btn {
  min-height: 48px;
  border: 1px solid rgba(255,82,87,.86);
  border-radius: 999px;
  background: rgba(255,82,87,.16);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.danger-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,82,87,.28);
  box-shadow: 0 16px 34px rgba(255,82,87,.18);
}
.pay-list { gap: 14px; }
.payment-amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.payment-amount-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: rgba(45, 46, 61, .98);
  color: #fff;
  cursor: pointer;
  font-size: clamp(18px, 4vw, 25px);
  font-weight: 500;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.payment-amount-btn:not(:disabled):hover {
  transform: translateY(-2px);
  background: rgba(58, 59, 78, .98);
  box-shadow: 0 14px 34px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.06);
}
.payment-amount-btn:disabled {
  cursor: not-allowed;
  opacity: .48;
}
.payment-success-title {
  margin-bottom: 18px;
}
.pay-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
}
.pay-plan-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.pay-plan-copy strong {
  color: rgba(255,255,255,.84);
  font-size: clamp(18px, 4vw, 26px);
  line-height: 1.15;
}
.pay-plan-copy span {
  color: var(--muted);
  font-size: clamp(17px, 3.5vw, 24px);
}
.pay-plan-btn {
  min-width: 148px;
  min-height: 56px;
  padding: 0 20px;
  white-space: nowrap;
  background: rgba(255,255,255,.02);
}
.qr-box {
  display: inline-grid;
  place-items: center;
  width: 260px;
  height: 260px;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}
.qr-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  margin-top: 14px;
}
.qr-box img,
.qr-box canvas { width: 240px; height: 240px; }
.vpn-help-card {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(52, 34, 54, .92);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.vpn-help-hero {
  min-height: 260px;
  background: #08090f;
  overflow: hidden;
}
.vpn-help-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.vpn-help-body {
  padding: 20px 22px 22px;
  font-size: clamp(22px, 4.4vw, 34px);
  line-height: 1.35;
}
.vpn-help-body h3,
.vpn-help-body h4 {
  margin: 0 0 22px;
  font-size: inherit;
}
.vpn-help-steps {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.vpn-help-steps li {
  width: fit-content;
  max-width: 100%;
  padding: 4px 12px;
  border-left: 5px solid #ff981f;
  border-radius: 8px;
  background: rgba(92, 55, 45, .9);
}
.vpn-help-note {
  margin: 0;
  font-style: italic;
  color: rgba(255,255,255,.92);
}
.support-detail-btn {
  width: 100%;
  min-height: 64px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(45, 46, 61, .98);
  font-size: clamp(20px, 4.4vw, 28px);
}
.instruction-card {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(52, 34, 54, .92);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.instruction-hero {
  min-height: 260px;
  overflow: hidden;
  background: #08090f;
}
.instruction-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.instruction-body {
  padding: 20px 22px 22px;
  color: rgba(255,255,255,.92);
  font-size: clamp(17px, 3.6vw, 22px);
  line-height: 1.42;
}
.instruction-body h3,
.instruction-body h4,
.instruction-body p {
  margin: 0 0 14px;
}
.instruction-body h4 {
  margin-top: 18px;
}
.instruction-body blockquote {
  margin: 0 0 16px;
  padding: 11px 14px;
  border-left: 5px solid #ff981f;
  border-radius: 8px;
  background: rgba(92, 55, 45, .9);
}
.instruction-body .link-quote {
  padding: 0;
  overflow: hidden;
}
.instruction-copy-code {
  display: block;
  width: 100%;
  min-height: 64px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 12px 14px;
  text-align: left;
  transition: background .18s ease, transform .18s ease;
}
.instruction-copy-code:hover {
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}
.instruction-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-wrap: anywhere;
}
.download-links {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.download-link {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  background: rgba(45, 46, 61, .98);
  justify-content: center;
  text-align: center;
}
.back-btn {
  width: 100%;
  margin-top: 16px;
}
.detail-panel.is-payment .back-btn {
  width: 100%;
  margin: 8px 0 0;
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: rgba(45, 46, 61, .98);
  font-size: clamp(18px, 4vw, 25px);
  font-weight: 500;
}
.bot-actions.is-leaving { animation: actionsOut .18s ease both; }
.bot-actions.is-entering { animation: actionsIn .22s ease both; }

[hidden] { display: none !important; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes actionPop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pulseGlow { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: .85; transform: scale(1.16); } }
@keyframes loadingSweep { 0% { background-position: 0% 50%; } 100% { background-position: 220% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes actionsOut { to { opacity: 0; transform: translateX(-32px); } }
@keyframes actionsIn { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes detailIn { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes detailOut { to { opacity: 0; transform: translateX(32px); } }
@keyframes yellowBlink {
  0%, 100% { opacity: .76; box-shadow: 0 0 0 1px rgba(255, 191, 0, .08), 0 12px 28px rgba(255, 191, 0, .08); }
  50% { opacity: 1; box-shadow: 0 0 0 1px rgba(255, 211, 77, .42), 0 18px 48px rgba(255, 191, 0, .24); }
}

@media (max-width: 820px) {
  .topbar { height: 66px; padding: 0 16px; }
  .brand { font-size: 18px; letter-spacing: 2px; }
  .nav { display: none; }
  .top-register { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .hero {
    min-height: calc(100vh - 66px);
    display: block;
    padding: 46px 18px 58px;
  }
  .lead { font-size: 24px; }
  .hero-actions { display: grid; }
  .hero-actions > * { width: 100%; }
  .diagonal { width: 78vw; }
  .diagonal-one { left: 16vw; top: -20vh; }
  .diagonal-two { right: -34vw; }
  .status-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .feature-band, .apps-band, .account-view { padding: 52px 18px; }
  .feature-grid, .apps-band, .dashboard-grid, .action-grid { grid-template-columns: 1fr; }
  .account-header { display: grid; }
  .account-view { padding-top: 28px; }
  .bot-actions { grid-template-columns: 1fr 1fr; }
  .bot-actions .full-row { grid-column: 1 / -1; }
  .profile-hero-card { min-height: 265px; }
  .payment-hero { min-height: 220px; }
  .profile-stats,
  .profile-link-block { padding-left: 18px; padding-right: 18px; }
  .pay-plan {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .pay-plan-btn {
    width: 100%;
    min-width: 0;
  }
  .payment-body {
    padding: 16px 18px 18px;
    font-size: 18px;
  }
  .payment-body h3 {
    margin-bottom: 16px;
    font-size: 23px;
  }
  .payment-note {
    padding-right: 34px;
  }
  .payment-amount-btn,
  .detail-panel.is-payment .back-btn {
    min-height: 58px;
    font-size: 20px;
  }
  .detail-panel.is-payment .back-btn {
    width: 100%;
    margin: 8px 0 0;
  }
}

@media (hover: none) {
  .primary-btn:hover,
  .secondary-btn:hover,
  .outline-btn:hover,
  .feature-card:hover,
  .notice-banner:hover,
  .bot-profile-card:hover,
  .app-list span:hover {
    transform: none;
  }
}
