/* =====================
   ОСНОВНЫЕ СТИЛИ ДЛЯ ТЁМНОЙ ТЕМЫ
===================== */
body.dark-theme {
  background-color: #121212;
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

/* =====================
   HERO SECTION
===================== */
.hero-section {
  padding: 80px 0;
  background-color: black;
  text-align: center;
}
.hero-section h1 {
  font-size: 4rem;
  font-weight: 700;
}
.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .hero-section img {
    display: none;
  }
}

/* =====================
   КНОПКИ
===================== */
.btn-get-bot {
  background: linear-gradient(135deg, #ff7b00, #ff5500);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  font-size: 1.25rem;
  border-radius: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
  text-align: center;
}
.btn-get-bot:hover {
  background: linear-gradient(135deg, #ff6500, #d94e00);
  color: white;
}

.btn-gradient {
  background: linear-gradient(135deg, #ff7b00, #8f3d00);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 18px;
  border-radius: 6px;
  transition: 0.3s;
  margin: 0 0.5rem;
}
.btn-gradient:hover {
  background: linear-gradient(135deg, #ff6500, #752b00);
}

.btn-version {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 18px;
  border-radius: 6px;
  transition: background-color 0.3s;
  text-decoration: none;
}
.btn-version:hover {
  background-color: #444;
  text-decoration: none;
}

.btn-dark {
  background-color: #333;
  border: none;
  color: #fff;
}
.btn-dark:hover {
  background-color: #444;
}

/* =====================
   КАРТОЧКИ (УНИВЕРСАЛЬНЫЕ)
===================== */
.info-card {
  background: linear-gradient(135deg, #ff7b00, #ff5500);
  color: #fff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(255, 87, 34, 0.3);
}
.info-card h5, .info-card h4 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fff;
  text-transform: uppercase;
}
.info-card p, .info-card li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: #fff;
}
.info-card ul {
  padding-left: 1.2rem;
}

/* =====================
   ТЕКСТ В КАРТОЧКАХ
===================== */
.version-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.version-desc {
  font-size: 1rem;
  line-height: 1.4;
}

/* =====================
   СПИСКИ
===================== */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-list li {
  padding: 10px 0;
  margin: 0.5rem 0;
}
.info-list a {
  color: #ff7b00;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.info-list a:hover {
  color: #d96400;
  text-decoration: underline;
}

/* =====================
   АНИМАЦИИ
===================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* =====================
   ДРУГОЕ
===================== */
.soft-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0;
}
.badge-discount {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: #ff3b3b;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E");
}

.navbar-dark .navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 500;
}
.navbar-dark .navbar-nav .nav-link.active {
  color: #ffa726 !important;
}
.navbar-dark .navbar-brand {
  color: #ffffff !important;
  font-weight: 600;
}

/* =====================
   ШИРИНА ПОЛОТНА
===================== */
.page-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* =====================
   ОБВОДКА ДЛЯ БЛОКОВ
===================== */
.white-bordered-col {
  background: linear-gradient(145deg, rgba(255,123,0,0.05), rgba(255,123,0,0.08));
  border: 2px solid rgba(255,167,38, 0.6);
  border-radius: 1rem;
  box-shadow: 0 0 0 1px rgba(255, 167, 38, 0.15);
  color: #eee;
  transition: all 0.3s ease-in-out;
}
.white-bordered-col:hover {
  box-shadow: 0 0 0 2px rgba(255, 167, 38, 0.3), 0 0 12px rgba(255, 167, 38, 0.15);
  transform: translateY(-2px);
}
.white-bordered-col h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffa726;
  text-transform: uppercase;
}


.banner-cta .btn-version{
  display:block;
  white-space:normal;
  line-height:1.2;
}

