/* ========== БАЗА ========== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #0a0316;
  color: #e8d9ff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
}

body::before {
  content: '';
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(168, 85, 247, 0.25), transparent),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(139, 92, 246, 0.2), transparent),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(124, 58, 237, 0.15), transparent);
  animation: bgMove 30s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

@keyframes bgMove {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-3%, -3%) scale(1.1) rotate(2deg); }
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ========== ШАПКА ========== */
header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  position: sticky;
  top: 0;
  background: rgba(10, 3, 22, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  width: 100%;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.8), 0 0 30px rgba(168, 85, 247, 0.5);
  white-space: nowrap;
  text-decoration: none;
}

.logo span {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.8));
}

.nav-links { display: flex; gap: 24px; align-items: center; }

.nav-links a {
  color: #b8a8d9;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: 0.3s;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  transition: 0.4s;
}

.nav-links a:hover { color: #c084fc; text-shadow: 0 0 12px rgba(168, 85, 247, 0.6); }
.nav-links a:hover::after { width: 100%; }

/* ========== АВТОРИЗАЦИЯ ========== */
#authButtons { display: flex; gap: 10px; align-items: center; }

.auth-btn {
  padding: 8px 16px !important;
  border-radius: 8px;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: 0.3s;
  border: 1px solid rgba(168, 85, 247, 0.3);
  text-transform: uppercase;
}

.auth-btn::after { display: none !important; }

.auth-btn:hover { background: rgba(168, 85, 247, 0.1); border-color: #a855f7; color: #c084fc !important; }

.auth-btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff !important;
  border: none !important;
}

.auth-btn-primary:hover { box-shadow: 0 0 25px rgba(168, 85, 247, 0.6); color: #fff !important; }

#userMenu { display: flex; align-items: center; gap: 14px; }

.user-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc !important;
}

.user-link::after { display: none !important; }
.user-link:hover { background: rgba(168, 85, 247, 0.25); color: #c084fc !important; }

.logout-btn { color: #f87171 !important; font-size: 13px !important; }
.logout-btn:hover { color: #fff !important; text-shadow: 0 0 10px rgba(239, 68, 68, 0.8) !important; }

/* ========== HERO ========== */
.hero {
  padding: 130px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 32px;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 88px;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1;
  letter-spacing: -2px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero h1 span {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.6));
}

.hero p {
  font-size: 18px;
  color: #a898c9;
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-primary {
  display: inline-block;
  padding: 18px 48px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.8), 0 0 100px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
  display: inline-block;
  padding: 18px 48px;
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.5);
  cursor: pointer;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
  transform: translateY(-3px);
}

/* ========== СЕКЦИИ ========== */
section { padding: 70px 0; position: relative; }

section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  overflow: hidden;
}

#games::before { top: -100px; left: -80px; }
#why-us::before { top: 50%; right: -80px; transform: translateY(-50%); }
#how-it-works::before { top: 50%; left: -80px; transform: translateY(-50%); }
#faq::before { bottom: -100px; right: -80px; }

section > * { position: relative; z-index: 1; }

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 56px;
  text-align: center;
  color: #fff;
  letter-spacing: -1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  margin: 18px auto 0;
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.8);
}

/* ========== КАТАЛОГ ========== */
.catalog-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto 42px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.catalog-tab {
  padding: 12px 28px;
  background: rgba(30, 15, 55, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 100px;
  color: #b8a8d9;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  white-space: nowrap;
}

.catalog-tab:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.catalog-tab.is-active {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.game-card {
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  padding: 22px;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
  max-height: 620px;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  opacity: 0;
  transition: 0.4s;
}

.game-card:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(168, 85, 247, 0.25);
  transform: translateY(-8px);
}

.game-card:hover::before { opacity: 1; }

.game-cover {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1040, #0a0316);
  flex-shrink: 0;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 3, 22, 0.4) 60%, rgba(10, 3, 22, 0.95) 100%);
  pointer-events: none;
}

.game-cover-title {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c084fc;
  text-shadow: 0 0 15px rgba(168, 85, 247, 1);
  pointer-events: none;
  z-index: 2;
}

.game-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
}

/* Обложки */
.game-cover-new {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: #0a0316;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.cover-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: transform 0.6s ease;
}

.game-card:hover .cover-bg { transform: scale(1.1); }

