/* Основные стили сайта SkyLine. Перенесено из самой новой версии. */
:root {
    --primary: #0A7AFF;
    --primary-dark: #0066cc;
    --secondary: #6A11CB;
    --accent: #9637FA;
    --text: #EAE1DF;
    --bg: #0C0C0C;
    --panel: #191919;
    --panel-dark: #121212;
    --success: #50B34E;
    --error: #E74C3C;
    --warning: #F39C12;
    --info: #3498DB;
    --border: rgba(10, 122, 255, 0.2);
    --border-light: rgba(234, 225, 223, 0.1);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 4px 12px rgba(106, 17, 203, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Minecraft', 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Particle Background */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    filter: blur(1px);
    animation: float linear infinite;
    will-change: transform, opacity;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-20vh) translateX(calc(var(--random-x) * 100px)) rotate(360deg);
        opacity: 0;
    }
}

/* Glow Effects */
.glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(106, 17, 203, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(10, 122, 255, 0.15) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
    transition: background 0.5s ease;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 3px;
    z-index: -1;
    pointer-events: none;
    animation: scanline 6s linear infinite;
}

@keyframes scanline {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--panel);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transform: translateY(0);
}

header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    position: relative;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    transition: color 0.5s ease, transform 0.5s ease;
}   

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-icon {
    width: 28px;
    height: 28px;
    transition: var(--transition);
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.logo:hover {
    animation: logoPulse 1.6s infinite;
    color: var(--primary);
}

@keyframes logoPulseHover {
    0%, 100% { transform: scale(1); text-shadow: 0 0 10px rgba(10, 122, 255, 0.5); }
    50% { transform: scale(1.03); text-shadow: 0 0 20px rgba(10, 122, 255, 0.7); }
}

.logo:hover .logo-icon {
    animation: logoFloatHover 3s ease-in-out infinite;
}

@keyframes logoFloatHover {
    0%, 100% { transform: translateY(0) rotate(0deg); filter: drop-shadow(0 0 5px rgba(10, 122, 255, 0.7)); }
    25% { transform: translateY(-3px) rotate(5deg); }
    75% { transform: translateY(3px) rotate(-5deg); }
}

/* Основная навигация */
.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: 30px;
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(10px);
    animation: navLinkFadeIn 0.6s ease-out forwards;
}

nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

nav a:hover::before {
    width: 100%;
}

@keyframes navLinkFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.nav-link:nth-child(1) { animation-delay: 0.2s; }
.nav-link:nth-child(2) { animation-delay: 0.3s; }
.nav-link:nth-child(3) { animation-delay: 0.4s; }
.nav-link:nth-child(4) { animation-delay: 0.5s; }

.nav-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover i {
    transform: scale(1.2);
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

#stream-link:hover { color: var(--error); }
#servers-link:hover { color: #8e44ad; }
#wiki-link:hover { color: var(--warning); }
#pay-link:hover { color: var(--success); }

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
    z-index: 1002;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--panel-dark);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: var(--transition-slow);
    opacity: 0;
    padding: 20px;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu-item {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 15px 20px;
    margin: 10px 0;
    background-color: var(--panel);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    font-size: 1.1rem;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    transform: translateX(-20px);
    opacity: 0;
}

.mobile-menu-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.mobile-menu-item:nth-child(1) { animation: mobileMenuItemFadeIn 0.5s ease-out 0.2s forwards; }
.mobile-menu-item:nth-child(2) { animation: mobileMenuItemFadeIn 0.5s ease-out 0.3s forwards; }
.mobile-menu-item:nth-child(3) { animation: mobileMenuItemFadeIn 0.5s ease-out 0.4s forwards; }
.mobile-menu-item:nth-child(4) { animation: mobileMenuItemFadeIn 0.5s ease-out 0.5s forwards; }
.mobile-menu-item:nth-child(5) { animation: mobileMenuItemFadeIn 0.5s ease-out 0.6s forwards; }

@keyframes mobileMenuItemFadeIn {
    to { transform: translateX(0); opacity: 1; }
}

.mobile-menu-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateX(5px) translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Блок пользователя */
.user-profile-block {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    padding: 5px 10px;
    border-radius: 20px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(10px);
    animation: userBlockFadeIn 0.6s ease-out 0.6s forwards;
}

