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

body {
    background-color: #1a1a2a;
    color: #e0e0e0;
    line-height: 1.6;
}

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

/* Шапка */
header {
    background-color: #2a2a3a;
    padding-bottom: 15px;
    border-bottom: 2px solid #6a4a8a;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: #9d7aff;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(157, 122, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: #7d5b9d;
}

.play-btn {
    background: linear-gradient(135deg, #7a00ff, #3b0d72);
    color: #fff;
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(122, 0, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2.5s infinite;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  
  .play-btn i {
    font-size: 16px;
  }
  
  .play-btn:hover {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    box-shadow: 0 0 20px rgba(122, 0, 255, 0.9), 0 0 40px rgba(122, 0, 255, 0.5);
    transform: scale(1.05);
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 10px rgba(122, 0, 255, 0.6);
    }
    50% {
      box-shadow: 0 0 25px rgba(122, 0, 255, 1), 0 0 50px rgba(122, 0, 255, 0.8);
    }
    100% {
      box-shadow: 0 0 10px rgba(122, 0, 255, 0.6);
    }
  }
  

nav ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
    flex-wrap: wrap;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
    padding: 5px 10px;
}

nav ul li a:hover {
    color: #9d7aff;
}

/* Основной контент */
.main-content {
    display: grid;
    grid-template-columns: 55fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

/* Блок донатов */
.donation-block {
    background-color: rgb(11 4 24 / 80%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--neon-purple);
}

.donation-block h2 {
    color: #9d7aff;
    margin-bottom: 15px;
    border-bottom: 1px solid #6a4a8a;
    padding-bottom: 10px;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.donation-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    aspect-ratio: 1/1;
}

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

.donation-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 10px;
    color: white;
}

.donation-overlay h3 {
    font-size: 14px;
    margin-bottom: 3px;
}

.donation-overlay p {
    font-size: 12px;
    color: #9d7aff;
}

.all-donations-btn {
    width: 100%;
    background-color: rgb(19 1 57 / 80%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.all-donations-btn:hover {
    background-color: #7d5b9d;
}

/* Блок новостей */
.news-block {
    background-color: rgb(11 4 24 / 80%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--neon-purple);
}

.news-block h2 {
    color: #9d7aff;
    margin-bottom: 15px;
    border-bottom: 1px solid #6a4a8a;
    padding-bottom: 10px;
}

.news-block h3 {
    color: #9d7aff;
    margin-bottom: 10px;
}

.news-list {
    list-style-position: inside;
    margin: 10px 0;
}

.news-list li {
    margin-bottom: 8px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.news-date {
    color: #888;
    font-size: 14px;
}

.details-btn {
    color: #9d7aff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 3px;
}

.details-btn:hover {
    color: #7d5b9d;
    background-color: rgba(157, 122, 255, 0.1);
}

/* Блок авторизации 
.auth-block {
    background-color: #2a2a3a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #6a4a8a;
}*/

.auth-block {
    background-color: rgb(11 4 24 / 80%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--neon-purple);

    width: 100%; /* всегда занимает всю ширину контейнера */
    box-sizing: border-box; /* чтобы padding учитывался в ширине */
}

.right-column {
    display: flex;
    flex-direction: column;
    width: 350px; /* или другая фиксированная/макс ширина */
}



.auth-block h3 {
    color: #9d7aff;
    margin-bottom: 15px;
}



.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background-color: #3a3a4a;
    border: 1px solid #6a4a8a;
    border-radius: 5px;
    color: #e0e0e0;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #9d7aff;
    outline: none;
}

.login-btn {
    background-color: rgb(19 1 57 / 80%);
    color: white;
    border: none;
    padding: 12px 9px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 10px;
    font-size: 14px;
}

.login-btn:hover {
    background-color: #7d5b9d;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.register-link, .forgot-link {
    color: #9d7aff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.register-link:hover, .forgot-link:hover {
    color: #7d5b9d;
}

/* Блок мониторинга */
.monitoring-block {
    background-color: rgb(11 4 24 / 80%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--neon-purple);
}

.monitoring-block h3 {
    color: #9d7aff;
    margin-bottom: 15px;
}

.server-list {
    margin-bottom: 15px;
}

.server-item {
    display: flex;
    align-items: center;
    background-color: rgb(22 7 55 / 80%);
    border-radius: 50px;
    padding: 8px 15px 8px 8px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--neon-purple);
}

.server-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid #9d7aff;
}

.server-info {
    flex-grow: 1;
}

.server-name {
    font-weight: bold;
    font-size: 14px;
}

.server-version {
    font-size: 12px;
    color: #888;
}

.server-status {
    display: flex;
    align-items: center;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-online {
    background-color: #4CAF50;
    box-shadow: 0 0 8px #4CAF50;
}

.status-offline {
    background-color: #F44336;
    box-shadow: 0 0 8px #F44336;
}

.status-development {
    background-color: #ffc107; /* Жёлтый цвет для статуса разработки */
    box-shadow: 0 0 8px #ffc107;
}

.server-online {
    font-size: 14px;
    color: #9d7aff;
}

.online-count {
    font-weight: bold;
    color: #9d7aff;
}

/* Социальные сети */
.social-block {
    background-color: rgb(11 4 24 / 80%);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid var(--neon-purple);
}

.social-block h3 {
    color: #9d7aff;
    margin-bottom: 15px;
}

.social-content {
    text-align: center;
}

.social-content p {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.social-btn {
    background-color: #6a4a8a;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    width: 100%;
}

.social-btn:hover {
    background-color: #7d5b9d;
}

.social-btn i {
    margin-right: 8px;
}

.telegram-block .social-btn {
    background-color: #0088cc;
}

.telegram-block .social-btn:hover {
    background-color: #0077b3;
}

.vk-block .social-btn {
    background-color: #4a76a8;
}

.vk-block .social-btn:hover {
    background-color: #3d6897;
}

/* Футер */
footer {
    background-color: #2a2a3a;
    padding: 30px 0;
    margin-top: 30px;
    border-top: 2px solid #6a4a8a;
}

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

.footer-logo {
    color: #9d7aff;
    font-size: 24px;
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #9d7aff;
}

.footer-copy {
    color: #888;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .donation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .donation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .donation-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Все предыдущие стили остаются без изменений */

/* Стили для табов авторизации */
#auth-tabs {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #6a4a8a;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.auth-tab.active {
    color: #9d7aff;
    border-bottom: 3px solid #9d7aff;
}

.auth-tab:hover:not(.active) {
    color: #7d5b9d;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

  
  #bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #0e0e1c 0%, #000010 100%);
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .media-appear {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0; /* Изначально невидимо до старта анимации */
  }
  


/* ==================== Магазин ==================== */
.shop-header {
    margin: 30px 0;
    color: #fff;
}

.shop-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #6ae2ff;
}

.breadcrumbs {
    color: #aaa;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #6ae2ff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.shop-search {
    display: flex;
    flex: 1;
    min-width: 250px;
}

.shop-search input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #333;
    border-radius: 5px 0 0 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.shop-search button {
    padding: 0 15px;
    background: #6ae2ff;
    color: #000;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.shop-sort select {
    padding: 8px 12px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1px solid #333;
}

.shop-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.shop-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.shop-main {
    flex: 1;
}

.sidebar-section {
    background: rgba(20, 20, 40, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-section h3 {
    color: #6ae2ff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1rem;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-list li a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.filter-list li a:hover,
.filter-list li.active a {
    color: #6ae2ff;
}

.server-filter {
    width: 100%;
    padding: 8px 10px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1px solid #333;
}

.price-range {
    margin-top: 15px;
}

.range-slider {
    margin-bottom: 10px;
}

.price-slider {
    width: 100%;
}

.price-values {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 0.9rem;
}

.sidebar-banner {
    background: linear-gradient(135deg, #6ae2ff, #3a7bd5);
    border-radius: 10px;
    padding: 15px;
    color: #000;
    text-align: center;
}

.sidebar-banner h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.sidebar-banner p {
    margin-bottom: 10px;
}

.sidebar-banner img {
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background: rgba(20, 20, 40, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

.product-badge.hot {
    background: #ff4757;
    color: #fff;
}

.product-badge.new {
    background: #2ed573;
    color: #fff;
}

.product-badge.discount {
    background: #ffa502;
    color: #000;
}

.product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.product-price .current-price {
    font-size: 1.2rem;
    color: #6ae2ff;
    font-weight: bold;
}

.product-price .old-price {
    font-size: 0.9rem;
    color: #aaa;
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    color: #ffd700;
    font-size: 0.9rem;
}

.product-rating span {
    color: #aaa;
    margin-left: 5px;
}

.product-server {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    border-top: 1px solid #333;
    padding: 10px 15px;
    gap: 10px;
}

.btn-details {
    flex: 1;
    padding: 8px;
    background: transparent;
    border: 1px solid #6ae2ff;
    color: #6ae2ff;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-details:hover {
    background: rgba(106, 226, 255, 0.1);
}

.btn-cart {
    flex: 1;
    padding: 8px;
    background: #6ae2ff;
    border: none;
    color: #000;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cart:hover {
    background: #4fd1f1;
}

.shop-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: rgba(20, 20, 40, 0.7);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.pagination-btn:hover {
    background: rgba(106, 226, 255, 0.2);
}

.pagination-btn.active {
    background: #6ae2ff;
    color: #000;
    font-weight: bold;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Корзина */
.cart-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.cart-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #6ae2ff;
    color: #000;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s;
}

.cart-btn:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}




/* ==================== СТРАНИЦА СЕРВЕРОВ ==================== */
.servers-header {
    margin: 30px 0;
    color: #fff;
}

.servers-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #6ae2ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.server-card {
    background: rgba(20, 20, 40, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.server-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.server-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

.server-status.online {
    background: #28a745;
    color: #fff;
}

.server-status.offline {
    background: #dc3545;
    color: #fff;
}

.server-status.development {
    background: #ffc107;
    color: #000;
}

.server-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #aaa;
    font-size: 0.9rem;
}

.server-meta i {
    margin-right: 5px;
    color: #6ae2ff;
}

.server-description {
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 20px;
}

.server-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.server-btn {
    padding: 8px 5px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.server-btn i {
    font-size: 0.9rem;
}

.btn-description {
    background: rgba(106, 226, 255, 0.1);
    color: #6ae2ff;
    border: 1px solid #6ae2ff;
}

.btn-description:hover {
    background: rgba(106, 226, 255, 0.3);
}

.btn-commands {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.btn-commands:hover {
    background: rgba(40, 167, 69, 0.3);
}

.btn-rules {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.btn-rules:hover {
    background: rgba(220, 53, 69, 0.3);
}

/* модальные окона и формы */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2a2a3a;
    border-radius: 10px;
    padding: 30px;
    z-index: 1001;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    display: none;
    border: 2px solid #6a4a8a;
}

.modal-content {
    position: relative;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #6a4a8a;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: #7d5b9d;
}

/* Адаптивные стили для модальных окон */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        padding: 15px;
    }
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .news-item {
    background: linear-gradient(145deg, #1f1f2e, #29293f);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    color: #fff;
  }
  
  .news-item h2 {
    margin-bottom: 10px;
    font-size: 24px;
  }
  
  .news-item p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
  }
  
  .news-media {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-media:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Стили для контента модальных окон */
.rules-content, .forum-content, .shop-content {
    padding: 15px 0;
}

.rules-list, .vacancies-list {
    list-style-type: none;
}

.rules-list li, .vacancies-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3a3a4a;
}

/* Модальное окно корзины */
.cart-modal {
    max-width: 800px;
    width: 90%;
}

.cart-modal h2 {
    color: #6ae2ff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
}

.empty-cart p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 20px;
}

.btn-continue {
    padding: 10px 20px;
    background: #6ae2ff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-continue:hover {
    background: #4fd1f1;
}

.cart-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #fff;
}

.total-row.discount {
    color: #2ed573;
}

.total-row.grand-total {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #444;
}

.btn-checkout {
    width: 100%;
    padding: 12px;
    background: #6ae2ff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-checkout:hover {
    background: #4fd1f1;
}

.btn-checkout:disabled {
    background: #555;
    cursor: not-allowed;
}

.payment-methods {
    margin-top: 20px;
    text-align: center;
}

.payment-methods p {
    color: #aaa;
    margin-bottom: 10px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.5rem;
    color: #6ae2ff;
}

/* Модальное окно товара */
.product-modal {
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.main-image {
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
    min-width: 300px;
}

.product-details h2 {
    color: #6ae2ff;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffd700;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.product-stock.in-stock {
    color: #2ed573;
}

.product-stock.out-of-stock {
    color: #ff4757;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-price .current {
    font-size: 1.8rem;
    color: #6ae2ff;
    font-weight: bold;
}

.product-price .old {
    font-size: 1.2rem;
    color: #aaa;
    text-decoration: line-through;
}

.product-price .discount {
    font-size: 0.9rem;
    background: #ff4757;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
}

.product-description {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.6;
}

.product-description h3 {
    color: #6ae2ff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-description ul {
    padding-left: 20px;
    margin: 10px 0;
}

.product-description li {
    margin-bottom: 5px;
}

.product-options {
    margin-bottom: 25px;
}

.option {
    margin-bottom: 15px;
}

.option label {
    display: block;
    margin-bottom: 5px;
    color: #6ae2ff;
    font-size: 0.9rem;
}

.option select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1px solid #333;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-selector button {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: rgba(106, 226, 255, 0.2);
    color: #6ae2ff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-selector button:hover {
    background: rgba(106, 226, 255, 0.4);
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1px solid #333;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-add-to-cart,
.btn-buy-now {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-cart {
    background: rgba(106, 226, 255, 0.2);
    color: #6ae2ff;
    border: 1px solid #6ae2ff;
}

.btn-add-to-cart:hover {
    background: rgba(106, 226, 255, 0.4);
}

.btn-buy-now {
    background: #6ae2ff;
    color: #000;
    border: none;
}

.btn-buy-now:hover {
    background: #4fd1f1;
}

.product-tabs {
    margin-top: 30px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    color: #aaa;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.tab-btn:hover {
    color: #6ae2ff;
}

.tab-btn.active {
    color: #6ae2ff;
    border-bottom-color: #6ae2ff;
}

.tab-pane {
    display: none;
    color: #ccc;
    line-height: 1.6;
    padding-bottom: 20px;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: #6ae2ff;
    margin-bottom: 15px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .shop-container {
        flex-direction: column;
    }
    
    .shop-sidebar {
        width: 100%;
    }
    
    .product-modal-content {
        flex-direction: column;
    }
    
    .main-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .shop-toolbar {
        flex-direction: column;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-add-to-cart,
    .btn-buy-now {
        width: 100%;
    }
}

/* Модальное окно сервера */
.server-modal {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.server-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.server-modal-header h2 {
    color: #6ae2ff;
    margin: 0;
}

.server-modal-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.server-modal-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.server-modal-tabs .tab-btn {
    padding: 10px 20px;
    background: transparent;
    color: #aaa;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-modal-tabs .tab-btn:hover {
    color: #6ae2ff;
}

.server-modal-tabs .tab-btn.active {
    color: #6ae2ff;
    border-bottom-color: #6ae2ff;
}

.server-modal-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-bottom: 20px;
}

.server-modal-description h3 {
    color: #6ae2ff;
    margin-bottom: 15px;
}

.server-modal-description ul {
    padding-left: 20px;
    margin: 15px 0;
}

.server-modal-description li {
    margin-bottom: 8px;
    color: #ccc;
}

.server-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.spec-item i {
    color: #6ae2ff;
    font-size: 1.1rem;
}

.spec-item strong {
    color: #fff;
}

.commands-list {
    margin-top: 20px;
}

.command-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.command-item code {
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 3px;
    color: #28a745;
    font-family: monospace;
}

.command-item span {
    color: #ccc;
    font-size: 0.9rem;
}

.rules-list {
    margin-top: 20px;
}

.rule-item {
    margin-bottom: 20px;
}

.rule-item h4 {
    color: #6ae2ff;
    margin-bottom: 10px;
}

.rule-item ul {
    padding-left: 20px;
    color: #ccc;
}

.rule-item li {
    margin-bottom: 8px;
}

.server-modal-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
}

.btn-connect {
    padding: 12px 30px;
    background: #6ae2ff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-connect:hover {
    background: #4fd1f1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .server-buttons {
        grid-template-columns: 1fr;
    }
    
    .server-modal-content {
        flex-direction: column;
    }
    
    .server-modal-image {
        height: 150px;
    }
}







/* ========== ОСНОВНЫЕ СТИЛИ МОДАЛЬНЫХ ОКОН ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    padding: 20px;
  }
  
  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-container {
    width: 100%;
    max-width: 900px;
    perspective: 1000px;
  }
  
  .modal-glass {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 16px;
    border: 1px solid rgba(106, 226, 255, 0.15);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(106, 226, 255, 0.05) inset;
    padding: 30px;
    position: relative;
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
  }
  
  .modal-overlay.active .modal-glass {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  
  /* Заголовок модального окна */
  .modal-header {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent, 
      rgba(106, 226, 255, 0.4), 
      transparent);
  }
  
  .modal-title {
    color: #6ae2ff;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(106, 226, 255, 0.3);
  }
  
  .modal-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .modal-status.online {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    animation: pulse 2s infinite;
  }
  
  .modal-status.offline {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
  }
  
  .modal-status.development {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
  }
  
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
  }
  
  /* Кнопка закрытия */
  .modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
  .modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
    color: #fff;
  }
  
  /* Вкладки */
  .modal-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
  }
  
  .tab-btn {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .tab-btn.active {
    background: rgba(106, 226, 255, 0.15);
    color: #6ae2ff;
    box-shadow: 0 0 15px rgba(106, 226, 255, 0.1);
  }
  
  .tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Контент вкладок */
  .tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
  }
  
  .tab-content.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Стили для контента сервера */
  .server-preview {
    height: 200px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
  }
  
  .server-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  }
  
  .server-description h3 {
    color: #6ae2ff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
  }
  
  .server-description p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .server-description ul {
    padding-left: 20px;
    margin-bottom: 25px;
  }
  
  .server-description li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    position: relative;
  }
  
  .server-description li::before {
    content: '•';
    color: #6ae2ff;
    position: absolute;
    left: -15px;
  }
  
  .server-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(106, 226, 255, 0.1);
  }
  
  .spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
  }
  
  .spec-item i {
    color: #6ae2ff;
    font-size: 1rem;
  }
  
  .spec-item strong {
    color: #fff;
    font-weight: 500;
  }
  
  /* Стили для списка команд */
  .commands-list {
    display: grid;
    gap: 10px;
  }
  
  .command-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  
  .command-item code {
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 10px;
    border-radius: 6px;
    color: #28a745;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
  }
  
  .command-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
  }
  
  /* Стили для правил */
  .rules-list {
    display: grid;
    gap: 20px;
  }
  
  .rule-item h4 {
    color: #6ae2ff;
    margin-bottom: 10px;
    font-size: 1.1rem;
  }
  
  .rule-item ul {
    padding-left: 20px;
    margin: 0;
  }
  
  .rule-item li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
  }
  
  /* Футер модального окна */
  .modal-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(106, 226, 255, 0.1);
    text-align: center;
  }
  
  .connect-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #6ae2ff, #3a7bd5);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(106, 226, 255, 0.2);
  }
  
  .connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 226, 255, 0.3);
  }
  
  /* Адаптивность */
  @media (max-width: 768px) {
    .modal-glass {
      padding: 20px;
    }
    
    .modal-title {
      font-size: 1.5rem;
    }
    
    .server-preview {
      height: 160px;
    }
    
    .modal-tabs {
      flex-direction: column;
    }
    
    .server-specs {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 480px) {
    .modal-glass {
      padding: 15px;
    }
    
    .server-specs {
      grid-template-columns: 1fr;
    }
  }

  /* Модифицируем существующие стили модального окна */

.modal-overlay {
  overflow-y: auto; /* Добавляем скролл для всего оверлея */
  -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
}

.modal-glass {
  max-height: calc(100vh - 100px); /* Ограничиваем высоту */
  margin: 1px 0; /* Отступы сверху и снизу */
  overflow: hidden; /* Скрываем внутренний скролл по умолчанию */
  display: flex;
  flex-direction: column;
}

.modal-content {
  overflow-y: auto; /* Скролл для контента */
  flex-grow: 1; /* Занимаем все доступное пространство */
  padding-right: 5px; /* Чтобы не заезжало под скроллбар */
  margin-right: -5px; /* Компенсируем padding */
}

/* Кастомный скроллбар */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(106, 226, 255, 0.3);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(106, 226, 255, 0.5);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .modal-glass {
    max-height: calc(100vh - 20px);
    margin: 10px 0;
  }
  
  .modal-content {
    max-height: none;
  }
  
  .server-preview {
    height: 120px;
  }
  
  .server-description,
  .commands-list,
  .rules-list {
    max-height: 50vh;
    overflow-y: auto;
  }
}

