/* --- Анимация онлайна --- */
#onlineCounterWrapper {
  animation: fadeIn 1s ease-out;
}

#onlineCounter {
  transition: all 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Раздел ME --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.account-card {
  background-color: #1A1A1A;
  border: 1px solid #2C2C2C;
  border-radius: 1rem;
  padding: 1.5rem;
  color: #F2F2F2;
  margin-top: 1rem;
}

.account-block {
  margin-bottom: 1.25rem;
}

.account-label {
  font-weight: 600;
  color: #FACC15;
  margin-bottom: 0.25rem;
}

.account-value {
  font-size: 1.125rem;
}

.key-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #2C2C2C;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}

.key-text {
  font-family: monospace;
  font-weight: bold;
}

.btn-copy,
.btn-upgrade,
.btn-logout {
  background-color: #E50914;
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
}

.btn-logout {
  background-color: transparent;
  border: 2px solid #E50914;
}

.btn-copy:hover,
.btn-upgrade:hover {
  opacity: 0.85;
}

/* --- Основные стили --- */
body {
    background-color: #0A0A0A;
    color: #F2F2F2;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* --- Кнопки --- */
.btn-primary {
    background-color: #E50914;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: bold;
    text-align: center;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary {
    border: 2px solid #E50914;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-align: center;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Пульсация кнопки --- */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- Эффект сжатия хедера при скролле --- */
.shrink {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    transition: all 0.3s ease;
}

/* --- Мобильное меню --- */
.menu-hidden {
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.menu-visible {
    transform: translateX(0);
    opacity: 1;
    transition: all 0.4s ease;
}

/* --- HERO текст --- */
.hero-left h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.hero-left h1 span {
    color: #E50914;
}

.hero-left p {
    font-size: 2.5rem;
    max-width: 600px;
    margin-top: 0.5rem;
    color: #cccccc;
}

.hero-buttons {
    margin-top: 1rem;
    gap: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    
}

/* --- Видео контейнер с рамкой --- */
.video-container {
    position: relative;
    width: 346px;
    height: 714px;
    border: 5px solid #888;
    border-radius: 1.5rem;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.25em;
}

/* --- Marquee полоса логотипов --- */
.marquee-container {
    background-color: #1A1A1A;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.marquee-inner {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 40s linear infinite;
    align-items: center;
    justify-content: flex-start;
}

.marquee-track img {
    height: 60px;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

/* --- Анимация движения логотипов --- */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Fade края полосы --- */
.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #1A1A1A 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #1A1A1A 0%, transparent 100%);
}

/* --- Мобильная адаптация --- */
@media (max-width: 1024px) {
    .hero-left h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {

    .hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 2.5rem;
        text-align: center;
        margin-top: 2rem;
    }

    .hero-left p {
        font-size: 1.25rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;  /* <<< Добавьте это! */
    }

    .video-container {
        width: 260px;
        height: 500px;
    }

    .video-container video {
        border-radius: 1.25rem;
    }

    .marquee-track {
        animation: marquee 10s linear infinite; /* В 2 раза быстрее */
    }

    .marquee-track img {
        height: 40px;
    }
    
}

/* Стили для выпадающего меню */
#langDropdown button.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 5px 10px;
    border-radius: 4px;
  }
  
  #langDropdown button.lang-option:hover {
    background-color: #333;
  }
  
  /* Активный язык можно выделять так */
  button.lang-option.active-lang {
    font-weight: bold;
    color: #FACC15;
  }
  
  /* --- Ленты --- */
.ribbon-left {
    background: #4B5563;
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    position: absolute;
    top: 600px;
    left: 10px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    z-index: 10;
    font-size: 1.5rem;
}

.ribbon-right {
    background: linear-gradient(to right, #FFA500, #FF8C00);
    color: black;
    font-weight: bold;
    padding: 8px 16px;
    position: absolute;
    top: 10px;
    right: 10px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    z-index: 10;
    font-size: 1.5rem;
}
.ribbon-center {
    background: #4B5563;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 6px;
    z-index: 10;
    font-size: 1.5rem;
}

.vip-badge-bottom {
  background: #FACC15;
  color: black;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 6px;
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 10;
}

/* --- Кнопки слайдера --- */
.slider-btn-left, .slider-btn-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 2rem;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10;
}

.slider-btn-left { left: 10px; }
.slider-btn-right { right: 10px; }

/* --- Пульс кнопки --- */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.pulse {
    animation: pulse 2s infinite;
}

:root {
    --accent-gold: #FACC15;
    --background-ring: #2C2C2C;
}

/* --- Прогресс-кольцо фон --- */
.progress-bg {
    stroke: #2C2C2C;
    stroke-width: 14;
    fill: none;
}

.progress-ring {
    stroke: #FACC15;
    stroke-width: 14;
    fill: none;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 2s ease;
}

/* === style.css === */

.pricing-card {
    background: #1A1A1A;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    min-height: 520px;
  }
  
  .plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    color: #FACC15;
  }
  
  .plan-price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #FACC15;
  }
  
  .duration {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FACC15;
  }
  
  .plan-features {
    font-size: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    color: #F2F2F2;
  }
  
  .plan-features li::before {
    content: "✔ ";
    color: #FACC15;
  }
  
  .joined {
    font-size: 0.875rem;
    margin-top: 0.75rem;
    color: #FACC15;
    font-weight: 500;
  }
  
  .actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-card {
    padding: 0.75rem;
    background: #FACC15;
    text-align: center; 
    color: black;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: background 0.2s ease;
    font-size: 1rem;
  }
  
  .btn-crypto {
    padding: 0.75rem;
    background: #4B5563;
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background 0.2s ease;
    font-size: 1rem;
  }
  
  .btn-card:hover, .btn-crypto:hover {
    filter: brightness(1.15);
  }
  
  /* Ribbons */
  .ribbon {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    position: absolute;
    top: 0.75rem;
  }
  
  .left-ribbon {
    left: 0.75rem;
    background: #FACC15;
    color: black;
  }
  
  .right-ribbon {
    right: 0.75rem;
    background: #DC2626;
    color: white;
  }
  
  .border-gold {
    border: 1px solid #FACC15;
  }
  
