/* ============================================================
   PINCO CASINO — RED + DARK GREEN THEME
   Адаптировано под Казахстан: красные CTA, тёмно-зелёный фон,
   акцентные изумрудные элементы.
   ============================================================ */

:root {
  --pinco-red: #e3001b;
  --pinco-red-light: #ff2d49;
  --pinco-red-dark: #b8001a;
  --pinco-green: #0a2a1c;
  --pinco-green-deep: #051710;
  --pinco-green-medium: #14392a;
  --pinco-green-accent: #1ea968;
  --pinco-green-glow: #2bd684;
  --pinco-cream: #f5e6c9;
  --pinco-gold: #ffc700;
}

/* ---------- Базовый фон страницы ---------- */
.bg-main {
  background:
    radial-gradient(ellipse at top, rgba(30, 169, 104, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at bottom, rgba(227, 0, 27, 0.06) 0%, transparent 55%),
    var(--pinco-green-deep) !important;
}

.bg-dark-blue {
  background:
    linear-gradient(0deg, var(--pinco-green) 0%, var(--pinco-green-deep) 100%),
    radial-gradient(50% 50% at 50% 50%, rgba(30, 169, 104, 0.1) 0%, transparent 100%) !important;
}

/* ---------- Главные красные CTA (red-button-*) ---------- */
.red-button-bg-color {
  background: linear-gradient(135deg, var(--pinco-red-light) 0%, var(--pinco-red) 50%, var(--pinco-red-dark) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  box-shadow:
    0 4px 14px rgba(227, 0, 27, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.red-button-bg-color:hover {
  background: linear-gradient(135deg, #ff4d66 0%, #ff1a35 50%, #cc0019 100%) !important;
  transform: translateY(-1px);
  box-shadow:
    0 6px 22px rgba(227, 0, 27, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.red-button-border {
  border: 1px solid var(--pinco-red) !important;
}

/* ---------- Вторичные зелёные кнопки (blue-button-*) ---------- */
.blue-button-bg-color {
  background: linear-gradient(135deg, var(--pinco-green-medium) 0%, var(--pinco-green) 50%, var(--pinco-green-deep) 100%) !important;
  color: var(--pinco-green-glow) !important;
  font-weight: 600 !important;
  transition: all 0.25s ease;
}

.blue-button-bg-color:hover {
  border-color: var(--pinco-green-glow) !important;
  box-shadow: 0 4px 14px rgba(30, 169, 104, 0.3);
}

.blue-button-border {
  border: 1px solid var(--pinco-green-accent) !important;
}

/* ---------- H1 — градиентный красно-золотой текст ---------- */
h1 {
  background: linear-gradient(135deg, #ffeb99 0%, #ffc700 30%, #ff4d66 65%, var(--pinco-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 20px;
  text-shadow: none;
}

h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 3px;
  background: linear-gradient(90deg, var(--pinco-red) 0%, var(--pinco-green-accent) 60%, transparent 100%);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(227, 0, 27, 0.4);
}

/* ---------- H2 — красная вертикальная полоса слева ---------- */
h2 {
  position: relative;
  padding-left: 20px;
  color: #ffffff;
  font-weight: 700;
  margin-top: 36px;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8%;
  width: 4px;
  height: 80%;
  background: linear-gradient(180deg, var(--pinco-red-light) 0%, var(--pinco-red) 50%, var(--pinco-green-accent) 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(227, 0, 27, 0.5);
}

/* ---------- H3 — мягкий изумрудный ---------- */
h3 {
  color: var(--pinco-green-glow);
  font-weight: 600;
  margin-top: 24px;
}

/* ---------- Strong внутри текста ---------- */
.olimp-mirror-info p strong,
.olimp-mirror-info ul strong,
.olimp-mirror-info ol strong,
.olimp-mirror-info td strong {
  color: var(--pinco-cream);
  font-weight: 600;
}

.olimp-mirror-info p strong:first-of-type {
  color: var(--pinco-red-light);
}

/* ---------- Таблицы ---------- */
.olimp-mirror-info table {
  border-collapse: collapse;
  width: 100%;
  margin: 22px 0;
  background: rgba(10, 42, 28, 0.5);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(30, 169, 104, 0.18);
}

.olimp-mirror-info table th {
  background: linear-gradient(180deg, rgba(227, 0, 27, 0.22) 0%, rgba(227, 0, 27, 0.08) 100%);
  color: var(--pinco-cream);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(227, 0, 27, 0.32);
}

.olimp-mirror-info table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #d6f0e2;
  font-size: 14px;
}

.olimp-mirror-info table tr:last-child td {
  border-bottom: none;
}

.olimp-mirror-info table tr:hover td {
  background: rgba(30, 169, 104, 0.06);
}

/* ---------- TOC — кликабельные элементы ---------- */
.articles-item {
  transition: all 0.22s ease;
}

.articles-item:hover {
  background: linear-gradient(135deg, rgba(227, 0, 27, 0.1) 0%, rgba(30, 169, 104, 0.04) 100%);
  border-color: rgba(227, 0, 27, 0.35) !important;
}

.articles-item:hover .articles-item-title {
  color: var(--pinco-red-light);
}

.articles-item-title {
  transition: color 0.2s ease;
}

/* ---------- FAQ accordion ---------- */
.olimp-acc summary:hover h3 {
  color: var(--pinco-red-light);
}

.olimp-acc[open] summary h3 {
  color: var(--pinco-green-glow);
}

/* ---------- Reviews — красный блеск звёзд ---------- */
.olimp-reviews__item-stars img {
  filter: drop-shadow(0 0 4px rgba(255, 199, 0, 0.7));
}

/* ---------- Тонкая красная линия сверху контейнеров ---------- */
.olimp-mirror-info .container.grey-border {
  position: relative;
  border-top: 1px solid rgba(227, 0, 27, 0.3) !important;
  background: linear-gradient(180deg, rgba(10, 42, 28, 0.4) 0%, rgba(5, 23, 16, 0.4) 100%);
}

.olimp-mirror-info .container.grey-border::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--pinco-red) 50%, transparent 100%);
}

/* ---------- UL — красные ромбы маркеров ---------- */
.olimp-mirror-info ul {
  list-style: none;
  padding-left: 0;
}

.olimp-mirror-info ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}

.olimp-mirror-info ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--pinco-red);
  font-size: 11px;
  text-shadow: 0 0 8px rgba(227, 0, 27, 0.6);
}

/* ---------- OL — золотые круги цифр ---------- */
.olimp-mirror-info ol {
  list-style: none;
  counter-reset: pinco-counter;
  padding-left: 0;
}

.olimp-mirror-info ol li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 10px;
  counter-increment: pinco-counter;
}

