:root {
  --bg: #fdfefe;
  --bg-light: #f8f9fa;
  --bg-medium: #f0f2f5;
  --text: #17191b;
  --text-dim: #49525c;
  --text-light: #6c7988;
  --border: #e2e8f0;
  --border-light: #eaedf2;
  --shadow-soft: 0 8px 24px -8px rgba(17,25,27,0.10);
  --shadow-card: 0 12px 32px -10px rgba(17,25,27,0.14);
  --shadow-hover: 0 16px 40px -12px rgba(17,25,27,0.18);
  --accent: #17191b;
  --accent-hover: #313c48;
  --online: #2ecc71;
  --radius: 12px;
  --transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.canvas {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  min-height: 100vh;
}

.mirror-bar {
  background: var(--bg-medium);
  border-right: 1px solid var(--border);
  padding: 2.4rem 1.8rem;
  font-size: 0.94rem;
  color: var(--text-dim);
  position: relative;
}

.mirror-title {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8a98a8;
  margin-bottom: 1.4rem;
}

.mirror-list a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.68rem 0;
  transition: var(--transition);
  word-break: break-all;
  line-height: 1.4;
}

.mirror-list a:hover {
  color: var(--text);
  transform: translateX(4px);
}

.mirror-info {
  margin-top: 3rem;
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.5;
}

.content-area {
  padding: 3.2rem 4rem;
  max-width: 1520px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.6rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.logo-wrap {
  transform: translateX(-8px);
}

.logo {
  height: 44px;
  width: auto;
  display: block;
}

.header-meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.status-pill, .pay-pill {
  padding: 0.54rem 1.3rem;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.status-pill {
  background: rgba(46, 204, 113, 0.12);
  color: var(--online);
}

.pay-pill {
  background: #e9ecef;
  color: var(--text);
}

h1 {
  font-size: 2.72rem;
  font-weight: 680;
  letter-spacing: -0.7px;
  line-height: 1.14;
  margin-bottom: 1.1rem;
}

.lead {
  font-size: 1.28rem;
  color: var(--text-dim);
  max-width: 820px;
  margin-bottom: 2.4rem;
}

.screenshot {
  width: 100%;
  max-width: 1020px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  background: white;
  margin: 2.2rem 0 4rem;
  transition: var(--transition);
}

.screenshot:hover {
  transform: scale(1.006) rotate(0.5deg);
  box-shadow: var(--shadow-hover);
}

.login-screenshot  { transform: rotate(-1.4deg); }
.home-screenshot   { transform: rotate(1.3deg); }
.market-screenshot { transform: rotate(2.0deg); }
.wallet-screenshot { transform: rotate(-0.9deg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin: 4rem 0;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #d1d9e6;
}

.feature-card h3 {
  font-size: 1.32rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.quick-access {
  margin: 5rem 0;
  text-align: center;
}

.quick-access h2 {
  font-size: 2.1rem;
  margin-bottom: 2.2rem;
}

.quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
}

.quick-btn {
  padding: 1.1rem 2.4rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.08rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.quick-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(49,60,72,0.3);
}

.quick-btn.secondary {
  background: #5f6e7d;
}

.quick-btn.secondary:hover {
  background: #4f5d6a;
}

.stats {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 4rem 0;
}

.stats h2 {
  margin-bottom: 2.2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stats-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stats-grid strong {
  font-size: 1.52rem;
  font-weight: 650;
}

.online {
  color: var(--online);
  font-weight: 600;
}

.categories ul,
.howto-buy ol,
.wallet-tips ul {
  list-style: none;
  margin: 1.6rem 0;
}

.categories li,
.howto-buy li,
.wallet-tips li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dim);
}

.howto-buy ol {
  counter-reset: step;
  padding-left: 0;
}

.howto-buy li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 0.8rem;
}

.howto-buy li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  line-height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.market-section h1,
.wallet-section h1 {
  margin-bottom: 1.4rem;
}

.page-footer {
  margin-top: 7rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-light);
  font-size: 0.96rem;
}

.page-footer p {
  margin: 0.8rem 0;
}

