@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap");

:root {
  --bg: #040406;
  --bg-soft: #0a0a0f;
  --surface: #0f0f16;
  --surface-soft: #14141e;
  --text: #f8f4ff;
  --text-soft: #ddd0f5;
  --muted: #9b8ab8;
  --line: #2a2040;
  --accent: #9333ea;
  --accent-bright: #a855f7;
  --accent-2: #d946ef;
  --accent-3: #c4b5fd;
  --accent-glow: rgba(168, 85, 247, 0.45);
  --accent-text: #ffffff;
  --ok: #a78bfa;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(147, 51, 234, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(217, 70, 239, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 75%, rgba(139, 92, 246, 0.08), transparent 45%),
    linear-gradient(180deg, #060608 0%, #040406 40%, #08080e 100%);
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.07) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 62%, rgba(196, 181, 253, 0.09) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 18%, rgba(255, 255, 255, 0.06) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 44%, rgba(217, 70, 239, 0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 22% 82%, rgba(255, 255, 255, 0.05) 0 1px, transparent 2px);
  animation: cosmicDrift 18s ease-in-out infinite;
  z-index: -2;
}

h1,
h2,
h3,
.logo,
.section-title h2,
.hero h1,
.pick-title,
.auth-brand__name,
.auth-title {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.06em;
}

a {
  color: var(--accent-3);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text);
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(4, 4, 6, 0.82);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo::before {
  content: "◈";
  font-size: 16px;
  color: var(--accent-bright);
  text-shadow: 0 0 16px var(--accent-glow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  padding: 8px 16px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--radius);
  color: var(--text-soft);
  background: rgba(15, 15, 22, 0.6);
  font-size: 13px;
  font-family: var(--sans);
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav a:hover {
  border-color: rgba(217, 70, 239, 0.5);
  color: var(--text);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.15);
}

.nav a.nav-link--active {
  border-color: rgba(217, 70, 239, 0.55);
  color: var(--text);
  background: rgba(124, 58, 237, 0.14);
}

/* ── Layout blocks ── */

.page {
  padding: 28px 0 48px;
}

.block {
  background: linear-gradient(180deg, rgba(15, 15, 22, 0.88), rgba(8, 8, 12, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
}

.block h1,
.block h2,
.block h3 {
  margin: 0 0 12px;
  text-transform: uppercase;
}

.block h2 {
  font-size: clamp(26px, 4vw, 36px);
  text-align: center;
}

.block p {
  margin: 0 0 10px;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: linear-gradient(180deg, rgba(18, 14, 28, 0.7), rgba(10, 8, 16, 0.9));
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(217, 70, 239, 0.35);
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.1);
}

.card h3 {
  font-size: 20px;
  color: var(--text-soft);
}

.card p {
  margin: 6px 0 0;
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  border: none;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 45%, #d946ef 100%);
  color: var(--accent-text);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.45);
  opacity: 0.95;
  color: var(--accent-text);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-3);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(124, 58, 237, 0.1);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.15);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  max-width: 640px;
  margin-inline: auto;
}

.list li {
  margin: 8px 0;
}

.list li::marker {
  color: var(--accent-bright);
}

/* ── Forms ── */

.form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(200, 190, 220, 0.25);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #f8f6fc;
  color: #1a1028;
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #8b7fa0;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.note {
  font-size: 13px;
  color: var(--muted);
}

.price {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}

.ok {
  color: var(--ok);
}

.site-footer {
  border-top: 1px solid rgba(168, 85, 247, 0.12);
  padding: 24px 0 32px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.glow {
  color: var(--accent-bright);
  text-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(217, 70, 239, 0.2);
}

/* ── Landing page ── */

.landing-page {
  background: var(--bg);
}

.landing-page .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(16px, 3vw, 48px);
}

.landing-page .site-header__inner {
  padding: 14px clamp(16px, 3vw, 48px);
}

.landing-page .page {
  padding: 0 0 40px;
}

