﻿/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: url("../images/bg/information_bg.jpg") center center no-repeat;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 600px;
    position: relative;
    color: #fff; /* Белый текст */
    font-family: Arial, sans-serif;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
	transition: color 0.3s ease, transform 0.3s ease; /* Плавный переход для цвета и вращения */
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
	transform: rotate(360deg); /* Поворот на 360 градусов */
}


/* Стиль для изображения */
.center-image {
    display: block;
    margin: 15px auto; /* Центрирование и отступы */
    max-width: 200px; /* Укажи нужный размер */
    height: auto;
    border-radius: 5px; /* Скругление углов, если нужно */
}

.promo-text-d_s {
  width: 100%;
  font-family: "Gilroy";
  font-weight: 400;
  color: #8b8b8b;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px; /* Добавлен отступ снизу */
}

.promo-text-d_l {
  width: 100%;
  font-family: "Gilroy";
  font-weight: 700;
  color: #ffffff;
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px; /* Добавлен отступ снизу */
}

.promo-text-d_xl {
  width: 100%;
  font-family: "Gilroy";
  font-weight: 800;
  color: #ffffff;
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px; /* Добавлен отступ снизу */
}


.modal-body {
    text-align: center;
}

.main-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.subtitle {
    font-size: 18px;
    color: #ffd700; /* Золотистый цвет */
    margin-bottom: 5px;
}

.description {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}

.download-section {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
}

.section-block {
    flex: 1;
    padding: 10px;
    border: 1px solid #ffd700; /* Золотистая рамка */
    border-radius: 5px;
    background-color: transparent;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #ffd700; /* Золотистый фон кнопки */
    color: #1a2526; /* Тёмный текст для контраста */
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #ffc107; /* Более светлый оттенок при наведении */
}

.section-block::before,
.section-block::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid #ffd700;
}

.section-block::before {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.section-block::after {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.alternative-title {
    margin-top: 20px;
}


/* Стиль кнопки */
.circle-button-dw {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px; /* Увеличим ширину для текста и иконки */
    height: 50px;
    border-radius: 10px; /* Уменьшен с 50px, как в оригинале */
    border: 1px solid #3c3c3b;
    box-shadow: 0 0 1px 0px #3c3c3b inset, 0 0 1px 0px #3c3c3b;
    position: relative;
    text-decoration: none;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold; /* Текст жирный */
    overflow: hidden; /* Чтобы псевдоэлемент не вылезал за границы */
    padding: 0 10px; /* Отступы слева и справа по 15px */
    margin: 0 5px; /* Добавляем внешний отступ слева и справа по 10px */
}

/* Остальной код остается без изменений */
.circle-button-dw:after {
    content: '';
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: 8px; /* Чуть меньше радиуса кнопки */
    background: #3c3c3b;
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 1;
    -webkit-transition: background .3s ease-in-out;
    -o-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

/* Эффект при наведении */
.circle-button-dw:hover:after {
    background: #61615f;
}

/* Эффект при наведении */
.circle-button-dw:hover:after {
    background: #61615f;
}

.circle-button-dw:hover {
    color: #FFA500; /* Меняем цвет текста при наведении */
}

/* Стиль для изображения */
.circle-button-dw img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    z-index: 2; /* Иконка поверх фона */
}

/* Стиль для текста */
.circle-button-dw span {
    position: relative;
    z-index: 2; /* Текст поверх фона */
    line-height: 1;
}
