/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: white;
  background-color: #1d222f;
}

/* Header Styles */
.header {
  background: #1d222f;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.main__logo {
  height: 40px;
  width: auto;
}

/* Navigation - центрированная */
.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__checkbox {
  display: none;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__list a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav__list a:hover {
  color: #ffd700;
}

/* Header Buttons - сдвинуты правее */
.header__buttons {
  display: flex;
  gap: 1rem;
  margin-left: auto;
  margin-right: 0;
}

.header__button {
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 120px;
  text-align: center;
}

.header__button--login {
  background: transparent;
  color: white;
  border: 2px solid #00d4aa;
  position: relative;
}

.header__button--login:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: #00d4aa;
  transform: translateY(-1px);
}

.header__button--signup {
  background: #ffd700;
  color: #1a1a2e;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.header__button--signup:hover {
  background: #ffed4e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.header__button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.3);
}

.header__button--signup:focus {
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

/* Banner */
.banner__container {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.main__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.main__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(26,26,46,0.8) 0%, rgba(22,33,62,0.6) 100%);
}

.banner__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.banner__title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner__subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffd700;
}

.banner__description {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Main Content */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.section {
  background: #2a3441;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border: 1px solid #3a4552;
}

.section__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #ffd700;
  padding-bottom: 0.5rem;
}

.section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffd700;
  margin: 2rem 0 1rem 0;
}

.section h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffd700;
  margin: 1.5rem 0 1rem 0;
}

.section__paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
}

/* Lists */
.section__list, .advantages-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.section__list li, .advantages-list li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.steps-list {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
}

.steps-list li {
  counter-increment: step-counter;
  margin-bottom: 1rem;
  padding-left: 3rem;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: #ffd700;
  color: #1a1a2e;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Info Boxes */
.advantages-box, .info-highlight {
  background: linear-gradient(135deg, #3a4552 0%, #2a3441 100%);
  border-left: 4px solid #ffd700;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  border: 1px solid #4a5568;
}

.advantages-box h4, .info-highlight h4 {
  color: #ffd700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
}

.promo-table {
  width: 100%;
  border-collapse: collapse;
  background: #2a3441;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  border: 1px solid #3a4552;
}

.promo-table th {
  background: #1d222f;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.promo-table td {
  padding: 1rem;
  border-bottom: 1px solid #3a4552;
  color: #e0e0e0;
}

.promo-table tr:hover {
  background: #3a4552;
}

/* CTA Buttons */
.cta-button-wrapper {
  text-align: center;
  margin: 2rem 0;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26,26,46,0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26,26,46,0.4);
}

.cta-button--pulse {
  animation: pulse 2s infinite;
}

.cta-button--filled {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(26,26,46,0.3);
}

.cta-button--filled:hover {
  box-shadow: 0 6px 20px rgba(26,26,46,0.4);
}

.cta-button--large {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* FAQ Section */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  background: #2a3441;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border-left: 4px solid #ffd700;
  border: 1px solid #3a4552;
}

.faq-item h4 {
  color: #ffd700;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.faq-item p {
  color: #e0e0e0;
  line-height: 1.6;
}

/* FAQ Accordion Styles */
.faqs-section {
  margin: 2rem 0;
}

.faq {
  background: #2a3441;
  margin-bottom: 1rem;
  border-radius: 8px;
  border-left: 4px solid #ffd700;
  overflow: hidden;
  border: 1px solid #3a4552;
}

.question-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: #3a4552;
  border-bottom: 1px solid #4a5568;
  transition: background-color 0.3s ease;
}

.question-wrapper:hover {
  background: #4a5568;
}

.question {
  font-weight: 600;
  color: white;
  font-size: 1.1rem;
}

.arrow {
  color: #ffd700;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq[open] .arrow {
  transform: rotate(180deg);
}

.answer-wrapper {
  padding: 0 1.5rem 1.5rem;
}

.answer {
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 15px;
  text-align: center;
  margin: 3rem 0;
}

.final-cta h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: #212529;
  color: white;
  padding: 2rem 0 0;
  margin-top: 4rem;
  margin-bottom: 0;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Download Section */
.footer__downloads {
  text-align: center;
  margin-bottom: 2rem;
}

.download__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.download__button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
}

.download__button:hover {
  background: #333;
  transform: translateY(-2px);
}

.download__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.download__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download__title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.download__platform {
  font-size: 0.8rem;
  opacity: 0.8;
  line-height: 1.2;
}

.download__note {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.5rem;
}

/* Game Providers Section */
.footer__providers {
  margin-bottom: 2rem;
}

.providers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.provider__logo {
  background: #333;
  color: #999;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
}