@media (max-width: 575.98px){
  .banner-cta .row.gy-2>[class*="col-"]{margin-bottom:.5rem}
}


    :root{
      --bg:#0f0f0f;
      --text:#ffffff;
      --muted:#d6d6d6;
      --muted-2:#cfcfcf;

      --accent:#ff7b00;
      --accent-2:#ff5500;

      --card:#1b1b1b;
      --card-2:#202020;
      --shadow:0 14px 42px rgba(0,0,0,.55);
      --shadow-hover:0 22px 64px rgba(0,0,0,.68);

      --divider:linear-gradient(to right, rgba(255,123,0,.95), rgba(255,85,0,.45), rgba(255,255,255,.06));
    }

    html{
      scroll-behavior:smooth;
      scrollbar-gutter:stable;
    }

    body.dark-theme{
      position:relative;
      overflow-x:hidden;
      overflow-y:scroll;
      background:var(--bg);
      color:var(--text);
      width:100%;
      max-width:none;
      margin:0;
      padding:0;
    }

    body.dark-theme::before{
      content:"";
      position:fixed;
      inset:0;
      pointer-events:none;
      z-index:0;
      background:
        radial-gradient(900px 420px at 12% -10%, rgba(255,123,0,.14), transparent 60%),
        radial-gradient(740px 360px at 92% 10%, rgba(255,255,255,.05), transparent 65%),
        radial-gradient(860px 460px at 50% 110%, rgba(255,85,0,.10), transparent 60%);
    }

    header, section{
      position:relative;
      z-index:1;
      width:100%;
    }

    .hero-section{
      position:relative;
      padding:6rem 0 5rem;
      overflow:hidden;
      width:100%;
    }

    .hero-section::after{
      content:"";
      position:absolute;
      right:-240px;
      top:-220px;
      width:640px;
      height:640px;
      pointer-events:none;
      background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.14), rgba(255,123,0,.10) 45%, transparent 72%);
      transform:rotate(10deg);
    }

    .hero-media{
      width:100%;
      display:flex;
      justify-content:center;
      align-items:center;
    }

    .hero-media img{
      width:100%;
      max-width:520px;
      height:auto;
    }

    .hero-actions{
      display:flex;
      gap:.65rem;
      align-items:stretch;
      flex-wrap:wrap;
    }

    .hero-actions .btn-pill{
      width:100%;
      justify-content:center;
    }

    @media (min-width: 576px){
      .hero-actions .btn-pill{
        width:auto;
        min-width:240px;
      }
    }

    .btn-pill.btn-soon{
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.14);
      color:#d6d6d6 !important;
      cursor:not-allowed;
      opacity:.9;
      transform:none !important;
      box-shadow:none !important;
      pointer-events:none;
    }

    .btn-pill.btn-soon:hover,
    .btn-pill.btn-soon:active{
      transform:none !important;
      opacity:.9;
    }

    .material-divider{
      border:none;
      height:2px;
      background:var(--divider);
      margin:2.1rem 0;
      border-radius:999px;
      opacity:.95;
    }

    .section{
      padding:5rem 0;
    }

    .section-title{
      font-weight:900;
      letter-spacing:.02em;
      margin-bottom:.25rem;
    }

    .section-subtitle{
      color:var(--muted-2);
      font-size:1.08rem;
      margin:0;
    }

    .toc-title{
      font-weight:900;
      letter-spacing:.03em;
      text-transform:uppercase;
      margin:0;
    }

    .toc-buttons{
      display:flex;
      flex-wrap:wrap;
      gap:.55rem;
      justify-content:flex-end;
    }

    .material-block,
    .panel-card,
    .grid-cards .card-item,
    .version-card,
    .updates-card{
      background:var(--card);
      border-radius:18px;
      box-shadow:var(--shadow);
      padding:1.35rem 1.35rem;
      height:100%;
      position:relative;
      transition:transform .12s ease, box-shadow .12s ease, background-color .12s ease;
    }

    .material-block.pad-lg{
      padding:1.6rem 1.8rem;
    }

    .panel-card::before,
    .grid-cards .card-item::before,
    .version-card::before,
    .updates-card::before,
    .material-block::before{
      content:"";
      position:absolute;
      left:0;
      top:14px;
      bottom:14px;
      width:3px;
      border-radius:999px;
      background:linear-gradient(180deg, var(--accent), var(--accent-2));
      opacity:.9;
    }

    .panel-card:hover,
    .grid-cards .card-item:hover,
    .version-card:hover,
    .updates-card:hover{
      transform:translateY(-2px);
      box-shadow:var(--shadow-hover);
      background:var(--card-2);
    }

    .panel-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:.9rem;
    }

    .panel-head h3{
      margin:0;
      font-weight:900;
      letter-spacing:.05em;
      text-transform:uppercase;
      font-size:1.25rem;
    }

    .chip{
      display:inline-flex;
      align-items:center;
      gap:.45rem;
      padding:.38rem .7rem;
      border-radius:999px;
      background:rgba(255,123,0,.12);
      color:#fff;
      font-weight:900;
      font-size:.9rem;
      white-space:nowrap;
    }

    .chip .dot{
      width:8px;
      height:8px;
      border-radius:50%;
      background:var(--accent);
    }

    .panel-list{
      margin:0;
      padding-left:1.15rem;
      color:var(--muted);
      font-size:1.05rem;
    }

    .panel-list li{
      margin:.45rem 0;
    }

    .grid-cards h5{
      font-weight:900;
      margin:0 0 .45rem 0;
    }

    .grid-cards p{
      margin:0;
      color:var(--muted);
      line-height:1.55;
      font-size:1.05rem;
    }

    .version-top{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:1rem;
    }

    .version-top h3{
      margin:0;
      font-weight:900;
      text-transform:uppercase;
    }

    .updates-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:.9rem;
    }

    .updates-head h3{
      margin:0;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:.03em;
    }

    .updates-actions{
      display:flex;
      gap:.55rem;
      flex-wrap:wrap;
      margin-top:1rem;
    }

    #updatesCarousel{
      border-radius:14px;
      overflow:hidden;
      background:#141414;
    }

    .carousel-card{
      padding:1.05rem 1.1rem;
      background:transparent;
    }

    .carousel-card h5{
      margin:0 0 .35rem 0;
      font-weight:900;
      color:#fff;
      letter-spacing:.02em;
    }

    .carousel-card p{
      margin:0;
      color:var(--muted);
      line-height:1.55;
      font-size:1.05rem;
    }

    .carousel-indicators{
      display:none !important;
    }

    .carousel-control-prev,
    .carousel-control-next{
      display:none !important;
    }

    .carousel-nav{
      display:flex;
      gap:.55rem;
      align-items:center;
    }

    .carousel-mini-btn{
      appearance:none;
      -webkit-appearance:none;
      border:1px solid rgba(255,255,255,.14);
      background:rgba(255,255,255,.07);
      color:#fff;
      border-radius:999px;
      padding:.42rem .75rem;
      font-weight:800;
      font-size:.9rem;
      line-height:1;
      cursor:pointer;
      transition:transform .1s ease, opacity .2s ease, background .2s ease, border-color .2s ease;
      user-select:none;
    }

    .carousel-mini-btn:hover{
      transform:translateY(-1px);
      background:rgba(255,255,255,.10);
      border-color:rgba(255,255,255,.18);
    }

    .carousel-mini-btn:active{
      transform:translateY(0);
      opacity:.9;
    }

    .fade-in{
      opacity:0;
      transform:translateY(18px);
      transition:opacity .75s ease, transform .75s ease;
    }

    .fade-in.show{
      opacity:1;
      transform:none;
    }

    @media (max-width: 991.98px){
      .hero-section{ padding:4.2rem 0 3.5rem; }
      .section{ padding:4.2rem 0; }
      .toc-buttons{ justify-content:center; }
    }

    @media (prefers-reduced-motion: reduce){
      .fade-in{ transition:none; transform:none; opacity:1; }
      .panel-card, .grid-cards .card-item, .version-card, .updates-card, .material-block{ transition:none; }
    }