.landing-page .block {
  margin-bottom: 16px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
  background: transparent;
  animation: landingReveal 0.9s ease both;
}

.landing-page #hero {
  animation-delay: 0.05s;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: none;
  padding: 28px 0 56px;
}

.landing-page #category-strip { animation-delay: 0.15s; }
.landing-page #popular-spreads { animation-delay: 0.25s; }
.landing-page #how-it-works { animation-delay: 0.35s; }
.landing-page #trust { animation-delay: 0.45s; }
.landing-page #faq { animation-delay: 0.55s; }

@keyframes landingReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cosmicDrift {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(-6px); opacity: 1; }
}

/* ── Hero (mystic centered) ── */

.hero-mystic {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-brand {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-visual {
  width: 100%;
  max-width: 420px;
  margin-bottom: 22px;
}

.mystic-scene {
  position: relative;
  height: 220px;
  display: grid;
  place-items: center;
}

.smoke {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
}

.smoke--left {
  left: -5%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4), transparent 70%);
  animation: smokeFloat 8s ease-in-out infinite;
}

.smoke--right {
  right: -5%;
  top: 15%;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.3), transparent 70%);
  animation: smokeFloat 9s ease-in-out infinite reverse;
}

@keyframes smokeFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -16px) scale(1.08); }
}

.crystal-ball {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crystal-ball__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.5), rgba(124, 58, 237, 0.15) 50%, transparent 70%);
  filter: blur(20px);
  animation: crystalPulse 4s ease-in-out infinite;
}

@keyframes crystalPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.06); opacity: 1; }
}

.crystal-ball__sphere {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.25), transparent 40%),
    radial-gradient(circle at 60% 65%, rgba(168, 85, 247, 0.6), rgba(88, 28, 135, 0.9) 60%, rgba(30, 10, 50, 0.95) 100%);
  border: 1px solid rgba(196, 181, 253, 0.3);
  box-shadow:
    inset 0 -20px 40px rgba(0, 0, 0, 0.4),
    inset 0 10px 20px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(168, 85, 247, 0.4),
    0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.crystal-ball__inner {
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(217, 70, 239, 0.5), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.4), transparent 50%);
  animation: innerGlow 5s ease-in-out infinite;
}

.crystal-ball__inner::after {
  content: "✦";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 0 20px rgba(217, 70, 239, 0.8);
}

@keyframes innerGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.crystal-ball__base {
  width: 90px;
  height: 28px;
  margin-top: -6px;
  background: linear-gradient(180deg, #2a1a40, #120a1e);
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.float-card {
  position: absolute;
  width: 72px;
  height: 112px;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.5);
  background: rgba(8, 6, 14, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(147, 51, 234, 0.15);
  z-index: 2;
}

.float-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 4px;
}

.float-card::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--accent-3);
  text-transform: uppercase;
}

.float-card--priestess {
  left: 8%;
  top: 18%;
  transform: rotate(-14deg);
  animation: cardFloatA 5s ease-in-out infinite;
}

.float-card--priestess::after { content: "Жрица"; }

.float-card--sun {
  right: 6%;
  top: 12%;
  transform: rotate(12deg);
  animation: cardFloatB 5.5s ease-in-out infinite;
}

.float-card--sun::after { content: "Солнце"; }

.float-card--tower {
  right: 18%;
  bottom: 8%;
  transform: rotate(6deg);
  animation: cardFloatC 4.8s ease-in-out infinite;
}

.float-card--tower::after { content: "Башня"; }

/* Line-art symbols inside cards */
.float-card--priestess::before {
  background:
    radial-gradient(circle at 50% 35%, transparent 18px, rgba(168, 85, 247, 0.5) 18px 19px, transparent 19px),
    linear-gradient(180deg, transparent 55%, rgba(168, 85, 247, 0.3) 55% 56%, transparent 56%);
}

