* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: #0a0a0a;
}

.loading-screen {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 144, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    text-align: center;
    color: #ffffff;
}

/* Заголовок сервера */
.server-header {
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    display: inline-block;
    width: 120px;
    height: 120px;
    line-height: 120px;
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    animation: logoFloat 3s ease-in-out infinite;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.server-name {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    animation: fadeInDown 1s ease-out 0.2s both;
}

.server-subtitle {
    font-size: 20px;
    color: #b0b0b0;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out 0.4s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Информационные карточки */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    animation: cardFloat 4s ease-in-out infinite;
}

.info-card:nth-child(1) { animation-delay: 0s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.info-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.info-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.info-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 600;
}

.info-card p {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Прогресс загрузки */
.loading-progress {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.6); }
    50% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.9); }
}

.loading-text {
    font-size: 16px;
    color: #b0b0b0;
    font-weight: 300;
}

/* Советы */
.tips-section {
    animation: fadeInUp 1s ease-out 1s both;
}

.tip {
    display: none;
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid #667eea;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 600px;
    animation: tipSlide 0.5s ease-out;
}

.tip.active {
    display: flex;
    align-items: center;
    gap: 15px;
}

@keyframes tipSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tip-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.tip-text {
    font-size: 14px;
    color: #e0e0e0;
    text-align: left;
    line-height: 1.5;
}

/* Частицы */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.5);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 16s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .server-name {
        font-size: 42px;
    }
    
    .info-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .logo {
        width: 100px;
        height: 100px;
        line-height: 100px;
        font-size: 40px;
    }
}