/* ========================================
   БАЗОВЫЕ СТИЛИ
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    --dark-bg: #0a0e27;
    --light-bg: #1a1f3a;
    --card-bg: #252b48;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Анимированный фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    animation: bgPulse 15s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

/* ========================================
   HEADER / НАВИГАЦИЯ
======================================== */
header {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Навигация */
.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    justify-content: center;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-top: 8px;
    padding: 8px;
    border: 1px solid var(--border-color);
    z-index: 100;
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    border-radius: 8px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.username {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-login:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-logout {
    background: var(--danger-color);
    color: white;
}

.btn-logout:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* ========================================
   MAIN LAYOUT
======================================== */
.main-wrapper {
    min-height: calc(100vh - 80px);
    padding: 30px 0;
}

.main-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   SIDEBAR
======================================== */
.main-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Кнопка "Начать играть" */
.play-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.play-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-play-main {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 28px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-play-main:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.play-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

/* Widget Box */
.widget-box {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.widget-header {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.widget-header i {
    font-size: 20px;
    color: var(--primary-color);
}

.widget-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.widget-body {
    padding: 25px;
}

/* Server Monitor */
.server-status-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.server-status-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.server-status-card.online {
    border-color: var(--success-color);
}

.server-status-card.offline {
    opacity: 0.6;
    border-color: var(--danger-color);
}

.server-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.server-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.server-name h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.status-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--success-color);
}

.server-status-card.offline .status-text {
    color: var(--danger-color);
}

/* Круговой индикатор игроков */
.players-circle {
    width: 100px;
    height: 100px;
    margin: 15px auto;
    position: relative;
}

.players-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 6;
}

.circle-progress {
    fill: none;
    stroke: var(--success-color);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - var(--progress, 0));
    transition: stroke-dashoffset 1s ease;
}

.players-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.players-count i {
    font-size: 20px;
    color: var(--success-color);
    display: block;
    margin-bottom: 5px;
}

.players-count span {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.players-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 10px;
}

/* Top Voters */
.voters-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.voter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.voter-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.voter-rank {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.voter-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
}

.voter-votes {
    color: var(--warning-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vote-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vote-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vote-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

/* ========================================
   MAIN CONTENT
======================================== */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Баннеры */
.banners-section {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.banner-item-main {
    position: relative;
    overflow: hidden;
}

.banner-item-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.banner-item-main:hover img {
    transform: scale(1.05);
}

.banner-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--card-bg), var(--light-bg));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    padding: 40px;
}

.placeholder-content i {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.placeholder-content h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.placeholder-content p {
    color: var(--text-secondary);
    font-size: 18px;
}

/* Новости */
.news-section-main {
    margin-top: 20px;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
}

.section-header h2 i {
    color: var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    animation: fadeInUp 0.5s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-image-placeholder {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image-placeholder i {
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
}

.news-body {
    padding: 25px;
}

.news-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-meta {
    margin-bottom: 15px;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

footer p {
    color: var(--text-secondary);
    margin: 5px 0;
}

/* ========================================
   AUTH PAGES
======================================== */
.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-box {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.auth-box h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--danger-color);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success-color);
    color: #6ee7b7;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.auth-link {
    text-align: center;
    margin-top: 25px;
    color: var(--text-secondary);
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .main-sidebar {
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        padding: 30px 20px;
    }
    
    .banner-item-main img {
        height: 250px;
    }
}

/* ========================================
   SCROLLBAR
======================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ========================================
   UTILITY CLASSES
======================================== */
.no-content {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-content i {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.5;
}

.user-dropdown {
    position: relative;
}

.user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Notification для копирования и т.д. */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 20px 25px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--text-primary);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-success i {
    color: var(--success-color);
    font-size: 24px;
}

.notification-error {
    border-left: 4px solid var(--danger-color);
}

.notification-error i {
    color: var(--danger-color);
    font-size: 24px;
}

.legal-page {
    min-height: 100vh;
    padding: 30px 0 80px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Legal Header */
.legal-header {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.legal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s linear infinite;
}

.legal-header i {
    font-size: 60px;
    color: white;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 1;
}

.legal-header h1 {
    font-size: 42px;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.last-updated {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Legal Content */
.legal-content {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 50px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.legal-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.legal-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.important-notice,
.warning-text {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--warning-color);
    margin: 20px 0;
}

.important-notice i,
.warning-text i {
    font-size: 24px;
    color: var(--warning-color);
    margin-top: 3px;
}

.important-notice strong {
    display: block;
    color: var(--warning-color);
    margin-bottom: 8px;
    font-size: 16px;
}

.important-notice p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Legal Sections */
.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 15px;
}

.section-content ul,
.section-content ol {
    margin: 15px 0 15px 30px;
}

.section-content li {
    margin-bottom: 10px;
}

.section-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.section-content a:hover {
    color: var(--secondary-color);
}

/* Info Blocks */
.info-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin: 20px 0;
}

.info-block h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.info-block i {
    color: var(--primary-color);
}

.info-block ul {
    margin: 0;
    padding-left: 25px;
}

.info-block code {
    background: rgba(99, 102, 241, 0.2);
    padding: 3px 8px;
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Info */
.contact-info {
    display: grid;
    gap: 15px;
    margin: 25px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.contact-item:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 28px;
    color: var(--primary-color);
}

.contact-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item span {
    color: var(--text-secondary);
}

/* Legal Footer */
.legal-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.legal-footer p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.related-docs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.related-docs a {
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.related-docs a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }
    
    .legal-header h1 {
        font-size: 32px;
    }
    
    .legal-section h2 {
        font-size: 24px;
    }
    
    .section-content ul,
    .section-content ol {
        margin-left: 20px;
    }
    
    .related-docs {
        flex-direction: column;
    }

select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    color: var(--text-primary) !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 16px !important;
    cursor: pointer !important;
}

select:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

select option {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
    padding: 12px !important;
}

select option:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Для темной темы */
.admin-panel select {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.admin-panel select option {
    background: var(--admin-card-bg) !important;
    color: white !important;
}
    
    .refund-case,
    .process-step {
        flex-direction: column;
    }
}