/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: url('https://i.ibb.co/SK2kSQL/image.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    position: relative;
    min-height: 100vh;
}

header {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    text-align: center;
}

header ul {
    list-style: none;
}

header ul li {
    display: inline-block;
    margin: 0 15px;
    position: relative;
}

header ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

/* Выпадающее меню */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: left;
    border-radius: 5px;
}

.dropdown-content li {
    padding: 10px;
}

.dropdown-content li a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.dropdown-content li a:hover {
    background-color: #00ffcc;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

main h1 {
    margin-bottom: 20px;
    font-size: 36px;
}

.connect-btn {
    padding: 15px 30px;
    background-color: #5cb85c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 20px;
    margin-top: 20px;
    display: inline-block;
}

/* Кнопка с картинкой для подачи заявки */
.apply-btn {
    display: block;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.apply-btn img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.apply-btn p {
    margin-top: 10px;
    font-size: 16px;
    color: #fff;
}

/* Стиль для большого окна с заявками */
.large-application-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный серый фон */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.form-content {
    background-color: rgba(255, 255, 255, 0.9); /* Серо-прозрачный фон */
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    margin: auto;
    position: relative;
    color: black;
}

.form-content h2 {
    margin-bottom: 20px;
}

.form-content ul {
    list-style: none;
    padding: 0;
}

.form-content ul li {
    margin: 10px 0;
}

.form-content ul li a {
    font-size: 20px;
    color: #000;
    text-decoration: none;
}

.form-content ul li a:hover {
    color: #00ffcc;
    text-decoration: underline;
}

/* Кнопка для закрытия окна */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/* Галерея кнопок */
.button-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.button-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.button-item:hover {
    transform: scale(1.1);
}

.button-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.button-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #fff;
}

/* Полупрозрачный разделитель */
.custom-separator {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.3);
    margin: 50px 0;
}

/* Социальные ссылки ниже разделителя */
.social-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 0;
    margin-bottom: 50px;
}

.social-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link i {
    font-size: 24px;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    text-align: center;
    position: relative;
    width: 100%;
}

/* Стили для формы поддержки */
.support-form-container {
    background: rgba(0, 0, 0, 0.7); /* Затемнённый фон */
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.support-form-container label {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    display: block;
}

.support-form-container input[type="text"],
.support-form-container input[type="email"],
.support-form-container input[type="file"],
.support-form-container select,
.support-form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
}

.support-form-container textarea {
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #4cae4c;
}

/* Стили для галереи крафтов */
.craft-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5%;
    margin-bottom: 50px;
}

.craft-item {
    width: 30%;
    margin-bottom: 20px;
    text-align: center;
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.craft-item:hover {
    transform: translateY(-5px);
}

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

.craft-info {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.craft-title {
    font-size: 18px;
    color: #00ffcc;
    margin-bottom: 5px;
}

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

.craft-details a {
    color: #00ffcc;
    text-decoration: none;
}

.craft-details a:hover {
    text-decoration: underline;
}

/* Стили для раздела о кастомных предметах */
.custom-items-gallery {
    display: none; /* Скрыто по умолчанию */
    justify-content: center; /* Выравнивание по центру */
    gap: 20px;
    margin-top: 20px;
    opacity: 0; /* Для плавного появления */
    transform: translateY(20px); /* Начальная позиция для анимации */
    transition: opacity 0.6s ease, transform 0.6s ease; /* Плавная анимация */
}

.custom-items-gallery.active {
    display: flex; /* Отображаем при активном состоянии */
    opacity: 1; /* Полностью видимое */
    transform: translateY(0); /* Возвращаем в исходную позицию */
}

.custom-item {
    text-align: center;
    flex-grow: 1;
    margin-bottom: 20px; /* Добавлен пробел между картинками и их описаниями */
}

.custom-item img {
    width: 100%; /* Сделаем изображения шире */
    height: auto;
    max-width: 400px; /* Увеличим максимальную ширину */
    object-fit: cover;
    border-radius: 10px;
}

.custom-item p {
    margin-top: 10px;
    font-size: 18px;
    color: #fff;
    font-weight: bold;
}

/* Текст про НПС */
.npc-info {
    margin-top: 20px;
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
}

/* Текст про видео, выровненный по центру */
.centered-text {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    color: rgba(173, 216, 230, 0.8); /* Светло-голубой с прозрачностью */
}

/* Стиль для YouTube ссылки с логотипом */
.youtube-link {
    display: inline-flex;
    align-items: center;
    color: rgba(173, 216, 230, 0.8); /* Светло-голубой с прозрачностью */
    font-weight: bold;
    text-decoration: none;
    gap: 10px; /* Расстояние между логотипом и текстом */
}

.youtube-link:hover {
    text-decoration: underline;
}

.youtube-logo {
    width: 30px; /* Ширина логотипа YouTube */
    height: auto;
    vertical-align: middle;
    opacity: 0.8; /* Легкая прозрачность для логотипа */
}

/* Стили для страницы помощи */
.faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    text-align: left;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-item:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.2);
}

.faq-answer {
    margin-top: 10px;
    font-size: 18px;
    color: #fff;
    display: none;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.7); /* Добавлен серо-прозрачный фон */
    padding: 20px;
    border-radius: 10px;
}

.faq-answer .highlight {
    font-size: 22px;
    font-weight: bold;
    color: #00ffcc;
}

.centered {
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
    color: #fff;
}

/* Секция игровых режимов и новостей */
.modes-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    margin: 60px auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.game-mode {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    width: 250px;
}

.game-mode img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.game-mode p {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.game-mode:hover {
    transform: scale(1.1);
}
.no-news {
    font-style: italic;
    color: #ccc;
}

/* Центровка и увеличенные режимы */
.modes-wrapper {
    display: flex;
    justify-content: center; /* Центр по горизонтали */
    gap: 60px;
    margin-top: 40px;
}
/* Центровка и ещё большее увеличение режимов */
.modes-section {
    display: flex;
    gap: 100px;
    justify-content: center;
    flex: 1;
}
/* Стили для кнопок режимов */
.mode {
    width: 300px;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 20px;
    text-align: center;
    padding: 20px;
    margin: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* мягкая тень */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mode img {
    width: 220px; /* увеличим иконку */
    height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6)); /* тень под иконкой */
}

.mode a {
    text-decoration: none;
    color: white;
}

.mode p {
    margin-top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.mode:hover {
    transform: translateY(-10px); /* всплытие */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}
/* Стили для блока новостей */
.news-panel {
    position: absolute;
    top: 180px;
    right: 30px;
    background-color: rgba(0,0,0,0.6);
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
}

/* Кнопка подключения */
.btn.connect-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 30px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
}

.btn.connect-btn:hover {
    background-color: #45a049;
}

/* Дополнительные стили, если нужно */
.custom-separator {
    margin: 40px 0;
    border-top: 1px solid #ccc;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.tnt-icon {
    transform: scale(2.45);
    margin-top: 26px;
    margin-bottom: 26px;
}



















#close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: white;
}

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