.provider__logo:hover {
  background: #444;
  color: #ccc;
}

/* Payment, Language, Age Section */
.footer__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  flex-wrap: wrap;
  gap: 2rem;
}

.info__left, .info__center, .info__right {
  flex: 1;
  min-width: 200px;
}

.payment__methods {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.crypto__logos {
  display: flex;
  gap: 0.5rem;
}

.crypto__logo {
  width: 24px;
  height: 24px;
  filter: grayscale(100%);
  opacity: 0.7;
}

.crypto__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.crypto__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
}

.crypto__rates {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.crypto__rates span {
  font-size: 0.7rem;
  color: #999;
}

.language__selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #333;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 150px;
  margin: 0 auto;
  text-decoration: none;
  color: white;
}

.language__selector:hover {
  background: #444;
  color: white;
}

.language__flag {
  background: #dc3545;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.language__text {
  font-size: 0.9rem;
  font-weight: 500;
}

.language__arrow {
  margin-left: auto;
  opacity: 0.7;
}

.age__restriction {
  display: flex;
  justify-content: center;
}

.age__circle {
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}



/* Responsive Design */
@media (max-width: 1024px) {
  .download__buttons {
    gap: 0.75rem;
  }
  
  .download__button {
    min-width: 180px;
    padding: 0.9rem 1.2rem;
  }
  
  .providers__grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  
  .footer__info {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header__container {
    flex-wrap: nowrap; /* Убираем перенос элементов на новую строку */
    justify-content: space-between;
    padding: 0.5rem 1rem;
  }

  .logo__link {
    order: 2;
    flex-grow: 1;
    text-align: center;
  }

  .main__logo {
    height: 35px; /* Немного уменьшаем логотип для мобильных */
  }

  .nav {
    order: 1;
    position: static;
    transform: none;
    left: auto;
    flex-grow: 0;
    display: flex;
    align-items: center;
  }
  
  .nav__toggle {
    display: block;
    font-size: 1.8rem;
    padding: 0.2rem;
  }
  
  .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1d222f;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .nav__checkbox:checked ~ .nav__list {
    display: flex;
  }
  
  .header__buttons {
    order: 3;
    flex-direction: row;
    gap: 0.4rem; /* Уменьшаем отступ между кнопками */
    margin-left: 0;
    margin-right: 0;
    flex-shrink: 0; /* Запрещаем кнопкам сжиматься */
    align-items: center;
  }
  
  .header__button {
    padding: 0.4rem 0.7rem; /* Уменьшаем внутренние отступы */
    font-size: 0.75rem; /* Уменьшаем размер шрифта */
    min-width: 70px; /* Уменьшаем минимальную ширину */
    white-space: nowrap; /* Запрещаем перенос текста */
  }
  
  .banner__title {
    font-size: 2.5rem;
  }
  
  .banner__subtitle {
    font-size: 1.1rem;
  }
  
  .banner__description {
    font-size: 1rem;
  }
  
  .section {
    padding: 1.5rem;
  }
  
  .section__title {
    font-size: 1.8rem;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .table-responsive {
    font-size: 0.9rem;
  }
  
  .promo-table th,
  .promo-table td {
    padding: 0.5rem;
  }
  
  .final-cta h3 {
    font-size: 2rem;
  }
  
  .final-cta p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .header__container {
    padding: 0 0.5rem;
  }
  
  .header__buttons {
    flex-direction: row;
    gap: 0.3rem;
  }
  
  .header__button {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    min-width: 80px;
  }
  
  .banner__title {
    font-size: 2rem;
  }
  
  .banner__subtitle {
    font-size: 1rem;
  }
  
  .banner__description {
    font-size: 0.9rem;
  }
  
  .section {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .section__title {
    font-size: 1.5rem;
  }
  
  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .cta-button--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .question-wrapper {
    padding: 1rem;
  }
  
  .answer-wrapper {
    padding: 0 1rem 1rem;
  }
  
  .main {
    padding: 1rem 0.5rem;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Footer Mobile Styles */
  .download__buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .download__button {
    min-width: 250px;
    justify-content: center;
  }
  
  .providers__grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
  }
  
  .provider__logo {
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
  }
  
  .footer__info {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .info__left, .info__center, .info__right {
    min-width: auto;
    width: 100%;
  }
  
  .payment__methods {
    justify-content: center;
  }
  
  .language__selector {
    max-width: 200px;
  }
  
  
  
  /* Extra small screens */
  .download__button {
    min-width: 200px;
    padding: 0.75rem 1rem;
  }
  
  .providers__grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  
  .provider__logo {
    font-size: 0.6rem;
    padding: 0.4rem 0.5rem;
  }
  
}