.olimp-mirror-info ol li::before {
  content: counter(pinco-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  background: linear-gradient(135deg, var(--pinco-red-light) 0%, var(--pinco-red) 50%, var(--pinco-red-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(227, 0, 27, 0.5);
}

/* ---------- CTA-link внутри статьи ---------- */
.olimp-mirror-info__link {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13px;
}

/* ---------- Header overrides ---------- */
.olimp-header {
  background: linear-gradient(180deg, var(--pinco-green) 0%, var(--pinco-green-deep) 100%) !important;
  border-bottom: 1px solid rgba(227, 0, 27, 0.18);
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--pinco-green-deep) 0%, #020e08 100%);
  border-top: 2px solid rgba(227, 0, 27, 0.25);
}

/* ---------- Bonus cards (под баннером) ---------- */
.olimp-games {
  background: linear-gradient(135deg, var(--pinco-green-medium) 0%, var(--pinco-green) 100%) !important;
  border-bottom: 1px solid rgba(30, 169, 104, 0.2);
}

.olimp-games__item:hover {
  color: var(--pinco-red-light);
}

/* ---------- Bonus-rain banner (по типу top-2) ---------- */
.pinco-bonus-rain {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 36px 24px;
  margin: 20px auto;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(227, 0, 27, 0.18) 0%, rgba(10, 42, 28, 0.9) 50%, rgba(30, 169, 104, 0.18) 100%);
  border: 1px solid rgba(227, 0, 27, 0.4);
  box-shadow: 0 12px 36px rgba(227, 0, 27, 0.18);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.pinco-bonus-rain::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--pinco-red) 0%, var(--pinco-green-accent) 50%, var(--pinco-red) 100%);
  border-radius: 18px;
  z-index: -1;
  opacity: 0.5;
  animation: pinco-glow 4s ease-in-out infinite;
}

