/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #f5f1e8; /* Бежевый фон */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #111;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 35px;
}

h3 {
  font-size: 1.5rem;
  margin-top: 30px;
}

p {
  margin-bottom: 20px;
  font-weight: 400;
}

ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 10px;
}

strong {
  font-weight: 600;
  color: #000;
}

em {
  font-style: italic;
  color: #666;
}

main img {
  width: 100%;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px; 
  align-items: center;
  margin-top: 10px;
}

.faq__card {
  border-radius: 30px;
  border: 3px solid #333;
  padding: 10px 15px;
  margin-bottom: 20px;
}

.faq__headline {
  margin: 0;
}

.faq__text {
  height: 0;
  overflow: hidden;
  margin: 0;
}

.faq__text--visible {
  height: max-content;
  padding-top: 8px;
  border-top: 2px solid #333;
  margin-top: 8px;
}

.hero {
  display: flex;
  flex-direction: row;
}

.hero > * {
  flex: 1;
}

.hero__buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 20px auto;
}

.hero__buttons-mobile {
  display: none;
}

.hero__button {
  height: 100%;
  border: none;
  background-color: #4a6895;
  color: white;
  border-radius: 25px;
  font-size: 2rem;
  padding: 0.8rem 1.3rem;
  transition: 0.15s ease-in-out;
}

.hero__button:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.hero__button:focus {
  transform: scale(1.05);
  opacity: 0.8;
}

.hero__image {
  width: 100%;
}

.hero__image img {
  border-radius: 10px
}

.hero__mobile-image {
  display: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header стилизация */
.header {
  background: #4a6895;
  color: #fff;
  padding: 15px 0;
  position: relative;
}

.logo {
  font-size: 24px;
  display: inline-block;
}

.nav {
  float: right;
}

.nav ul {
  list-style: none;
  margin: 0;
}

.nav ul li {
  display: inline-block;
  margin-left: 25px;
  margin-bottom: 0;
}

.nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 125%;
  margin: 0;
  padding: 0;
}

.nav ul li a:hover {
  color: #f39c12;
}

/* Burger icon */
.burger {
  display: none;
  position: absolute;
  top: 20px;
  right: 15px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin-bottom: 4px;
  transition: 0.3s ease;
}

/* Main Content */
.main-content {
  padding: 30px 0;
}

.welcome-bonus {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.welcome-bonus .welcome-bonus__text {
  flex: 2;
}

.welcome-bonus .welcome-bonus__image {
  flex: 1;
}

.hero,
.welcome-bonus {
  gap: 100px;
}

.welcome-bonus__links {
  width: 300px;
  gap: 0.5rem;
  display: flex;
  margin: 0 auto;
}

.welcome-bonus__links img {
  width: 100%;
}

.welcome-bonus__image img {
  border-radius: 30px;
  width: 100%;
}

/* Footer */
.footer {
  background: #333;
  color: #ccc;
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;
}

/* Адаптивность и бургер-меню */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    padding: 10px 0;
    text-align: center;
  }

  .nav ul li {
    display: block;
    margin: 10px 0;
  }

  .nav.active {
    display: block;
  }

  .hero,
  .welcome-bonus {
    flex-direction: column-reverse;
    align-items: center;
  }

  .hero__button {
    font-size: 20px;
  }
  .hero__image {
    display: none;
  }
  .hero__mobile-image {
    display: block;
    border-radius: 10px
  }
  .hero__mobile-image img {
    border-radius: 10px
  }

  .hero__buttons-mobile {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 20px auto;
  }
  .hero__buttons {
    display: none;
  }
}
