:root{
  /* Основные цвета */
  --bg: #0B0F12;
  --surface: #0F1619;
  --panel: #161C20;

  --primary: #D600FF;
  --primary-dark: #A500C8;
  --accent-blue: #00B0FF;
  --accent-violet: #D600FF;
  --accent-pink: #FF2D95;
  --highlight-lime: #C6FF00;
  --neon-primary: var(--primary);

  /* Текст */
  --text: #E6F7F4;
  --text-muted: #A7B7B6;

  /* Бордер/интерфейс */
  --border: #233036;

  /* Glow */
  --glow-primary: rgba(214, 0, 255, 0.85); /* Фиолетовый свечение */
  --glow-primary-soft: rgba(214, 0, 255, 0.12);
  --glow-blue: rgba(0, 176, 255, 0.75);
  --glow-violet: rgba(214,0,255,0.7);
  --glow-pink: rgba(255,45,149,0.7);
}

/* Базовый фон */
html, body{
  background: linear-gradient(180deg,var(--bg) 0%, #071014 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  position: relative;
  z-index: 0;
  overflow-x: hidden;
}

/* Универсальный неоновый блок */
.border-neon {
  background: rgba(20, 28, 34, 0.9) !important;
  border-radius: 16px !important;
  box-shadow: 0 0 25px rgba(214, 0, 255, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s ease !important;
}

/* Эффект при наведении */
.border-neon:hover {
  transform: translateY(-4px) !important;
  box-shadow:
          0 0 35px rgba(214, 0, 255, 0.3),
          0 8px 25px rgba(0, 0, 0, 0.6),
          inset 0 0 10px rgba(214, 0, 255, 0.15) !important;
  background: rgba(25, 35, 42, 0.95) !important;
}

.click_gui {
  transition: transform 0.3s ease;
}

.click_gui:hover {
  transform: scale(1.1);
}

/* Панель/карточка */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.6), 0 0 28px var(--glow-primary-soft);
}

/* Заголовок с неоном */
.h-neon {
  color: var(--primary);
  text-shadow: 0 0 6px var(--glow-primary), 0 0 18px rgba(0,229,196,0.35), 0 6px 20px rgba(0,0,0,0.6);
  font-weight: 700;
}

/* Неоновая кнопка */
.btn-neon {
  text-decoration: none;
  display: inline-block;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  color: var(--text);
  border: 1px solid rgba(0,229,196,0.45);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  font-weight: 600;
}
.btn-neon.primary {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border: 1px solid var(--primary);
  color: #021312;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 18px var(--glow-primary);
}
.btn-neon.primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 0 36px var(--glow-primary);
}

/* Ссылки с неоном и анимацией */
.link-neon {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-shadow: 0 0 4px rgba(0,176,255,0.3);
  position: relative;
}
.link-neon::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--glow-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.link-neon:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.link-neon:hover {
  text-shadow: 0 0 6px var(--glow-primary), 0 0 18px var(--glow-primary-soft);
}

/* Фоновые полоски */
.glow-strip {
  height: 6px;
  background: linear-gradient(90deg, rgba(0,229,196,0.28), rgba(0,176,255,0.18));
  box-shadow: 0 0 18px var(--glow-primary-soft);
}

/* Контрастный текст */
.muted {
  color: var(--text-muted);
  text-shadow: 0 0 4px rgba(167,183,182,0.2);
}

/* Анимации пульса */
@keyframes pulseGlow {
  from { text-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary); }
  to { text-shadow: 0 0 20px var(--neon-primary), 0 0 40px var(--neon-primary); }
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; }
.delay-3 { transition-delay: 0.9s; }

/* Navbar */
.navbar {
  background-color: var(--bg) !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.navbar-brand.text-primary {
  color: var(--primary) !important;
  text-shadow: 0 0 10px var(--glow-primary), 0 0 20px var(--glow-primary);
}
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
  transition: all 0.2s ease;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #021312;
  box-shadow: 0 0 20px var(--glow-primary);
}

.neon-footer {
    background-color: var(--bg);
    color: var(--text-muted);
    text-shadow: 0 0 6px rgba(0,229,196,0.35);
    box-shadow: none; /* убираем inset тень, чтобы не смещала визуально */
    text-align: center; /* гарантируем центрирование */
}

.neon-footer p {
    text-align: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.neon-footer .d-flex {
    justify-content: center; /* центрируем иконки */
    align-items: center;
}

.neon-footer .d-flex a {
    margin: 0 0.5rem; /* промежуток между иконками */
}

/* ===== О НАС ===== */
.about-container {
  max-width: 900px;
  margin: 100px auto;
  padding: 40px 50px;
  background: rgba(15, 20, 25, 0.6);
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(214, 0, 255, 0.15); /* D600FF */
  backdrop-filter: blur(12px);
  text-align: center;
  color: var(--text);
  animation: fadeInAbout 0.8s ease-in-out;
  transition: all 0.3s ease;
}

/* Эффект при наведении — как border-neon */
.about-container:hover {
  transform: translateY(-4px);
  box-shadow:
          0 0 35px rgba(214, 0, 255, 0.3),
          0 8px 25px rgba(0, 0, 0, 0.6),
          inset 0 0 10px rgba(214, 0, 255, 0.15);
  background: rgba(25, 35, 42, 0.95);
}

/* Анимация появления */
@keyframes fadeInAbout {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Заголовок с неоновым эффектом */
.about-container .neon-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 10px var(--glow-primary), 0 0 25px var(--glow-primary);
  animation: pulseGlow 2s infinite alternate;
  margin-bottom: 25px;
}

.about-container p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-container .neon-highlight {
  color: var(--primary);
  text-shadow: 0 0 10px var(--glow-primary);
  font-weight: 600;
}

/* ===== Профиль / Личный кабинет, как about-container ===== */
.profile-card {
  padding: 2rem; /* сохраняем оригинальный padding */
  color: var(--text);
  text-align: left;
  transition: all 0.3s ease;

  /* фон и бордер как в about-container */
  background: rgba(15, 20, 25, 0.6);
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

/* hover-анимация как в border-neon */
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow:
          0 0 35px rgba(0, 255, 255, 0.3),
          0 8px 25px rgba(0, 0, 0, 0.6),
          inset 0 0 10px rgba(0, 255, 255, 0.15);
  background: rgba(25, 35, 42, 0.95);
}

/* Заголовок */
.profile-card .neon-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary);
  text-shadow: 0 0 10px var(--glow-primary), 0 0 25px var(--glow-primary);
}

