/* Global Styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #0d1421;
    --accent-color: #2196f3;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-gray: #f8fafc;
    --dark-gray: #1f2937;
    --text-light: #e2e8f0;
    --text-dark: #1e293b;
    --border-color: #374151;
    --ss14-blue: #00bcd4;
    --ss14-orange: #ff9800;
    --ss14-purple: #9c27b0;
    --ss14-blue-alpha: rgba(0, 188, 212, 0.20);
    --ss14-orange-alpha: rgba(255, 152, 0, 0.20);
    --ss14-purple-alpha: rgba(156, 39, 176, 0.20);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-light);
    line-height: 1.6;
}

/* Navigation */
.ss14-navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border-bottom: 2px solid var(--ss14-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--text-light) !important;
    font-family: 'Orbitron', monospace;
}

.brand-text {
    background: linear-gradient(45deg, var(--ss14-blue), var(--ss14-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.ss14-icon {
    color: var(--ss14-blue);
    filter: drop-shadow(0 0 5px rgba(0, 188, 212, 0.3));
}

.ss14-icon-large {
    font-size: 3rem;
    color: var(--ss14-blue);
    filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.5));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(0, 188, 212, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 188, 212, 0.2);
}

.ss14-credits {
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid var(--ss14-blue);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: var(--ss14-blue) !important;
}

.user-avatar {
    border: 2px solid var(--ss14-blue);
    transition: all 0.3s ease;
}

.user-avatar:hover {
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

/* Authentication Pages */
.auth-body {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    min-height: 100vh;
    overflow: hidden;
}

.auth-background {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--ss14-blue), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--ss14-orange), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, var(--ss14-purple), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--ss14-blue), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    opacity: 0.3;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-200px) translateY(-100px); }
}

.auth-container {
    position: relative;
    z-index: 1;
}

.auth-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 400px;
    width: 100%;
    border: 1px solid var(--ss14-blue);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    font-size: 3rem;
    color: var(--ss14-blue);
    margin-bottom: 1rem;
}

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.auth-subtitle {
    color: #94a3b8;
    font-size: 0.875rem;
}

.social-auth {
    margin-bottom: 1.5rem;
}

.social-auth h3 {
    font-size: 0.875rem;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-btn.google {
    background-color: #ea4335;
    color: white;
}

.social-btn.github {
    background-color: #333;
    color: white;
}

.social-btn.steam {
    background-color: #171a21;
    color: white;
}

.social-btn.discord {
    background-color: #5865f2;
    color: white;
}

.social-btn.ss14-central {
    background: linear-gradient(45deg, var(--ss14-blue), var(--ss14-orange));
    color: white;
    width: 120px;
    border-radius: 0.5rem;
}

.social-btn.ss14-central:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
}
.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: #94a3b8;
    font-size: 0.875rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
    z-index: 1;
}

.auth-divider span {
    background-color: rgba(15, 23, 42, 0.95);
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.auth-form .form-label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form .form-control {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--ss14-blue);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    background-color: rgba(30, 41, 59, 0.8);
    border-color: var(--ss14-blue);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
    outline: none;
}

.auth-form .form-control::placeholder {
    color: #94a3b8;
}

.form-check {
    margin: 1rem 0;
}

.form-check-input {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--ss14-blue);
}

.form-check-input:checked {
    background-color: var(--ss14-blue);
    border-color: var(--ss14-blue);
}

.form-check-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

.ss14-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ss14-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.ss14-btn:hover::before {
    left: 100%;
}

.btn-auth {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, var(--ss14-blue), var(--primary-color));
    border: none;
    color: white;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
}

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

.auth-links a {
    color: var(--ss14-blue);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--ss14-orange);
}

/* Account Pages */
.account-sidebar {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid var(--ss14-blue);
}

.account-sidebar h5 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.account-sidebar .nav-link {
    color: #94a3b8;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
}

.account-sidebar .nav-link:hover {
    background-color: rgba(0, 188, 212, 0.1);
    color: var(--text-light);
}

.account-sidebar .nav-link.active {
    background-color: var(--ss14-blue);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 188, 212, 0.3);
}

.account-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--ss14-blue);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.account-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.15);
}

.account-card .card-title {
    color: var(--text-light);
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.redeem-section {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--ss14-blue);
}

.redeem-section h6 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item label {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.info-item span {
    color: var(--text-light);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 0.5rem;
    border: 1px solid var(--ss14-blue);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ss14-blue);
    font-family: 'Orbitron', monospace;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.875rem;
}

.wallet-balance {
    text-align: center;
    margin: 1rem 0;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ss14-orange);
    font-family: 'Orbitron', monospace;
}

.security-status {
    text-align: center;
}

.security-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--ss14-blue) 100%, var(--border-color) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    position: relative;
}

.security-circle::before {
    content: '';
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--secondary-color);
    position: absolute;
}

.circle-progress {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ss14-blue);
    font-family: 'Orbitron', monospace;
}

.circle-text {
    position: absolute;
    bottom: 20px;
    font-size: 0.75rem;
    color: #94a3b8;
    z-index: 1;
}

.security-items {
    margin-top: 1rem;
}

.security-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.security-item i {
    margin-right: 0.5rem;
}

.security-item span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.transactions-list {
    max-height: 300px;
    overflow-y: auto;
}

.transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--ss14-blue);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-date {
    font-size: 0.875rem;
    color: #94a3b8;
    min-width: 80px;
}

.transaction-details {
    flex: 1;
    margin-left: 1rem;
}

