/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    /* Градиентный фон в фиолетовых тонах */
    background-image: linear-gradient(
        135deg, 
        rgba(106, 27, 154, 0.8) 0%, /* Темно-фиолетовый [[1]] */
        rgba(206, 147, 216, 0.8) 100% /* Светло-фиолетовый [[3]] */
    );
    /* Фиолетовый контур через псевдоэлемент */
    position: relative;
    border: none; /* Убираем старую границу */
    box-sizing: border-box;
    min-height: 60px;
    backdrop-filter: blur(5px); /* Сохраняем размытие [[8]] */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Контур через псевдоэлемент */
.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid; 
    border-image: linear-gradient(
        45deg,
        #6a1b9a, 
        #ce93d8
    ) 1; /* Градиентная граница [[5]][[10]] */
    pointer-events: none; /* Не мешает кликам */
}

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

/* Базовый стиль кнопки */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem; /* Внутренние отступы */
    border: none; /* Убираем границу */
    border-radius: 5px; /* Скругление углов */
    cursor: pointer; /* Указатель в виде руки */
    text-decoration: none; /* Убираем подчеркивание текста */
    color: #000; /* Белый текст */
    font-weight: bold; /* Жирный шрифт */
    transition: all 0.3s ease; /* Плавные переходы */
    text-align: center;
    text-transform: uppercase; /* Все буквы заглавные */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Мягкая тень */
}

/* Стиль кнопки регистрации */
.btn-register {
    background: #8A2BE2; /* Прозрачный фиолетовый фон */
    backdrop-filter: blur(10px); /* Размытие фона */
    border: 1px solid rgba(128, 0, 128, 0.5); /* Тонкий фиолетовый контур */
}

/* Эффект при наведении */
.btn-register:hover {

    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Усиленная тень */
    transform: scale(1.05); /* Небольшое увеличение */
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .btn {
        padding: 0.5rem 1rem; /* Уменьшаем отступы */
        font-size: 14px; /* Уменьшаем размер текста */
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Table Section */
.table-section {
    padding: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background-color: #222;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem;
    background-color: #1e1e1e;
    margin-top: 2rem;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Кнопка скрыта по умолчанию */
    background: rgba(128, 0, 128, 0.1); /* Прозрачный фиолетовый фон */
    backdrop-filter: blur(10px); /* Размытие фона */
    border: 1px solid rgba(128, 0, 128, 0.5); /* Тонкий фиолетовый контур */
    border-radius: 15px; /* Скругление углов */
    padding: 0.5rem 1rem; /* Внутренние отступы */
    font-size: 1.2rem; /* Размер шрифта */
    color: #fff; /* Белый текст */
    cursor: pointer; /* Указатель мыши в виде руки */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06); /* Мягкая тень */
    transition: all 0.3s ease; /* Плавные переходы */
    text-decoration: none; /* Убираем подчеркивание текста */
}

/* Эффект при наведении */
#back-to-top:hover {
    background: rgba(128, 0, 128, 0.2); /* Усиление прозрачности фона */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Усиленная тень */
    transform: scale(1.05); /* Небольшое увеличение */
}
/* Блок контента с эффектом стекла */
.glass-block {
    display: block;
    position: relative;
    margin: 20px auto;
    padding: 30px;
    max-width: 900px; /* Максимальная ширина для десктопа */
    width: 100%; /* Занимает всю доступную ширину на мобильных устройствах */
    box-sizing: border-box;

    /* Фон с эффектом стекла */
    background: rgba(128, 0, 128, 0.1); /* Прозрачный фиолетовый фон */
    backdrop-filter: blur(10px); /* Размытие фона */
    border: 1px solid rgba(128, 0, 128, 0.5); /* Тонкий фиолетовый контур */
    border-radius: 15px; /* Скругление углов */

    /* Тень для эффекта глубины */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);

    /* Адаптация текста */
    color: #fff; /* Белый текст */
    font-size: 16px;
    line-height: 1.5;
    text-align: center;

    /* Плавные переходы */
    transition: all 0.3s ease;
}

/* Эффект при наведении */
.glass-block:hover {

    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15); /* Усиленная тень */
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .glass-block {
        padding: 20px; /* Уменьшаем отступы на мобильных устройствах */
        font-size: 14px; /* Уменьшаем размер текста */
    }
}
/* Контейнер для блока промокода */
.top_exc_st_id {
    display: flex;
    flex-direction: column; /* Элементы располагаются в столбик */
    align-items: center; /* Центрирование по горизонтали */
    margin: 20px auto;
    padding: 20px;
    max-width: 400px; /* Максимальная ширина контейнера */
    background: rgba(128, 0, 128, 0.1); /* Прозрачный фиолетовый фон */
    backdrop-filter: blur(10px); /* Размытие фона */
    border: 1px solid rgba(128, 0, 128, 0.5); /* Тонкий фиолетовый контур */
    border-radius: 10px; /* Скругление углов */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Мягкая тень */
}

