*, *::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Crimson Text', serif;
  color: #000;
  background: linear-gradient(90deg, #2a0a67, #005282, #127546);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.dfg_header__main-section {
  width: 100%;
  min-height: 60vh;
  background-image: url('../dfg-img/dfg-bg-img-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.dfg_header__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

.dfg_header__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dfg_header__top {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  width: 100%;
  height: 100px;
  position: relative;
}

.dfg_header__middle {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 860px;
  width: 100%;
  height: 100px;
  position: relative;
}

.dfg_header__logo-link {
  display: inline-block;
}

.dfg_header__logo-img {
  width: 120px;
  height: auto;
}

.dfg_header__nav-list {
  list-style: none;
  display: flex;
  gap: 30px;
}

.dfg_header__nav-list li a {
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: bold;
  color: #ffffff;
  transition: opacity 0.3s ease;
}

.dfg_header__nav-list li a:hover {
  opacity: 0.7;
}

.dfg_header__site-name {
  font-family: 'Alegreya SC', serif;
  font-size: 1.2rem;
  color: #ffffff;
  white-space: nowrap;
}

.dfg_header__burger {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
}

.dfg_header__burger-icon,
.dfg_header__burger-close {
  display: none;
}

.dfg_header__bottom {
  text-align: center;
  padding: 60px 20px;
}

.dfg_header__title {
  font-family: 'Alegreya SC', serif;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.dfg_header__description {
  font-size: 1.2rem;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
  min-height: 60px;
}

@media (max-width: 768px) {
  .dfg_header__nav {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    height: 100%;
    transition: left 0.3s ease-in-out;
    z-index: 995;
  }

  .dfg_header__nav.active {
    top: 0;
    left: 0;
  }

  .dfg_header__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 125px;
  }

  .dfg_header__nav-list li a {
    font-size: 1.2rem;
  }

  .dfg_header__burger {
    display: block;
  }

  .dfg_header__burger-icon {
    display: block;
  }

  .dfg_header__burger-close {
    display: none;
  }

  .dfg_header__burger.active .dfg_header__burger-icon {
    display: none;
  }

  .dfg_header__burger.active .dfg_header__burger-close {
    position: relative;
    display: block;
    z-index: 996;
    top: -250px;
  }
}

@media (max-width: 480px) {
  .dfg_header__top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .dfg_header__title {
    font-size: 2rem;
  }

  .dfg_header__description {
    font-size: 1rem;
  }
}

.dfg_welcome__main-section {
  width: 100%;
  min-height: 100vh;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}

.dfg_welcome__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.dfg_welcome__content {
  text-align: center;
  color: #ffffff;
  padding: 60px 20px;
}

.dfg_welcome__title {
  font-family: 'Alegreya SC', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.dfg_welcome__description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  min-height: 60px;
}

.dfg_welcome__cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.dfg_welcome__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  width: 280px;
  transition: transform 0.3s ease;
}

.dfg_welcome__card:hover {
  transform: translateY(-10px);
}

.dfg_welcome__icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.dfg_welcome__card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.dfg_welcome__card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.dfg_welcome__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  color: #005282;
  padding: 15px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  width: fit-content;
  margin-top: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dfg_welcome__button:hover {
  background-color: #005282;
  color: #ffffff;
}

.dfg_welcome__button-icon {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.dfg_welcome__button:hover .dfg_welcome__button-icon {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .dfg_welcome__title {
    font-size: 2.2rem;
  }

  .dfg_welcome__description {
    font-size: 1rem;
  }

  .dfg_welcome__card h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .dfg_welcome__card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .dfg_welcome__title {
    font-size: 2rem;
  }

  .dfg_welcome__description {
    font-size: 0.95rem;
  }

  .dfg_welcome__card h3 {
    font-size: 1.1rem;
  }

  .dfg_welcome__button {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}

.dfg_about__main-section {
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(90deg, #ffffff, #f5f7fa);
  color: #000;
}

.dfg_about__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
}

.dfg_about__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.dfg_about__text-block {
  flex: 1;
  min-height: 200px;
}

.dfg_about__title {
  font-family: 'Alegreya SC', serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.dfg_about__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  min-height: 120px;
}

.dfg_about__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #005282;
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  width: fit-content;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dfg_about__button:hover {
  background-color: #003d60;
}

.dfg_about__button-icon {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.dfg_about__button:hover .dfg_about__button-icon {
  transform: translateX(5px);
}

.dfg_about__image-block {
  flex: 1;
  position: relative;
}

.dfg_about__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .dfg_about__title {
    font-size: 2rem;
  }

  .dfg_about__description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .dfg_about__content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .dfg_about__text-block {
    order: 2;
  }

  .dfg_about__image-block {
    order: 1;
    margin-bottom: 30px;
  }
}

.dfg_game__main-section {
  width: 100%;
  padding: 100px 0;
  background: linear-gradient(90deg, #2a0a67, #005282, #127546);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: #ffffff;
}

.dfg_game__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
}

.dfg_game__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  position: relative;
}

.dfg_game__left-block {
  flex: 1;
  position: relative;
  top: 20px;
}

.dfg_game__right-block {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 16px;
  position: relative;
  top: -20px;
}

.dfg_game__title {
  font-family: 'Alegreya SC', serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.dfg_game__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  min-height: 100px;
}

.dfg_game__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  color: #005282;
  padding: 15px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  width: fit-content;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dfg_game__button:hover {
  background-color: #003d60;
  color: #ffffff;
}

.dfg_game__button-icon {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.dfg_game__button:hover .dfg_game__button-icon {
  transform: translateX(5px);
}

.dfg_game__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .dfg_game__title {
    font-size: 2rem;
  }

  .dfg_game__description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .dfg_game__content {
    flex-direction: column;
  }

  .dfg_game__left-block,
  .dfg_game__right-block {
    top: 0;
    width: 100%;
  }

  .dfg_game__right-block {
    padding: 30px;
  }
}

.dfg_whychoose__main-section {
  width: 100%;
  min-height: 100vh;
  background-image: url('../dfg-img/dfg-bg-img-3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  position: relative;
}

.dfg_whychoose-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.dfg_whychoose__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.dfg_whychoose__content {
  text-align: center;
  color: #ffffff;
}

.dfg_whychoose__title {
  font-family: 'Alegreya SC', serif;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.dfg_whychoose__cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.dfg_whychoose__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  width: 320px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center;
}

.dfg_whychoose__card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.dfg_whychoose__icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.dfg_whychoose__card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.dfg_whychoose__card-description {
  font-size: 1rem;
  line-height: 1.5;
  min-height: 90px;
}

@media (max-width: 1024px) {
  .dfg_whychoose__title {
    font-size: 2.2rem;
    margin-bottom: 50px;
  }

  .dfg_whychoose__card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .dfg_whychoose__card {
    width: 100%;
  }
}

.dfg_reviews__main-section {
  width: 100%;
  padding: 100px 0;
  background-color: #f5f7fa;
  color: #000;
}

.dfg_reviews__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
}

.dfg_reviews__title {
  font-family: 'Alegreya SC', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
}

.dfg_reviews__cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.dfg_reviews__card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px;
  width: 280px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dfg_reviews__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.dfg_reviews__user-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #005282;
}

.dfg_reviews__user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.dfg_reviews__user-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.dfg_reviews__user-location {
  font-size: 0.9rem;
  color: #666;
}

.dfg_reviews__rating {
  color: #facc15;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.dfg_reviews__text {
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 100px;
}

@media (max-width: 1024px) {
  .dfg_reviews__title {
    font-size: 2.2rem;
    margin-bottom: 50px;
  }

  .dfg_reviews__card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .dfg_reviews__card {
    width: 100%;
  }
}

.dfg_faq_contact__main-section {
  width: 100%;
  padding: 100px 0;
  background-color: #ffffff;
  color: #000;
}

.dfg_faq_contact__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
}