.float-card--sun::before {
  background:
    radial-gradient(circle at 50% 40%, transparent 14px, rgba(217, 70, 239, 0.5) 14px 15px, transparent 15px),
    repeating-conic-gradient(from 0deg, rgba(168, 85, 247, 0.25) 0 10deg, transparent 10deg 20deg);
}

.float-card--tower::before {
  background:
    linear-gradient(180deg, transparent 30%, rgba(168, 85, 247, 0.4) 30% 70%, transparent 70%),
    linear-gradient(90deg, transparent 45%, rgba(168, 85, 247, 0.4) 45% 55%, transparent 55%);
}

@keyframes cardFloatA {
  0%, 100% { transform: rotate(-14deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-14px); }
}

@keyframes cardFloatB {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-16px); }
}

@keyframes cardFloatC {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-12px); }
}

.hero h1 {
  font-size: clamp(28px, 4.8vw, 46px);
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0 0 12px;
  max-width: 640px;
}

.hero-lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
}

.btn--hero {
  padding: 22px 54px;
  font-size: 17px;
  letter-spacing: 0.08em;
}

/* ── Chips / themes ── */

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
}

.chip-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.chip {
  white-space: nowrap;
  text-align: center;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--radius);
  padding: 12px 10px;
  font-size: 12px;
  color: var(--text-soft);
  background: rgba(12, 10, 18, 0.8);
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 70, 239, 0.45);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.12);
  color: var(--text);
}

/* ── Arc / tombstone pricing cards ── */

.auction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.auction-card {
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 120px 120px var(--radius-lg) var(--radius-lg);
  padding: 0 18px 22px;
  background:
    linear-gradient(180deg, rgba(24, 16, 40, 0.92) 0%, rgba(8, 6, 14, 0.98) 100%);
  overflow: hidden;
  position: relative;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.auction-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 70, 239, 0.45);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(147, 51, 234, 0.18);
}

.auction-card--promo {
  border-color: rgba(217, 70, 239, 0.35);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(147, 51, 234, 0.12);
}

.auction-card--promo:hover {
  border-color: rgba(236, 72, 153, 0.55);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.5),
    0 0 56px rgba(217, 70, 239, 0.22);
}

.auction-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 90% 45% at 50% 0%, rgba(168, 85, 247, 0.16), transparent 62%),
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(217, 70, 239, 0.08), transparent 55%);
  pointer-events: none;
}

.auction-art {
  width: calc(100% + 36px);
  margin: 0 -18px;
  height: 168px;
  display: block;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 90%, rgba(124, 58, 237, 0.28), transparent 58%),
    radial-gradient(ellipse at 50% 20%, rgba(217, 70, 239, 0.08), transparent 50%);
}

.auction-art::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 120px;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%) rotate(-4deg);
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.5);
  background: linear-gradient(160deg, rgba(18, 10, 32, 0.95), rgba(6, 4, 12, 0.98));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auction-art--one::after {
  animation: cardFloatA 5s ease-in-out infinite;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.45),
    50px 8px 0 -4px rgba(8, 6, 14, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auction-art--two::after {
  width: 70px;
  height: 105px;
  animation: cardFloatB 5.5s ease-in-out infinite;
}

.auction-art--three::after {
  width: 85px;
  height: 125px;
  animation: cardFloatC 4.8s ease-in-out infinite;
}

.auction-card h3 {
  margin: 14px 0 4px;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
}

.auction-meta {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.auction-offer {
  position: relative;
  margin: 0 0 16px;
  padding: 22px 14px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 70, 239, 0.32);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 70, 239, 0.14), transparent 65%),
    rgba(10, 6, 18, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 24px rgba(124, 58, 237, 0.12);
}

.auction-offer__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #d946ef);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.45);
  white-space: nowrap;
}