/* Текст с призывом к действию */
.top_exc_st_id_title {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px; /* Отступ между текстом и полем */
}

/* Контейнер для поля ввода и кнопки */
.top_exc_st_id_b {
    display: flex; /* Элементы в одну строку */
    align-items: center; /* Выравнивание по центру */
    width: 100%;
}

/* Поле ввода промокода */
input.top_exc_st_id_input {
    flex: 1; /* Занимает всё доступное пространство */
    height: 40px;
    box-sizing: border-box;
    border: 1px solid #8b00ff; /* Яркий фиолетовый цвет границы */
    border-radius: 5px;
    background: #fff;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-right: 10px; /* Отступ между полем и кнопкой */
}

/* Кнопка "Скопировать" */
a.top_exc_st_id_sub {
    display: block;
    width: 40px; /* Увеличиваем ширину кнопки */
    height: 40px; /* Увеличиваем высоту кнопки */
    background: rgba(128, 0, 128, 0.2); /* Прозрачный фиолетовый фон */
    backdrop-filter: blur(10px); /* Размытие фона */
    border: 1px solid rgba(128, 0, 128, 0.7); /* Более яркий контур */
    border-radius: 50%; /* Круглая форма */
    cursor: pointer;
    transition: all 0.3s ease; /* Плавные переходы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Мягкая тень */
    background-image: url(copy.webp); /* Иконка "скопировать" */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px auto; /* Увеличенный размер иконки */
}

/* Эффект при наведении */
a.top_exc_st_id_sub:hover {

    transform: scale(1.1); /* Небольшое увеличение вместо вращения */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Усиленная тень */
}

/* Сообщение "Скопировано" */
.top_exc_st_id_copied {
    color: #fff;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    padding: 5px 0;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    background: rgba(128, 0, 128, 0.8); /* Фиолетовый фон */
    border-radius: 3px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 5px;
}

.top_exc_st_id_copied.show {
    display: block; /* Показываем сообщение */
}
.image-link {
    display: flex; /* Для растяжения [[3]] */
    justify-content: center; /* Центрирование содержимого */
    max-width: 900px; /* Ограничение ширины как в примере [[10]] */
    width: 100%; /* Занимает доступную ширину */
    position: relative;
    text-decoration: none;
    margin: 20px auto; /* Центрирование родительского контейнера */
    padding: 10px;
    background: rgba(128, 0, 128, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(128, 0, 128, 0.7);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-container {
    width: 100%; /* Растягиваем на всю ширину ссылки */
    height: auto;
    position: relative;
}

.image-container img {
    display: block;
    width: 100%; /* Полная ширина контейнера */
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Умеренное увеличение при наведении */
.image-link:hover {
    transform: scale(1.01); /* Уменьшенный масштаб [[5]][[8]] */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.image-link:hover img {
    transform: scale(1.05); /* Мягкий зум [[8]] */
}
/* Основной заголовок */
h1 {
    font-family: 'Arial', sans-serif; /* Резервный шрифт [[4]] */
    font-size: 2.5rem; /* Оптимальный размер для SEO [[2]] */
    color: #6a1b9a; /* Фиолетовый акцент */
    text-align: center; /* Центрирование текста */
    margin: 40px 0 20px; /* Отступы сверху/снизу */
    line-height: 1.2; /* Улучшенная читаемость */
    text-transform: uppercase; /* Заглавные буквы для стиля */
    position: relative; /* Для псевдоэлементов */
    transition: color 0.3s ease; /* Плавная смена цвета [[8]] */
}

/* Декоративная подчеркивающая линия */
h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff6d00, #6a1b9a);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Эффект при наведении */
h1:hover {
    color: #ff6d00; /* Оранжевый акцент */
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        margin: 30px 0 15px;
    }
}
/* Оформление контейнера навигации с прозрачным фоном */
    .nav-container {

      /* Убрали эффект стекла (backdrop-filter) */
      padding: 15px 0;
      border: 1px solid #6a1b9a; /* Тонкий фиолетовый контур */
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    /* Горизонтальное меню */
    .nav-menu {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .nav-menu li {
      margin: 0 15px;
    }
    
    .nav-menu li a {
      text-decoration: none;
      color: #fff; /* Белый цвет текста до наведения */
      padding: 8px 12px;
      font-family: 'Arial', sans-serif;
      font-size: 1rem;
      transition: background-color 0.3s ease, color 0.3s ease;
      border-radius: 4px;
    }
    
    .nav-menu li a:hover {
      color: #fff;
      background-color: #6a1b9a;
    }
    
    /* Вертикальное меню для мобильных устройств */
    @media (max-width: 768px) {
      .nav-menu {
        flex-direction: column;
      }
      
      .nav-menu li {
        margin: 10px 0;
      }
    }