/* ==========================================================================
   VendipX Studios — Фирменный визуальный стиль (Теплый черный + Теплый свет)
   ========================================================================== */

:root {
  --bg-primary: #0c0a08;          /* Глубокий теплый черный */
  --bg-surface: #14110e;          /* Теплая поверхность карточек */
  --bg-surface-elevated: #1c1813;  /* Приподнятая теплая поверхность */
  --text-white: #fffbeb;          /* Выразительный теплый кремовый белый */
  --text-warm-light: #fef3c7;     /* Мягкий золотисто-белый акцентный текст */
  --text-body: #f5ede0;           /* Теплый цвет основного текста */
  --text-muted: #b8aea1;          /* Приглушенный теплый текст */
  --glow-warm-white: rgba(254, 243, 199, 0.95);
  --glow-warm-gold: rgba(253, 230, 138, 0.55);
  --glow-warm-amber: rgba(251, 191, 36, 0.25);
  --border-warm: rgba(254, 243, 199, 0.18);
  --border-warm-active: rgba(254, 243, 199, 0.5);
}

/* Базовые настройки страницы */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-body);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Фоновая сетка и теплое излучение */
.ambient-glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% -10%, rgba(254, 243, 199, 0.12) 0%, rgba(251, 191, 36, 0.05) 40%, transparent 70%),
    radial-gradient(circle at 85% 40%, rgba(254, 240, 199, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(254, 243, 199, 0.04) 0%, transparent 50%);
}

/* ==========================================================================
   ЭФФЕКТЫ ТЕПЛОГО СВЕЧЕНИЯ
   ========================================================================== */

/* Свечение для белого текста и заголовков */
.glow-title {
  color: var(--text-white);
  text-shadow: 
    0 0 12px var(--glow-warm-white),
    0 0 26px var(--glow-warm-gold),
    0 0 55px var(--glow-warm-amber);
  letter-spacing: -0.02em;
}

.glow-text-subtle {
  color: var(--text-body);
  text-shadow: 
    0 0 10px rgba(254, 243, 199, 0.5);
}

/* Свечение для иконок */
.glow-icon, 
i[data-lucide],
.lucide {
  color: var(--text-white);
  filter: drop-shadow(0 0 8px rgba(254, 243, 199, 0.9)) drop-shadow(0 0 18px rgba(253, 230, 138, 0.45));
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* ЛОГОТИП — Теплый световой ореол */
.glow-logo-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.glow-logo-container::before {
  content: '';
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 243, 199, 0.35) 0%, rgba(251, 191, 36, 0.16) 45%, transparent 75%);
  filter: blur(14px);
  z-index: 0;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-logo-container:hover::before {
  inset: -32%;
  background: radial-gradient(circle, rgba(254, 243, 199, 0.5) 0%, rgba(251, 191, 36, 0.25) 50%, transparent 80%);
  filter: blur(18px);
}

.glow-logo-img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 14px rgba(254, 243, 199, 0.9)) drop-shadow(0 0 28px rgba(253, 230, 138, 0.5));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.glow-logo-container:hover .glow-logo-img {
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1)) drop-shadow(0 0 40px rgba(253, 230, 138, 0.7));
  transform: scale(1.05);
}

/* ==========================================================================
   КАРТОЧКИ И ВИЗУАЛЬНОЕ ВЗАИМОДЕЙСТВИЕ
   ========================================================================== */

/* Карточка игры и блока с мягким теплым свечением */
.warm-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-warm);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.7);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.warm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(254, 243, 199, 0.45), transparent);
  opacity: 0.6;
  transition: opacity 0.35s ease;
}

.warm-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-warm-active);
  box-shadow: 
    0 15px 35px -5px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(254, 243, 199, 0.2),
    0 0 12px rgba(253, 230, 138, 0.15);
}

.warm-card:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(254, 243, 199, 0.95), transparent);
}

/* ==========================================================================
   КНОПКИ — ПОЛУПРОЗРАЧНЫЕ ФОНЫ
   ========================================================================== */

/* Основная светлая кнопка с полупрозрачным фоном */
.btn-warm-glow {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0c0a08;
  font-weight: 700;
  border: 1px solid rgba(254, 243, 199, 0.7);
  box-shadow: 
    0 0 18px rgba(254, 243, 199, 0.65),
    0 0 35px rgba(253, 230, 138, 0.25);
  transition: all 0.25s ease;
}

.btn-warm-glow:hover {
  background-color: rgba(255, 255, 255, 0.95);
  color: #000000;
  border-color: rgba(254, 243, 199, 0.95);
  transform: translateY(-2px);
  box-shadow: 
    0 0 26px rgba(254, 243, 199, 0.9),
    0 0 48px rgba(253, 230, 138, 0.5);
}

/* Вторичная контурная кнопка с полупрозрачным фоном */
.btn-warm-outline {
  background-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-white);
  border: 1px solid rgba(254, 243, 199, 0.3);
  box-shadow: 0 0 14px rgba(254, 243, 199, 0.15);
  transition: all 0.25s ease;
}

.btn-warm-outline:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(254, 243, 199, 0.7);
  box-shadow: 0 0 22px rgba(254, 243, 199, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Бейджи статусов */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(26, 23, 20, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(254, 243, 199, 0.25);
  color: var(--text-white);
  box-shadow: 0 0 10px rgba(254, 243, 199, 0.15);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-white);
  box-shadow: 0 0 8px var(--text-white);
}

/* Социальные кнопки */
.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(254, 243, 199, 0.2);
  color: var(--text-white);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.social-link-btn:hover {
  border-color: rgba(254, 243, 199, 0.6);
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(254, 243, 199, 0.3);
  color: #ffffff;
}

/* ==========================================================================
   LIGHTBOX / МОДАЛЬНОЕ ОКНО ДЛЯ СКРИНШОТОВ
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(8, 6, 5, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image-container {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(254, 243, 199, 0.35);
  box-shadow: 0 0 45px rgba(254, 243, 199, 0.25), 0 20px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

/* Полоса прокрутки */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0c0a08;
}

::-webkit-scrollbar-thumb {
  background: #2a241e;
  border-radius: 4px;
  border: 1px solid rgba(254, 243, 199, 0.15);
}

::-webkit-scrollbar-thumb:hover {
  background: #453b31;
  border-color: rgba(254, 243, 199, 0.35);
}
