/* Стили из egserv */

/* Стиль для фонового видео */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Стиль для фонового изображения при паузе */
.video-poster {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    display: none; /* Скрыто по умолчанию */
}

/* Эффект затемнения для лучшей видимости текста на фоне */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Водяной знак с логотипом */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15; /* Прозрачность водяного знака */
    z-index: -1;
    pointer-events: none; /* Чтобы не мешал кликам */
}

.watermark img {
    max-width: 80vw; /* Размер водяного знака */
    max-height: 80vh; /* Размер водяного знака */
}

/* Изменение цветовой схемы для соответствия egserv */
.boxed-btn3 {
    background: #e4381c;
}

.boxed-btn3:hover {
    background: #ff5a3c;
    color: #fff !important;
}

.main-header-area {
    background: rgba(0, 0, 0, 0.7);
    padding-top: 7px;
    padding-bottom: 7px;
}

#navigation li a {
    color: #FF6600;
    transition: all 0.3s;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

#navigation li {
    margin: 0 15px;
}

#navigation li a:hover {
    color: #ff5a3c;
    background: rgba(255, 102, 0, 0.05);
}

#navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

#navigation li a.active {
    background: rgba(255, 102, 0, 0.1);
}

/* Делаем слайдер прозрачным, чтобы был виден фоновый видео */
.slider_bg_1, .slider_bg_2 {
    background-image: none !important;
}

.slider_area {
    background: transparent;
    padding-top: 0;
    margin-top: 0;
}

.slider_area .single_slider {
    background: transparent;
}

.overlay2::before {
    background: rgba(0, 0, 0, 0.2);
}

/* Стили для заголовков в слайдере */
.slider_text {
    padding-top: 50px;
}

.slider_text h3 {
    color: #e4381c;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider_text p {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
    text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}

/* Стили для шапки */
.header-area {
    height: 70%;
}

.social_media_links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 30px;
    width: 100%;
    padding: 0 15px;
}

.social-item {
    display: flex;
    align-items: center;
}

.social-link {
    color: #FF6600;
    display: flex;
    align-items: center;
    margin-right: 30px;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 22px;
    margin-right: 8px;
    filter: brightness(0) saturate(100%) invert(40%) sepia(98%) saturate(1548%) hue-rotate(360deg) brightness(103%) contrast(103%);
}

.social-text {
    font-size: 14px;
    font-weight: 500;
    color: #FF6600;
}

.discord-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(40%) sepia(98%) saturate(1548%) hue-rotate(360deg) brightness(103%) contrast(103%);
}

/* Для обратной совместимости */
.social_media_links a {
    color: #FF6600;
    display: flex;
    align-items: center;
    margin-right: 30px;
    transition: all 0.3s ease;
}

.social_media_links a i {
    font-size: 22px;
    margin-right: 8px;
}

.social_media_links a span {
    font-size: 14px;
    font-weight: 500;
    color: #FF6600;
}

.social_media_links a img {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(40%) sepia(98%) saturate(1548%) hue-rotate(360deg) brightness(103%) contrast(103%);
}

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

/* Стили для статистики сервера */
.service_area.server_stats_area {
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

/* Стили для футера */
.footer {
    padding: 15px 0;
    background: #333;
}

.footer_widget {
    display: flex;
    align-items: center;
}

.footer_logo {
    margin-right: 15px;
}

.footer_logo img {
    max-width: 70px;
}

.footer_widget p {
    margin-bottom: 0;
    color: #FF6600;
    font-size: 12px;
}

.footer_widget h3.footer_title {
    color: #FF6600;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer_widget ul {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}

.footer_widget ul li {
    margin-left: 15px;
}

.footer_widget ul li a {
    color: #FF6600;
    font-size: 12px;
}

.copy-right_text {
    margin-top: 5px;
    padding: 0;
}

.copy_right {
    margin-bottom: 0;
    font-size: 10px;
    color: #FF6600;
}

/* Стили для основного контента */
.section_title h3 {
    color: #e4381c;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.section_title p {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}

.server-info {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    border: 2px solid #e4381c;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(228, 56, 28, 0.2);
}

.server-card h3 {
    color: #e4381c;
    font-size: 28px;
    margin-bottom: 15px;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.5);
}

.server-card p {
    color: #cccccc;
    font-size: 16px;
    margin-bottom: 20px;
}

.server-stats {
    margin: 20px 0;
    background: linear-gradient(180deg, rgba(30,30,30,0.6) 0%, rgba(40,40,40,0.6) 100%);
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid #e4381c;
}

.server-stats p {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 16px;
}

.server-stats p:last-child {
    margin-bottom: 0;
}

.server-stats strong {
    color: #e4381c;
}

/* Стили для кнопок навигации слайдера */
.owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.owl-nav button {
    pointer-events: auto !important;
    position: absolute;
    background: rgba(228, 56, 28, 0.7) !important;
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.owl-nav button:hover {
    background: rgba(228, 56, 28, 0.9) !important;
}

.owl-nav button span {
    font-size: 30px;
    line-height: 0;
    position: relative;
    top: -2px;
}

.owl-nav .owl-prev {
    left: 20px;
}

.owl-nav .owl-next {
    right: 20px;
}

/* Стиль для плеера VK */
.vk-playlist iframe {
    z-index: 1;
    position: relative;
}
