/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a1929;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка и навигация */
header {
    background: linear-gradient(135deg, #0a1929 0%, #0d2b4e 100%);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(90deg, #00c853, #00b0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
    color: #00c853;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: #b0bec5;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

nav a:hover {
    color: #00c853;
    background-color: rgba(0, 200, 83, 0.1);
}

nav a.active {
    color: #00c853;
    background-color: rgba(0, 200, 83, 0.1);
}

/* Основной контент */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 80px 0;
    background: linear-gradient(135deg, #0d2b4e 0%, #0a1929 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #00c853, #00b0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Карточки */
.card {
    background: rgba(13, 43, 78, 0.7);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 200, 83, 0.2);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Кнопки */
.btn {
    display: inline-block;
    background: linear-gradient(90deg, #00c853, #00b0ff);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(90deg, #00b248, #0091ea);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00c853;
    border: 2px solid #00c853;
}

.btn-secondary:hover {
    background: rgba(0, 200, 83, 0.1);
}

/* Сетки */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Секция сервера */
.server-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.server-address {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.address-field {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 200, 83, 0.5);
    border-radius: 8px 0 0 8px;
    padding: 12px 20px;
    font-size: 1.1rem;
    color: #e0e0e0;
    width: 300px;
    outline: none;
}

.copy-btn {
    background: linear-gradient(90deg, #00c853, #00b0ff);
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 12px 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.stat {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px 25px;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00c853;
}

.stat-label {
    font-size: 0.9rem;
    color: #b0bec5;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    background: rgba(13, 43, 78, 0.7);
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.faq-answer {
    background: rgba(13, 43, 78, 0.5);
    padding: 20px;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-top: none;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #00c853;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 200, 83, 0.5);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #00c853;
}

/* Футер */
footer {
    background: #0a1929;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 200, 83, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.social-section, .messengers-section {
    width: 100%;
}

.social-title {
    color: #00c853;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.messengers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.social-button, .messenger-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(13, 43, 78, 0.7);
    border-radius: 12px;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.social-button:hover, .messenger-button:hover {
    transform: translateY(-5px);
    background: rgba(0, 200, 83, 0.1);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.2);
}

.social-icon, .messenger-icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.social-name, .messenger-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Цветовые акценты для соцсетей */
.social-button.vk { border-left: 4px solid #4C75A3; }
.social-button.discord { border-left: 4px solid #5865F2; }
.social-button.telegram { border-left: 4px solid #0088cc; }
.social-button.youtube { border-left: 4px solid #FF0000; }
.messenger-button.whatsapp { border-left: 4px solid #25D366; }
.messenger-button.telegram-app { border-left: 4px solid #0088cc; }

.social-button.vk:hover { background: rgba(76, 117, 163, 0.2); }
.social-button.discord:hover { background: rgba(88, 101, 242, 0.2); }
.social-button.telegram:hover { background: rgba(0, 136, 204, 0.2); }
.social-button.youtube:hover { background: rgba(255, 0, 0, 0.2); }
.messenger-button.whatsapp:hover { background: rgba(37, 211, 102, 0.2); }
.messenger-button.telegram-app:hover { background: rgba(0, 136, 204, 0.2); }

.copyright {
    color: #b0bec5;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .server-address {
        flex-direction: column;
        align-items: center;
    }
    
    .address-field {
        border-radius: 8px;
        margin-bottom: 10px;
        width: 100%;
        max-width: 300px;
    }
    
    .copy-btn {
        border-radius: 8px;
        width: 100%;
        max-width: 300px;
    }
    
    .server-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .social-grid, .messengers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .social-grid, .messengers-grid {
        grid-template-columns: 1fr;
    }
}