.dfg_faq_contact__blocks {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.dfg_faq_contact__faq-block {
  flex: 1;
  max-width: 585px;
  width: 100%;
}

.dfg_faq_contact__title,
.dfg_faq_contact__form-title {
  font-family: 'Alegreya SC', serif;
  font-size: 2.5rem;
  text-align: left;
  margin-bottom: 40px;
}

.dfg_faq_contact__faq-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.dfg_faq_contact__faq-card {
  background-color: #f0f4f8;
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dfg_faq_contact__faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.dfg_faq_contact__faq-icon {
  color: #005282;
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}

.dfg_faq_contact__faq-card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.dfg_faq_contact__faq-card-description {
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 70px;
}

.dfg_faq_contact__form-block {
  flex: 1;
  max-width: 645px;
  width: 100%;
  background-color: #f8fbff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.dfg_faq_contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dfg_faq_contact__input-wrapper {
  display: flex;
  flex-direction: column;
}

.dfg_faq_contact__label {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.dfg_faq_contact__error-message {
  font-size: 0.85rem;
  color: red;
  height: 16px;
  margin-top: 4px;
  display: block;
}

.dfg_faq_contact__form input,
.dfg_faq_contact__form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.dfg_faq_contact__form input:focus,
.dfg_faq_contact__form textarea:focus {
  border-color: #005282;
  outline: none;
}

.dfg_faq_contact__checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.dfg_faq_contact__checkbox-label {
  font-size: 0.95rem;
}

.dfg_faq_contact__submit-button {
  background-color: #005282;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dfg_faq_contact__submit-button:hover {
  background-color: #003d60;
  transform: scale(1.03);
}

.dfg_faq_contact__submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dfg_modal_success {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.dfg_modal_success-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.6s ease-out;
}

.dfg_modal_success-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #005282;
}

.dfg_modal_success-title {
  font-family: 'Alegreya SC', serif;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.dfg_modal_success-text {
  font-size: 1rem;
  line-height: 1.5;
}

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

@media (max-width: 1024px) {
  .dfg_faq_contact__title,
  .dfg_faq_contact__form-title {
    font-size: 2.2rem;
  }

  .dfg_faq_contact__faq-card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .dfg_faq_contact__blocks {
    flex-direction: column;
    align-items: center;
  }

  .dfg_faq_contact__faq-block,
  .dfg_faq_contact__form-block {
    width: 100%;
  }
}

.dfg_responsible_warning__main-section {
  width: 100%;
  padding: 80px 0;
  background-color: #ffffff;
  color: #000;
}

.dfg_responsible_warning__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
}

.dfg_responsible_warning__blocks {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.dfg_responsible_warning__block {
  flex: 1;
  max-width: 630px;
  width: 100%;
  background-color: #f0f4f8;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dfg_responsible_warning__block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.dfg_responsible_warning__block--responsible {
  background-color: #e3f2fd;
}

.dfg_responsible_warning__block--warning {
  background-color: #ffebee;
}

.dfg_responsible_warning__icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #005282;
}

.dfg_responsible_warning__title {
  font-family: 'Alegreya SC', serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.dfg_responsible_warning__description {
  font-size: 1rem;
  line-height: 1.6;
  min-height: 90px;
}

@media (max-width: 768px) {
  .dfg_responsible_warning__blocks {
    flex-direction: column;
    align-items: center;
  }
}

.dfg_footer_responsible__main-section {
  width: 100%;
  padding: 60px 0;
  background-color: #1b1b1b;
  color: #ffffff;
}

.dfg_footer_responsible__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
}

.dfg_footer_responsible__content {
  text-align: center;
  position: relative;
}

.dfg_footer_responsible__title {
  font-family: 'Alegreya SC', serif;
  font-size: 2.2rem;
  background: linear-gradient(90deg, #facc15, #ff69b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  display: inline-block;
}

.dfg_footer_responsible__icon-left,
.dfg_footer_responsible__icon-right {
  font-size: 1.5rem;
  color: #facc15;
  margin: 0 10px;
  vertical-align: middle;
}

.dfg_footer_responsible__description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  min-height: 80px;
}

.dfg_footer__main-footer {
  width: 100%;
  background-color: #121212;
  color: #ffffff;
  padding: 60px 0 40px;
}

.dfg_footer__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
}

.dfg_footer__top {
  border-top: 3px solid #facc15;
  padding-top: 30px;
  margin-bottom: 40px;
}

.dfg_footer__partners {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dfg_footer__partners img {
  background: rgba(255, 255, 255, 0.5);
  padding: 0.3rem;
  border-radius: 1rem;
  transition: filter 0.3s ease;
}

.dfg_footer__partners img:hover {
  filter: brightness(1.3);
}

.dfg_footer__middle {
  margin-bottom: 30px;
}

.dfg_footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
}

.dfg_footer__links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  transition: color 0.3s ease;
}

