@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Literal Regular */
@font-face {
    font-family: 'Literal';
    src: url('/fonts/LiteralRegular.otf') format('opentype');
    font-weight: 400; /* normal */
    font-style: normal;
}

/* Literal Bold */
@font-face {
    font-family: 'Literal';
    src: url('/fonts/LiteralBold.otf') format('opentype');
    font-weight: 700; /* bold */
    font-style: normal;
}

/* Literal Light */
@font-face {
    font-family: 'Literal';
    src: url('/fonts/LiteralLight.otf') format('opentype');
    font-weight: 300; /* light */
    font-style: normal;
}

/* Arial Black */
@font-face {
    font-family: 'Arial Black';
    src: url('/fonts/ArialBlack.ttf') format('truetype');
    font-weight: 400; /* black начертание */
    font-style: normal;
}

/* CSS переменные */
:root {
    --review: #268cd9;
    --review_inactive: #0a1426;
}

/* Глобальные стили */
html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0a1926 0%, #0e1b2e 100%);
    font-family: 'Literal', 'Jost', sans-serif;
    box-sizing: border-box;
}

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

.full-width-wrapper {
    width: 100vw;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0a1926 0%, #0e1b2e 100%);
}

* {
    font-family: 'Literal';
    color: white;
}

.arial_black {
    font-family: 'Arial Black';
    font-weight: 900;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
}
/* Навигация */


.top_nav,
.top_nav.scrolled {
  background-color: #021B1F !important;
  box-shadow: none !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Слайдер отзывов */
.slider-wrap {
    height: 100%;
    width: 100%;
}

.slider-wrap .slider {
    width: 100%;
    position: relative;
}

.slider-item {
    width: 100%;
    max-width: 530px;
    padding: 25px;
    background: #f2f2f2;
    display: flex;
    justify-content: flex-start;
    position: absolute;
    opacity: 0;
    z-index: 0;
    left: 0;
    top: 0;
    box-sizing: border-box;
}

.slider-item p {
    color: inherit;
}

.slider-item .animation-card_image {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #ffffff;
}

.slider-item .animation-card_image img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
}

.slider-item .animation-card_content {
    color: inherit;
    width: 100%;
    max-width: 374px;
    margin-left: 26px;
    font-family: "Open Sans", sans-serif;
}

.slider-item .animation-card_content .animation-card_content_title {
    color: inherit;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.18px;
    line-height: 20px;
    margin: 0;
}

.slider-item .animation-card_content .animation-card_content_description {
    color: inherit;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 20px;
    margin-top: 4px;
    opacity: .7;
}

.slider-item .animation-card_content .animation-card_content_city {
    font-size: 11px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: inherit;
    display: none;
}

/* ============================================
   СТИЛИ ПАНЕЛИ УПРАВЛЕНИЯ
   ============================================ */

/* Основные карточки */
.minecraft-card {
    background: linear-gradient(135deg, #0a1426 0%, #0e1b2e 100%);
    border-radius: 25px;
    padding: 2rem;
    border: 1px solid rgba(26, 149, 244, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.minecraft-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 149, 244, 0.5);
    box-shadow: 0 25px 50px rgba(26, 149, 244, 0.2);
}

/* Карточки серверов */
.minecraft-server-card {
    background: linear-gradient(135deg, #0a1426 0%, #0e1b2e 100%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(26, 149, 244, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.minecraft-server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 124, 174, 0.08) 0%, rgba(26, 149, 244, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.minecraft-server-card:hover::before {
    opacity: 1;
}

.minecraft-server-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 149, 244, 0.6);
    box-shadow: 0 20px 40px rgba(26, 149, 244, 0.25);
}

/* Иконка сервера */
.minecraft-server-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a95f4 0%, #117cae 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(26, 149, 244, 0.4);
}

/* Статус бейджи */
.minecraft-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-maintenance {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Кнопки */
.minecraft-btn-primary {
    background: linear-gradient(135deg, #117cae 0%, #1a95f4 100%);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 16px;
    border: none;
    border-bottom: 4px solid #0d5d88;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(17, 124, 174, 0.4);
    text-decoration: none;
}

.minecraft-btn-primary:hover {
    background: linear-gradient(135deg, #1372c0 0%, #1fa5ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(17, 124, 174, 0.5);
}

.minecraft-btn-primary:active {
    transform: translateY(0);
    border-bottom-width: 2px;
}

.minecraft-btn-secondary {
    background: linear-gradient(135deg, #374151 0%, #4B5563 100%);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 16px;
    border: none;
    border-bottom: 4px solid #1F2937;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.minecraft-btn-secondary:hover {
    background: linear-gradient(135deg, #4B5563 0%, #6B7280 100%);
    transform: translateY(-2px);
}

/* Иконки кнопок */
.minecraft-btn-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minecraft-btn-icon-secondary {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Кнопка управления сервером */
.minecraft-manage-btn {
    background: linear-gradient(135deg, #117cae 0%, #1a95f4 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(26, 149, 244, 0.3);
}

.minecraft-manage-btn:hover {
    background: linear-gradient(135deg, #1372c0 0%, #1fa5ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 124, 174, 0.4);
}

/* Пустое состояние */
.minecraft-empty-state {
    background: linear-gradient(135deg, #0a1426 0%, #0e1b2e 100%);
    border-radius: 25px;
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid rgba(26, 149, 244, 0.2);
}

.minecraft-empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #117cae 0%, #1a95f4 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 15px 35px rgba(17, 124, 174, 0.4);
}

/* Быстрые действия */
.minecraft-quick-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(26, 149, 244, 0.05);
    border: 1px solid rgba(26, 149, 244, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.minecraft-quick-action:hover {
    background: rgba(26, 149, 244, 0.15);
    border-color: rgba(26, 149, 244, 0.4);
    transform: translateX(4px);
}

.minecraft-quick-action span {
    flex: 1;
    font-weight: 500;
}

/* Анимации */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

/* Градиентные элементы */
.gradient-border {
    position: relative;
    background: linear-gradient(135deg, #0a1426, #0e1b2e);
    border-radius: 20px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #117cae, #1372c0, #1a95f4);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1426;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #117cae, #1a95f4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1a95f4, #117cae);
}

/* Дополнительные утилиты */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.glow {
    box-shadow: 0 0 20px rgba(26, 149, 244, 0.4);
}

.glow:hover {
    box-shadow: 0 0 30px rgba(26, 149, 244, 0.6);
}

/* Адаптивность */
@media (max-width: 768px) {
    .minecraft-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .minecraft-server-card {
        padding: 1.25rem;
    }

    .minecraft-btn-primary,
    .minecraft-btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .slider-item {
        width: 100%;
        max-width: 400px;
        padding: 20px;
    }
}