/* Обновленная палитра под исходники */
:root {
  --bg-main: #040814; 
  --bg-panel: rgba(13, 20, 38, 0.65);
  --bg-solid: #0d1426;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-blue: #007bff; 
  --accent-cyan: #00d4ff;
  --accent-gold: #d97706; 
  --accent-gold-hover: #f59e0b;
  --border-color: rgba(0, 123, 255, 0.15);
  --radius-lg: 24px;
  --radius-md: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; background-color: var(--bg-main); background-image: radial-gradient(circle at 50% 0%, rgba(0, 123, 255, 0.1), transparent 50%); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Утилиты */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.section-title span { color: var(--accent-cyan); text-shadow: 0 0 15px rgba(0, 212, 255, 0.4); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 32px; border-radius: 12px; font-weight: 700; font-size: 1rem; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, var(--accent-gold), #b45309); color: #fff; box-shadow: 0 4px 20px rgba(217, 119, 6, 0.3); position: relative; z-index: 10;}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold)); transform: translateY(-2px); box-shadow: 0 6px 25px rgba(217, 119, 6, 0.5); }
.btn-outline { background: rgba(0, 123, 255, 0.05); border: 1px solid var(--accent-blue); color: var(--text-main); box-shadow: inset 0 0 10px rgba(0, 123, 255, 0.1); position: relative; z-index: 10;}
.btn-outline:hover { background: rgba(0, 123, 255, 0.15); box-shadow: 0 0 15px rgba(0, 123, 255, 0.4); transform: translateY(-2px); }

/* Навигация */
.navbar { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: calc(100% - 40px); max-width: 1200px; background: rgba(4, 8, 20, 0.85); backdrop-filter: blur(16px); border: 1px solid var(--border-color); border-radius: 20px; z-index: 100; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.3rem; letter-spacing: 1px; color: #fff; }
.nav-logo img { height: 44px; width: 44px; object-fit: cover; border-radius: 12px; border: 2px solid var(--accent-blue); box-shadow: 0 0 10px rgba(0, 123, 255, 0.4); background: #fff;}
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--text-main); transition: var(--transition); }
.nav-links a:hover { color: var(--accent-cyan); text-shadow: 0 0 8px rgba(0, 212, 255, 0.5); }

/* Bento Hero Секция */
.hero-bento { padding: 140px 0 80px; }
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(240px, auto); gap: 20px; }

.bento-item { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: var(--transition); backdrop-filter: blur(10px); }
.bento-item:hover { border-color: rgba(0, 212, 255, 0.4); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 123, 255, 0.05); transform: translateY(-4px); }

/* Главный оффер с Медведем */
.bento-main { grid-column: span 8; grid-row: span 2; background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(4, 8, 20, 0) 100%), var(--bg-panel); display: flex; flex-direction: row; align-items: center; justify-content: space-between; overflow: visible; }
.bento-main-text { max-width: 55%; z-index: 10; position: relative; }
.bento-main h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 900; line-height: 1.1; margin-bottom: 15px; text-transform: uppercase; color: #fff;}

.bento-main h1 span { color: var(--accent-cyan); text-shadow: 0 0 20px rgba(0, 212, 255, 0.7); }