.dfg_footer__links li a:hover {
  color: #005282;
}

.dfg_footer__bottom {
  text-align: center;
}

.dfg_footer__copyright {
  font-size: 0.95rem;
  color: #aaaaaa;
}

@media (max-width: 768px) {
  .dfg_footer_responsible__title {
    font-size: 1.8rem;
  }

  .dfg_footer_responsible__description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .dfg_footer_responsible__title {
    font-size: 1.6rem;
  }

  .dfg_footer_responsible__icon-left,
  .dfg_footer_responsible__icon-right {
    font-size: 1.2rem;
  }

  .dfg_footer__links {
    justify-content: center;
  }

  .dfg_footer__partners {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.dfg_age__modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
}

.dfg_age__modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.6s ease-out;
}

.dfg_age__modal-title {
  font-family: 'Alegreya SC', serif;
  font-size: 2rem;
  color: #005282;
  margin-bottom: 20px;
}

.dfg_age__modal-description {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 30px;
}

.dfg_age__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dfg_age__accept-btn {
  background-color: #005282;
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dfg_age__accept-btn:hover {
  background-color: #003d60;
}

.dfg_age__decline-btn {
  background-color: transparent;
  color: #005282;
  border: 2px solid #005282;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dfg_age__decline-btn:hover {
  background-color: #005282;
  color: #ffffff;
}

.dfg_cookie__modal {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1b1b1b;
  color: #ffffff;
  z-index: 9998;
  padding: 20px;
  text-align: center;
}

.dfg_cookie__modal-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1328px;
  margin: 0 auto;
  gap: 15px;
}

