/* ===================================
   🍒 Double Triple Chance - Merkur Fruit Theme
   =================================== */

/* ===== 1. Fruit Slot Color System ===== */
:root {
  /* Основные фоны (тёмные для казино) */
  --bg-dark: #1A0F0A;              /* тёмно-коричневый, почти чёрный */
  --bg-panel: #231712;             /* второй фон для блоков */
  --bg-panel-hover: #2D1F19;       /* для hover эффектов */

  /* Фруктовые акцентные цвета */
  --fruit-orange: #FF6B00;         /* основной оранжевый */
  --fruit-red: #E63946;            /* красный (вишня) */
  --fruit-yellow: #FFD700;         /* золотой/жёлтый */
  --fruit-gradient: linear-gradient(135deg, #FF6B00, #E63946, #FFD700);

  /* Премиум золото (для бонусов) */
  --gold-soft: #F4D791;            /* мягкое золото */
  --gold-bright: #FFD260;          /* яркое золото */
  --gold-gradient: linear-gradient(90deg, #FFD260, #F4D791);

  /* Границы и тени */
  --border-color: #3D2920;         /* для разделителей */
  --fruit-glow: rgba(255, 107, 0, 0.25); /* оранжевое свечение */

  /* Текстовая система */
  --text-primary: #E5EDF3;         /* основной текст */
  --text-secondary: #9AA9B6;       /* второстепенный текст */
  --text-white: #FFFFFF;           /* чистый белый */
  --text-dark: #0A0E12;            /* тёмный текст */

  /* Кнопки */
  --btn-primary: #FF6B00;          /* оранжевая кнопка */
  --btn-alternate: #E63946;        /* красная кнопка */
}

/* ===== 2. ОСНОВА ЛЕЙАУТА ===== */
body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ===== Заголовки ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
}

.title-gradient {
  background: var(--fruit-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.2;
}

/* Текстовая система */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-white { color: var(--text-white); }

p {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.small-text, .caption, .disclaimer {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.layout {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* ===== 3. Сайдбар ===== */
.sidebar {
  width: 230px;
  background: var(--bg-panel);
  padding: 18px;
  box-sizing: border-box;
  flex-shrink: 0;
  border-right: 2px solid var(--fruit-orange);
}

/* ===== Мобильное меню ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 35px;
  height: 30px;
  background: var(--fruit-gradient);
  border: 2px solid var(--gold-bright);
  border-radius: 5px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--gold-bright);
  margin: 2px 0;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-panel);
  z-index: 1000;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.btn-menu {
  background: var(--fruit-gradient) !important;
  color: var(--text-white) !important;
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
  border-radius: 8px;
  padding: 12px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}

.btn-menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.logo {
  font-size: 22px;
  color: var(--gold-soft);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  display: block;
  padding: 12px;
  margin-bottom: 6px;
  background: var(--bg-panel);
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.menu-item:hover,
.menu-item.active {
  background: var(--bg-panel-hover);
  color: var(--fruit-orange);
  border-left: 3px solid var(--fruit-orange);
}

/* ===== 4. Основной контент ===== */
.main {
  flex: 1;
  overflow-y: auto;
}

/* ===== 5. Хедер ===== */
.header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.site-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  background: var(--fruit-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* ===== 6. Кнопки ===== */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary, .btn.green {
  background: var(--btn-primary);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover, .btn.green:hover {
  background: #E65A00;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-alternate, .btn.blue {
  background: var(--btn-alternate);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.3);
}

.btn-alternate:hover, .btn.blue:hover {
  background: #C92E3A;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn.gold, .btn.vip, .btn.bonus {
  background: var(--gold-gradient);
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(255, 210, 96, 0.3);
  font-weight: 700;
}

.btn.gold:hover, .btn.vip:hover, .btn.bonus:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 210, 96, 0.4);
}

/* ===== 7. Hero Promo Banner ===== */
.promo-banner {
  position: relative;
  width: calc(100% - 40px);
  height: 420px;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 20px 30px;
  border: 3px solid var(--fruit-orange);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.3);
}

.promo-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promo-content {
  position: absolute;
  top: 50%;
  left: 28%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
}

.promo-small {
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.85;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.promo-main {
  font-size: 42px;
  font-weight: 700;
  color: var(--fruit-yellow);
  line-height: 1.25;
  text-shadow: 0 0 15px rgba(255, 107, 0, 0.6);
  margin-bottom: 8px;
}

.promo-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 34px;
  background: var(--fruit-gradient);
  border-radius: 8px;
  color: white;
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 0 18px rgba(255, 107, 0, 0.6);
  transition: 0.25s;
  cursor: pointer;
}

.promo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.9);
  text-decoration: none;
  color: white;
}

/* ===== 8. CTR Banner ===== */
.ctr-banner {
  background: linear-gradient(135deg, #2D1F19, #1A0F0A);
  border: 2px solid var(--fruit-orange);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.2);
}

.ctr-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.ctr-icon {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--fruit-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.5);
}