.bento-main p { 
  font-size: 0.95rem; 
  color: #ffffff; 
  margin-bottom: 20px; 
  line-height: 1.5; 
  background: rgba(4, 8, 20, 0.75); 
  padding: 12px 16px; 
  border-radius: 12px; 
  border: 1px solid rgba(0, 123, 255, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.bento-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Стили для Медведя */
.hero-mascot { position: absolute; right: -40px; bottom: -20px; height: 115%; object-fit: contain; z-index: 1; filter: drop-shadow(0 0 30px rgba(0, 123, 255, 0.2)); transition: var(--transition); pointer-events: none; }
.bento-main:hover .hero-mascot { transform: scale(1.03) rotate(-2deg); filter: drop-shadow(0 0 40px rgba(0, 123, 255, 0.4)); }

/* Статистика и доп. блоки */
.bento-stat { grid-column: span 4; grid-row: span 1; align-items: center; justify-content: center; text-align: center; }
.stat-val { font-size: 3.5rem; font-weight: 900; color: var(--accent-cyan); line-height: 1; margin-bottom: 8px; text-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
.stat-label { font-size: 0.95rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

.bento-tg { grid-column: span 4; grid-row: span 1; background: linear-gradient(45deg, rgba(0, 123, 255, 0.15), transparent), var(--bg-panel); }
.bento-tg h3 { font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.bento-tg p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: auto; }
.bento-tg a { color: var(--accent-cyan); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; margin-top: 15px; }

/* Секция слотов */
.featured-slots { padding: 80px 0; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.slot-card { background: var(--bg-solid); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition); }
.slot-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2); border-color: var(--accent-blue); }
.slot-card-img { height: 180px; background: #111; display: flex; align-items: center; justify-content: center; position: relative; }
.slot-card-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-solid), transparent); }
.slot-info { padding: 24px; }
.slot-info h3 { font-size: 1.3rem; margin-bottom: 8px; color: #fff; }
.slot-info p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.slot-tags span { display: inline-block; padding: 4px 10px; background: rgba(0, 123, 255, 0.1); border-radius: 6px; font-size: 0.75rem; color: var(--accent-cyan); margin-right: 6px; border: 1px solid rgba(0, 123, 255, 0.2); }

/* --- Секция Акций (Promotions) --- */
.promotions-section { padding: 80px 0; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.promo-card { 
  background: var(--bg-panel); 
  border: 1px solid var(--border-color); 
  border-radius: var(--radius-lg); 
  padding: 32px 24px; 
  text-align: center;
  transition: var(--transition);
}
.promo-card:hover { transform: translateY(-5px); border-color: rgba(0, 123, 255, 0.4); box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15); }
.promo-icon { font-size: 2.5rem; margin-bottom: 16px; }
.promo-title { color: var(--accent-blue); font-size: 1.2rem; margin-bottom: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;}
.promo-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

/* --- Секция Отзывов --- */
.reviews-section { padding: 40px 0 80px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: var(--bg-solid); padding: 24px; border-radius: var(--radius-md); border-left: 4px solid var(--accent-gold); }
.review-header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.stars { color: var(--accent-gold); }

/* --- FAQ Аккордеон --- */
.faq-section { padding: 80px 0; }
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
details.faq-item { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
details.faq-item:hover { border-color: rgba(255, 255, 255, 0.15); }
summary.faq-question { padding: 20px 24px; font-size: 1.1rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); }
summary.faq-question::-webkit-details-marker { display: none; }
summary.faq-question::after { content: '+'; color: var(--accent-gold); font-size: 1.5rem; font-weight: 400; transition: transform 0.3s ease; }
details[open] summary.faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 24px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; border-top: 1px solid transparent; }
details[open] .faq-answer { border-top-color: var(--border-color); padding-top: 20px; margin-top: 5px; }

/* --- Контакты и CTA --- */
.contacts-section { padding: 40px 0 100px; text-align: center; }
.cta-banner { background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(4, 8, 20, 0.8)); border: 1px solid var(--accent-blue); padding: 60px 20px; border-radius: var(--radius-lg); }
.cta-banner h2 { font-size: 2.5rem; margin-bottom: 16px; color: #fff; }
.cta-banner p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; }
.pulse-btn { animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(217, 119, 6, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

/* --- Сочный Поп-ап --- */
.popup-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(4, 8, 20, 0.9); backdrop-filter: blur(5px);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.5s ease;
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-content {
  background: var(--bg-solid);
  border: 2px solid var(--accent-blue);
  border-radius: var(--radius-lg);
  padding: 40px; text-align: center; max-width: 450px; width: 90%;
  position: relative; transform: scale(0.8); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(0, 123, 255, 0.3);
}
.popup-overlay.active .popup-content { transform: scale(1); }
.popup-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: color 0.3s; }
.popup-close:hover { color: #fff; }
.popup-img { width: 120px; margin-top: -80px; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5)); }
.popup-content h2 { margin: 15px 0; color: #fff; }
.popup-content p { color: var(--text-muted); margin-bottom: 25px; }
.popup-btn { width: 100%; font-size: 1.1rem; padding: 18px; }

/* Адаптивность */
@media (max-width: 992px) {
  .bento-main { grid-column: span 12; overflow: hidden; }
  .bento-stat, .bento-tg { grid-column: span 6; }
  .nav-links { display: none; }
  .hero-mascot { right: -50px; opacity: 0.4; height: 120%; }
  .bento-main-text { max-width: 100%; }
}
@media (max-width: 768px) {
  .bento-grid { display: flex; flex-direction: column; }
  .bento-item { min-height: 220px; }
  .section-title { font-size: 2rem; }
  .bento-actions { flex-direction: column; }
  .hero-mascot { display: none; }
}

/* --- SEO Footer --- */
.seo-footer {
  padding: 40px 20px;
  border-top: 1px solid rgba(0, 123, 255, 0.1);
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
}
.seo-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.seo-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(13, 20, 38, 0.8);
  border: 1px solid rgba(0, 123, 255, 0.1);
  border-radius: 8px;
  color: #64748b; /* Приглушенный цвет текста */
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.seo-tag:hover {
  background: rgba(0, 123, 255, 0.1);
  border-color: rgba(0, 123, 255, 0.3);
  color: var(--accent-cyan);
}