.auction-offer__prices {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.auction-price-old {
  font-size: 14px;
  color: rgba(168, 85, 247, 0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(217, 70, 239, 0.7);
}

.auction-price-now {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 32px rgba(217, 70, 239, 0.6);
}

.auction-offer__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.auction-offer__timer-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.auction-offer__timer {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid rgba(217, 70, 239, 0.35);
  background: rgba(124, 58, 237, 0.22);
  text-shadow: 0 0 16px rgba(217, 70, 239, 0.5);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.15);
}

.auction-card .btn {
  width: 100%;
  text-align: center;
  padding: 13px 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.btn--promo {
  box-shadow: 0 4px 28px rgba(217, 70, 239, 0.45);
  background: linear-gradient(135deg, #6d28d9 0%, #a855f7 45%, #ec4899 100%);
}

.btn--promo:hover {
  box-shadow: 0 6px 36px rgba(217, 70, 239, 0.55);
}

/* ── How it works steps ── */

.step-num {
  font-family: var(--serif);
  font-size: 48px;
  color: rgba(168, 85, 247, 0.25);
  line-height: 1;
  margin-bottom: 8px;
}

#how-it-works .card {
  text-align: center;
  padding: 28px 20px;
}

#trust {
  text-align: center;
}

#trust h2 {
  margin-bottom: 20px;
}

#faq .stack .card h3 {
  font-size: 18px;
}

/* ── Cards page / deck ── */

.deck-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.deck-card {
  height: 140px;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.35);
  background:
    radial-gradient(circle at 70% 20%, rgba(168, 85, 247, 0.25), transparent 45%),
    linear-gradient(180deg, #14101e, #08060e);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.deck-card:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 70, 239, 0.6);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
}

.deck-card:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.drawn-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.drawn-slot {
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: linear-gradient(180deg, rgba(16, 12, 24, 0.85), rgba(8, 6, 14, 0.95));
  min-height: 190px;
}

.drawn-slot h3 {
  margin: 0 0 8px;
}

.drawn-card-name {
  font-weight: 600;
  color: var(--accent-3);
  margin: 0 0 8px;
}

.drawn-card-text {
  color: var(--muted);
  margin: 0;
}

.drawn-card-locked {
  margin-top: 8px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(8, 6, 14, 0.75);
  color: rgba(230, 224, 245, 0.7);
  filter: blur(3px);
  user-select: none;
}

.deck-area {
  display: grid;
  gap: 12px;
}

.deck-fan {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.deck-back {
  width: 82px;
  height: 126px;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.4);
  background:
    radial-gradient(circle at 50% 26%, rgba(168, 85, 247, 0.2), transparent 38%),
    linear-gradient(180deg, #14101e, #08060e);
  position: relative;
}

.deck-back::before,
.deck-back::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 6px;
  border: 1px solid rgba(196, 181, 253, 0.2);
}

.deck-back::after {
  inset: 30% 28%;
  border-radius: 999px;
}

.deck-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.paywall-box {
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: linear-gradient(180deg, rgba(16, 12, 24, 0.8), rgba(8, 6, 14, 0.94));
}

.paywall-blur {
  margin-top: 10px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: var(--radius);
  padding: 12px;
  color: rgba(230, 224, 245, 0.7);
  filter: blur(3.8px);
  user-select: none;
}

/* ── Question page ── */

.question-page {
  min-height: calc(100vh - 62px);
  display: grid;
  place-items: center;
  padding: 28px 0 38px;
}

.question-shell {
  width: min(640px, 100%);
}

#question-block {
  text-align: center;
}

#question-block h1 {
  font-size: clamp(28px, 5vw, 40px);
}

#question-block .form textarea {
  min-height: 130px;
}

#question-block .btn {
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 15px;
}

/* ── Pay page ── */

.pay-page {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 20px 10px 28px;
}

.pay-wrap {
  width: min(520px, 100%);
}

.pay-card {
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(147, 51, 234, 0.08);
}

.pay-head {
  padding: 28px 24px 22px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(217, 70, 239, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.4), transparent 50%),
    linear-gradient(160deg, #4c1d95 0%, #7c3aed 50%, #9333ea 100%);
}