.ctr-icon img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 4px;
}

.ctr-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.ctr-small-text {
  font-size: 12px;
  color: #FFB366;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ctr-big-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--fruit-yellow);
  margin-bottom: 4px;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ctr-medium-text {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1;
}

.ctr-disclaimer-text {
  font-size: 10px;
  color: #ffffff;
  opacity: 0.6;
  line-height: 1.2;
}

.ctr-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.ctr-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.stars {
  color: var(--fruit-yellow);
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.rating-number {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

.ctr-time-text {
  font-size: 14px;
  font-weight: 600;
  color: #FFB366;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ctr-green-btn {
  background: var(--gold-gradient);
  color: black;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(255, 210, 96, 0.5);
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 140px;
}

.ctr-green-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 210, 96, 0.7);
  background: linear-gradient(180deg, #f8eab5, #e7c772);
  text-decoration: none;
  color: black;
}

/* ===== 9. Секция игр ===== */
.games {
  padding: 0 20px 40px;
}

.block-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--fruit-orange);
  margin: 0 0 20px;
}

.game-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.game-card {
  background: var(--bg-panel);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 107, 0, 0.2);
  aspect-ratio: 4/5;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
  border-color: var(--fruit-orange);
}

.game-card img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg-panel-hover), var(--bg-panel));
}

