/* ═══════════════════════════════════════════════════════════════
   CSS VARIABLES - PISTOLO CASINO COLOR SYSTEM
   ═══════════════════════════════════════════════════════════════
   
   Централизованная система цветов для всего сайта.
   Все цвета вынесены в переменные для удобства управления темой.
   
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* ═══════════════════════════════════════════════════════════
       ОСНОВНЫЕ ЦВЕТА БРЕНДА
       ═══════════════════════════════════════════════════════════ */
    
    /* Оранжевый - основной цвет бренда */
    --primary-orange: #ff923b;           /* Основной оранжевый */
    --primary-orange-dark: #ff6b1a;      /* Темный оранжевый (hover) */
    --primary-orange-light: #ffa85c;     /* Светлый оранжевый */
    
    
    /* ═══════════════════════════════════════════════════════════
       ФОНОВЫЕ ЦВЕТА (ТЕМНАЯ ТЕМА)
       ═══════════════════════════════════════════════════════════ */
    
    --bg-primary: #100B07;               /* Основной темный фон (sidebar, main) */
    --bg-secondary: #2B180F;             /* Вторичный темный фон (body) */

    /* ═══════════════════════════════════════════════════════════
       ЦВЕТА ТЕКСТА
       ═══════════════════════════════════════════════════════════ */
    --text-primary: #faffe5;             /* Основной текст заголовков (h1-h6, cream) */
    --text-secondary: #f2f2f2;           /* Основной текст контента (light gray) */
    --text-light: rgba(255, 255, 255, 0.9);  /* Светлый текст с прозрачностью */
    --text-dark: #868686;                /* Темно-серый текст */
    
    /* Текст на кнопках */
    --btn-text: #FFF1D2;                 /* Кремовый цвет текста для кнопок */
    /* ═══════════════════════════════════════════════════════════
       АКЦЕНТНЫЕ ЦВЕТА
       ═══════════════════════════════════════════════════════════ */
    /* Ссылки */
    --link-color: #ff923b;               /* Цвет ссылок (оранжевый) */
    --link-hover: #ff6b1a;               /* Цвет ссылок при наведении (темный оранжевый) */
    
    /* CTA кнопки (можно удалить, если не используется) */
    --cta: #43df2d;                      /* Зеленый CTA */
    --cta-text: #ffffff;                 /* Белый текст на CTA */
    
    /* Дополнительные акценты */
    --gold: #ffd700;                     /* Золотой цвет (для звезд, акцентов) */
    --success: #78e08f;                  /* Зеленый (успех, подтверждения) */
    
    
    /* ═══════════════════════════════════════════════════════════
       ОРАНЖЕВЫЙ С ПРОЗРАЧНОСТЬЮ
       ═══════════════════════════════════════════════════════════
       Используется для градиентов, overlays, borders, shadows */
    
    --orange-alpha-90: rgba(255, 146, 59, 0.9);
    --orange-alpha-50: rgba(255, 146, 59, 0.5);
    --orange-alpha-40: rgba(255, 146, 59, 0.4);
    --orange-alpha-30: rgba(255, 146, 59, 0.3);
    --orange-alpha-20: rgba(255, 146, 59, 0.2);
    --orange-alpha-15: rgba(255, 146, 59, 0.15);
    --orange-alpha-10: rgba(255, 146, 59, 0.1);
    --orange-alpha-08: rgba(255, 146, 59, 0.08);
    --orange-alpha-05: rgba(255, 146, 59, 0.05);
    
    
    /* ═══════════════════════════════════════════════════════════
       ЧЕРНЫЙ С ПРОЗРАЧНОСТЬЮ
       ═══════════════════════════════════════════════════════════
       Используется для теней, overlays, затемнений */
    
    --black-alpha-40: rgba(0, 0, 0, 0.4);
    --black-alpha-30: rgba(0, 0, 0, 0.3);
    --black-alpha-20: rgba(0, 0, 0, 0.2);
    
    
    /* ═══════════════════════════════════════════════════════════
       БЕЛЫЙ С ПРОЗРАЧНОСТЬЮ
       ═══════════════════════════════════════════════════════════
       Используется для текста, borders, highlights */
    
    --white-alpha-95: rgba(255, 255, 255, 0.95);
    --white-alpha-90: rgba(255, 255, 255, 0.9);
    --white-alpha-80: rgba(255, 255, 255, 0.8);
    --white-alpha-20: rgba(255, 255, 255, 0.2);
    --white-alpha-10: rgba(255, 255, 255, 0.1);
    
    
    /* ═══════════════════════════════════════════════════════════
       ТЕМНЫЕ ФОНЫ С ПРОЗРАЧНОСТЬЮ
       ═══════════════════════════════════════════════════════════
       Используется для модальных окон, overlays, карточек */
    
    --dark-bg-alpha-95: rgba(16, 11, 7, 0.95);
    --dark-bg-alpha-80: rgba(16, 11, 7, 0.8);
    --brown-bg-alpha-95: rgba(43, 24, 15, 0.95);
    --brown-bg-alpha-80: rgba(43, 24, 15, 0.8);
    
    
    /* ═══════════════════════════════════════════════════════════
       КОРИЧНЕВЫЕ ОТТЕНКИ
       ═══════════════════════════════════════════════════════════
       Используется для теней текста, borders, акцентов */
    
    --brown-shadow: rgba(114, 80, 52, 0.4);    /* Тень для текста кнопок */
    --brown-dark: rgba(101, 67, 33, 0.5);      /* Темно-коричневый */
    --brown-darker: rgba(139, 69, 19, 0.5);    /* Очень темный коричневый */
    
    
    /* ═══════════════════════════════════════════════════════════
       LEGACY ПЕРЕМЕННЫЕ (ДЛЯ СОВМЕСТИМОСТИ)
       ═══════════════════════════════════════════════════════════
       Старые переменные переназначены на новые цвета системы.
       Это обеспечивает совместимость со старыми файлами. */
    
    --top_nav: var(--bg-primary);           /* #100B07 */
    --side_nav: var(--bg-primary);          /* #100B07 */
    --side_nav_text_bg: var(--orange-alpha-15);  /* rgba(255, 146, 59, 0.15) */
    --side_nav_text: var(--text-primary);   /* #faffe5 */
    --bg_color: var(--bg-primary);          /* #100B07 */
    --text_color: var(--text-secondary);    /* #f2f2f2 */
    --primary: var(--primary-orange);       /* #ff923b */
    --secondary: var(--primary-orange-dark); /* #ff6b1a */
    --head: var(--text-primary);            /* #faffe5 */
    --links_color: var(--link-color);       /* #ff923b */
    --cta_text: var(--btn-text);            /* #FFF1D2 */
}