.rules-reminder {
  margin-top: 1.8rem;
  font-style: italic;
  color: #7a8898;
}

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

  .mirror-bar {
    order: -1;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1.6rem 1.4rem;
  }

  .mirror-list {
    display: flex;
    overflow-x: auto;
    gap: 1.8rem;
    padding-bottom: 0.8rem;
  }

  .mirror-list a {
    white-space: nowrap;
    font-size: 0.92rem;
    min-width: 160px;
  }

  .mirror-title,
  .mirror-info {
    display: none;
  }

  .content-area {
    padding: 2.4rem 1.8rem;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-wrap {
    transform: none;
    margin-bottom: 1.8rem;
  }

  h1 {
    font-size: 2.3rem;
  }

  .screenshot {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.14rem;
  }

  .quick-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

body {
  font-feature-settings: "liga" 1, "calt" 1;
  -webkit-tap-highlight-color: transparent;
}

main {
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 680;
  line-height: 1.16;
  color: var(--text);
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 2.9rem);
}

h2 {
  font-size: clamp(1.8rem, 4.4vw, 2.3rem);
  margin: 3.2rem 0 1.6rem;
}

h3 {
  font-size: clamp(1.28rem, 3vw, 1.48rem);
  margin: 2rem 0 1rem;
}

.lead {
  font-size: clamp(1.18rem, 2.8vw, 1.32rem);
  font-weight: 430;
  color: var(--text-dim);
}

p {
  margin: 1.1rem 0;
  color: var(--text-dim);
}

ul, ol {
  margin: 1.4rem 0 1.4rem 1.4rem;
}

li {
  margin: 0.6rem 0;
  color: var(--text-dim);
}

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

a:not(.quick-btn, .mirror-list a) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.16s;
}

a:not(.quick-btn, .mirror-list a):hover {
  color: var(--accent-hover);
}

.mirror-list a {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 0.94rem;
  line-height: 1.38;
  color: #4a5763;
}

.mirror-list a:hover {
  color: var(--text);
  background: rgba(49, 60, 72, 0.06);
  border-radius: 4px;
  padding-left: 4px;
}

.screenshot {
  object-fit: contain;
  background: #fafbfc;
  border: 1px solid #dfe6ed;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.screenshot:hover {
  transform: scale(1.008);
  box-shadow: 0 20px 48px -16px rgba(17,25,27,0.18);
}

.feature-card,
.faq-item,
.security-features,
.wallet-protection,
.product-groups {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  margin: 1.6rem 0;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.feature-card:hover,
.faq-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
  transform: translateY(-3px);
}

.stats-grid div {
  padding: 1.2rem;
  background: var(--bg-light);
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.stats-grid strong {
  display: block;
  font-size: 1.68rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.online {
  color: #27d17f;
}

.quick-btn {
  letter-spacing: -0.2px;
  box-shadow: 0 4px 14px -6px rgba(17,25,27,0.3);
}

.quick-btn:hover {
  box-shadow: 0 10px 24px -8px rgba(49,60,72,0.35);
}

.page-footer {
  font-size: 0.94rem;
  color: #64748b;
  padding: 4rem 0 3rem;
}

.page-footer strong {
  color: #475569;
}

.bottom-anchor-text {
  margin: 5rem 0 4rem;
  padding: 2.4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.bottom-anchor-text h2 {
  margin-top: 0;
}

small, .small-rules {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

/* Улучшение читаемости списков */
.purchase-flow ol,
.funding-steps p,
.howto-buy ol {
  counter-reset: step-counter;
}

.purchase-flow li,
.howto-buy li {
  position: relative;
  padding-left: 2.8rem;
  margin: 1.1rem 0;
}

.purchase-flow li::before,
.howto-buy li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.96rem;
  font-weight: 600;
}

/* Мобильные улучшения */
@media (max-width: 860px) {
  .content-area {
    padding: 2.2rem 1.6rem;
  }

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

  .bottom-anchor-text {
    padding: 1.8rem;
    margin: 3.5rem 0;
  }
}

@media (max-width: 580px) {
  h1 {
    font-size: 1.96rem;
  }

  .quick-buttons {
    flex-direction: column;
    gap: 1rem;
  }

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