.pay-kicker {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-family: var(--sans);
  opacity: 0.85;
}

.pay-head h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.08;
}

.pay-head__price {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 0 38px rgba(168, 85, 247, 0.55);
  font-variant-numeric: tabular-nums;
}

.pay-head__old {
  color: rgba(248, 244, 255, 0.72);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(217, 70, 239, 0.85);
  font-variant-numeric: tabular-nums;
}

.pay-head p {
  margin: 0;
  color: rgba(248, 244, 255, 0.88);
  font-size: 15px;
  font-family: var(--sans);
}

.pay-body {
  padding: 24px;
  color: var(--text-soft);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.promo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(217, 70, 239, 0.42);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(217, 70, 239, 0.16), transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(124, 58, 237, 0.18), transparent 50%),
    rgba(12, 8, 20, 0.7);
  margin-bottom: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 34px rgba(217, 70, 239, 0.14);
  position: relative;
}

.promo-row::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(217, 70, 239, 0.35), rgba(124, 58, 237, 0.18), rgba(217, 70, 239, 0.35));
  opacity: 0.22;
  filter: blur(10px);
  animation: promoPulse 2.2s ease-in-out infinite;
}

.promo-row > * {
  position: relative;
  z-index: 1;
}

.promo-timer__label {
  color: rgba(248, 244, 255, 0.8);
}

.promo-badge {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 1), rgba(217, 70, 239, 0.98));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 26px rgba(217, 70, 239, 0.22);
  white-space: nowrap;
}

.promo-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.promo-timer__label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-timer__value {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 50%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(217, 70, 239, 0.28));
  border: 1px solid rgba(217, 70, 239, 0.42);
  text-shadow: 0 0 22px rgba(217, 70, 239, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 28px rgba(168, 85, 247, 0.22);
}

@keyframes promoPulse {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  50% { opacity: 0.32; transform: scale(1.01); }
}

.price-row--promo {
  align-items: flex-end;
}

.price-stack {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.price-old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(217, 70, 239, 0.6);
  font-variant-numeric: tabular-nums;
}

.price-row h2 {
  margin: 0;
  font-size: 18px;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--muted);
}

.benefits li strong {
  color: var(--text);
  font-weight: 600;
}

.sum {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--accent-bright);
  text-shadow: 0 0 0 rgba(0,0,0,0), 0 0 34px rgba(168, 85, 247, 0.55);
  white-space: nowrap;
}

.price-row--promo .sum {
  font-size: 46px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 46px rgba(168, 85, 247, 0.7);
}

.benefits {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.benefits li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text-soft);
}

.benefits li::before {
  content: "◈";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: var(--accent-2);
}

.pay-cta {
  display: block;
  text-align: center;
  border-radius: var(--radius);
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a855f7 50%, #d946ef);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
  margin-bottom: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pay-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.5);
  color: #fff;
}

.agree-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.agree-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.agree-list input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  padding: 0;
  background: transparent;
}

.pay-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ── Auth pages ── */

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 14px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.15), transparent 50%),
    var(--bg);
}