@keyframes userBlockFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.user-profile-block:hover {
    background-color: var(--primary-light);
}

.user-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    transition: var(--transition);
    position: relative;
    box-shadow: 0 0 0 0 rgba(10, 122, 255, 0.7);
}

.user-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 122, 255, 0.3), transparent);
    opacity: 0;
    transition: var(--transition);
}

.user-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.user-nickname {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

/* Меню пользователя */
.user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--panel-dark);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(10px);
    z-index: 1001;
    border: 1px solid var(--border);
}

.user-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 5px;
}

.user-menu-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.user-menu-info {
    flex: 1;
    overflow: hidden;
}

.user-menu-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-email {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
    gap: 10px;
}

.user-menu-item i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.user-menu-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateX(5px);
}

.user-menu-item:hover i {
    transform: scale(1.2);
    color: var(--accent);
}

.user-menu-divider {
    border: none;
    height: 1px;
    background-color: var(--border-light);
    margin: 8px 0;
}

/* Main Content */
.content {
    max-width: 1400px;
    margin: 80px auto 40px;
    padding: 20px;
}

/* Hero Section */
.launcher-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.launcher-title-box {
    flex: 1;
    min-width: 300px;
    position: relative;
    padding: 30px;
    border: 2px solid rgba(10, 122, 255, 0.3);
    background-color: rgba(25, 25, 25, 0.7);
    border-radius: 8px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pixel-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary);
}

.top-left {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
    animation: pulseCorner 2s infinite 0.5s;
}

.top-right {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
    animation: pulseCorner 2s infinite 0.7s;
}

.bottom-left {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
    animation: pulseCorner 2s infinite 0.9s;
}

.bottom-right {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
    animation: pulseCorner 2s infinite 1.1s;
}

@keyframes pulseCorner {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.launcher-title-text {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 5px rgba(234, 225, 223, 0.3); }
    to { text-shadow: 0 0 10px rgba(234, 225, 223, 0.7); }
}

.launcher-title-name {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.launcher-title-description {
    font-size: 16px;
    color: var(--text);
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.6;
    animation: fadeIn 1s ease forwards 0.3s;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 0.9; }
}

.get-started-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: 200% 200%;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(106, 17, 203, 0.4),
        0 0 10px rgba(10, 122, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: 
        gradientShift 8s ease infinite,
        fadeInUp 0.5s ease forwards 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.get-started-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.5s ease;
    z-index: -1;
}

.get-started-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(106, 17, 203, 0.6),
        0 0 15px rgba(10, 122, 255, 0.5);
}

.get-started-button:hover::before {
    left: 100%;
}

/* Minecraft Screen Styles */
.minecraft-screen {
    position: relative;
    margin-top: 15px;
    perspective: 1000px;
    transform-style: preserve-3d;
    width: 600px;
}

.screen-border {
    border: 3px solid var(--panel-dark);
    border-radius: 6px;
    background-color: var(--panel);
    padding: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    z-index: 1;
}

.screen-content {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 300px;
}