/* Текст */
.profile-card .neon-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 0.8rem;
}

/* Неоновые акценты */
.profile-card .neon-highlight {
  color: var(--primary);
  text-shadow: 0 0 10px var(--glow-primary);
  font-weight: 600;
}

/* Кнопки */
.profile-card .btn-neon.primary {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border: 1px solid var(--primary);
  color: #021312;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 18px var(--glow-primary);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.profile-card .btn-neon.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 0 36px var(--glow-primary);
}

.profile-card .btn-neon.danger {
  background: linear-gradient(90deg, #FF2D95, #D600FF);
  border: 1px solid #FF2D95;
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 18px rgba(255,45,149,0.7);
}
.profile-card .btn-neon.danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 0 36px rgba(255,45,149,0.7);
}

/* Магазин / товары */
.item-card, .product-card {
  background: rgba(20, 28, 34, 0.95);
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(0, 229, 196, 0.25);
  backdrop-filter: blur(12px);
  padding: 2rem;
  color: var(--text);
  transition: all 0.3s ease;
}
.item-card:hover, .product-card:hover {
  box-shadow: 0 0 40px rgba(0, 229, 196, 0.35), 0 8px 25px rgba(0,0,0,0.6);
  transform: translateY(-2px);
}
.item-card .item-img {
  max-height: 350px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.item-card .item-img:hover { transform: scale(1.05); box-shadow: 0 0 30px var(--glow-primary); }
.item-card .neon-title, .product-card .neon-title {
  color: var(--primary);
  text-shadow: 0 0 10px var(--glow-primary),0 0 20px var(--glow-primary);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.item-card .neon-text { color: var(--text); font-size: 1.1rem; line-height: 1.6rem; }
.item-card .neon-highlight { color: var(--primary); text-shadow: 0 0 8px var(--glow-primary); font-weight: 600; }
.item-card .btn-neon.primary, .product-card .btn-neon.primary {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border: 1px solid var(--primary);
  color: #021312;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 18px var(--glow-primary);
  padding: 0.75rem 2rem;
  font-size: 1.25rem;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  transition: all 0.2s ease;
}
.item-card .col-7 { display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; }

/* Контакты */
.contact-item { display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--border); color: var(--text); }
.contact-item:last-child { border-bottom:none; }
.contact-item .contact-label { font-weight:600; color: var(--primary); text-shadow:0 0 8px var(--glow-primary); }
.contact-item .contact-value { color: var(--text-muted); }
.neon-dot { width:12px; height:12px; border-radius:50%; background: var(--primary); box-shadow: 0 0 10px var(--glow-primary),0 0 26px rgba(0,229,196,0.18); }
.contact-card { background: var(--panel); border-radius:12px; padding:16px; box-shadow:0 0 20px var(--glow-primary-soft); display:flex; align-items:center; gap:12px; }
.contact-card .card-img { width:50px; height:50px; object-fit:cover; border-radius:50%; box-shadow:0 0 10px var(--glow-primary); }
.contact-card .card-text { color: var(--text); font-size:1rem; }
.contacts-container .neon-title {
  color: var(--primary);
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  text-shadow:
    0 0 10px var(--glow-primary),
    0 0 25px var(--glow-primary),
    0 0 45px rgba(0,229,196,0.4);
  animation: pulseGlow 2.5s infinite alternate;
}
h1.neon-title {
  color: var(--primary);
  text-shadow:
    0 0 10px var(--glow-primary),
    0 0 25px var(--glow-primary),
    0 0 45px rgba(0,229,196,0.4);
  animation: pulseGlow 2.5s infinite alternate;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Контактные строки */
.contact-item .muted {
  color: var(--text-muted);
  font-weight: 600;
}

.contact-item .link-neon {
  font-size: 1.05rem;
}

.dollar-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.dollar {
  position: absolute;
  color: #D600FF;
  font-size: 1.5rem;
  opacity: 0.3;
  text-shadow: 0 0 6px rgba(214, 0, 255, 0.6);
  font-weight: bold;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
  }
}

.neon-input {
    border: 2px solid #D600FF;
    background-color: #1a1a1a;
    color: #fff;
    padding: 0.5rem;
    border-radius: 6px;
    box-shadow: 0 0 5px #D600FF;
    transition: all 0.2s ease;
}

.neon-input::placeholder {
    color: #D600FF;
    opacity: 0.7;
}

/* Состояние фокуса */
.neon-input:focus {
    background-color: #1a1a1a;  /* сохраняем тёмный фон */
    color: #D600FF;             /* цвет текста неоновый */
    border-color: #D600FF;      /* подсветка рамки */
    box-shadow: 0 0 8px #D600FF;
    outline: none;              /* убираем стандартное обводку браузера */
}

.stat-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.6), 0 0 28px var(--glow-primary-soft);
}