.auth-card {
  width: min(460px, 100%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  background: linear-gradient(180deg, rgba(15, 12, 22, 0.95), rgba(6, 4, 10, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.auth-brand {
  text-align: center;
  margin-bottom: 20px;
}

.auth-brand__logo {
  font-size: 28px;
  margin-bottom: 6px;
  line-height: 1;
  color: var(--accent-bright);
  text-shadow: 0 0 20px var(--accent-glow);
}

.auth-brand__name {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.auth-brand__name span {
  color: var(--accent-bright);
}

.auth-title {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(32px, 6vw, 40px);
  text-transform: uppercase;
}

.auth-title span {
  color: var(--accent-bright);
}

.auth-social {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--sans);
  border: 1px solid transparent;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.auth-social-btn:hover {
  opacity: 0.9;
}

.auth-social-btn--ya {
  background: #fff;
  color: #0a0a0f;
  border-color: rgba(255, 255, 255, 0.16);
}

.auth-social-btn--vk {
  background: #4c1d95;
  color: #fff;
}

.vkid-login {
  min-height: 48px;
}

.vkid-login iframe,
.vkid-login button {
  width: 100% !important;
}

.auth-error {
  margin: 0;
  color: #fca5a5;
  font-size: 13px;
  text-align: center;
}

.auth-divider {
  text-align: center;
  color: var(--muted);
  margin: 14px 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--sans);
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-input {
  width: 100%;
  border: 1px solid rgba(200, 190, 220, 0.25);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #f8f6fc;
  color: #1a1028;
  font-size: 15px;
  font-family: var(--sans);
}

.auth-input::placeholder {
  color: #8b7fa0;
}

.auth-submit {
  margin-top: 6px;
  border-radius: var(--radius);
  border: 0;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a855f7 50%, #d946ef);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
}

.auth-links {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 16px;
}

.auth-links a {
  color: var(--text-soft);
  font-size: 14px;
}

/* ── Responsive ── */

@media (max-width: 980px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .chip-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .chip {
    flex-shrink: 0;
  }

  .auction-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .mystic-scene {
    height: 190px;
  }

  .crystal-ball__sphere {
    width: 120px;
    height: 120px;
  }

  .float-card {
    width: 54px;
    height: 84px;
  }

  .btn--hero {
    padding: 18px 40px;
    font-size: 16px;
  }

  .deck-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .drawn-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .landing-page #hero {
    padding: 16px 0 36px;
  }

  .mystic-scene {
    height: 170px;
  }

  .block {
    padding: 24px 18px;
  }
}

@media (max-width: 880px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ── Cards pick page ── */

.pick-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 0 34px;
}

.pick-header {
  margin-bottom: 18px;
}

.back-link {
  color: var(--muted);
  font-size: 14px;
}

.pick-title {
  text-align: center;
  margin: 0 0 18px;
  font-size: clamp(28px, 5vw, 36px);
  text-transform: uppercase;
}

.pick-title span {
  color: var(--accent-bright);
  text-shadow: 0 0 20px var(--accent-glow);
}

.deck-title {
  text-align: center;
  font-size: 16px;
  margin: 0 0 24px;
  color: var(--muted);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.slot {
  min-height: 286px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-lg);
  padding: 14px;
  background: linear-gradient(180deg, rgba(16, 12, 24, 0.86), rgba(8, 6, 14, 0.95));
  display: grid;
  place-items: center;
}

.slot-number {
  font-family: var(--serif);
  font-size: 58px;
  color: rgba(168, 85, 247, 0.15);
  text-align: center;
  margin-top: 54px;
  user-select: none;
}

.card-face {
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.35);
  min-height: 246px;
  padding: 10px;
  background:
    radial-gradient(circle at 70% 16%, rgba(168, 85, 247, 0.3), transparent 46%),
    linear-gradient(180deg, #14101e, #08060e);
  width: 100%;
  display: grid;
  place-items: center;
}

.slot-card-image {
  width: 158px;
  height: 232px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: #06040c;
}

.pick-status {
  text-align: center;
  color: var(--muted);
  margin: 0 0 10px;
}

.deck-shell {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.deck-nav {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(12, 10, 18, 0.8);
  color: var(--text);
  font-size: 19px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.deck-nav:hover {
  border-color: rgba(217, 70, 239, 0.5);
  box-shadow: 0 0 16px rgba(147, 51, 234, 0.15);
}

.deck-row {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  min-height: 178px;
  align-items: end;
  overflow-x: auto;
  padding: 14px 8px 8px;
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
}

.deck-row.dragging {
  cursor: grabbing;
}

.deck-pick {
  width: 96px;
  height: 146px;
  margin-left: -16px;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: linear-gradient(180deg, #14101e, #08060e);
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  overflow: hidden;
  padding: 0;
  transform: rotate(var(--rot, 0deg)) translateY(var(--lift, 0px));
}

.deck-pick:first-child {
  margin-left: 0;
}

.deck-pick:hover {
  transform: rotate(var(--rot, 0deg)) translateY(calc(var(--lift, 0px) - 14px));
  border-color: rgba(217, 70, 239, 0.6);
  z-index: 4;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
}

.deck-pick:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  transform: none;
}

.deck-pick::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 6px;
  border: 1px solid rgba(196, 181, 253, 0.2);
  pointer-events: none;
}

.deck-pick::after {
  content: "◈";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent-3);
  font-size: 24px;
  pointer-events: none;
  text-shadow: 0 0 12px var(--accent-glow);
}

.brief-box {
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(180deg, rgba(16, 12, 24, 0.8), rgba(8, 6, 14, 0.94));
  text-align: center;
}

.brief-box h2 {
  margin-top: 0;
  font-size: 24px;
}

.brief-box p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-weight: 500;
}

@media (max-width: 900px) {
  .slots-grid {
    grid-template-columns: 1fr;
  }

  .deck-shell {
    grid-template-columns: 1fr;
  }

  .deck-nav {
    display: none;
  }

  .slot-card-image {
    width: 148px;
    height: 220px;
  }
}

/* ── Account / full reading ── */

.lk-gate {
  text-align: center;
  padding: 48px 20px;
  max-width: 480px;
  margin: 0 auto;
}

.lk-gate h1 {
  margin-bottom: 12px;
}

.lk-gate p {
  margin-bottom: 20px;
}

.lk-profile {
  padding: 0;
  overflow: hidden;
}

.lk-profile__top {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(217, 70, 239, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(20, 14, 32, 0.9), rgba(10, 8, 16, 0.95));
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.lk-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--accent-bright);
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(12, 8, 20, 0.8);
  box-shadow: 0 0 24px rgba(147, 51, 234, 0.2);
  flex-shrink: 0;
}

.lk-profile__info {
  flex: 1;
  min-width: 180px;
}

.lk-greeting {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lk-name {
  margin: 0 0 4px;
  font-size: clamp(26px, 4vw, 34px);
  text-transform: capitalize;
}

.lk-name-edit {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.lk-name-input {
  width: min(320px, 100%);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: rgba(12, 8, 20, 0.55);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(22px, 3.6vw, 30px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03);
}

.lk-name-input:focus {
  outline: none;
  border-color: rgba(217, 70, 239, 0.55);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}

.lk-name-save {
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: rgba(12, 8, 20, 0.45);
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lk-name-save:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 70, 239, 0.5);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.12);
}

.lk-email {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.lk-logout {
  margin-left: auto;
  padding: 10px 18px;
  font-size: 13px;
}

.lk-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: start;
}

.lk-menu {
  display: grid;
  gap: 10px;
}

.lk-menu__item {
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(12, 8, 20, 0.55);
  color: var(--text-soft);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lk-menu__item:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 70, 239, 0.35);
  box-shadow: 0 0 24px rgba(147, 51, 234, 0.12);
}

.lk-menu__item--active {
  border-color: rgba(217, 70, 239, 0.5);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.18);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(217, 70, 239, 0.14), transparent 55%),
    rgba(12, 8, 20, 0.65);
  color: var(--text);
}