.game-title {
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  background: var(--bg-panel-hover);
  height: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== 10. SEO контент ===== */
.seo-content {
  padding: 0 20px 60px;
  background: linear-gradient(145deg, rgba(45, 31, 25, 0.4), rgba(26, 15, 10, 0.3));
  border-radius: 12px;
  margin: 20px;
  border: 1px solid var(--fruit-orange);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  padding: 30px;
  background: rgba(35, 23, 18, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.content-wrapper h1 {
  color: var(--fruit-orange);
  font-size: 32px;
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid var(--fruit-orange);
  padding-bottom: 15px;
}

.content-wrapper h2 {
  color: var(--fruit-orange);
  font-size: 24px;
  margin: 40px 0 20px;
  padding-left: 15px;
  border-left: 4px solid var(--fruit-red);
  background: rgba(255, 107, 0, 0.1);
  padding: 12px 15px;
  border-radius: 0 6px 6px 0;
}

.content-wrapper h3 {
  color: var(--text-primary);
  font-size: 20px;
  margin: 25px 0 15px;
  color: #FFB366;
  font-weight: 600;
}

.content-wrapper h4 {
  color: var(--text-primary);
  font-size: 18px;
  margin: 20px 0 12px;
  color: #FFCC99;
  font-weight: 600;
}

.content-wrapper p {
  margin-bottom: 18px;
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.7;
}

/* Списки */
.content-wrapper ul,
.content-wrapper ol {
  margin: 20px 0;
  padding-left: 25px;
}

.content-wrapper li {
  margin-bottom: 12px;
  color: #e0e0e0;
  line-height: 1.6;
  position: relative;
}

.content-wrapper ul li {
  list-style: none;
  padding-left: 20px;
}

.content-wrapper ul li::before {
  content: '🍒';
  color: var(--fruit-red);
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 6px;
}

.content-wrapper ol li {
  color: #e0e0e0;
  padding-left: 8px;
}

.content-wrapper ol {
  counter-reset: item;
}

.content-wrapper ol > li {
  counter-increment: item;
}

.content-wrapper ol > li::before {
  content: counter(item) ".";
  color: var(--fruit-orange);
  font-weight: bold;
  margin-right: 8px;
}

/* Таблицы */
.content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: rgba(35, 23, 18, 0.8);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.content-wrapper th,
.content-wrapper td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 107, 0, 0.3);
}

.content-wrapper th {
  background: var(--fruit-gradient);
  color: white;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-wrapper td {
  color: #e0e0e0;
  font-size: 15px;
}

.content-wrapper tr:last-child td {
  border-bottom: none;
}

.content-wrapper tr:nth-child(even) {
  background: rgba(255, 107, 0, 0.05);
}

.content-wrapper tr:hover {
  background: rgba(255, 107, 0, 0.1);
}

/* Цитаты */
.content-wrapper blockquote {
  margin: 25px 0;
  padding: 15px 25px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(230, 57, 70, 0.05));
  border-left: 4px solid var(--fruit-orange);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #d4d4d4;
}

.content-wrapper blockquote p {
  margin-bottom: 0;
}

/* Код */
.content-wrapper code {
  background: rgba(255, 107, 0, 0.2);
  color: var(--fruit-orange);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

.content-wrapper pre {
  background: rgba(26, 15, 10, 0.9);
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid rgba(255, 107, 0, 0.3);
  margin: 20px 0;
}

.content-wrapper pre code {
  background: none;
  padding: 0;
  color: var(--fruit-yellow);
}

/* Ссылки в контенте */
.content-wrapper a {
  color: var(--fruit-orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.content-wrapper a:hover {
  color: var(--fruit-red);
  border-bottom-color: var(--fruit-red);
}

/* Выделение текста */
.content-wrapper strong,
.content-wrapper b {
  color: var(--fruit-yellow);
  font-weight: 700;
}

.content-wrapper em,
.content-wrapper i {
  color: var(--gold-soft);
  font-style: italic;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.breadcrumb-item a {
  color: var(--fruit-orange);
  text-decoration: none;
  transition: color 0.25s ease;
}

.breadcrumb-item a:hover {
  color: var(--fruit-red);
}

.breadcrumb-item.active {
  color: var(--text-primary);
  font-weight: 500;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin: 0 12px;
  color: var(--text-secondary);
  font-size: 12px;
}

@media (max-width: 768px) {
  .breadcrumbs {
    margin: 15px auto;
  }

  .breadcrumb-list {
    font-size: 13px;
  }

  .breadcrumb-item:not(:last-child)::after {
    margin: 0 8px;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1A0F0A;
  border-top: 2px solid var(--fruit-orange);
  padding: 40px 0;
  color: #b7e9d4;
  font-family: "Roboto", sans-serif;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0 20px;
}

.footer-heading {
  color: var(--fruit-orange);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  color: #b7e9d4;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-col a {
  color: var(--fruit-orange);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: 0.25s ease;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--fruit-red);
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid rgba(255, 107, 0, 0.25);
  font-size: 14px;
  color: #9bcab5;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col a {
    text-align: center;
  }

  .footer-bottom {
    padding: 20px 15px 0;
  }
}

/* ===== 11. Responsive ===== */
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
    height: auto;
  }

  .sidebar {
    display: none;
  }

  .main {
    margin-left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    text-align: center;
    align-items: stretch;
  }

  .site-title {
    font-size: 20px;
    width: 100%;
    text-align: center;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-menu.active ~ * {
    filter: blur(5px);
    pointer-events: none;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .promo-banner {
    width: calc(100% - 30px);
    height: 300px;
    margin: 0 15px 30px;
  }

  .promo-content {
    left: 5%;
    max-width: 90%;
  }

  .promo-main {
    font-size: 28px;
  }

  .games {
    padding: 0 15px 30px;
  }

  .game-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ctr-banner {
    flex-direction: column;
    padding: 20px;
    margin: 0 15px 30px;
    gap: 20px;
  }

  .ctr-left {
    justify-content: flex-start;
    gap: 15px;
  }

  .ctr-right {
    align-items: center;
    gap: 10px;
  }

  .ctr-icon {
    width: 60px;
    height: 60px;
  }

  .ctr-text {
    align-items: flex-start;
  }

  .ctr-big-text {
    font-size: 22px;
  }

  .ctr-medium-text {
    font-size: 18px;
  }

  .ctr-green-btn {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 120px;
  }

  .seo-content {
    padding: 0 15px 40px;
    margin: 15px;
  }

  .content-wrapper {
    padding: 20px;
  }

  .content-wrapper h1 {
    font-size: 24px;
  }

  .content-wrapper h2 {
    font-size: 20px;
  }

  .content-wrapper h3 {
    font-size: 18px;
  }

  .content-wrapper p {
    font-size: 15px;
  }

  .content-wrapper th,
  .content-wrapper td {
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .game-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }

  .promo-main {
    font-size: 24px;
  }

  .block-title {
    font-size: 18px;
  }
}