/* ═══════════════════════════════════════════════════════════════
   USAGE EXAMPLES / ПРИМЕРЫ ИСПОЛЬЗОВАНИЯ
   ═══════════════════════════════════════════════════════════════

   BACKGROUNDS:
   ─────────────────────────────────────────────────────────────
   background-color: var(--bg-primary);          Main dark background
   background-color: var(--bg-secondary);        Secondary dark background
   background: var(--orange-alpha-05);           Light orange overlay
   
   
   TEXT COLORS:
   ─────────────────────────────────────────────────────────────
   color: var(--text-primary);                   Headings (cream/yellow)
   color: var(--text-secondary);                 Body text (light gray)
   color: var(--text-light);                     Light text with transparency
   
   
   LINKS:
   ─────────────────────────────────────────────────────────────
   color: var(--link-color);                     Link color (orange)
   
   a:hover {
       color: var(--link-hover);                 Link hover (dark orange)
   }
   
   
   BUTTONS:
   ─────────────────────────────────────────────────────────────
   color: var(--btn-text);                       Button text (cream)
   background: linear-gradient(135deg, 
               var(--primary-orange), 
               var(--primary-orange-dark));      Orange gradient
   
   
   BORDERS:
   ─────────────────────────────────────────────────────────────
   border: 1px solid var(--orange-alpha-15);     Light orange border
   border-bottom: 2px solid var(--orange-alpha-30); Orange border
   
   
   SHADOWS:
   ─────────────────────────────────────────────────────────────
   box-shadow: 0 4px 20px var(--black-alpha-30);  Black shadow
   box-shadow: 0 0 8px var(--orange-alpha-50);    Orange glow
   text-shadow: 1px 1px 2px var(--black-alpha-40); Text shadow
   -webkit-text-stroke: 1px var(--brown-shadow);  Text stroke
   
   
   GRADIENTS:
   ─────────────────────────────────────────────────────────────
   background: linear-gradient(135deg, 
               var(--primary-orange), 
               var(--primary-orange-dark));      Orange gradient
   
   background: linear-gradient(135deg, 
               var(--dark-bg-alpha-80), 
               var(--brown-bg-alpha-80));        Dark gradient
   
   
   OVERLAYS:
   ─────────────────────────────────────────────────────────────
   background: var(--black-alpha-30);            Dark overlay
   background: var(--orange-alpha-05);           Light orange tint
   backdrop-filter: blur(10px);                  + Blur effect
   
   ═══════════════════════════════════════════════════════════════ */



/* --- Slots Block Styles --- */
.slots-wrapper {
  margin: 30px 0;
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  align-items: start;
}
.slot-card {
  text-align: center;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1;
}
.slot-image {
  border-radius: 6px;
  overflow: hidden;
}
.slot-image img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
}
.slot-name {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: calc(100% - 16px);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  background: #450C88;
  color: #FFFFFF;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2;
}
.slot-card:hover .slot-name{
  opacity: 1;
}
.slot-card:hover::before {
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
}
@media (max-width: 600px) {
  .slots-grid {
    gap: 10px;
  }
  .slot-name {
    font-size: 12px;
  }
}