/* Фикс для footer */
.modal-footer {
  flex-shrink: 0; /* Чтобы футер не сжимался */
  position: sticky;
  bottom: 0;
  background: rgba(15, 23, 42, 0.9);
  padding-bottom: 10px;
  margin-top: 0;
}

/* Эти правила используются для показа модального оверлея и окон при добавлении класса active */
.modal-overlay.active {
    display: flex;            /* Меняем с none на flex, чтобы можно было выровнять содержимое */
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
  }
  
  .modal.active {
    display: block;           /* Меняем с none на block */
  }
  
  /* Если таких правил еще нет, убедитесь, что само модальное окно имеет ограничения по высоте и скроллируемый контент */
  .modal {
    max-height: 80vh;         /* Максимальная высота окна – 80% от высоты экрана */
    overflow-y: auto;         /* Вертикальная прокрутка, если контент превышает максимальную высоту */
  }
  
  /* Можно добавить плавный переход для появления модальных окон */
  .modal-overlay,
  .modal {
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  
  /* Ограничиваем высоту модального окна и делаем его прокручиваемым */
.modal {
  max-height: 90vh;    /* Максимальная высота модалки — 90% от высоты окна */
  overflow-y: auto;    /* Если содержимого больше, появляется вертикальная полоса прокрутки */
  -webkit-overflow-scrolling: touch; /* Плавность скролла на iOS */
}

/* Стили для страницы голосования */
.vote-page {
    background-color: rgb(11 4 24 / 80%);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(122, 0, 255, 0.3);
}

.vote-page h1 {
    color: #7a00ff;
    margin-top: 0;
    font-size: 28px;
    border-bottom: 2px solid #2d2d42;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.vote-description {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.vote-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    background-color: rgb(16 0 49);
    padding: 20px;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #7a00ff;
    margin-bottom: 5px;
}

.stat-label {
    color: #aaa;
    font-size: 14px;
}

.vote-list {
    margin-bottom: 40px;
}

.vote-item {
    background-color: rgb(16 0 49);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.vote-site-info {
    display: flex;
    align-items: center;
}

.vote-site-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 2px solid #7a00ff;
}

.vote-site-details h3 {
    margin: 0 0 5px 0;
    color: #fff;
}

.vote-site-stats {
    display: flex;
    gap: 15px;
}

.vote-site-stats span {
    font-size: 13px;
    color: #aaa;
}

.vote-site-stats i {
    margin-right: 5px;
    color: #7a00ff;
}

.vote-actions {
    text-align: right;
}

.vote-btn {
    display: inline-block;
    background-color: #7a00ff61;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.vote-btn:hover {
    background-color: #5a00c0;
}

.vote-btn i {
    margin-right: 8px;
}

.vote-cooldown {
    font-size: 13px;
    color: #ff5555;
}

.vote-cooldown.ready {
    color: #55ff55;
}

.vote-cooldown i {
    margin-right: 5px;
}

.vote-rewards h2 {
    color: #7a00ff;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid #2d2d42;
    padding-bottom: 10px;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.reward-item {
    background-color: rgb(16 0 49);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

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

.reward-icon {
    font-size: 40px;
    color: #7a00ff;
    margin-bottom: 15px;
}

.reward-item h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.reward-item p {
    margin: 0;
    color: #aaa;
    font-size: 14px;
}

/* Стили для страницы вакансий */
.vacancies-page {
    background-color: rgb(11 4 24 / 80%);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(122, 0, 255, 0.3);
}

.vacancies-page h1 {
    color: #7a00ff;
    margin-top: 0;
    font-size: 28px;
    border-bottom: 2px solid #2d2d42;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.vacancies-description {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.vacancies-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    background-color: rgb(16 0 49);
    padding: 20px;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #7a00ff;
    margin-bottom: 5px;
}

.stat-label {
    color: #aaa;
    font-size: 14px;
}

.vacancies-list {
    margin-bottom: 40px;
}

.vacancy-item {
    background-color: rgb(16 0 49);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.vacancy-header {
    background-color: #7a00ff4a;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vacancy-header h3 {
    margin: 0;
    color: white;
    font-size: 20px;
}

.vacancy-badge {
    background-color: white;
    color: #7a00ff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.vacancy-content {
    padding: 20px;
}

.vacancy-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 14px;
}

.info-item i {
    color: #7a00ff;
}

.vacancy-description h4 {
    color: #7a00ff;
    margin: 15px 0 10px 0;
    font-size: 16px;
}

.vacancy-description ul {
    margin: 0 0 15px 20px;
    padding: 0;
    color: #ddd;
    font-size: 14px;
    line-height: 1.6;
}

.vacancy-description li {
    margin-bottom: 5px;
}

.apply-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #7a00ff80;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #5a00c0;
}

.apply-btn i {
    margin-right: 8px;
}

.vacancies-benefits h2 {
    color: #7a00ff;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid #2d2d42;
    padding-bottom: 10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.benefit-item {
    background-color: rgb(16 0 49);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

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

.benefit-icon {
    font-size: 40px;
    color: #7a00ff;
    margin-bottom: 15px;
}

.benefit-item h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.benefit-item p {
    margin: 0;
    color: #aaa;
    font-size: 14px;
}

/* Стили для модального окна заявки */
#application-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

#application-modal .modal-content {
    background-color: #1a1a2e;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    margin: 20px auto;
    position: relative;
}

#application-modal h2 {
    color: #7a00ff;
    margin-top: 0;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: #2d2d42;
    border: 1px solid #3d3d5a;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-application-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #7a00ff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-application-btn:hover {
    background-color: #5a00c0;
}

.submit-application-btn i {
    margin-right: 8px;
}

/* Стили для аккордеона FAQ */
.faq-item {
    background-color: #2d2d42;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #34006d;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #4d4d6a;
}

.faq-question h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    user-select: none;
}

.faq-toggle {
    background: none;
    border: none;
    color: #7a00ff;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s;
}

.faq-toggle i {
    transition: transform 0.3s;
}

.faq-toggle.active i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 20px;
    overflow: hidden;
    color: #ddd;
    line-height: 1.6;
}

