/* ===================================
   Reset & Base Styles
=================================== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
}

body {
    background-color: #1a1a1a;
    overflow-x: hidden;
}

img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Центрирование контейнера для изображения */
.img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

/* Контейнер для кнопок */
.buttons-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn {
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    padding: 0.5em 1.2em;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
}

.btn--primary {
    background-color: #ffb805;
    color: #000000;
    border: 2px solid #ffb805;
}

.btn--primary:hover {
    background-color: #ffb805;
}

.btn--secondary {
    background-color: #017a2a;
    color: #000000;
    border: 2px solid #017a2a;
}

.btn--secondary:hover {
    background-color: #ffb805;
    color: #fff;
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header */
.header {
    background-color: #1a1a1a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-bottom: 2px solid #ffb805;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

/* Logo */
.logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

.logo-glow img {
    max-width: 180px;
    height: 36px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__logo img.age {
    width: 50px;
    height: auto;
    opacity: 0.8;
}

.footer__logo img.logo {
    width: 100px;
    height: auto;
}

/* Navigation */
.nav {
    display: flex;
    gap: 6px;
    justify-content: center;
    position: relative;
    background-color: #1a1a1a; /* ← замени на свой цвет сайта */
    opacity: 1; /* полностью непрозрачно */
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.nav__toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffb805;
    border-radius: 2px;
}

.button-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    background-color: #1a1a1a;
    padding: 0 5px;
    position: sticky;
    top: 40px;
    z-index: 998;
    flex-wrap: wrap;
    box-shadow: 0 2px 5px #1a1a1a;
}

.nav-button {
    background-color: #ffb805;
    color: #000;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-button:hover,
.nav-button.active {
    background-color: #fff;
    color: #000;
}

/* Mobile nav */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 24px 10px;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  
  .header__container {
    padding: 6px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100vh;
    background-color: #1a1a1a;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 80px 32px 32px 32px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.7);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__toggle {
    display: flex;
  }

  .nav__close {
    display: block;
  }

  .nav>.btn {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 16px;
    font-size: 1rem;
  }
  
  .nav .nav-button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 1rem;
    text-align: left;
  }
  table {
    overflow-x: auto;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 16px 10px;
  }

  .footer__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__nav {
    gap: 16px;
  }

  .faq-block {
    padding: 24px 10px 24px 10px;
  }

  .faq-item {
    padding: 14px 8px;
  }

  .faq-cta {
    font-size: 1rem;
    padding: 10px 4px;
  }
  .btn {
    font-size:1rem;
    margin-right:0px;
  }
}

@media (max-width: 400px) {

  .logo,
  .footer__logo {
    font-size: 1rem;
  }
}

h1 {
  font-size: 2rem;
  text-align: center;
  color: var(--color-white);
}

h2 {
  font-size: 1.5rem;
  color: var(--color-white);
}

h3 {
  font-size: 1.2rem;
  color: var(--color-white);
}

h4 {
  font-size: 1rem;
  color: var(--color-white);
}

.section img {
  height: auto;
  border-radius: 16px;
  margin-bottom: 10px;
  max-width:75%;
  margin:0 auto;
  display: block;
}
@media (max-width: 768px) {
  .section img {
    max-width: 100%;
  }
}


/* Main Content */
.main-content {
    padding: 50px 0;
}
.main-content section {
  margin-left: 10px;
  margin-right: 10px;
}

.section {
    margin-bottom: 20px;
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px #1a1a1a;
}

.section img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

/* Section actions */
.section__actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.neon-section {
    margin: 20px 10px;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #ffd700;
    box-shadow: 0 0 20px rgba(255,215,0,0.8);
    transition: 0.3s ease;
}

.neon-section:hover {
    box-shadow: 0 0 35px rgba(255,215,0,1);
    transform: translateY(-2px);
}

/* Headings */
h1, h2, h3 {
    margin-bottom: 15px;
    font-weight: 700;
}

h1 { font-size: 2rem; color: #ffffff; }
h2 { font-size: 1.75rem; color: #ffffff; }
h3 { font-size: 1.25rem; color: #ffffff; }
h4 { font-size: 1.25rem; color: #ffb805; }

/* Lists */
ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td, table th {
    padding: 12px 15px;
    border: 1px solid #ffb805;
    text-align: left;
}

table th {
    background-color: #1a1a1a;
    font-weight: 600;
}


/* Footer */
.footer { 
    background-color: #1a1a1a; 
    color: #ffb805; 
    padding: 30px 10px; 
    border-top: 2px solid #ffb805;
} 

.footer__container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
} 

.footer__logo img { 
    max-width: 100px; 
    margin-right: 10px; 
} 

.footer__nav { 
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap; 
} 

.footer__link { 
    color: #ffb805; 
    transition: color 0.3s ease; 
} 

.footer__link:hover { 
    color: #ffffff; 
}

/* FAQ */
.faq-block {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ffb805;
    padding-bottom: 10px;
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-weight: bold;
}

.faq-item.open .faq-question::after {
    content: '-';
}

.faq-answer {
    display: none;
    margin-top: 10px;
}

.faq-item.open .faq-answer {
    display: block;
}

/* Responsive Typography & Layout */



.faq-answer {
  display: none;
  padding: 10px 0;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-question {
  cursor: pointer;
  position: relative;
  padding-right: 25px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}