/* =========================================================
   CHAMPIONSHIP: ТОЛЬКО НЕОБХОДИМЫЕ СТИЛИ
   (Всё остальное берется из league.css и online_*.css)
   ========================================================= */

/* =========================================================
   1. СБРОС И БАЗОВЫЕ ПРАВИЛА
   ========================================================= */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* =========================================================
   2. HERO-БАННЕР
   ========================================================= */
.hero-banner {
  min-height: 80vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  padding-left: 0;
  padding-right: 0;
}

.hero-content {
  max-width: 650px;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.25;
}

/* ФОНОВОЕ ВИДЕО В HERO */
.hero-video-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f3f2f7;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(243, 242, 247, 0.48) 0%,
    rgba(219, 234, 254, 0.32) 45%,
    rgba(243, 242, 247, 0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-video-wrapper .hero-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 767.98px) {
  .hero-video { display: none; }
  .hero-video-wrapper {
    background-image: url('/championship/img/hero_poster.jpg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
  }
}

#tw1 { min-height: 3.3em; line-height: 1.1; }
#tw2 { min-height: 2.5em; line-height: 1.25; }

/* --- HERO FEATURES (чипы) --- */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  align-items: stretch;
}

.hero-feature-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(30, 58, 138, 0.15);
  border-radius: 14px;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 190px;
}

.hero-feature-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(220, 53, 69, 0.18);
  border-color: #dc3545;
}

.hero-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(220, 53, 69, 0.35);
}

.hero-feature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-feature-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.1rem;
}

.hero-feature-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e3a8a;
}

/* --- ЭФФЕКТ БЛЕСКА ДЛЯ КНОПОК --- */
.btn-shine {
  position: relative;
  display: inline-block !important;
  width: auto !important;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 25%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: btnShine 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnShine {
  0%        { left: -100%; }
  50%, 100% { left: 130%;  }
}

.btn-shine:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(220, 53, 69, 0.4) !important;
}

.btn-shine:hover::before {
  animation-duration: 1.5s;
}

/* --- КУРСОР ДЛЯ TYPEWRITER --- */
.tw-cursor {
  display: inline-block;
  font-weight: 100;
  color: #dc3545;
  margin-left: 3px;
  animation: twBlink 0.7s infinite;
}

@keyframes twBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* --- FAQ --- */
.champ-faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.champ-faq-item {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1.5px solid #e9ecef;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: faqItemAppear 0.5s ease forwards;
}

.champ-faq-item:nth-child(1) { animation-delay: 0.05s; }
.champ-faq-item:nth-child(2) { animation-delay: 0.10s; }
.champ-faq-item:nth-child(3) { animation-delay: 0.15s; }
.champ-faq-item:nth-child(4) { animation-delay: 0.20s; }
.champ-faq-item:nth-child(5) { animation-delay: 0.25s; }

@keyframes faqItemAppear {
  to { opacity: 1; transform: translateY(0); }
}

.champ-faq-item:hover {
  box-shadow: 0 8px 22px rgba(30, 58, 138, 0.12);
  border-color: #dbeafe;
}

.champ-faq-item.open {
  border-color: #dc3545;
  box-shadow: 0 10px 28px rgba(220, 53, 69, 0.15);
}

.champ-faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.champ-faq-question:hover { background: #f8f9fa; }

.champ-faq-item.open .champ-faq-question {
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.champ-faq-icon-wrapper {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
  transition: transform 0.3s ease;
}

.champ-faq-item.open .champ-faq-icon-wrapper {
  transform: rotate(-8deg) scale(1.05);
}

.champ-faq-question-text {
  flex: 1;
  font-size: 1.02rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.champ-faq-item.open .champ-faq-question-text { color: #dc3545; }

.champ-faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3a8a;
  font-size: 0.95rem;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.champ-faq-item.open .champ-faq-toggle {
  background: #dc3545;
  color: white;
  transform: rotate(180deg);
}

.champ-faq-toggle .fa-minus {
  position: absolute;
  opacity: 0;
  transform: scale(0.5) rotate(-180deg);
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.champ-faq-toggle .fa-plus {
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.champ-faq-item.open .champ-faq-toggle .fa-plus {
  opacity: 0;
  transform: scale(0.5);
}

.champ-faq-item.open .champ-faq-toggle .fa-minus {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.champ-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.champ-faq-answer-inner {
  padding: 0 1.25rem 1.4rem 4.6rem;
  font-size: 0.98rem;
  color: #495057;
  line-height: 1.65;
  border-top: 1px dashed #e9ecef;
  padding-top: 1rem;
  margin-right: 1.25rem;
}

.champ-faq-item.open .champ-faq-answer-inner {
  border-top-color: #fecaca;
}

/* =========================================================
   3. HERO — РАЗБИВКА ПО BREAKPOINTS
   ========================================================= */
@media (min-width: 576px) {
  .hero-banner { padding-left: 1rem; padding-right: 1rem; }
}

@media (min-width: 768px) {
  .hero-banner {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 992px) {
  .hero-banner {
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 1200px) {
  .hero-banner {
    padding-left: 4rem;
    padding-right: 4rem;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

@media (min-width: 1400px) {
  .hero-banner {
    padding-left: 8rem;
    padding-right: 8rem;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* =========================================================
   4. МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================================================= */
@media (max-width: 767.98px) {
  .hero-banner {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 0;
    background-image: none !important;
  }

  .hero-content {
    max-width: none;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    text-align: center;
  }

  #tw1 { min-height: 7.5rem; }
  #tw2 { min-height: 4.5rem; }

  .hero-content .btn {
    padding: 0.6rem 1.2rem !important;
    font-size: 1rem !important;
  }

  .hero-content .btn i {
    margin-left: 0 !important;
  }

  /* ФИЧИ */
  .hero-features {
    justify-content: center;
    gap: 0.6rem;
  }

  .hero-feature-chip {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 0;
    padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  }

  .hero-feature-chip:last-child {
    flex-basis: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-feature-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .hero-feature-label { font-size: 0.68rem; }
  .hero-feature-value { font-size: 0.88rem; }

  /* FAQ */
  .champ-faq-list { gap: 0.7rem; }
  .champ-faq-question { padding: 0.95rem 1rem; gap: 0.75rem; }
  .champ-faq-icon-wrapper { width: 38px; height: 38px; font-size: 0.95rem; border-radius: 10px; }
  .champ-faq-question-text { font-size: 0.92rem; }
  .champ-faq-toggle { width: 28px; height: 28px; font-size: 0.85rem; }
  .champ-faq-answer-inner { padding: 0 1rem 1.1rem 1rem; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .hero-feature-chip { flex-basis: 100%; }
  .hero-feature-chip:last-child { max-width: none; }
  .champ-faq-question-text { font-size: 0.88rem; }
}
