/* ===========================
   Глобальные переменные и сброс
   =========================== */
:root {
  --color-primary: #FF1744;
  --color-primary-dark: #D50032;
  --color-secondary: #1A1A1A;
  --color-accent: #FFD700;
  --color-bg: #0D0D0D;
  --color-bg-light: #1A1A1A;
  --color-text: #FFFFFF;
  --color-text-muted: #B0B0B0;
  --color-border: #2A2A2A;
  --color-success: #00C853;
  --color-warning: #FFB300;
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(255, 23, 68, 0.15);
  --shadow-hover: 0 8px 30px rgba(255, 23, 68, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style-position: inside;
}

/* ===========================
   Контейнеры
   =========================== */
.duel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.duel-container--wide {
  max-width: 1400px;
}

.duel-container--narrow {
  max-width: 800px;
}

/* ===========================
   Шапка
   =========================== */
.duel-header {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
  border-bottom: 2px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.duel-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.duel-header__logo {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.duel-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: transparent;
  border: none;
}

.duel-header__burger-line {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.duel-nav {
  display: flex;
  gap: 5px;
}

.duel-nav__list {
  display: flex;
  gap: 5px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.duel-nav__item {
  position: relative;
}

.duel-nav__link {
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  display: block;
  white-space: nowrap;
  transition: var(--transition);
}

.duel-nav__link:hover,
.duel-nav__link--active {
  background: var(--color-primary);
  color: var(--color-text);
}

.duel-header__cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  color: var(--color-text);
  white-space: nowrap;
}

.duel-header__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ===========================
   Hero секция
   =========================== */
.duel-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.duel-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/img/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.duel-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.duel-hero__title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.duel-hero__subtitle {
  font-size: 22px;
  color: var(--color-text-muted);
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.duel-hero__features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.duel-hero__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--color-text);
}

.duel-hero__feature::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.duel-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

.duel-hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ===========================
   Секции
   =========================== */
.duel-section {
  padding: 80px 0;
}

.duel-section--alt {
  background: var(--color-bg-light);
}

.duel-section__header {
  text-align: center;
  margin-bottom: 50px;
}

.duel-section__title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--color-text);
}

.duel-section__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ===========================
   Карточки
   =========================== */
.duel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.duel-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition);
}

.duel-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.duel-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.duel-card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.duel-card__text {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===========================
   Списки
   =========================== */
.duel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.duel-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: var(--color-bg-light);
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
}

.duel-list__item::before {
  content: '→';
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

/* ===========================
   Таблицы
   =========================== */
.duel-table-wrap {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.duel-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-light);
}

.duel-table th,
.duel-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.duel-table th {
  background: var(--color-secondary);
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.duel-table tr:last-child td {
  border-bottom: none;
}

.duel-table tr:hover {
  background: rgba(255, 23, 68, 0.05);
}

/* ===========================
   FAQ
   =========================== */
.duel-faq {
  margin-top: 50px;
}

.duel-faq__item {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition);
}

.duel-faq__item:hover {
  border-color: var(--color-primary);
}

.duel-faq__question {
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  user-select: none;
}

.duel-faq__question::after {
  content: '+';
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
}

.duel-faq__item--active .duel-faq__question::after {
  transform: rotate(45deg);
}

.duel-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.duel-faq__item--active .duel-faq__answer {
  max-height: 500px;
}

.duel-faq__answer-content {
  padding: 0 25px 20px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===========================
   Хлебные крошки
   =========================== */
.duel-breadcrumb {
  padding: 20px 0;
  background: var(--color-bg-light);
}

.duel-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  font-size: 14px;
}

.duel-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
}

.duel-breadcrumb__item:not(:last-child)::after {
  content: '›';
  color: var(--color-primary);
  font-weight: 700;
}

.duel-breadcrumb__link:hover {
  color: var(--color-primary);
}

.duel-breadcrumb__item:last-child {
  color: var(--color-text);
  font-weight: 600;
}

/* ===========================
   Кнопки и CTA
   =========================== */
.duel-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  justify-content: center;
}

.duel-btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-text);
  box-shadow: var(--shadow);
}

.duel-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.duel-btn--secondary {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.duel-btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-text);
}

.duel-btn--block {
  width: 100%;
}

