
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #0e0e11;
  color: #eaeaf0;
}
/*Стили в голове-*/
/* Верхняя панель */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 24px;
  background: rgba(20, 10, 40, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Лого слева */
.topbar-left .logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}



/* Мелкие кнопки */
.small-btn {
  padding: 8px 18px;
  font-size: 14px;
  right: 50px;
}
header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 44px;
  font-weight: 600;
  z-index: 999;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: -10px;
  transform: scaleX(1.05);
  -webkit-text-stroke: .5px rgba(255,255,255,0.35);
}
header p {
  opacity: 0.9;
  font-size: 18px;
  z-index: 999;
}
header {
  position: relative;
  overflow: hidden;
  padding: 340px 20px;
  text-align: center;
  background: linear-gradient(
    50deg,
    #5e1092,
    #391392,
    #8b2acc
  );
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
  border-radius: 0 0 20px 20px;
}
@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Снежинки */
header .snow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
header .snow span {
  position: absolute;
  top: 10px;
  color: white;
  font-size: 10px;
  opacity: 0.8;
  --wind: 0px;
  animation: snowFall linear infinite;
}
@keyframes snowFall {
  to {
    transform: translateY(960px) translateX(var(--wind));
  }
}



section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Стеклянные кнопки+аним */
.bttn {
    position: relative;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    rgba(88, 101, 242, 0.35),
    rgba(139, 92, 246, 0.35)
  );
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  z-index: 999;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}
.bttn:hover {
  transform: translateY(-5px) translateX(-5px);
  box-shadow: -8px 8px 20px rgba(88, 101, 242, 0.4);
}
.bttn:active {
  transform:  translateY(0px) translateX(0px);
  box-shadow: none;
  
}

/* ===== Вкладка пользователя в topbar ===== */

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-tab {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 6px 10px;
  border-radius: 14px;
  margin-right: 50px;

  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  cursor: default;
}

.user-tab .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transform: translateX(-px);

  background: linear-gradient(135deg, #8b5cf6, #5865f2);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.user-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.user-text .username {
  font-size: 16px;
  font-weight: 600;
}
.user-text .balance {
  font-size: 15px;
  opacity: 0.8;
}
.chaos-btn {
  z-index: 999;
  pointer-events: auto;
}

.reward {
  display: flex;
  align-items: center;
  gap: 20px;
}


.pricing {
  max-width: 1000px;
  margin: 60px auto;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.tariff-card  {
  background: #111827;
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.tariff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.tariff-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.price {
  font-size: 32px;
  font-weight: 700;
  margin: 16px 0;
}
.tariff-card ul {
  list-style:none;
  padding: 0;
  margin: 20px 0;
}
.tariff-card ul li {
  margin: 10px 0;
  opacity: 0.9;
}
.tariff-card button {
  background: linear-gradient(135deg, #8b5cf6, #5865f2);
  border: none;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}
.tariff-card button:hover {
  opacity: .9;
}
.tariff-card.popular {
  border: 2px solid #8b5cf6;
}
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #8b5cf6;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}