.transaction-name {
    font-weight: 500;
    color: var(--text-light);
}

.transaction-status {
    font-size: 0.75rem;
    color: var(--success-color);
}

.transaction-amount {
    font-weight: 600;
    color: var(--text-light);
    font-family: 'Orbitron', monospace;
}

.no-transactions {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
}

/* Server Cards */
.server-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--ss14-blue);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ss14-blue), var(--ss14-orange), var(--ss14-purple));
}

.server-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 188, 212, 0.2);
    border-color: var(--ss14-blue);
}

.server-header {
    margin-bottom: 1rem;
}

.server-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.server-ping {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.server-header h5 {
    color: var(--text-light);
    margin: 0;
    font-family: 'Orbitron', monospace;
}

.server-info {
    margin: 1rem 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.info-label {
    color: #94a3b8;
    font-size: 0.875rem;
}

.info-value {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.server-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

/* Footer */
.ss14-footer {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid var(--ss14-blue);
    padding: 2rem 0;
    margin-top: auto;
}

.ss14-footer h5 {
    color: var(--ss14-blue);
    font-family: 'Orbitron', monospace;
}

.social-links a {
    color: #94a3b8;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--ss14-blue);
    transform: translateY(-2px);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Toast Notifications */
.toast-container {
    z-index: 10000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .account-sidebar {
        margin-bottom: 1rem;
    }
    
    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .transaction-date {
        min-width: auto;
    }
    
    .navbar-nav {
        text-align: center;
    }

    .server-header {
        margin-bottom: 0.5rem;
    }

    .server-badges {
        align-items: flex-start;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .social-buttons {
        flex-wrap: wrap;
    }
    
    .server-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .server-actions .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Utilities */
.text-success {
    color: var(--success-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

.bg-success {
    background-color: var(--success-color) !important;
}

.bg-warning {
    background-color: var(--warning-color) !important;
}

.bg-danger {
    background-color: var(--danger-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--ss14-blue);
    border-color: var(--ss14-blue);
}

.btn-primary:hover {
    background-color: var(--ss14-orange);
    border-color: var(--ss14-orange);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--ss14-blue);
    border-color: var(--ss14-blue);
}

.btn-outline-primary:hover {
    background-color: var(--ss14-blue);
    border-color: var(--ss14-blue);
    transform: translateY(-2px);
}

/* Loading and hover effects */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.15);
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.2);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--ss14-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ss14-orange);
}

/* --- Стили из Pages/Index.cshtml --- */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 188, 212, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 152, 0, 0.3) 0%, transparent 50%);
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--ss14-blue), var(--ss14-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Orbitron', monospace;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #94a3b8;
    line-height: 1.6;
}
.hero-actions {
    margin-top: 2rem;
}
.hero-stats {
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid var(--ss14-blue);
    border-radius: 1rem;
    padding: 1.5rem;
}
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ss14-blue);
    font-family: 'Orbitron', monospace;
}
.stat-text {
    font-size: 0.875rem;
    color: #94a3b8;
}
.hero-image {
    position: relative;
    z-index: 1;
}
.hero-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--ss14-blue);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hero-image:hover .hero-overlay {
    opacity: 1;
}
.play-button {
    width: 80px;
    height: 80px;
    background: var(--ss14-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}
.play-button:hover {
    background: var(--ss14-orange);
    transform: scale(1.1);
}
.features-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
}
.news-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-gray));
    color: var(--text-light);
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ss14-blue);
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
}
.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.5rem;
    border: 1px solid var(--ss14-blue);
    transition: all 0.3s ease;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 188, 212, 0.2);
    border-color: var(--ss14-blue);
}
.feature-icon {
    font-size: 3rem;
    color: var(--ss14-blue);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.3));
}
.feature-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}
.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
}
.news-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.5rem;
    border: 1px solid var(--ss14-blue);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.2);
}
.news-image {
    height: 200px;
    overflow: hidden;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-card:hover .news-image img {
    transform: scale(1.05);
}
.news-content {
    padding: 1.5rem;
}
.news-date {
    font-size: 0.875rem;
    color: var(--ss14-blue);
    margin-bottom: 0.5rem;
}
.news-content h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}
.news-content p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.news-link {
    color: var(--ss14-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.news-link:hover {
    color: var(--ss14-orange);
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
/* --- Конец вставки из Index.cshtml --- */

/* --- Контрастные стили для блока ресурсов и ссылок --- */
.resources-section {
    background: var(--secondary-color);
    color: var(--ss14-blue);
}
.resources-section .btn,
.resources-section .resource-btn,
.social-auth .btn {
    background: var(--ss14-blue-alpha);
    color: #fff;
    border: 1px solid var(--ss14-blue);
    opacity: 1;
    filter: none;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--ss14-blue-alpha);
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.resources-section .btn:hover,
.resources-section .resource-btn:hover,
.social-auth .btn:hover {
    background: var(--ss14-orange-alpha);
    border-color: var(--ss14-orange);
    color: var(--ss14-orange);
}
.resources-section i {
    color: #94a3b8 !important;
    opacity: 1;
}
.resources-section .text-muted,
.resources-section .opacity-50 {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

.dropdown-menu {
    z-index: 2000 !important;
}

.dropdown-menu.dropdown-menu-end {
    z-index: 5000 !important;
    position: absolute !important;
    background: #23263a !important;
    pointer-events: auto !important;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.35) !important;
}
.card-body {
    position: relative;
}