/* styles/components.css */
/* Стили для логотипа */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo i {
    color: #ffeb3b; /* Жёлтый цвет для иконки */
    font-size: 2.5rem;
}
.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(to right, #ffd13b, #ffc107); /* Жёлтый градиент */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 235, 59, 0.3); /* Жёлтая подсветка */
}
/* Стили для навигации */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
}
nav a:hover, nav a.active {
    background: #ffeb3b; /* Жёлтый фон при наведении/активности */
    color: var(--dark); /* Чёрный текст */
}
/* Стили для информации о пользователе */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #ffeb3b; /* Жёлтая граница */
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Стили для кнопок */
.btn {
    display: inline-block;
    background: #ffeb3b; /* Жёлтый фон */
    color: var(--dark); /* Чёрный текст */
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 235, 59, 0.3); /* Жёлтая тень */
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn:hover {
    background: #ffc107; /* Более тёмный жёлтый при наведении */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 235, 59, 0.4); /* Более сильная тень */
}
.btn-secondary {
    background: transparent;
    border: 2px solid #ffeb3b; /* Жёлтая граница */
    color: #ffeb3b; /* Жёлтый текст */
}
.btn-secondary:hover {
    background: rgba(255, 235, 59, 0.1); /* Лёгкий жёлтый фон */
}
.btn-steam {
    background: var(--steam); /* Чёрный фон */
    padding: 10px 20px;
}
.btn-steam:hover {
    background: #2a2a2a; /* Более светлый чёрный */
}
/* Стили для главного баннера */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.8); /* Чёрный с прозрачностью */
    border-radius: 15px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Чёрный с прозрачностью */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #ffeb3b); /* Белый-жёлтый градиент */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #ccc; /* Светло-серый */
}
/* Стили для карточек сервера */
.server-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.server-card {
    background: rgba(0, 0, 0, 0.7); /* Чёрный с прозрачностью */
    border-radius: 10px;
    padding: 20px;
    min-width: 200px;
    text-align: center;
    border: 1px solid rgba(255, 235, 59, 0.3); /* Жёлтая граница */
}
.server-card i {
    font-size: 2.5rem;
    color: #ffeb3b; /* Жёлтый цвет иконки */
    margin-bottom: 15px;
}
.server-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
/* Стили для заголовков секций */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 50px 0 30px;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: #ffeb3b; /* Жёлтый цвет */
    margin: 15px auto;
    border-radius: 2px;
}
/* Стили для планов доната */
.donate-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.plan {
    background: rgba(0, 0, 0, 0.7); /* Чёрный с прозрачностью */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 235, 59, 0.2); /* Жёлтая граница */
    position: relative;
    overflow: hidden;
}
.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 235, 59, 0.5); /* Более насыщенная жёлтая граница */
}
.plan.popular::before {
    content: "ПОПУЛЯРНО";
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ffeb3b; /* Жёлтый фон */
    color: var(--dark); /* Чёрный текст */
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
}
.plan h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffeb3b; /* Жёлтый цвет заголовка */
}
.plan .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
}
.plan .price span {
    font-size: 1rem;
    color: #aaa; /* Светло-серый */
}
.plan ul {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}
.plan ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Светло-серая граница */
    display: flex;
    align-items: center;
}
.plan ul li:last-child {
    border-bottom: none;
}
.plan ul li i {
    color: var(--success); /* Жёлтый цвет галочки */
    margin-right: 10px;
    font-size: 1.2rem;
}
/* Стили для контейнера формы */
.form-container {
    background: rgba(0, 0, 0, 0.7); /* Чёрный с прозрачностью */
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
}
/* Стили для групп полей формы */
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
/* Стили для элементов управления формы */
.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8); /* Чёрный с прозрачностью */
    border: 1px solid rgba(255, 235, 59, 0.3); /* Жёлтая граница */
    border-radius: 8px;
    color: var(--light); /* Белый текст */
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: #ffeb3b; /* Жёлтая граница при фокусе */
    box-shadow: 0 0 0 3px rgba(255, 235, 59, 0.2); /* Жёлтая тень при фокусе */
}
/* Стили для карточек функций */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.feature-card {
    background: rgba(0, 0, 0, 0.6); /* Чёрный с прозрачностью */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 235, 59, 0.1); /* Жёлтая граница */
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 235, 59, 0.3); /* Более насыщенная жёлтая граница */
}
.feature-card i {
    font-size: 3rem;
    color: #ffeb3b; /* Жёлтый цвет иконки */
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
/* Стили для статистики */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
    text-align: center;
}
.stat-item {
    background: rgba(0, 0, 0, 0.6); /* Чёрный с прозрачностью */
    padding: 20px;
    border-radius: 10px;
    min-width: 150px;
}
.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffeb3b; /* Жёлтый цвет числа */
    margin-bottom: 5px;
}
/* Стили для профиля */
.profile-link {
    color: var(--light); /* Белый */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}
.profile-link:hover {
    text-decoration: underline;
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Чёрный с прозрачностью */
    border-radius: 15px;
}
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ffeb3b; /* Жёлтая граница */
    overflow: hidden;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.profile-info p {
    color: #aaa; /* Светло-серый */
    margin: 5px 0;
}
.balance-info {
    background: rgba(0, 0, 0, 0.7); /* Чёрный с прозрачностью */
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}
.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffeb3b; /* Жёлтый цвет */
    margin: 10px 0;
}
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.tab {
    padding: 12px 25px;
    background: rgba(0, 0, 0, 0.7); /* Чёрный с прозрачностью */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab.active {
    background: #ffeb3b; /* Жёлтый фон активной вкладки */
    color: var(--dark); /* Чёрный текст */
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
/* Стили для таблиц */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.7); /* Чёрный с прозрачностью */
    border-radius: 10px;
    overflow: hidden;
}
th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Светло-серая граница */
}
th {
    background: rgba(255, 235, 59, 0.2); /* Лёгкий жёлтый фон */
    color: #ffeb3b; /* Жёлтый цвет текста */
}
tr:last-child td {
    border-bottom: none;
}
tr:hover {
    background: rgba(255, 235, 59, 0.05); /* Очень лёгкий жёлтый фон */
}
.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}
.status.active {
    background: rgba(255, 235, 59, 0.2); /* Лёгкий жёлтый фон */
    color: #ffeb3b; /* Жёлтый цвет текста */
}
.status.banned {
    background: rgba(244, 67, 54, 0.2); /* Лёгкий красный фон */
    color: #f44336; /* Красный цвет текста */
}
.status.expired {
    background: rgba(255, 152, 0, 0.2); /* Лёгкий оранжевый фон */
    color: #ff9800; /* Оранжевый цвет текста */
}
/* Стили для пользовательского соглашения */
#agreement-content {
    background: rgba(0, 0, 0, 0.7); /* Чёрный с прозрачностью */
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
}
#agreement-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffeb3b; /* Жёлтый цвет */
}
#agreement-content h3 {
    color: #ffeb3b; /* Жёлтый цвет */
    margin-top: 20px;
}
#agreement-content p, #agreement-content ul, #agreement-content li {
    line-height: 1.6;
    margin-bottom: 10px;
}
#agreement-content ul {
    padding-left: 20px;
}
/* Адаптивные стили */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h2 {
        font-size: 2.2rem;
    }
    .form-container {
        padding: 25px;
    }
    .server-info {
        flex-direction: column;
        align-items: center;
    }
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}