.dfg_cookie__modal-text {
  font-family: 'Crimson Text', serif;
  font-size: 0.95rem;
  min-height: 40px;
  flex: 1;
  text-align: left;
}

.dfg_cookie__link {
  color: #facc15;
  text-decoration: underline;
  font-weight: bold;
}

.dfg_cookie__accept-btn {
  background-color: #facc15;
  color: #000;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dfg_cookie__accept-btn:hover {
  background-color: #e6b800;
}

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

@media (max-width: 768px) {
  .dfg_age__modal-content {
    padding: 30px 20px;
  }

  .dfg_age__modal-title {
    font-size: 1.6rem;
  }

  .dfg_age__modal-description {
    font-size: 0.9rem;
  }

  .dfg_cookie__modal-text {
    font-size: 0.85rem;
    text-align: center;
  }

  .dfg_cookie__accept-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

.dfgpage_cookie__main-header {
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(90deg, #ffffff, #f5f7fa);
  color: #000;
}

.dfgpage_cookie__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
}

.dfgpage_cookie__title {
  font-family: 'Alegreya SC', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

.dfgpage_cookie__content-section {
  width: 100%;
  padding: 60px 0;
  background-color: #ffffff;
  color: #000;
}

.dfgpage_cookie__article {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dfgpage_cookie__block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  background-color: #f0f4f8;
  transition: background-color 0.3s ease;
}

.dfgpage_cookie__block:hover {
  background-color: #e3f2fd;
}

.dfgpage_cookie__icon {
  font-size: 1.8rem;
  color: #005282;
}

.dfgpage_cookie__subtitle {
  font-family: 'Alegreya SC', serif;
  font-size: 1.4rem;
  margin: 0;
}

.dfgpage_cookie__text {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 80px;
}

@media (max-width: 1024px) {
  .dfgpage_cookie__title {
    font-size: 2.2rem;
  }

  .dfgpage_cookie__subtitle {
    font-size: 1.2rem;
  }

  .dfgpage_cookie__text {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .dfgpage_cookie__main-header {
    padding: 60px 0;
  }

  .dfgpage_cookie__content-section {
    padding: 40px 0;
  }

  .dfgpage_cookie__block {
    padding: 15px;
  }

  .dfgpage_cookie__icon {
    font-size: 1.5rem;
  }
}

.dfgpage_privacy__main-header {
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(90deg, #ffffff, #f5f7fa);
  color: #000;
}

.dfgpage_privacy__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 20px;
}

.dfgpage_privacy__title {
  font-family: 'Alegreya SC', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

.dfgpage_privacy__content-section {
  width: 100%;
  padding: 60px 0;
  background-color: #ffffff;
  color: #000;
}

.dfgpage_privacy__article {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dfgpage_privacy__block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  background-color: #f0f4f8;
  transition: background-color 0.3s ease;
}

.dfgpage_privacy__block:hover {
  background-color: #e3f2fd;
}

.dfgpage_privacy__icon {
  font-size: 1.8rem;
  color: #005282;
}

.dfgpage_privacy__subtitle {
  font-family: 'Alegreya SC', serif;
  font-size: 1.4rem;
  margin: 0;
}

.dfgpage_privacy__text {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 80px;
}

@media (max-width: 1024px) {
  .dfgpage_privacy__title {
    font-size: 2.2rem;
  }

  .dfgpage_privacy__subtitle {
    font-size: 1.2rem;
  }

  .dfgpage_privacy__text {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .dfgpage_privacy__main-header {
    padding: 60px 0;
  }

  .dfgpage_privacy__content-section {
    padding: 40px 0;
  }

  .dfgpage_privacy__block {
    padding: 15px;
  }

  .dfgpage_privacy__icon {
    font-size: 1.5rem;
  }
}