/* ===========================
   Баннеры и алерты
   =========================== */
.duel-banner {
  padding: 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 23, 68, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
  border: 2px solid var(--color-primary);
  text-align: center;
  margin: 40px 0;
}

.duel-banner__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-text);
}

.duel-banner__text {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* ===========================
   Футер
   =========================== */
.duel-footer {
  background: var(--color-secondary);
  padding: 60px 0 30px;
  border-top: 2px solid var(--color-primary);
}

.duel-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.duel-footer__section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.duel-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.duel-footer__link {
  color: var(--color-text-muted);
  transition: var(--transition);
  display: block;
}

.duel-footer__link:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.duel-footer__bottom {
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
}

.duel-footer__text {
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.duel-footer__warning {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 20px;
}

/* ===========================
   Контентные блоки
   =========================== */
.duel-content {
  padding: 40px 0;
}

.duel-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: var(--color-text);
}

.duel-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: var(--color-text);
}

.duel-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.duel-content ul,
.duel-content ol {
  margin: 20px 0;
  padding-left: 20px;
  color: var(--color-text-muted);
}

.duel-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* ===========================
   Слоты
   =========================== */
.duel-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.duel-slot {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.duel-slot:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.duel-slot__image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.duel-slot__content {
  padding: 20px;
}

.duel-slot__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.duel-slot__provider {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 15px;
}

.duel-slot__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

.duel-slot__rtp {
  color: var(--color-success);
  font-weight: 600;
}

/* ===========================
   Фильтры
   =========================== */
.duel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  padding: 25px;
  background: var(--color-bg-light);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.duel-filters__item {
  padding: 10px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
}

.duel-filters__item:hover,
.duel-filters__item--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text);
}

/* ===========================
   Формы
   =========================== */
.duel-form {
  max-width: 500px;
  margin: 0 auto;
}

.duel-form__group {
  margin-bottom: 25px;
}

.duel-form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-text);
}

.duel-form__input {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 16px;
  transition: var(--transition);
}

.duel-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.1);
}

.duel-form__input::placeholder {
  color: var(--color-text-muted);
}

/* ===========================
   Адаптивность
   =========================== */
@media (max-width: 992px) {
  .duel-hero__title {
    font-size: 42px;
  }
  
  .duel-section__title {
    font-size: 36px;
  }
  
  .duel-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .duel-header__burger {
    display: flex;
    order: 3;
  }
  
  .duel-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-secondary);
    border-top: 2px solid var(--color-primary);
    padding: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .duel-nav--active {
    max-height: 100vh;
  }
  
  .duel-nav__list {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  
  .duel-nav__link {
    width: 100%;
    text-align: center;
    padding: 15px;
  }
  
  .duel-header__cta {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .duel-hero {
    padding: 60px 0;
  }
  
  .duel-hero__title {
    font-size: 32px;
  }
  
  .duel-hero__subtitle {
    font-size: 18px;
  }
  
  .duel-hero__features {
    flex-direction: column;
    align-items: center;
  }
  
  .duel-section {
    padding: 60px 0;
  }
  
  .duel-section__title {
    font-size: 28px;
  }
  
  .duel-cards {
    grid-template-columns: 1fr;
  }
  
  .duel-slots {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .duel-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .duel-hero__title {
    font-size: 28px;
  }
  
  .duel-hero__subtitle {
    font-size: 16px;
  }
  
  .duel-hero__cta {
    padding: 15px 35px;
    font-size: 16px;
  }
  
  .duel-section__title {
    font-size: 24px;
  }
  
  .duel-card__title {
    font-size: 20px;
  }
  
  .duel-slots {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Утилиты
   =========================== */
.duel-text-center {
  text-align: center;
}

.duel-mb-0 { margin-bottom: 0; }
.duel-mb-20 { margin-bottom: 20px; }
.duel-mb-40 { margin-bottom: 40px; }
.duel-mt-40 { margin-top: 40px; }

.duel-color-primary {
  color: var(--color-primary);
}

.duel-color-success {
  color: var(--color-success);
}

.duel-color-warning {
  color: var(--color-warning);
}

.duel-fw-700 {
  font-weight: 700;
}

.duel-hidden {
  display: none;
}