.screen-image {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-image.active {
    opacity: 1;
}

.screen-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.screen-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.screen-button {
    background-color: var(--panel-dark);
    border: none;
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.screen-button:hover {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.screen-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--panel-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.screen-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(
        circle at var(--glow-x) var(--glow-y),
        rgba(149, 55, 250, 0.023) 0%,
        transparent 70%
    );
    border-radius: 10px;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(10px);
}

.minecraft-screen:hover .screen-glow {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .screen-content {
        height: 250px;
    }
    .minecraft-screen {
        width: 500px;
    }
}

@media (max-width: 480px) {
    .screen-content {
        height: 200px;
    }
    
    .screen-button {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    .minecraft-screen {
        width: 440px;
    }
}

/* Categories Section */
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.categories {
    flex: 1;
    min-width: 250px;
    animation: fadeInLeft 0.8s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category {
    padding: 15px;
    margin-bottom: 10px;
    background-color: rgba(25, 25, 25, 0.7);
    color: var(--text);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
    overflow: hidden;
}

.category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.category:hover {
    background-color: rgba(25, 25, 25, 0.9);
    transform: translateX(5px);
}

.category:hover::before {
    transform: translateX(0);
}

.category.active {
    background-color: rgba(10, 122, 255, 0.2);
    border-left: 3px solid var(--primary);
    color: var(--primary);
    font-weight: bold;
}

.category.active::before {
    transform: translateX(0);
}

.content-block {
    flex: 2;
    min-width: 300px;
    background-color: rgba(25, 25, 25, 0.7);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(10, 122, 255, 0.2);
    animation: fadeInRight 0.8s ease forwards;
    opacity: 0;
    transform: translateX(20px);
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.content-image-container {
    position: relative;
    cursor: pointer;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.content-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 122, 255, 0.3);
}

.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.5s ease;
}

.content-image-container:hover .content-image {
    transform: scale(1.05);
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.fact-item {
    padding: 15px;
    background-color: rgba(10, 122, 255, 0.1);
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(10, 122, 255, 0.1);
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.fact-item:nth-child(1) { animation-delay: 0.2s; }
.fact-item:nth-child(2) { animation-delay: 0.4s; }
.fact-item:nth-child(3) { animation-delay: 0.6s; }

.fact-item:hover {
    background-color: rgba(10, 122, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 122, 255, 0.2);
}

.fact-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.fact-item:hover .fact-number {
    text-shadow: 0 0 10px rgba(10, 122, 255, 0.5);
}

.fact-description {
    font-size: 14px;
    color: var(--text);
    opacity: 0.8;
}

.description {
    padding: 15px;
    background-color: rgba(25, 25, 25, 0.5);
    border-radius: 5px;
    color: var(--text);
    line-height: 1.6;
    border: 1px solid rgba(10, 122, 255, 0.1);
    animation: fadeIn 0.5s ease forwards 0.8s;
    opacity: 0;
}

/* Fullscreen Overlay */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0.95;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.fullscreen-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.image-counter {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    text-align: center;
    opacity: 0.8;
}

.nav-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px; /* фиксированная ширина, например */
    height: 100vh; /* растягивается на всю высоту окна */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
    opacity: 0.5;
    transition: opacity 0.3s;
    z-index: 1001;
    background: transparent;
    border: none;
    outline: none;
    border-radius: 0;
}

.nav-arrow:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.arrow-left {
    left: 0;
}

.arrow-right {
    right: 0;
}

/* Info Blocks */
.info-block-align {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.info-block {
    flex: 1;
    min-width: 300px;
    background-color: rgba(25, 25, 25, 0.7);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(10, 122, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.info-block:nth-child(1) { animation-delay: 0.2s; }
.info-block:nth-child(2) { animation-delay: 0.4s; }

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.info-block-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-block-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    font-size: 1.5rem;
    line-height: 1;
}

.info-block-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    text-shadow: 0 0 5px rgba(10, 122, 255, 0.3);
}

.info-block-description {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
}

/* Servers Block */
.leaders-block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
    margin-top: 40px; /* увеличенный зазор сверху для нижних блоков */
}

.leaders {
    flex: 1;
    min-width: 250px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    margin-bottom: 40px; /* увеличенный зазор снизу для верхнего блока */
}

.leaders:nth-child(1) { animation-delay: 0.2s; }
.leaders:nth-child(2) { animation-delay: 0.4s; }
.leaders:nth-child(3) { animation-delay: 0.6s; }

.leaders-img-block {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

/* Затемнение при наведении */
.leaders-img-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 1;
    pointer-events: none;
}

.leaders-img-block:hover::after {
    opacity: 1;
}

.leaders-img-block img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    position: relative;
    z-index: 0;
}

.leaders-img-block:hover img {
    transform: scale(1.1);
}

.stats-block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65));
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
    z-index: 2;
}

.leaders-img-block:hover .stats-block {
    transform: translateY(0);
    opacity: 1;
}

.stat-item {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
    transition-delay: calc(var(--delay) * 0.1s);
}

.leaders-img-block:hover .stat-item {
    transform: translateY(0);
    opacity: 1;
}

.stat-item:nth-child(1) { --delay: 1; }
.stat-item:nth-child(2) { --delay: 2; }
.stat-item:nth-child(3) { --delay: 3; }

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
    text-shadow: 0 0 8px rgba(10, 122, 255, 0.7);
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.leaders-img-block:hover .stat-value {
    transform: scale(1.1);
}

.leaders-img-block:hover .stat-label {
    opacity: 1;
}