@keyframes pinco-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.pinco-bonus-rain__title {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffeb99 0%, var(--pinco-red-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.pinco-bonus-rain__subtitle {
  font-size: 16px;
  color: var(--pinco-green-glow);
  font-weight: 600;
}

/* ---------- Stat grid (как у top-2) ---------- */
.pinco-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.pinco-stat {
  text-align: center;
  padding: 22px 14px;
  background: linear-gradient(135deg, rgba(227, 0, 27, 0.08) 0%, rgba(30, 169, 104, 0.06) 100%);
  border: 1px solid rgba(227, 0, 27, 0.3);
  border-radius: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pinco-stat:hover {
  transform: translateY(-4px);
  border-color: var(--pinco-green-accent);
  box-shadow: 0 10px 28px rgba(30, 169, 104, 0.18);
}

.pinco-stat__num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pinco-red-light) 0%, var(--pinco-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.pinco-stat__label {
  display: block;
  font-size: 11px;
  color: #b8d0c2;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- Info box ---------- */
.pinco-info {
  background: linear-gradient(135deg, rgba(30, 169, 104, 0.08) 0%, rgba(227, 0, 27, 0.05) 100%);
  border: 1px solid rgba(30, 169, 104, 0.3);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 22px 0;
}

.pinco-info h3 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 8px;
}

.pinco-info p {
  margin-bottom: 0;
  color: #d6f0e2;
  font-size: 15px;
}

/* ---------- Author signature ---------- */
.pinco-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(10, 42, 28, 0.7) 0%, rgba(5, 23, 16, 0.7) 100%);
  border: 1px solid rgba(30, 169, 104, 0.22);
  border-radius: 12px;
  margin: 18px 0 24px;
}

.pinco-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pinco-red);
  flex-shrink: 0;
}

.pinco-author__meta {
  flex: 1;
  font-size: 13px;
  color: #b8d0c2;
}

.pinco-author__name {
  display: block;
  color: var(--pinco-cream);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
}

.pinco-author__role {
  color: var(--pinco-green-glow);
  font-size: 12px;
}

/* ---------- Updated date badge ---------- */
.pinco-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(30, 169, 104, 0.12);
  border: 1px solid rgba(30, 169, 104, 0.35);
  font-size: 12px;
  color: var(--pinco-green-glow);
  font-weight: 600;
  margin-bottom: 18px;
}

.pinco-updated::before {
  content: '●';
  color: var(--pinco-red);
  font-size: 8px;
  animation: pinco-pulse 1.5s ease-in-out infinite;
}

@keyframes pinco-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ---------- Mobile responsive ---------- */
@media (max-width: 768px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; padding-left: 16px; }
  h3 { font-size: 17px; }
  .olimp-mirror-info ol li { padding-left: 34px; }
  .olimp-mirror-info ol li::before { width: 22px; height: 22px; line-height: 22px; font-size: 12px; }
  .pinco-bonus-rain__title { font-size: 22px; }
  .pinco-bonus-rain__subtitle { font-size: 13px; }
  .pinco-stat__num { font-size: 22px; }
  .pinco-stats { gap: 12px; }
  .pinco-author { flex-wrap: wrap; padding: 12px; gap: 10px; }
  .pinco-author__avatar { width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .pinco-stats { grid-template-columns: repeat(2, 1fr); }
}