/* === HOW TO BUY === */

#how-to-buy {
    padding: 2rem 1rem;
    background-color: #0A0A0A;
    color: #F2F2F2;
  }
  
  .howtab {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    background: #4B5563;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: background 0.2s;
  }
  
  .howtab.active-tab {
    background: #E50914;
    color: white;
  }
  
  #howTabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0 2rem;
  }
  
  /* Слайдер */
  #card-swiper {
    position: relative;
    overflow: visible;
    max-width: 640px;
    margin: 0 auto;
    min-height: 480px;
  }
  
  .card-slide {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    width: 100%;
    transition: all 0.3s ease;
  }
  
  .card-slide img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 0.75rem;
    margin-top: 1rem;
  }
  
  /* Стрелки */
  .card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background-color: #0A0A0A;
  border: 2px solid #FACC15;
  color: #FACC15;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
#card-left {
  left: 0.5rem;
}
#card-right {
  right: 0.5rem;
}

@media (max-width: 768px) {
  #card-left {
    left: 0.5rem;
  }
  #card-right {
    right: 0.5rem;
  }
}
  
  /* Точки */
  #howDots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  #howDots button {
    width: 10px;
    height: 10px;
    background: #4B5563;
    border-radius: 50%;
    transition: background 0.3s;
  }
  #howDots button.bg-red-600 {
    background: #E50914;
  }
  
  /* Белая рамка для текста шагов */
  .how-step-desc {
    border: 1px solid white;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }


 /* Контейнер ленты */
#testimonials {
  overflow: hidden;
  position: relative;
}

/* Трек с отзывами */
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Каждая карточка */
.testimonial-card {
  background: #1A1A1A;
  color: white;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  white-space: normal;
}

/* === FAQ SECTION === */
#faq {
    background-color: #0A0A0A;
    color: #F2F2F2;
    padding: 4rem 1rem;
  }
  
  .faq-item {
    border: 1px solid #2C2C2C;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .faq-question {
    background-color: #1A1A1A;
    color: #F2F2F2;
    padding: 1rem 1.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease;
  }
  
  .faq-question:hover {
    background-color: #2A2A2A;
  }
  
  .faq-question span.text-white {
    color: #F2F2F2;
  }
  
  .faq-toggle {
    color: #F2F2F2;
    transition: transform 0.2s ease;
  }
  
  .faq-item.active .faq-toggle {
    transform: rotate(45deg);
  }
  
  .faq-answer {
    background-color: #121212;
    padding: 1rem 1.5rem;
    display: none;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #CCCCCC;
  }
  
  .faq-answer.show {
    display: block;
  }
  
  @media (max-width: 768px) {
    .faq-question {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
  
    .faq-toggle {
      align-self: flex-end;
    }
  }
  
