* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #050508;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Анимированный градиентный фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(189, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 242, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 0, 128, 0.08) 0%, transparent 50%);
    animation: bgShift 20s ease infinite;
    z-index: -2;
}

@keyframes bgShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 50px) scale(1.1); }
    66% { transform: translate(50px, -50px) scale(0.9); }
}

/* Canvas для частиц */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Навигация */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(189, 0, 255, 0.5);
    transition: all 0.3s;
}

.logo:hover {
    text-shadow: 0 0 30px rgba(189, 0, 255, 0.8);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #a0a0c0;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #bd00ff, #00f2ff);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #bd00ff;
    text-shadow: 0 0 10px rgba(189, 0, 255, 0.5);
}

.btn-login {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.5);
}

/* Контейнер контента */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Заголовки страниц */
.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #00f2ff, #bd00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: floatUp 1s ease-out;
}

@keyframes floatUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Карточки серверов */
.server-block {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.6s ease-out both;
}

.server-block:nth-child(1) { animation-delay: 0.1s; }
.server-block:nth-child(2) { animation-delay: 0.2s; }

.server-block:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(189, 0, 255, 0.5);
    box-shadow: 0 20px 60px rgba(189, 0, 255, 0.2);
}

.server-icon {
    width: 120px;
    height: 120px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.server-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.server-info p {
    color: #b0b0d0;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Правила */
.rules-list {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.rule-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.rule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rule-item:hover {
    transform: translateX(10px);
}

.rule-item h3 {
    color: #bd00ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.rule-item p {
    color: #b0b0d0;
    line-height: 1.7;
    font-size: 1rem;
}

/* Команда */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.staff-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.6s ease-out both;
}

.staff-card:nth-child(1) { animation-delay: 0.1s; }
.staff-card:nth-child(2) { animation-delay: 0.2s; }
.staff-card:nth-child(3) { animation-delay: 0.3s; }

.staff-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(189, 0, 255, 0.5);
    box-shadow: 0 20px 60px rgba(189, 0, 255, 0.2);
}

.staff-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #bd00ff;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(189, 0, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(189, 0, 255, 0.6); }
}

.staff-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
}

.staff-role {
    color: #bd00ff;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.staff-desc {
    color: #a0a0c0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Страница покупки */
.pass-container {
    max-width: 550px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.pass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 25px;
    border: 2px solid rgba(189, 0, 255, 0.3);
    box-shadow: 0 0 50px rgba(189, 0, 255, 0.15);
    animation: fadeInUp 0.8s ease-out;
}

.pass-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #bd00ff, #7b00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pass-card input,
.pass-card select {
    width: 100%;
    padding: 16px;
    margin: 12px 0;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

.pass-card input:focus,
.pass-card select:focus {
    outline: none;
    border-color: #bd00ff;
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.2);
}

.btn-buy {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #bd00ff, #7b00ff);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(189, 0, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.btn-buy:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(189, 0, 255, 0.6);
}

/* Адаптивность */
@media (max-width: 768px) {
    nav { padding: 15px 20px; flex-direction: column; gap: 15px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .page-title { font-size: 2.5rem; }
    .server-block { flex-direction: column; text-align: center; }
    .server-icon { width: 100px; height: 100px; font-size: 2.5rem; }
}