:root {
  --bg: #0e0e10;
  --panel: #151518;
  --text: #f1f1f1;
  --muted: #a3a3a3;
  --brand: #8a5cff;
  --brand2: #f72585;
  --line: #24242a;
  --ok: #2bd576;
}

/* === БАЗОВЫЕ СТИЛИ === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--brand2);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  opacity: 0.85;
}

/* === НАВИГАЦИЯ === */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 15, 18, 0.7);
  backdrop-filter: blur(8px);
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.menu {
  display: flex;
  gap: 14px;
  list-style: none;
}

.menu a {
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
}
.menu a:hover,
.menu a.active {
  background: rgba(255, 255, 255, 0.08);
}

/* --- Кнопка бургер --- */
.burger {
  display: none;
  width: 34px;
  height: 34px;
  background: linear-gradient(180deg, #1a1a1d, #121214);
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 820px) {
  .burger {
    display: block;
  }
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: #111114;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .menu.show {
    display: flex;
  }
}

/* === ГЕРО-БЛОК === */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color: white;
}
.hero-title {
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.hero-sub {
  font-size: 1rem;
  opacity: 0.9;
}

/* === КОНТЕЙНЕР === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* === КАРТОЧКИ === */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin: 18px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* === СЕТКА === */
.grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .grid.two {
    grid-template-columns: 1fr;
  }
}

/* === ТЕКСТЫ === */
h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 14px;
}
p {
  margin-bottom: 10px;
  color: var(--text);
}
.highlight {
  color: var(--brand2);
}
.italic {
  font-style: italic;
  opacity: 0.9;
}

/* === КНОПКИ === */
.cta {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color: white;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.25s ease;
}
.cta:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* === СПИСКИ === */
.list {
  list-style: disc;
  padding-left: 18px;
}
.list li {
  margin: 6px 0;
}
.list.check li::marker { content: "✔ "; color: var(--ok); }
.list.star li::marker { content: "★ "; color: gold; }

/* === ТАБЛИЦЫ === */
.spec {
  width: 100%;
  border-collapse: collapse;
}
.spec td {
  padding: 10px;
  border-bottom: 1px dashed var(--line);
}
.spec td:first-child {
  color: var(--muted);
  width: 220px;
}
/* === ФУТЕР === */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}
.footer .btn {
  background: #111114;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text);
  transition: all 0.2s ease;
}
.footer .btn:hover {
  background: var(--brand2);
  color: #fff;
}
.note {
  color: var(--muted);
  font-size: 14px;
}

/* === АНИМАЦИИ === */
.fade-in {
  animation: fadeIn 0.7s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* === АДАПТАЦИЯ === */

/* Планшеты */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .card {
    padding: 20px;
  }
  .footer {
    flex-direction: column;
  }
}

/* Смартфоны */
@media (max-width: 768px) {
  .hero {
    padding: 40px 16px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .menu {
    flex-direction: column;
    align-items: center;
  }
  .card {
    margin: 10px;
    padding: 18px;
  }
  p {
    font-size: 0.95rem;
  }
  .cta {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

/* Маленькие устройства */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-sub {
    font-size: 0.9rem;
  }
  .brand {
    font-size: 1.2rem;
  }
  .menu a {
    font-size: 0.9rem;
  }
  .btn, .chip {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  footer {
    flex-direction: column;
    font-size: 13px;
  }
}
/* === TOKEN PAGE ENHANCEMENTS === */
.title-gradient {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.token-section h3 {
  color: var(--brand2);
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.token-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1rem;
}

blockquote {
  background: #191921;
  border-left: 4px solid var(--brand2);
  padding: 0.8rem 1rem;
  margin: 0.8rem 0 1.2rem 0;
  color: #d5d5d5;
  font-style: italic;
  border-radius: 8px;
}

/* Списки */
.list {
  padding-left: 1rem;
  list-style: none;
}

.list li {
  background: rgba(255, 255, 255, 0.03);
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.list.hoverable li:hover {
  background: rgba(247, 37, 133, 0.1);
  transform: translateX(3px);
}

/* Нумерация */
.numbered {
  counter-reset: num;
  list-style: none;
  padding-left: 0;
}

.numbered li {
  counter-increment: num;
  margin: 0.8rem 0;
  padding-left: 1.8rem;
  position: relative;
}

.numbered li::before {
  content: counter(num) ".";
  position: absolute;
  left: 0;
  color: var(--brand2);
  font-weight: bold;
}

/* Таблица спецификаций */
.specs-table {
  margin-top: 2rem;
}

.specs-table h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--brand);
}

.spec {
  width: 100%;
  border-collapse: collapse;
  background: #121216;
  border-radius: 10px;
  overflow: hidden;
}

.spec td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.spec tr:last-child td {
  border-bottom: none;
}

.spec td:first-child {
  color: var(--muted);
  width: 220px;
}

.spec tr:hover td {
  background: rgba(247, 37, 133, 0.05);
  transition: all 0.2s ease;
}

/* Блок миссии */
.mission {
  text-align: center;
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(138, 92, 255, 0.1), rgba(247, 37, 133, 0.1));
}

.mission h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.mission p {
  font-size: 1.05rem;
  color: #eee;
}

/* Адаптация */
@media (max-width: 768px) {
  .token-section h3 { font-size: 1.05rem; }
  .token-section p, .numbered li { font-size: 0.95rem; }
  .spec td:first-child { width: 140px; }
}
/* === HERO TOKEN HEADER === */
.token-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(138, 92, 255, 0.15), rgba(247, 37, 133, 0.1));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 20px;
  margin-bottom: 25px;
  box-shadow: 0 0 30px rgba(138, 92, 255, 0.1);
}

.token-hero-content {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.token-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--brand2);
  box-shadow: 0 0 20px rgba(247, 37, 133, 0.4);
  object-fit: cover;
}

.token-hero-title {
  font-size: 2rem;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.token-hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 15px;
}

.token-hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  color: white;
  transition: all 0.25s ease;
  text-decoration: none;
}

.hero-btn.buy {
  background: linear-gradient(90deg, #34d399, #059669);
}
.hero-btn.chart {
  background: linear-gradient(90deg, #8a5cff, #4c1d95);
}
.hero-btn.dao {
  background: linear-gradient(90deg, #f72585, #b91c1c);
}

.hero-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* адаптация */
@media (max-width: 768px) {
  .token-logo {
    width: 90px;
    height: 90px;
  }
  .token-hero-title {
    font-size: 1.6rem;
  }
  .token-hero-sub {
    font-size: 1rem;
  }
}
#typed-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  font-family: inherit; /* 🔹 теперь как у всего сайта */
  white-space: pre-wrap;
  display: inline-block;
  overflow: hidden;
}

.typing-cursor::after {
  content: "|";
  display: inline-block;
  margin-left: 3px;
  animation: blink 0.8s infinite;
  color: var(--brand2);
  font-weight: 400;
  font-size: 1.1rem;
}

@keyframes blink {
  50% { opacity: 0; }
}