.cover-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.cover-icon {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-icon-img {
  width: auto;
  height: auto;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.5));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.game-card:hover .cover-icon-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
}

.cover-title {
  position: relative;
  z-index: 3;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.9);
  text-align: center;
  padding: 0 16px;
}

/* Градиенты */
.game-cover-new[data-slug="codm"] .cover-bg { background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 30%, #a855f7 100%); }
.game-cover-new[data-slug="bloodstrike"] .cover-bg { background: linear-gradient(135deg, #3d0a0a 0%, #7a1a1a 40%, #ef4444 100%); }
.game-cover-new[data-slug="pubg"] .cover-bg { background: linear-gradient(135deg, #3d2a0a 0%, #7a5a1a 40%, #fbbf24 100%); }
.game-cover-new[data-slug="valorant"] .cover-bg { background: linear-gradient(135deg, #3d0a1a 0%, #7a1a3a 40%, #fb7185 100%); }
.game-cover-new[data-slug="genshin"] .cover-bg { background: linear-gradient(135deg, #1a0b3d 0%, #4a1a7a 40%, #c084fc 100%); }
.game-cover-new[data-slug="discord"] .cover-bg { background: linear-gradient(135deg, #1a1a3d 0%, #4a4a9a 40%, #818cf8 100%); }
.game-cover-new[data-slug="youtube"] .cover-bg { background: linear-gradient(135deg, #3d0a0a 0%, #7a1a1a 40%, #ef4444 100%); }
.game-cover-new[data-slug="telegram"] .cover-bg { background: linear-gradient(135deg, #0a3d5c 0%, #1a7aa8 40%, #38bdf8 100%); }
.game-cover-new[data-slug="spotify"] .cover-bg { background: linear-gradient(135deg, #0a3d1a 0%, #1a7a3a 40%, #1db954 100%); }
.game-cover-new[data-slug="standoff2"] .cover-bg { background: linear-gradient(135deg, #1a1a3d 0%, #3d3d7a 40%, #60a5fa 100%); }

/* Инверсия для чёрных логотипов */
.game-cover-new[data-slug="codm"] .cover-icon-img,
.game-cover-new[data-slug="pubg"] .cover-icon-img,
.game-cover-new[data-slug="valorant"] .cover-icon-img,
.game-cover-new[data-slug="genshin"] .cover-icon-img,
.game-cover-new[data-slug="standoff2"] .cover-icon-img {
  filter: invert(1) drop-shadow(0 0 12px rgba(168, 85, 247, 0.5));
}

.game-card:hover .game-cover-new[data-slug="codm"] .cover-icon-img,
.game-card:hover .game-cover-new[data-slug="pubg"] .cover-icon-img,
.game-card:hover .game-cover-new[data-slug="valorant"] .cover-icon-img,
.game-card:hover .game-cover-new[data-slug="genshin"] .cover-icon-img,
.game-card:hover .game-cover-new[data-slug="standoff2"] .cover-icon-img {
  filter: invert(1) drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
}

/* Карточки-ссылки */
.game-card-link { cursor: pointer; }
.game-card-link:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(168, 85, 247, 0.25);
}

.game-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  gap: 12px;
}

.game-packages-count { font-size: 13px; color: #6a5a8a; font-weight: 500; }

.game-go-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: 0.3s;
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.game-card-link:hover .game-go-btn {
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.7);
  transform: translateX(4px);
}
/* ========== ПОЧЕМУ МЫ ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
}

.why-card {
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  padding: 36px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.why-card:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(168, 85, 247, 0.2);
  transform: translateY(-6px);
}

.why-card-icon {
  font-size: 42px;
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 16px;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
  transition: 0.4s;
}

.why-card:hover .why-card-icon { transform: scale(1.1); box-shadow: 0 0 30px rgba(168, 85, 247, 0.6); }

.why-card-content { flex: 1; display: flex; flex-direction: column; }

.why-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.why-card-text { font-size: 14px; color: #a898c9; line-height: 1.7; margin-bottom: 18px; flex: 1; }

.why-card-btn {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 10px;
  color: #c084fc;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  width: fit-content;
}

.why-card-btn:hover {
  background: rgba(168, 85, 247, 0.3);
  border-color: #a855f7;
  color: #fff;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
  transform: translateX(4px);
}

/* ========== КАК ЭТО РАБОТАЕТ ========== */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  transition: 0.4s;
}

.step:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(168, 85, 247, 0.2);
  transform: translateY(-6px);
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 700;
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.7));
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.step-text { font-size: 13px; color: #a898c9; line-height: 1.7; }

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: rgba(168, 85, 247, 0.5);
  font-weight: 300;
}

/* ========== FAQ ========== */
.faq-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.faq-sidebar {
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 32px 28px;
  position: sticky;
  top: 100px;
}

.faq-sidebar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.faq-sidebar-text { font-size: 14px; color: #a898c9; line-height: 1.7; margin-bottom: 20px; }

.faq-sidebar-btn {
  display: inline-block;
  padding: 12px 22px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  transition: 0.3s;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

.faq-sidebar-btn:hover { box-shadow: 0 0 40px rgba(168, 85, 247, 0.7); transform: translateY(-2px); }

.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.4s;
}

.faq-item:hover { border-color: rgba(168, 85, 247, 0.5); box-shadow: 0 0 30px rgba(168, 85, 247, 0.15); }
.faq-item.open { border-color: rgba(168, 85, 247, 0.6); box-shadow: 0 0 40px rgba(168, 85, 247, 0.2); }

.faq-question {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: 0.3s;
}

.faq-item:hover .faq-question { color: #c084fc; }

.faq-icon {
  font-size: 26px;
  color: #a855f7;
  font-weight: 300;
  transition: 0.4s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s, padding 0.4s;
  color: #a898c9;
  font-size: 14px;
  line-height: 1.7;
  padding: 0 26px;
}

.faq-item.open .faq-answer { max-height: 300px; padding: 0 26px 22px; }

/* ========== ОТЗЫВЫ ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  padding: 28px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-family: 'Georgia', serif;
  font-size: 120px;
  color: rgba(168, 85, 247, 0.1);
  line-height: 1;
  pointer-events: none;
}

.review-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(168, 85, 247, 0.2);
  transform: translateY(-6px);
}

.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.review-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.review-date { font-size: 12px; color: #6a5a8a; }

.review-stars {
  color: #fbbf24;
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.review-text { font-size: 14px; color: #c9b8e8; line-height: 1.7; position: relative; z-index: 1; }

/* ========== МОДАЛКИ ========== */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(3, 1, 8, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  padding: 20px;
}

.modal.active { display: flex; }

.modal-content {
  background: rgba(20, 10, 40, 0.95);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 24px;
  padding: 44px 40px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 0 100px rgba(168, 85, 247, 0.3), 0 30px 80px rgba(0, 0, 0, 0.7);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
}

.modal-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  margin-bottom: 28px;
  color: #fff;
  letter-spacing: 1px;
  text-align: center;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #b8a8d9;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(10, 3, 22, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
  font-family: 'Inter', sans-serif;
}

.form-group input:focus { border-color: #a855f7; box-shadow: 0 0 25px rgba(168, 85, 247, 0.4); }

.order-hint {
  padding: 14px 18px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  font-size: 13px;
  color: #c9b8e8;
  line-height: 1.5;
  margin-bottom: 22px;
}

.order-summary {
  background: rgba(10, 3, 22, 0.7);
  padding: 22px;
  border-radius: 14px;
  margin-bottom: 26px;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.order-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #a898c9;
  font-size: 14px;
  gap: 15px;
}

.order-summary .row span:last-child { color: #fff; font-weight: 600; text-align: right; }

.order-summary .total {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(168, 85, 247, 0.25);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.order-summary .total span:last-child { color: #c084fc; text-shadow: 0 0 15px rgba(168, 85, 247, 0.7); }

.modal-buttons { display: flex; gap: 12px; margin-top: 8px; }

.btn-cancel {
  flex: 1;
  padding: 15px;
  background: rgba(40, 20, 70, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #b8a8d9;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: 0.3s;
  text-transform: uppercase;
}

.btn-cancel:hover { background: rgba(60, 30, 100, 0.8); border-color: rgba(168, 85, 247, 0.6); }

.btn-submit {
  flex: 2;
  padding: 15px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  border: none;
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover { box-shadow: 0 0 40px rgba(168, 85, 247, 0.8); transform: translateY(-2px); }

.modal-switch { text-align: center; margin-top: 22px; color: #a898c9; font-size: 13px; }
.modal-switch a { color: #c084fc; cursor: pointer; font-weight: 600; }
.modal-switch a:hover { text-decoration: underline; }

/* ========== ПРОФИЛЬ ========== */
.cabinet {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  max-width: 1280px;
  margin: 40px auto 60px;
  padding: 0 32px;
  align-items: start;
}

.cabinet-sidebar {
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  padding: 28px 22px;
  position: sticky;
  top: 100px;
}

.cabinet-user {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  margin-bottom: 20px;
}

.cabinet-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a1040, #0a0316);
  border: 2px solid rgba(168, 85, 247, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  margin: 0 auto 14px;
  transition: 0.3s;
}

.cabinet-avatar:hover { border-color: #a855f7; box-shadow: 0 0 30px rgba(168, 85, 247, 0.6); }
.cabinet-avatar img { width: 100%; height: 100%; object-fit: cover; }

#cabinetAvatarPlaceholder { font-size: 42px; filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.7)); }

.cabinet-avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 3, 22, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  transition: 0.3s;
}

.cabinet-avatar:hover .cabinet-avatar-overlay { opacity: 1; }

.cabinet-username {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.cabinet-useremail { font-size: 12px; color: #6a5a8a; word-break: break-all; }

.cabinet-nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }

.cabinet-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #b8a8d9;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-align: left;
  width: 100%;
}

.cabinet-nav-item:hover { background: rgba(168, 85, 247, 0.1); color: #fff; }

.cabinet-nav-item.is-active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(124, 58, 237, 0.15));
  border-color: rgba(168, 85, 247, 0.5);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.cabinet-nav-icon { font-size: 18px; }

.cabinet-balance-card {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  margin-bottom: 20px;
}

.cabinet-balance-label {
  font-size: 11px;
  color: #a898c9;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.cabinet-balance-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #c084fc;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.7);
  margin-bottom: 14px;
}

.cabinet-balance-btn {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
}

.cabinet-balance-btn:hover { box-shadow: 0 0 25px rgba(168, 85, 247, 0.7); transform: translateY(-2px); }

.cabinet-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.cabinet-sidebar-links a {
  color: #a898c9;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
  padding: 8px 12px;
  border-radius: 8px;
}

.cabinet-sidebar-links a:hover { background: rgba(168, 85, 247, 0.1); color: #c084fc; }

.cabinet-content {
  background: rgba(30, 15, 55, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 20px;
  padding: 36px;
  min-height: 500px;
}

.cabinet-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.cabinet-panel { display: none; }

.cabinet-panel.is-active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cabinet-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.cabinet-stat {
  background: rgba(10, 3, 22, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: 0.3s;
}

.cabinet-stat:hover { border-color: rgba(168, 85, 247, 0.5); box-shadow: 0 0 25px rgba(168, 85, 247, 0.15); }

.cabinet-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #c084fc;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.cabinet-stat-label {
  font-size: 11px;
  color: #a898c9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cabinet-info-card {
  background: rgba(10, 3, 22, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 14px;
  padding: 24px;
}

.cabinet-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
  gap: 20px;
}

.cabinet-info-row:last-child { border-bottom: none; }

.cabinet-info-label {
  color: #a898c9;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cabinet-info-value {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  word-break: break-all;
  text-align: right;
}

.cabinet-balance-big {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 18px;
  padding: 36px;
  text-align: center;
  margin-bottom: 24px;
}

.cabinet-balance-big-label {
  font-size: 12px;
  color: #a898c9;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.cabinet-balance-big-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #c084fc;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
}

.cabinet-setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
  gap: 20px;
}

.cabinet-setting-row:last-child { border-bottom: none; }

.cabinet-setting-row.danger {
  border-top: 1px solid rgba(239, 68, 68, 0.2);
  margin-top: 12px;
  padding-top: 24px;
}

.cabinet-setting-title { font-weight: 600; color: #fff; font-size: 15px; margin-bottom: 4px; }
.cabinet-setting-desc { font-size: 13px; color: #a898c9; }

.cabinet-btn {
  padding: 10px 22px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 10px;
  color: #c084fc;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.cabinet-btn:hover { background: rgba(168, 85, 247, 0.3); border-color: #a855f7; color: #fff; box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }

.cabinet-btn.danger { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); color: #f87171; }
.cabinet-btn.danger:hover { background: rgba(239, 68, 68, 0.3); border-color: #ef4444; color: #fff; box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }

/* ========== ЗАКАЗЫ ========== */
.order-item {
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  transition: 0.3s;
}

.order-item:hover { border-color: rgba(168, 85, 247, 0.4); box-shadow: 0 0 30px rgba(168, 85, 247, 0.1); }

.order-item .order-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #c084fc;
  margin-bottom: 12px;
  font-size: 16px;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.order-item .order-info { color: #a898c9; font-size: 14px; line-height: 1.8; }
.order-item .order-info b { color: #fff; }

.order-item .order-status {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 14px;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== АДМИНКА ========== */
.filter-btn {
  background: rgba(30, 15, 55, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: #b8a8d9;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover { background: rgba(50, 25, 80, 0.7); color: #fff; border-color: rgba(168, 85, 247, 0.5); }

.filter-btn.active {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
}

.admin-order {
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}

.admin-order .order-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #c084fc;
  margin-bottom: 12px;
  font-size: 16px;
  letter-spacing: 1px;
}

.admin-order .order-info { color: #a898c9; font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.admin-order .order-info b { color: #fff; }

.admin-order .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.admin-order .actions button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 11px;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-status-paid { background: #3b82f6; color: #fff; }
.btn-status-processing { background: #f59e0b; color: #fff; }
.btn-status-completed { background: #10b981; color: #fff; }
.btn-status-cancelled { background: #ef4444; color: #fff; }

.admin-order .actions button:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5); }

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-awaiting_payment { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }
.status-paid { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.4); }
.status-processing { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.status-completed { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.status-cancelled { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

.admin-login-box {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(30, 15, 55, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  padding: 44px 40px;
}

.admin-login-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 26px;
  color: #fff;
  letter-spacing: 1px;
  text-align: center;
}

.admin-toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; align-items: center; }
.admin-toolbar .label { color: #b8a8d9; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

.btn-logout {
  margin-left: auto;
  background: rgba(200, 30, 30, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.btn-logout:hover { background: rgba(239, 68, 68, 0.3); color: #fff; }

/* ========== ЗАГРУЗКА / УВЕДОМЛЕНИЕ ========== */
.loading {
  text-align: center;
  padding: 50px;
  color: #6a5a8a;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  padding: 18px 30px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.7), 0 15px 40px rgba(0, 0, 0, 0.5);
  transform: translateX(600px);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  max-width: calc(100vw - 64px);
}

.toast.show { transform: translateX(0); }

/* ========== ФУТЕР ========== */
footer {
  margin-top: 100px;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  padding: 60px 32px 30px;
  background: linear-gradient(180deg, rgba(10, 3, 22, 0) 0%, rgba(20, 10, 40, 0.5) 100%);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-brand { gap: 16px; }

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.7);
}

.footer-logo span {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-desc { color: #6a5a8a; font-size: 13px; line-height: 1.7; max-width: 320px; }

.footer-telegram {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 10px;
  color: #c084fc !important;
  font-weight: 600;
  font-size: 13px;
  transition: 0.3s;
  width: fit-content;
}

.footer-telegram:hover { background: rgba(168, 85, 247, 0.3); border-color: #a855f7; color: #fff !important; box-shadow: 0 0 25px rgba(168, 85, 247, 0.5); transform: translateY(-2px); }

.footer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #c084fc;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-col a {
  color: #a898c9;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  cursor: pointer;
  width: fit-content;
}

.footer-col a:hover { color: #c084fc; text-shadow: 0 0 12px rgba(168, 85, 247, 0.6); transform: translateX(4px); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: #6a5a8a; font-size: 13px; margin: 0; }

/* ========== АНИМАЦИИ ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 10, 40, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(168, 85, 247, 0.4);
  padding: 24px 32px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-banner-text { flex: 1; min-width: 280px; }

.cookie-banner-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.cookie-banner-text p { color: #a898c9; font-size: 13px; line-height: 1.6; margin: 0; }
.cookie-banner-text a { color: #c084fc; text-decoration: none; font-weight: 600; }
.cookie-banner-text a:hover { text-decoration: underline; }

.cookie-banner-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.cookie-btn {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  transition: 0.3s;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.cookie-btn-primary:hover { box-shadow: 0 0 30px rgba(168, 85, 247, 0.7); transform: translateY(-2px); }

.cookie-btn-secondary {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.cookie-btn-secondary:hover { background: rgba(168, 85, 247, 0.3); border-color: #a855f7; color: #fff; }

.cookie-setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.cookie-setting:last-of-type { border-bottom: none; }

.cookie-setting-title { font-weight: 600; color: #fff; font-size: 14px; margin-bottom: 4px; }
.cookie-setting-desc { color: #a898c9; font-size: 12px; line-height: 1.5; }

.cookie-setting input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #a855f7;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-setting input[type="checkbox"]:disabled { opacity: 0.5; cursor: not-allowed; }

/* ========== КНОПКИ КОЛИЧЕСТВА ========== */
.qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover { background: rgba(168, 85, 247, 0.3); border-color: #a855f7; color: #fff; box-shadow: 0 0 20px rgba(168, 85, 247, 0.5); }
.qty-btn:active { transform: scale(0.95); }

/* ========== УТИЛИТЫ ========== */
.hidden { display: none !important; }

/* ========== АДАПТИВ ========== */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; max-width: 100%; }
  .step-arrow { transform: rotate(90deg); font-size: 24px; justify-self: center; }
  .faq-wrapper { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cabinet { grid-template-columns: 1fr; padding: 0 20px; }
  .cabinet-sidebar { position: static; }
  .cabinet-nav { flex-direction: row; flex-wrap: wrap; }
  .cabinet-nav-item { width: auto; padding: 10px 14px; font-size: 13px; }
  .cabinet-content { padding: 24px 20px; }
  .cabinet-title { font-size: 20px; }
  .cabinet-balance-big-value { font-size: 36px; }
}

@media (max-width: 700px) {
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 15px; }
  .logo { font-size: 20px; letter-spacing: -1px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 11px; }
  .section-title { font-size: 28px; }
  .modal-content { padding: 30px 24px; }
  .toast { right: 16px; left: 16px; bottom: 16px; }
  .header-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
  .btn-logout { margin-left: 0; }
  .games-grid { grid-template-columns: 1fr; }
  .admin-toolbar { gap: 8px; }
  .filter-btn { padding: 8px 14px; font-size: 11px; }
  .catalog-tab { padding: 10px 20px; font-size: 13px; }
  .catalog-tabs { gap: 8px; }
  footer { padding: 40px 20px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-desc { max-width: 100%; }
  .reviews-grid { grid-template-columns: 1fr; }
  .auth-btn { padding: 6px 12px !important; font-size: 11px !important; }
  #authButtons { gap: 6px; }
  #userMenu { gap: 8px; }
  .user-link { padding: 5px 10px; font-size: 12px !important; }
  .cookie-banner { padding: 20px; }
  .cookie-banner-content { flex-direction: column; align-items: stretch; }
  .cookie-banner-buttons { width: 100%; }
  .cookie-btn { flex: 1; }
}
/* ========== ФОРМА ОТЗЫВА ========== */
.review-form-card {
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 36px;
}

.review-form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.review-form-desc {
  color: #a898c9;
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.stars-input {
  display: flex;
  gap: 8px;
  font-size: 40px;
  margin-bottom: 8px;
}

.star {
  color: #2a1040;
  cursor: pointer;
  transition: 0.2s;
  user-select: none;
}

.star.active {
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.7);
}

.star:hover {
  transform: scale(1.15);
}

.review-form-card textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(10, 3, 22, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: 0.3s;
  resize: vertical;
}

.review-form-card textarea:focus {
  border-color: #a855f7;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

.review-form-card .btn-submit {
  width: 100%;
  margin-top: 8px;
}
/* ========== ВКЛАДКИ АДМИНКИ ========== */
.admin-tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #a898c9;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.admin-tab-btn:hover { color: #fff; }

.admin-tab-btn.is-active {
  color: #c084fc;
  border-bottom-color: #a855f7;
}

.admin-review-card {
  background: rgba(30, 15, 55, 0.4);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  transition: 0.3s;
}

.admin-review-card.pending { border-color: rgba(251, 191, 36, 0.4); }
.admin-review-card.published { border-color: rgba(16, 185, 129, 0.4); }

.admin-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.admin-review-stars { color: #fbbf24; font-size: 16px; letter-spacing: 2px; }
.admin-review-text { color: #c9b8e8; font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.admin-review-meta { color: #6a5a8a; font-size: 12px; margin-bottom: 16px; }

.admin-review-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.admin-review-actions button {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: 0.3s;
}

.btn-publish { background: #10b981; color: #fff; }
.btn-publish:hover { box-shadow: 0 0 15px rgba(16, 185, 129, 0.5); }
.btn-hide { background: #f59e0b; color: #fff; }
.btn-hide:hover { box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); }
.btn-delete { background: #ef4444; color: #fff; }
.btn-delete:hover { box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }

.badge-pending { padding: 4px 10px; background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.4); color: #fbbf24; border-radius: 100px; font-size: 11px; font-weight: 700; }
.badge-published { padding: 4px 10px; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.4); color: #34d399; border-radius: 100px; font-size: 11px; font-weight: 700; }
/* ========== БЛОКИ ДОВЕРИЯ ========== */
.game-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #34d399;
}

.trust-icon { font-size: 16px; }

/* ========== СТАТИСТИКА В HERO ========== */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #c084fc;
  text-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 13px;
  color: #a898c9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== ПЛАВАЮЩАЯ КНОПКА ПОДДЕРЖКИ ========== */
.floating-support {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
  z-index: 999;
  transition: 0.3s;
  animation: floatPulse 2s ease-in-out infinite;
}

.floating-support:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.9);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(168, 85, 247, 0.6); }
  50% { box-shadow: 0 0 45px rgba(168, 85, 247, 0.9); }
}

@media (max-width: 700px) {
  .hero-stats { gap: 32px; margin-top: 40px; }
  .hero-stat-value { font-size: 28px; }
  .floating-support { width: 52px; height: 52px; font-size: 24px; bottom: 20px; right: 20px; }
  .game-trust-badges { flex-direction: column; }
}
/* ========== БЛОКИ ДОВЕРИЯ ========== */
.game-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #34d399;
}

.trust-icon { font-size: 16px; }

/* ========== СТАТИСТИКА В HERO ========== */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-stat { text-align: center; }

.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #c084fc;
  text-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 13px;
  color: #a898c9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== ПЛАВАЮЩАЯ КНОПКА ПОДДЕРЖКИ ========== */
.floating-support {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
  z-index: 999;
  transition: 0.3s;
  animation: floatPulse 2s ease-in-out infinite;
}

.floating-support:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.9);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(168, 85, 247, 0.6); }
  50% { box-shadow: 0 0 45px rgba(168, 85, 247, 0.9); }
}

/* ========== ВКЛАДКИ АДМИНКИ ========== */
.admin-tab-btn { padding: 10px 20px; background: transparent; border: none; border-bottom: 2px solid transparent; color: #a898c9; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.admin-tab-btn:hover { color: #fff; }
.admin-tab-btn.is-active { color: #c084fc; border-bottom-color: #a855f7; }
.admin-review-card { background: rgba(30, 15, 55, 0.4); border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 16px; padding: 20px; margin-bottom: 16px; transition: 0.3s; }
.admin-review-card.pending { border-color: rgba(251, 191, 36, 0.4); }
.admin-review-card.published { border-color: rgba(16, 185, 129, 0.4); }
.admin-review-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.admin-review-stars { color: #fbbf24; font-size: 16px; letter-spacing: 2px; }
.admin-review-text { color: #c9b8e8; font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.admin-review-meta { color: #6a5a8a; font-size: 12px; margin-bottom: 16px; }
.admin-review-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-review-actions button { padding: 8px 14px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; font-size: 12px; transition: 0.3s; }
.btn-publish { background: #10b981; color: #fff; }
.btn-publish:hover { box-shadow: 0 0 15px rgba(16, 185, 129, 0.5); }
.btn-hide { background: #f59e0b; color: #fff; }
.btn-hide:hover { box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); }
.btn-delete { background: #ef4444; color: #fff; }
.btn-delete:hover { box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }
.badge-pending { padding: 4px 10px; background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.4); color: #fbbf24; border-radius: 100px; font-size: 11px; font-weight: 700; }
.badge-published { padding: 4px 10px; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.4); color: #34d399; border-radius: 100px; font-size: 11px; font-weight: 700; }

@media (max-width: 700px) {
  .hero-stats { gap: 32px; margin-top: 40px; }
  .hero-stat-value { font-size: 28px; }
  .floating-support { width: 52px; height: 52px; font-size: 24px; bottom: 20px; right: 20px; }
  .game-trust-badges { flex-direction: column; }
}