.lk-content {
  min-width: 0;
}

.lk-section-title {
  margin: 0 0 14px;
  text-align: left;
  font-size: 24px;
}

.lk-history-item {
  display: block;
  padding: 18px;
}

.lk-history-item p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.lk-sub-card {
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(180deg, rgba(16, 12, 24, 0.75), rgba(8, 6, 14, 0.92));
}

.lk-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 16px;
}

.lk-sub-metric {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(12, 8, 20, 0.55);
}

.lk-sub-metric strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent-3);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.lk-sub-metric span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
}

.lk-sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.lk-sub-actions .btn {
  flex: 1;
  text-align: center;
}

@media (max-width: 980px) {
  .lk-shell {
    grid-template-columns: 1fr;
  }
}

.lk-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.lk-stat {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid rgba(168, 85, 247, 0.1);
}

.lk-stat:last-child {
  border-right: 0;
}

.lk-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--accent-bright);
  margin-bottom: 6px;
}

.lk-stat span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-page .reading-block {
  padding: 32px 28px 36px;
}

.reading-block__head {
  text-align: center;
  margin-bottom: 28px;
}

.reading-block__head h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 34px);
}

.reading-block__head h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 4vw, 32px);
}

.reading-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.reading-state {
  text-align: center;
  padding: 24px 12px;
}