/* Developers Block */
.dev-block-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 30px;
    text-align: center;
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.dev-block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.dev {
    flex: 1;
    min-width: 300px;
    background-color: rgba(25, 25, 25, 0.7);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(10, 122, 255, 0.2);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.dev:nth-child(1) { animation-delay: 0.2s; }
.dev:nth-child(2) { animation-delay: 0.4s; }

.dev-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dev:hover .dev-img {
    transform: scale(1.05);
}

.dev-info {
    padding: 20px;
}

.dev-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dev-nickname {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s ease;
}

.dev:hover .dev-nickname {
    text-shadow: 0 0 5px rgba(10, 122, 255, 0.5);
}

.dev-role {
    font-size: 13px;
    color: var(--text);
    opacity: 0.7;
}

.dev-quote-icon {
    width: 30px;
    height: 30px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.dev:hover .dev-quote-icon {
    opacity: 1;
    transform: rotate(5deg);
}

.dev-info-quote {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.dev-info-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
    color: var(--primary);
    opacity: 0.5;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.faq-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 30px;
    text-align: center;
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.faq-item {
    margin-bottom: 10px;
    background-color: rgba(25, 25, 25, 0.7);
    border-radius: 5px;
    border: 1px solid rgba(10, 122, 255, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; /* Добавляем относительное позиционирование */
}

.faq-question:hover {
    background-color: var();
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 
      max-height 0.5s cubic-bezier(0.65, 0, 0.35, 1),
      padding 0.5s cubic-bezier(0.65, 0, 0.35, 1),
      opacity 0.3s ease 0.1s;
}

.question-name-styles {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.question-answer-styles {
    font-size: 16px;
    font-weight: 500;
    color: #777777;
}

.faq-item.active {
    border-color: #aaa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-item.active .faq-question {
    border-color: #202020;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
    opacity: 1;
}

.faq-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #DDDDDD;
    transition: 
        transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55),
        border-top-color 0.3s ease;
    transform: rotate(-90deg);
    position: absolute; /* Абсолютное позиционирование */
    right: 20px; /* Отступ справа */
    top: 50%; /* Центрирование по вертикали */
    transform: translateY(-50%) rotate(-90deg); /* Центрирование + начальный поворот */
}

.faq-item.active .faq-arrow {
    transform: translateY(-50%) rotate(0deg);
    border-top-color: #FFFFFF;
}

.faq-question span {
    transition: transform 0.3s ease;
    padding-right: 20px; /* Отступ для стрелки */
}

.faq-question:hover span {
    transform: translateX(3px);
}


/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text);
    font-size: 14px;
    opacity: 0.7;
    animation: fadeIn 0.5s ease forwards;
}

.social-media-block {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-media-block-link {
    display: flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: rgba(10, 122, 255, 0.05);
}

.social-media-block-link:hover {
    background-color: rgba(10, 122, 255, 0.1);
    transform: translateY(-3px);
}

.social-media-block-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.social-media-block-link:hover .social-media-block-icon {
    transform: rotate(15deg) scale(1.1);
}

.social-media-block-name {
    font-size: 14px;
    transition: all 0.3s ease;
}

#Discord:hover { 
    color: #5865F2;
    text-shadow: 0 0 5px rgba(88, 101, 242, 0.5);
}
#YouTube:hover { 
    color: #FF0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}
#Telegram:hover { 
    color: #0088CC;
    text-shadow: 0 0 5px rgba(0, 136, 204, 0.5);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .launcher-title {
        flex-direction: column;
        text-align: center;
    }
    
    .launcher-title-box {
        margin-bottom: 30px;
    }
    
    .launcher-title-description {
        margin-right: 0;
    }

    .info-block {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--panel);
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }
    
    nav.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .user-menu {
        right: 20px;
        margin-right: 0;
    }
    
    .container {
        flex-direction: column;
    }
    
    .categories, .content-block {
        width: 100%;
    }

    .server {
        min-width: 100%;
    }

    .leaders-block {
        gap: 0px;
    }
    .stat-value {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .facts {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 12px 15px;
    }
    
    .question-name-styles {
        font-size: 14px;
    }
    
    .question-answer-styles {
        font-size: 13px;
    }
    .leaders-block {
        gap: 0px;
    }
}