/* Gaming Server Info & News Styles */
.server-info-container {
    background: linear-gradient(145deg,
        rgba(10, 10, 15, 0.95),
        rgba(26, 26, 46, 0.9),
        rgba(16, 21, 46, 0.85));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.server-info-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.6),
        transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.stat-card {
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.8),
        rgba(30, 41, 59, 0.6));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.1),
        transparent);
    transition: left 0.5s ease;
}

.stat-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
    box-shadow:
        0 10px 30px rgba(168, 85, 247, 0.2),
        0 0 20px rgba(168, 85, 247, 0.1);
}

.stat-card:hover::before {
    left: 100%;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.3));
}

.stat-label {
    color: rgba(168, 85, 247, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.stat-value {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.7),
        rgba(30, 41, 59, 0.5));
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card.enabled {
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg,
        rgba(22, 101, 52, 0.3),
        rgba(21, 128, 61, 0.2));
}

.feature-card.disabled {
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg,
        rgba(127, 29, 29, 0.3),
        rgba(153, 27, 27, 0.2));
}

.feature-card:hover {
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.25rem;
    filter: drop-shadow(0 0 3px rgba(168, 85, 247, 0.3));
}

.feature-label {
    color: #ffffff;
    font-weight: 500;
    flex: 1;
}

.feature-status {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-status.enabled {
    color: #4ade80;
}

.feature-status.disabled {
    color: #f87171;
}

/* News Cards */
.news-card {
    background: linear-gradient(145deg,
        rgba(15, 23, 42, 0.8),
        rgba(30, 41, 59, 0.6));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(168, 85, 247, 0.05),
        rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(168, 85, 247, 0.2);
}

.news-card:hover::before {
    opacity: 1;
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.news-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.8));
}

.news-placeholder {
    height: 200px;
    background: linear-gradient(135deg,
        rgba(168, 85, 247, 0.6),
        rgba(59, 130, 246, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.news-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(168, 85, 247, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.news-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.news-excerpt {
    color: rgba(168, 85, 247, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg,
        rgba(168, 85, 247, 0.8),
        rgba(147, 51, 234, 0.8));
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.news-read-more:hover {
    background: linear-gradient(135deg,
        rgba(168, 85, 247, 1),
        rgba(147, 51, 234, 1));
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

/* Contact Cards */
.contact-card {
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.7),
        rgba(30, 41, 59, 0.5));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

.contact-info {
    flex: 1;
}

.contact-label {
    color: rgba(99, 102, 241, 0.8);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-card {
        padding: 1rem;
    }

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

    .stat-value {
        font-size: 1rem;
    }

    .news-card {
        margin-bottom: 1rem;
    }

    .news-image,
    .news-placeholder {
        height: 150px;
    }
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg,
        rgba(168, 85, 247, 0.1) 0%,
        rgba(168, 85, 247, 0.2) 50%,
        rgba(168, 85, 247, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer-loading 1.5s infinite;
}

@keyframes shimmer-loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Status Indicators */
.status-online {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.status-offline {
    color: #f87171;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.3);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.status-indicator.offline {
    background: #f87171;
    box-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
}

/* Gaming Enhancement Effects */
.glow-text {
    text-shadow:
        0 0 5px rgba(168, 85, 247, 0.5),
        0 0 10px rgba(168, 85, 247, 0.3),
        0 0 15px rgba(168, 85, 247, 0.2);
}

.neon-border {
    border: 2px solid rgba(168, 85, 247, 0.3);
    box-shadow:
        0 0 10px rgba(168, 85, 247, 0.2),
        inset 0 0 10px rgba(168, 85, 247, 0.1);
}

.neon-border:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow:
        0 0 20px rgba(168, 85, 247, 0.4),
        inset 0 0 20px rgba(168, 85, 247, 0.2);
}