.reading-state--error {
  color: #e9a8f0;
  border: 1px solid rgba(217, 70, 239, 0.25);
  border-radius: var(--radius);
  background: rgba(76, 29, 149, 0.12);
}

.reading-loader {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.2);
  border-top-color: var(--accent-bright);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.reading-question {
  text-align: center;
  font-size: 17px;
  color: var(--text-soft);
  margin: 0 auto 20px;
  padding: 16px 18px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: var(--radius);
  background: rgba(12, 8, 20, 0.5);
  width: 100%;
  max-width: none;
  line-height: 1.55;
  word-break: break-word;
}

.reading-question span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.reading-intro {
  text-align: center;
  color: var(--muted);
  width: 100%;
  max-width: none;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 560px) {
  .reading-question {
    font-size: 15px;
    padding: 14px 14px;
  }

  .reading-question span {
    font-size: 11px;
  }

  .reading-intro {
    font-size: 15px;
    margin-bottom: 22px;
  }
}

.reading-cards {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.reading-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 12, 24, 0.7), rgba(8, 6, 14, 0.9));
}

.reading-card__img {
  width: 100px;
  height: 148px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.reading-card__pos {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-3);
}

.reading-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.reading-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.reading-synthesis,
.reading-advice {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(10, 8, 16, 0.6);
}

.reading-recs {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(10, 8, 16, 0.6);
}

.reading-recs h3 {
  margin: 0 0 12px;
  font-size: 22px;
  text-align: center;
}

.recs-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  display: grid;
  gap: 8px;
}

.recs-list li::marker {
  color: var(--accent-bright);
}

.reading-synthesis h3,
.reading-advice h3 {
  margin: 0 0 12px;
  font-size: 22px;
  text-align: center;
}

.reading-synthesis p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.advice-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.advice-list li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(12, 8, 20, 0.5);
}

.advice-list strong {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--accent-3);
  text-transform: uppercase;
}

.advice-list span {
  color: var(--muted);
  line-height: 1.55;
}

.actions-block {
  text-align: center;
}

.actions-stack {
  max-width: 420px;
  margin: 0 auto;
}

.actions-stack .btn {
  width: 100%;
  text-align: center;
}

.actions-inline {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.actions-inline .btn {
  min-width: min(340px, 100%);
  text-align: center;
}

@media (max-width: 720px) {
  .actions-inline .btn {
    width: 100%;
  }
}

#history-block h2 {
  margin-bottom: 18px;
}

.history-list .history-item {
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: linear-gradient(180deg, rgba(16, 12, 24, 0.7), rgba(8, 6, 14, 0.9));
  color: inherit;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.history-list .history-item:hover,
.history-list .history-item.history-item--active {
  border-color: rgba(217, 70, 239, 0.4);
  box-shadow: 0 0 24px rgba(147, 51, 234, 0.12);
}

.history-list .history-item h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.history-list .history-item p {
  margin: 0 0 8px;
  font-size: 13px;
}

.reading-status--unpaid {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .reading-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .reading-card__img {
    margin: 0 auto;
  }

  .lk-stats {
    grid-template-columns: 1fr;
  }

  .lk-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
  }

  .lk-stat:last-child {
    border-bottom: 0;
  }

  .lk-logout {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}
