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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a0000 0%, #2d0000 25%, #000000 50%, #2d0000 75%, #1a0000 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    background: url(img/bg.jpg) top / cover fixed no-repeat;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(185, 28, 28, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(127, 29, 29, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.logo-section {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.main-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
    animation: float 3s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
}

.main-stats-bar {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(185, 28, 28, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 20px;
    margin: 0 auto 60px;
    max-width: 800px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: 40vh;
}

.main-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.15), transparent);
    animation: shimmer 3s infinite;
}

.main-stats-bar .container {
    display: flex;
    justify-content: space-around;
    padding: 30px 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b 0%, #dc2626 50%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
    animation: pulse-dot 2s infinite;
}

.status-indicator.online .status-dot {
    background: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

.status-text {
    font-size: 18px;
}

.servers-section {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

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

.server-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(185, 28, 28, 0.06) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
}

.server-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.server-header {
    padding: 25px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.server-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    flex: 1;
}

.server-status .status-dot {
    width: 10px;
    height: 10px;
}

.server-body {
    padding: 25px;
}

.server-info {
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.info-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.server-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.server-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);
}

/* Stiluri pentru linkurile cu clasa server-button */
a.server-button {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

a.server-button:visited {
    color: white;
}

a.server-button:focus {
    outline: 2px solid rgba(220, 38, 38, 0.6);
    outline-offset: 2px;
}

a.server-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(220, 38, 38, 0.3);
}

.server-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.server-card.unavailable .server-overlay {
    display: flex;
}

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

.lock-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.links-bar {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(185, 28, 28, 0.06) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 20px;
    margin: 0 auto 40px;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.links-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 25px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc2626 0%, #991b1b 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.footer {
    text-align: center;
    padding: 30px 0;
    position: relative;
    z-index: 2;
}

.footer p {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(185, 28, 28, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 15px;
    padding: 15px 25px;
    margin: 0 auto;
    max-width: 800px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
    line-height: 1.6;
}

.footer p strong {
    color: #ff6b6b;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.footer p::after {
    content: "YV2";
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

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

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(185, 28, 28, 0.05) 100%);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.footer-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(185, 28, 28, 0.1) 100%);
    border-color: rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.2);
}

.footer-separator {
    color: rgba(220, 38, 38, 0.6);
    font-weight: bold;
    font-size: 18px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

@media (max-width: 768px) {
    .main-logo {
        height: 80px;
    }
    
    .main-stats-bar .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .links-nav {
        gap: 15px;
    }
}