.faq-answer.active {
    display: block;
    padding: 15px 20px 20px;
}

.faq-answer p, .faq-answer ol, .faq-answer ul {
    margin-bottom: 15px;
}

.faq-answer ol, .faq-answer ul {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.highlight {
    background-color: yellow;
    color: black;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Стили для поиска */
.help-search {
    display: flex;
    margin-bottom: 30px;
}

.help-search input {
    flex: 1;
    padding: 12px 15px;
    background-color: #2d2d42;
    border: 1px solid #3d3d5a;
    border-radius: 5px 0 0 5px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.help-search input:focus {
    border-color: #7a00ff;
}

.help-search button {
    padding: 0 20px;
    background-color: #7a00ff;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.help-search button:hover {
    background-color: #5a00c0;
}

/* Стили для страницы помощи */
.help-page {
    background-color: rgb(11 4 24 / 80%);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(122, 0, 255, 0.3);
}

.help-page h1 {
    color: #7a00ff;
    margin-top: 0;
    font-size: 28px;
    border-bottom: 2px solid #2d2d42;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.help-description {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.help-search {
    display: flex;
    margin-bottom: 40px;
}

.help-search input {
    flex: 1;
    padding: 12px 15px;
    background-color: rgb(24 0 73 / 56%);
    border: 1px solid #3d3d5a;
    border-radius: 5px 0 0 5px;
    color: white;
    font-size: 16px;
    outline: none;
}

.help-search button {
    padding: 0 20px;
    background-color: #7a00ff80;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.help-search button:hover {
    background-color: #5a00c0;
}

.help-search i {
    margin-right: 8px;
}

.help-categories h2 {
    color: #7a00ff;
    margin-bottom: 20px;
    font-size: 24px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-item {
    background-color: rgb(16 0 49);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s;
}

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

.category-icon {
    font-size: 40px;
    color: #7a00ff;
    margin-bottom: 15px;
}

.category-item h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.category-item p {
    margin: 0 0 15px 0;
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
}

.category-link {
    color: #7a00ff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.category-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.category-link:hover i {
    transform: translateX(3px);
}

.help-faq {
    margin-bottom: 40px;
}

.help-faq h2 {
    color: #7a00ff;
    margin-bottom: 20px;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.help-faq h2 i {
    margin-right: 10px;
}

.faq-item {
    background-color: rgb(16 0 49);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #3d3d5a;
}

.faq-question h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.faq-toggle {
    background: none;
    border: none;
    color: #7a00ff;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

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

.faq-answer p, .faq-answer ol, .faq-answer ul {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-answer ol, .faq-answer ul {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer code {
    background-color: #1a1a2e;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    color: #7a00ff;
}

.help-support h2 {
    color: #7a00ff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.support-option {
    background-color: rgb(16 0 49);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s;
}

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

.option-icon {
    font-size: 40px;
    color: #7a00ff;
    margin-bottom: 15px;
}

.support-option h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.support-option p {
    margin: 0 0 20px 0;
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
}

.support-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7a00ff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.support-btn:hover {
    background-color: #5a00c0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .categories-grid, .support-options {
        grid-template-columns: 1fr;
    }
    
    .help-search {
        flex-direction: column;
    }
    
    .help-search input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .help-search button {
        border-radius: 5px;
        padding: 12px;
    }
}

/* Стили для страницы 404 */
.error-page {
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.error-code {
    font-size: 120px;
    font-weight: bold;
    color: #7a00ff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(122, 0, 255, 0.5);
}

.error-title {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.error-description {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #7a00ff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.error-btn:hover {
    background-color: #5a00c0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(122, 0, 255, 0.3);
}

.error-btn i {
    margin-right: 10px;
}

.error-image {
    max-width: 300px;
    margin: 40px auto;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 28px;
    }
    
    .error-description {
        font-size: 16px;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .error-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Стили для страницы правил */
.rules-page {
    background-color: rgb(11 4 24 / 80%);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(122, 0, 255, 0.3);
}

.rules-page h1 {
    color: #7a00ff;
    margin-top: 0;
    font-size: 28px;
    border-bottom: 2px solid #2d2d42;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rules-intro {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.rules-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rules-tab {
    padding: 10px 20px;
    background-color: #6c2fff40;
    color: #aaa;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.rules-tab.active {
    background-color: #4b00ffa3;
    color: white;
}

.rules-tab:hover:not(.active) {
    background-color: #3d3d5a;
}

.rules-content {
    display: none;
}

.rules-content.active {
    display: block;
}

.rule-category {
    margin-bottom: 30px;
}

.rule-category h2 {
    color: #7a00ff;
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rule-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.rule-list li {
    padding: 10px 15px;
    background-color: #6c2fff40;
    margin-bottom: 8px;
    border-radius: 5px;
    position: relative;
    padding-left: 35px;
}

.rule-list li:before {
    content: "•";
    color: #7a00ff;
    font-size: 20px;
    position: absolute;
    left: 15px;
    top: 8px;
}

.rules-footer {
    margin-top: 40px;
    border-top: 1px dashed #2d2d42;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.rules-footer p {
    color: #aaa;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rules-confirm-btn {
    padding: 12px 25px;
    background-color: #7a00ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rules-confirm-btn:hover {
    background-color: #5a00c0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .rules-tabs {
        flex-direction: column;
    }
    
    .rules-footer {
        flex-direction: column;
        text-align: center;
    }
}

.user-panel {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}

.user-panel h3 {
    margin-bottom: 10px;
}

.logout-btn {
    padding: 8px 15px;
    background: #ff5050;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.user-panel {
    text-align: center;
    background: rgba(20, 20, 20, 0.6);
    padding: 15px;
    border-radius: 10px;
}

.user-panel .avatar {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.user-actions button {
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 8px;
    background: #6c2fff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.user-actions button:hover {
    background: #8a3dff;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2a2a3a;
    border-radius: 10px;
    padding: 30px;
    z-index: 1001;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    display: none;
    border: 2px solid #6a4a8a;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #222;
  color: #eee;
  padding: 20px;
  border-radius: 10px;
  width: 320px;
  text-align: center;
}

/* Стили для личного кабинета */
.user-panel {
    text-align: center;
    background: rgb(19 1 57 / 80%);
    padding: 15px;
    border-radius: 10px;
}

.user-panel .avatar {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.user-actions button {
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 8px;
    background: #6c2fff40;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.user-actions button:hover {
    background: #8a3dff;
}

.balance-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #6c2fff40, #8a3dff40);
  padding: 10px 20px;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  margin: 15px 0;
  user-select: none;
}

.balance-info {
  display: flex;
  gap: 20px;
  font-size: 16px;
}

.balance-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.balance-item i {
  color: #00ffb8; /* яркий бирюзовый для изумрудов */
  font-size: 18px;
}

/* Цвет для значка рублей */
.balance-item:nth-child(2) i {
  color: #ffd700; /* золотой цвет */
}

.balance-topup-btn {
  background: white;
  color: #6c2fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.balance-topup-btn:hover {
  background-color: #8a3dff;
  color: white;
}


.balance-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.balance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #3a2f4b;
    padding: 12px 16px;
    border-radius: 8px;
    color: #eee;
    font-size: 16px;
}

.balance-item span {
    font-weight: bold;
    margin-right: 8px;
}

.balance-item i {
    color: #9d7aff;
    font-size: 18px;
    margin-right: auto;
    margin-left: 10px;
}

.balance-item button {
    background-color: #6a4a8a;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.balance-item button:hover {
    background-color: #7d5cb1;
}








/* Обёртка личного кабинета */
.profile-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Левая часть — скин и кнопка */
.profile-left {
    text-align: center;
    flex: 0 0 180px;
}

/* Анимация скина */
.profile-skin {
    background-image: url("https://mc-heads.net/body/Mazan172/150.gif");
    background-size: cover;
    content: "";
}

.upload-btn {
    background-color: #6c2fff40;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

.upload-btn:hover {
    background-color: #825cb3;
}

/* Правая часть — информация и действия */
.profile-right {
    flex: 1;
    background-color: rgb(11 4 24 / 80%);
    border: 1px solid var(--neon-purple);
    border-radius: 10px;
    padding: 20px;
    color: #fff;
}

.profile-info p {
    margin: 10px 0;
    font-size: 16px;
}

/* Баланс */
.profile-balance {
    margin-top: 20px;
    margin-bottom: 20px;
}

.balance-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.balance-item {
    background-color: rgb(19 1 57 / 80%);
    border: 1px solid var(--neon-purple);
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-item button {
    margin-left: auto;
    background-color: #6c2fff40;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.balance-item button:hover {
    background-color: #825cb3;
}

/* Действия */
.profile-actions div {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.profile-actions span {
    font-weight: bold;
    color: #ccc;
}

.profile-actions button {
    background-color: #6a4a8a;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 10px;
    margin-top: 5px;
    transition: background-color 0.3s;
}

.profile-actions button:hover {
    background-color: #825cb3;
}

/* Примечание про скин */
.skin-note {
    margin-top: 20px;
    font-size: 14px;
    color: #ff5c5c;
    background-color: #77000087;
    padding: 10px;
    border-radius: 6px;
    font-style: italic;
}
















/* Основной контейнер */
.profile_page_section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px;
}

/* Блок с скином */
#player_skin_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

/* Контейнер с canvas */
#skin_container {
  background: #111;
  border: 2px solid #444;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 16px;
}

/* Кнопка загрузки скина */
.skin_upload {
  margin-top: 10px;
  padding: 14px 26px;
  background: #6c2bc2;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.2s ease;
}
.skin_upload:hover {
  background: #8331e9;
}

/* Блок информации */
#account_info_block {
  flex: 1;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

/* Элементы информации */
.account_info_item {
  margin-bottom: 14px;
}

.account_info_item_title {
  font-weight: 600;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 4px;
}

.account_info_item_content {
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.account_info_nickname {
  font-weight: bold;
  color: #9d79f5;
}

.account_info_balance i {
  margin-right: 5px;
}

.account_info_status span,
.account_info_link a,
.account_balance_add {
  color: #9d79f5;
  text-decoration: none;
  font-weight: 500;
}

.account_balance_add:hover {
  text-decoration: underline;
}

/* Кнопки "Установить / Удалить" */
.profile_buttons_wrapper a {
  margin-right: 8px;
  font-size: 14px;
  text-decoration: none;
  color: #9d79f5;
}
.profile_buttons_wrapper a:hover {
  text-decoration: underline;
}

/* Уведомление */
.profile_notification {
  color: #ff6565;
  background-color: rgba(255, 50, 50, 0.1);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 50, 50, 0.2);
}


#skin_container {
    border: 2px solid #6f42c1; /* Пример - можешь изменить цвет */
    /* или другие свойства, влияющие на рамку */
}


.profile_page_navigation {
    max-width: 820px; /* ограничим ширину */
    margin: 30px auto 20px auto; /* центрирование */
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    background: rgb(19 1 57 / 80%);
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.profile_page_navigation a {
    color: #ccc;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: #6c2fff40;
    transition: background 0.3s, color 0.3s;
    font-weight: 500;
    font-size: 15px;
}

.profile_page_navigation a:hover {
    background: #7d3ac1;
    color: #fff;
}

.profile_page_navigation a.selected {
    background: #4b00ffa3;
    color: #fff;
}

.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.achievement-card {
  display: flex;
  align-items: center;
  background: rgba(20, 20, 20, 0.6);
  border: 2px solid #5c2a8d;
  border-radius: 12px;
  padding: 16px;
  transition: 0.3s;
}

.achievement-card.locked {
  opacity: 0.4;
  filter: grayscale(1);
}

.achievement-card img {
  width: 64px;
  height: 64px;
  margin-right: 16px;
}

.achievement-info h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #b983ff;
}

.achievement-info p {
  margin: 4px 0 8px;
  font-size: 0.9rem;
  color: #ccc;
}

.progress {
  background-color: #333;
  border-radius: 6px;
  height: 10px;
  width: 100%;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #9a4dff;
  transition: width 0.5s;
}








/* Меню профиля слева */
.profile-nav {
    margin-bottom: 20px;
}
.profile-nav ul {
    list-style: none;
    padding: 0;
}
.profile-nav ul li {
    margin-bottom: 12px;
}
.profile-nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    display: block;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}
.profile-nav ul li.active a,
.profile-nav ul li a:hover {
    background: #6a0dad;
    color: #fff;
}











/* --- Стили для блока достижений --- */

.achievements-progress {
    margin-bottom: 30px;
    background: rgb(11 4 24 / 80%);
    padding: 20px;
    border-radius: 8px;
    color: #ddd;
    box-shadow: 0 0 10px rgb(138 43 226 / 0.4);
}

.achievements-progress h2 {
    margin: 0 0 10px;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    background: #33334d;
    height: 16px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: #8a2be2;
    transition: width 0.4s ease;
}

.achievements-progress p {
    font-size: 14px;
    color: #aaa;
    margin: 0;
}

.achievements-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.achievement-card {
    background: #2a2a40;
    border-radius: 10px;
    padding: 15px;
    width: calc(33.333% - 13.333px);
    box-sizing: border-box;
    color: #eee;
    text-align: center;
    box-shadow: 0 0 10px rgb(138 43 226 / 0.4);
    transition: transform 0.2s;
    cursor: default;
}

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

.achievement-card img {
    max-width: 80px;
    margin-bottom: 12px;
}

.achievement-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.achievement-card p {
    margin: 0;
    font-size: 14px;
    color: #bbb;
}

.achievement-card.locked {
    filter: grayscale(90%);
    opacity: 0.5;
}


.achievement-card {
    background: #2a2a40;
    border-radius: 10px;
    padding: 15px 10px 20px; /* чуть больше снизу для визуального баланса */
    width: calc(33.333% - 13.333px);
    box-sizing: border-box;
    color: #eee;
    text-align: center;
    box-shadow: 0 0 10px rgb(138 43 226 / 0.4);
    transition: transform 0.2s;
    cursor: default;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.achievement-card img {
    max-width: 80px;
    max-height: 80px; /* фиксируем высоту, чтобы картинки были равными */
    object-fit: contain; /* чтобы не искажать */
    margin-bottom: 15px; /* чуть больше пространства под картинкой */
}

.achievement-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.2;
}

.achievement-card p {
    margin: 0;
    font-size: 14px;
    color: #bbb;
    word-wrap: break-word; /* чтобы текст не вылазил из карточки */
    max-width: 100%;
}










.achievement-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(128, 0, 128, 0.5);
}
.achievement-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}
.achievement-card h3 {
    color: #b84dff;
    margin: 0 0 10px;
}
.achievement-card p {
    color: #ccc;
    margin: 0;
}

.privileges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.achievement-card {
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 15px;
    width: 200px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(128, 0, 128, 0.3);
}
.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(186, 85, 211, 0.6);
}
.achievement-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}
.achievement-card h3 {
    font-size: 18px;
    color: #b84dff;
    margin: 0 0 8px;
}
.achievement-card p {
    font-size: 14px;
    color: #ccc;
    margin: 0;
}


.privileges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Центрирование карточек */
}


.privileges-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 карточки в ряд */
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

/* Карточка */
.achievement-card {
    background: rgb(17 6 37 / 83%);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(128, 0, 128, 0.3);
}
.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(186, 85, 211, 0.6);
}
.achievement-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}
.achievement-card h3 {
    font-size: 18px;
    color: #b84dff;
    margin: 0 0 8px;
}
.achievement-card p {
    font-size: 14px;
    color: #ccc;
    margin: 0;
}

/* Адаптация под мобильные устройства */
@media (max-width: 900px) {
    .privileges-wrapper {
        grid-template-columns: repeat(2, 1fr); /* 2 в ряд на планшетах */
    }
}
@media (max-width: 600px) {
    .privileges-wrapper {
        grid-template-columns: 1fr; /* 1 карточка в ряд на телефонах */
    }
}




.no-privileges-message {
    background: rgb(11 4 24 / 80%);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 20px;
    color: #ccc;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(128, 0, 128, 0.2);
    width: 100%;
    margin-top: 20px;
}
.no-privileges-message a {
    color: #b84dff;
    text-decoration: underline;
}





















/* Стили профиля */
.user-profile {
    color: #e0e0e0;
}

.profile-header {
    text-align: center;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #6a4a8a;
    margin: 0 auto 10px;
    display: block;
}

.profile-username {
    font-weight: bold;
    font-size: 18px;
    margin: 5px 0;
}

.balance-container {
    background-color: #3a3a4a;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.balance-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.balance-item {
    display: flex;
    align-items: center;
}

.balance-value {
    margin-right: 8px;
    font-weight: bold;
    font-size: 18px;
}

.balance-icon {
    font-size: 20px;
}

.fa-gem {
    color: #2ecc71;
}

.fa-ruble-sign {
    color: #e74c3c;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-action, .logout-btn {
    width: 100%;
    text-align: center;
}

.logout-btn {
    background-color: #e74c3ca1 !important;
    margin-top: 15px;
}

.logout-btn:hover {
    background-color: #c0392b !important;
}









/* ----------------------------------------------------ЗАКРЫТОЕ БЕТА ТЕСТИРОВАНИЕ---------------------------------------------------- */



    .profile-actions {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        background: rgb(16 0 49);
        border-radius: 8px;
    }
    
    .profile-actions div {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }
    
    .profile-actions span {
        flex: 1;
        color: #a0a0c0;
    }
    
    .profile-actions button {
        padding: 6px 12px;
        background: #6c2fff40;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        margin-left: 10px;
    }
    
    .skin-note {
        color: #707090;
        font-size: 0.9em;
        margin-top: -10px;
        margin-bottom: 20px;
    }
    
    .zbt-section {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #3a3a5a;
    }
    
    .zbt-section h3 {
        color: #d0d0ff;
        margin-bottom: 15px;
    }
    
    .zbt-buttons {
        display: flex;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .zbt-btn {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        border-radius: 6px;
        text-decoration: none;
        color: white;
        font-weight: 500;
        transition: all 0.3s;
    }
    
    .yandex-btn {
        background: #FFCC00;
        color: #000;
    }
    
    .google-btn {
        background: #4285F4;
    }

    .podrobnee-btn {
        background: #802deb;
    }
    
    .zbt-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    
    .zbt-btn img {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    
    .zbt-note {
        color: #9090b0;
        font-size: 0.9em;
    }

    







    .modal {
            display: none;
            position: fixed;
            top: 9;
            left: 4;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            background-color: rgb(16 0 49);
            padding: 30px;
            border-radius: 10px;
            width: 1200px;
            max-width: 100%;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
        
        .modal-title {
            font-size: 24px;
            margin-bottom: 20px;
            color: #fff;
        }
        
        .form-choice-btn {
            display: block;
            width: 100%;
            padding: 15px;
            margin: 10px 0;
            background-color: #2a2a3e;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }
        
        .form-choice-btn:hover {
            background-color: #3a3a4e;
        }
        
        .form-choice-btn i {
            margin-right: 10px;
        }
        
        .close-modal-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
        }

    /* ----------------------------------------------------///ЗАКРЫТОЕ БЕТА ТЕСТИРОВАНИЕ---------------------------------------------------- */









    /* Основные стили */
        :root {
            --neon-purple: #7a00ff;
            --neon-pink: #ff00a0;
            --neon-blue: #00f2ff;
            --dark-bg: #0f0524;
            --card-bg: rgba(15, 5, 36, 0.7);
        }
        
        body {
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--dark-bg);
            color: white;
            overflow-x: hidden;
        }
        
        #bg-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* Шапка */
        header {
            background: rgba(15, 5, 36, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--neon-purple);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            font-size: 28px;
            font-weight: 700;
            color: white;
            text-decoration: none;
            background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .play-btn {
            background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
            border: none;
            color: white;
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .play-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(122, 0, 255, 0.4);
        }
        
        nav ul {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
            gap: 20px;
        }
        
        .nav-link {
            color: white;
            text-decoration: none;
            font-weight: 500;
            padding: 10px 0;
            position: relative;
            transition: color 0.3s ease;
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--neon-purple);
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--neon-purple);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after, .nav-link.active::after {
            width: 100%;
        }
        
        /* Заголовок страницы */
        .servers-header {
            text-align: center;
            margin: 40px 0;
        }
        
        .servers-header h1 {
            font-size: 42px;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
        
        .breadcrumbs {
            margin-top: 15px;
            color: #aaa;
        }
        
        .breadcrumbs a {
            color: #aaa;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .breadcrumbs a:hover {
            color: var(--neon-purple);
        }
        
        .breadcrumbs span {
            color: white;
        }
        
        /* Сетка серверов */
        .servers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 25px;
            margin: 40px 0;
        }
        
        .server-card {
            background: var(--card-bg);
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid rgba(122, 0, 255, 0.3);
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }
        
        .server-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(122, 0, 255, 0.2);
            border-color: var(--neon-purple);
        }
        
        .server-image {
            height: 180px;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        
        .server-status {
            position: absolute;
            top: 15px;
            right: 15px;
            padding: 5px 15px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 14px;
        }
        
        .online {
            background: rgba(0, 255, 0, 0.2);
            color: #0f0;
            border: 1px solid #0f0;
        }
        
        .offline {
            background: rgba(255, 0, 0, 0.2);
            color: #f00;
            border: 1px solid #f00;
        }
        
        .development {
            background: rgba(255, 165, 0, 0.2);
            color: #ffa500;
            border: 1px solid #ffa500;
        }
        
        .server-info {
            padding: 10px;
        }
        
        .server-info h2 {
            margin: 0 0 10px;
            font-size: 24px;
        }
        
        .server-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            color: #aaa;
            font-size: 14px;
        }
        
        .server-meta i {
            margin-right: 5px;
            color: var(--neon-purple);
        }
        
        .server-description {
            margin: 0 0 20px;
            line-height: 1.5;
            color: #ddd;
        }
        
        .server-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .server-btn {
            background: rgba(122, 0, 255, 0.2);
            border: 1px solid var(--neon-purple);
            color: white;
            padding: 8px 15px;
            border-radius: 50px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .server-btn:hover {
            background: var(--neon-purple);
        }
        
        /* Модальное окно */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .modal-container {
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .modal-glass {
            background: rgba(15, 5, 36, 0.9);
            border-radius: 20px;
            border: 1px solid var(--neon-purple);
            padding: 30px;
            position: relative;
            backdrop-filter: blur(10px);
        }
        
        .modal-close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            transition: color 0.3s ease;
        }
        
        .modal-close-btn:hover {
            color: var(--neon-purple);
        }
        
        .modal-header {
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .modal-title {
            margin: 0;
            font-size: 28px;
        }
        
        .modal-status {
            padding: 5px 15px;
            border-radius: 50px;
            font-weight: 600;
        }
        
        .modal-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 1px solid rgba(122, 0, 255, 0.3);
            padding-bottom: 10px;
        }
        
        .tab-btn {
            background: none;
            border: none;
            color: #aaa;
            padding: 8px 20px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .tab-btn.active, .tab-btn:hover {
            background: rgba(122, 0, 255, 0.2);
            color: white;
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .server-preview {
            height: 200px;
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            margin-bottom: 20px;
        }
        
        .server-description h3 {
            margin-top: 0;
        }
        
        .server-specs {
            display: flex;
            gap: 20px;
            margin: 20px 0;
            flex-wrap: wrap;
        }
        
        .spec-item {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(122, 0, 255, 0.1);
            padding: 10px 15px;
            border-radius: 50px;
            border: 1px solid rgba(122, 0, 255, 0.3);
        }
        
        .spec-item i {
            color: var(--neon-purple);
        }
        
        .commands-list, .rules-list {
            background: rgba(15, 5, 36, 0.5);
            border-radius: 10px;
            padding: 15px;
            border: 1px solid rgba(122, 0, 255, 0.3);
        }
        
        .command-item, .rule-item {
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px dashed rgba(122, 0, 255, 0.3);
        }
        
        .command-item:last-child, .rule-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .command-name {
            color: var(--neon-purple);
            font-weight: 600;
        }
        
        .command-desc {
            color: #ddd;
            margin-left: 15px;
        }
        
        .modal-footer {
            margin-top: 20px;
            text-align: center;
        }
        
        .connect-btn {
            background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
            border: none;
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        
        .connect-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(122, 0, 255, 0.3);
        }
        
        /* Подвал */
        footer {
            background: rgba(15, 5, 36, 0.8);
            border-top: 1px solid var(--neon-purple);
            padding: 30px 0;
            margin-top: 50px;
        }
        
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .footer-logo {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 15px;
            background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .footer-links {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .footer-link {
            color: #aaa;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-link:hover {
            color: var(--neon-purple);
        }
        
        .footer-copy {
            color: #666;
            font-size: 14px;
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .servers-header h1 {
                font-size: 32px;
            }
            
            .servers-grid {
                grid-template-columns: 1fr;
            }
            
            .modal-container {
                width: 95%;
            }
            
            .modal-tabs {
                flex-wrap: wrap;
            }
            
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        
        /* Анимации */
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }