/* ========== БАЗА ========== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&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;
}

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: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 4px;
  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;
}

.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: 110px 0 90px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.15), transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 68px;
  font-weight: 900;
  margin-bottom: 28px;
  line-height: 1.05;
  letter-spacing: 1px;
  color: #fff;
}

.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: 620px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.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);
}

/* ========== СЕКЦИИ ========== */
section { padding: 70px 0; }

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 52px;
  text-align: center;
  color: #fff;
  letter-spacing: 2px;
}

.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);
}
/* ========== СЕТКА ИГР ========== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  align-items: start;
}

.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);
}

.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-card:hover .game-cover img { transform: scale(1.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: 'Orbitron', 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: 'Orbitron', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
}

/* ========== ПАКЕТЫ ========== */
.packages {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.package {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 15px;
  background: rgba(10, 3, 22, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.15);
  gap: 12px;
  transition: 0.3s;
}

.package:hover {
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.08);
}

.package-amount {
  font-weight: 500;
  color: #c9b8e8;
  font-size: 13px;
}

.package-price {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #c084fc;
  font-size: 15px;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.btn-buy {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  border: none;
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 10px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-buy:hover {
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.8);
  transform: scale(1.05);
}

/* ========== ПОЧЕМУ МЫ ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.why-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: 36px 24px;
  text-align: center;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 30%; right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  opacity: 0;
  transition: 0.4s;
}

.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:hover::before { opacity: 1; }

.why-icon {
  font-size: 46px;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.8));
  transition: 0.4s;
}

.why-card:hover .why-icon { transform: scale(1.2); }

.why-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.why-text {
  font-size: 13px;
  color: #a898c9;
  line-height: 1.7;
}

/* ========== КАК ЭТО РАБОТАЕТ ========== */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  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;
  position: relative;
}

.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: 'Orbitron', sans-serif;
  font-size: 44px;
  font-weight: 900;
  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: 'Orbitron', 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;
  font-size: 32px;
  color: rgba(168, 85, 247, 0.5);
  font-weight: 300;
  flex-shrink: 0;
}
/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  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: 'Orbitron', 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;
}

/* ========== МОДАЛКИ ========== */
.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: 'Orbitron', 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: 'Orbitron', 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; }

/* ========== ПРОФИЛЬ ========== */
.profile-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(30, 15, 55, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 24px;
  padding: 44px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  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;
  transition: 0.3s;
  flex-shrink: 0;
}

.profile-avatar:hover {
  border-color: #a855f7;
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#profileAvatarPlaceholder {
  font-size: 56px;
  filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.7));
}

.avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 3, 22, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  opacity: 0;
  transition: 0.3s;
}

.profile-avatar:hover .avatar-overlay { opacity: 1; }

.profile-info { flex: 1; min-width: 200px; }

.profile-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.profile-email {
  color: #a898c9;
  font-size: 14px;
  margin-bottom: 16px;
}

.profile-balance {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
}

.balance-label {
  color: #a898c9;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.balance-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #c084fc;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.7);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: rgba(10, 3, 22, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  padding: 26px;
  text-align: center;
  transition: 0.3s;
}

.stat-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
}

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: #c084fc;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.stat-label {
  color: #a898c9;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-actions { text-align: center; }

.btn-save {
  padding: 14px 32px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  border: none;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-save:hover {
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.7);
  transform: translateY(-2px);
}
/* ========== ЗАКАЗЫ ========== */
.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: 'Orbitron', 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: 'Orbitron', 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: 'Orbitron', 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.4) 100%);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 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-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  margin-bottom: 8px;
  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.6;
  max-width: 320px;
}

.footer-title {
  font-family: 'Orbitron', 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; }
}

/* ========== УТИЛИТЫ ========== */
.hidden { display: none !important; }

/* ========== АДАПТИВ ========== */
@media (max-width: 900px) {
  .step-arrow { transform: rotate(90deg); font-size: 24px; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }
}

@media (max-width: 700px) {
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 15px; }
  .logo { font-size: 20px; letter-spacing: 2px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 11px; }
  .section-title { font-size: 24px; }
  .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; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .profile-card { padding: 24px; }
  .profile-header { flex-direction: column; text-align: center; gap: 20px; }
  .profile-stats { grid-template-columns: 1fr; }
  .profile-name { font-size: 22px; }
  .profile-avatar { width: 100px; height: 100px; }
  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%; }
  .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; }
}
/* ========== РЕКВИЗИТЫ В ФУТЕРЕ ========== */
.footer-req {
  color: #a898c9;
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

.footer-inner {
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr !important;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr !important;
  }
}