/* --- Review Block Styles --- */
#review-block {
  margin: 32px 0;
  background: #151b3a;
  border-radius: 14px;
  padding: 20px 16px 16px;
  overflow: hidden;
}
#review-block .review-block__header {
  display: grid;
  grid-template-columns: 280px 1fr 200px;
  gap: 16px;
  padding: 0 24px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}
.review-block__header span:first-child{
  padding-left: 32px;
}
.review-block__header span:nth-child(2){
  text-align: center;
}
#review-block .review-block__row {
  display: grid;
  grid-template-columns: 280px 1fr 200px;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
#review-block .review-block__row:last-child{
  margin: 0;
}
#review-block .review-block__row:hover {
  background: rgba(255, 255, 255, 0.05);
}
#review-block .review-block__row--highlighted {
  background: rgba(80, 100, 200, 0.18);
  border-color: rgba(100, 120, 220, 0.25);
}
#review-block .review-block__row--highlighted:hover {
  background: rgba(80, 100, 200, 0.24);
}
#review-block .review-block__label {
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  transform: rotate(-46deg) translate(-36px, -11px);
  height: 20px;
  padding: 0;
  font-size: 7px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 20px;
  color: #fff;
}
#review-block .review-block__casino {
  display: flex;
  align-items: center;
  gap: 12px;
}
#review-block .review-block__number {
  font-weight: 700;
  font-size: 15px;
  min-width: 20px;
  color: rgba(255, 255, 255, 0.7);
}
#review-block .review-block__logo-wrapper{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 90px;
}
#review-block .review-block__logo {
  object-fit: contain;
  box-shadow: none;
  max-height: 90px;
  margin: 0;
}
#review-block .review-block__name {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  flex-grow: 1;
}
#review-block .review-block__bonus {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
#review-block .review-block__bonus:has(span:nth-child(2)) span:first-child{
  color: #FFDA03;
}
#review-block .review-block__bonus strong,
#review-block .review-block__bonus b {
  color: #fff;
  font-weight: 700;
}
#review-block .review-block__code {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
#review-block .review-block__action {
  display: flex;
  justify-content: flex-end;
}
#review-block .review-block__button {
  display: inline-block;
  padding: 12px 32px;
  background: #e91e63;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
}
#review-block .review-block__button:hover {
  background: #d81b60;
  transform: translateY(-1px);
}
@media (max-width: 750px) and (min-width: 601px) {
  #review-block .review-block__header {
    grid-template-columns: 1fr 1fr;
  }
  #review-block .review-block__row {
    grid-template-columns: 1fr 1fr;
  }
  .review-block__action {
    grid-column-start: 1;
    grid-column-end: 3;
  }
  #review-block .review-block__button {
    width: 100%;
  }
}
@media (max-width: 600px) {
  #review-block {
    padding: 8px;
  }
  #review-block .review-block__header {
    display: none;
  }
  #review-block .review-block__row {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    padding: 20px 16px;
  }
  #review-block .review-block__logo-wrapper {
    height: auto;
  }
  #review-block .review-block__casino {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
  #review-block .review-block__name {
    font-size: 15px;
  }
  #review-block .review-block__bonus {
    font-size: 15px;
  }
  #review-block .review-block__action {
    justify-content: center;
  }
  #review-block .review-block__button {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
  }
}


/* --- Author block --- */
.content .author-block {
  margin: 24px 0;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
}
.content .author-block__inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.content .author-block--no-bio .author-block__inner {
  align-items: center;
}
.content .author-block--no-bio .author-block__name {
  margin-bottom: 0;
}
.content .author-block__photo {
  flex-shrink: 0;
  align-self: flex-start;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  max-width: 72px;
  max-height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
}
.content .author-block--no-bio .author-block__photo {
  align-self: center;
}
.content .author-block__photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  aspect-ratio: 1;
}
.content .author-block__body {
  min-width: 0;
  flex: 1;
}
.content .author-block__name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 6px;
}
.content .author-block__bio {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
}


/* --- FAQ block (no font-family; inherits theme) --- */
.faq-block {
  margin: 28px 0;
  max-width: 100%;
}
.faq-block__item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.faq-block__item:last-child {
  margin-bottom: 0;
}
.faq-block__summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  padding-right: 32px;
}
.faq-block__summary::-webkit-details-marker {
  display: none;
}
.faq-block__summary::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.55;
}
.faq-block__item[open] .faq-block__summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.faq-block__summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 6px;
}
.faq-block__question {
  all: unset !important;
}
.faq-block__answer {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.55;
}
.faq-block__answer > *:first-child {
  margin-top: 12px;
}


.content .post-date {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.8;
}
.content .post-date__label {
  margin-inline-end: 0.35em;
}
.content .post-date time {
  font-weight: 500;
}
