<link href="https://fonts.googleapis.com/css2?family=Bangers&display=swap" rel="stylesheet">

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

body {
  font-family: 'Bangers', cursive;
  background: linear-gradient(135deg, #5ee7df 0%, #b490ca 100%);
  background-size: 300% 300%;
  animation: gradientShift 10s ease infinite;
  color: rgba(255, 255, 255, 0.95);
  overflow-x: hidden;
  min-height: 100vh;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  position: relative;
  text-align: center;
  padding: 60px 20px 20px;
}

header h1 {
  font-size: 5rem;
  color: #fff;
  text-shadow: 0 0 25px rgba(255,255,255,0.3);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

header .subtitle {
  font-size: 1.4rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

/* ---------- Бургер меню ---------- */
.burger {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1000;
}

.burger span {
  display: block;
  height: 4px;
  background: white;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: left 0.4s ease;
  z-index: 999;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 2rem;
  margin: 20px 0;
  text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.menu.show {
  left: 0;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.lang-switch {
  position: fixed;
  top: 15px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Bangers', cursive;
  font-size: 18px;
  z-index: 1000;
  color: #fff;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.3);
  transition: 0.4s;
  border-radius: 34px;
  backdrop-filter: blur(6px);
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: rgba(0,255,120,0.6);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* ---------- Главный блок ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px 20px 80px;
}

.dog-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 350px;
  flex: 1;
}

.dog-container {
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 40px rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
}

#lottie-dog {
  width: 300px;
  height: 300px;
}

.bark-bubble {
  position: absolute;
  top: 80px;
  left: 320px;
  background: #fff;
  color: #333;
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  padding: 20px 30px;
  border-radius: 40px;
  border: 3px solid #222;
  box-shadow: 4px 4px 0 #222;
  max-width: 280px;
  text-align: center;
  line-height: 1.3;
  opacity: 0;
  transform: scale(0.5) rotate(-3deg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Хвостик облачка */
.bark-bubble::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 45px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #fff;
  transform: rotate(25deg);
  filter: drop-shadow(2px 2px 0 #222);
}

/* Активное состояние — показ облачка */
.bark-bubble.show {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Лёгкая подпрыгивающая анимация */
@keyframes bubblePop {
  0% { transform: scale(0.6) rotate(-5deg); opacity: 0; }
  60% { transform: scale(1.1) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); }
}

.bark-bubble.show {
  animation: bubblePop 0.6s ease forwards;
}


.text-side {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.cta-buttons {
  margin-top: 20px;
}

.btn {
  padding: 14px 45px;
  font-size: 1.1rem;
  border: none;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(25px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 4px 25px rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin: 10px;
  border-top: 1px solid rgba(255,255,255,0.6);
  border-left: 1px solid rgba(255,255,255,0.3);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  box-shadow:
    0 10px 30px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

.section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.section p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

/* --- МУЛЬТЯШНАЯ ИНФОГРАФИКА --- */

.tokeno-extra {
  margin-top: 40px;
  padding: 25px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 25px rgba(255,255,255,0.25);
  animation: pop 0.6s ease;
}

.tokeno-extra ul.clean {
  text-align: left;      /* Выровнять текст по левому краю */
  padding-left: 20px;    /* Отступ слева для маркеров */
  margin: 10px 0;        /* Отступ сверху и снизу */
  list-style: none;      /* Можно оставить без маркеров */
}

.tokeno-extra ul.clean li::before {
  content: "— ";          /* Сохраняем длинное тире как маркер */
  color: #fff;            /* Цвет тире */
}

/* появление */
@keyframes pop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.section-title {
  text-align: center;
  font-size: 38px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 3px 3px 0 #000;
}

/* Сетка карточек */
.mini-infographics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 25px;
  margin-top: 10px;
}

/* Карточки */
.mini-card {
  padding: 25px 15px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  border: 3px solid #90d8e3;
  box-shadow: 0 5px 0 #90d8e3;
  text-align: center;
  font-size: 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Фирменная мультяшная подпрыгивающая анимация */
.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 0 #90d8e3;
}

/* Значения внутри */
.mini-card .v {
  font-size: 40px;
  font-weight: bold;
  margin-top: 12px;
  color: #fff;
  text-shadow: 3px 3px 0 #add0e3;
}

.info-cell {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px 25px;
  transition: all 0.3s;
}
.info-cell:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.02);
}

.info-label {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

.info-value {
  font-size: 1.6rem;
  color: #fff;
}

/* ---------- CONTRACT BLOCK ---------- */
.contract {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  margin-top: 80px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(25px);
  text-align: center;
}

.contract-title {
  font-size: 1rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.contract-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contract-address {
  font-family: monospace;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-all;
  background: rgba(255,255,255,0.1);
  padding: 8px 12px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

/* Кнопка копирования */
.copy-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-icon {
  width: 20px;
  height: 20px;
  stroke: white;
}

/* Toast уведомление */
.copy-toast {
  opacity: 0;
  transition: opacity 0.4s ease;
  margin-top: 10px;
  font-size: 0.9em;
  color: #90ee90;
}

.copy-toast.show {
  opacity: 1;
}

@media (max-width: 900px) {
  .hero { flex-direction: column; }
  .dog-wrapper { justify-content: center; }
  .bark-bubble {
    left: 200px;
    top: auto;
    bottom: 250px;
  }
}