/* GOLD Servers Styles - CS2/CSGO Gaming Theme */

.gold-servers-wrapper {
    margin: 20px 0;
    position: relative;
}

/* Homepage Compact View - CS2 Style */
.gold-servers-homepage {
    background: linear-gradient(135deg, #161c2e 0%, #0a0e1a 100%);
    border-radius: 0;
    padding: 25px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3), inset 0 0 30px rgba(0, 0, 0, 0.8);
    border: 3px solid #ffd700;
    clip-path: polygon(
        0 15px, 15px 0,
        calc(100% - 15px) 0, 100% 15px,
        100% calc(100% - 15px), calc(100% - 15px) 100%,
        15px 100%, 0 calc(100% - 15px)
    );
    position: relative;
    overflow: hidden;
}

.gold-servers-homepage::before {
    content: 'GOLD ELITE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 6rem;
    font-weight: bold;
    color: #ffd700;
    opacity: 0.03;
    letter-spacing: 10px;
    pointer-events: none;
}

.gold-servers-homepage .gold-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 0, 230, 0.4);
}

/* Fix Gold Headers */
.gold-servers-homepage .gold-header h3,
.gold-servers-homepage .gold-header h4 {
    margin: 0 !important;
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
    color: #ffd700 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    text-align: center !important;
    min-height: 50px !important;
}

.gold-servers-homepage .gold-header h3 {
    color: #ff00e6;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gold-servers-homepage .gold-header h3 i {
    animation: goldPulse 2s infinite;
}

.view-all-btn {
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all-btn:hover {
    color: #39ff14;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* Compact Server Item */
.gold-server-compact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(157, 0, 255, 0.2);
}

.gold-server-compact:hover {
    background: rgba(157, 0, 255, 0.15);
    transform: translateX(5px);
    border-color: rgba(255, 0, 230, 0.5);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.3);
}

.gold-server-compact .server-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.gold-server-compact .server-status.online {
    background: #39ff14;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
    animation: pulse 2s infinite;
}

.gold-server-compact .server-status.offline {
    background: #ff073a;
}

.gold-server-compact .server-info {
    flex: 1;
}

.gold-server-compact .server-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gold-server-compact .server-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.gold-server-compact .server-ip {
    color: #00d4ff;
}

.gold-server-compact .server-link {
    color: #ff00e6;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.gold-server-compact .server-link:hover {
    color: #39ff14;
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
}

/* Full Card View */
.gold-servers-section {
    padding: 20px 0;
}

.gold-servers-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.gold-servers-section h2 {
    color: #ff00e6;
    font-size: 2rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.gold-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.benefit-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(157, 0, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 230, 0.3);
}

/* Grid Layout */
.gold-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

/* Gold Server Card */
.gold-server-card {
    background: linear-gradient(135deg, #0a0e1a 0%, #141824 100%);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    border: 2px solid rgba(255, 0, 230, 0.3);
    box-shadow: 0 4px 15px rgba(157, 0, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.gold-server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(157, 0, 255, 0.5);
    border-color: rgba(255, 0, 230, 0.7);
}

.gold-server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9d00ff, #ff00e6, #9d00ff);
    background-size: 200% 100%;
    animation: goldShine 3s linear infinite;
}

.gold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff00e6, #9d00ff);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(255, 0, 230, 0.6);
}

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

.server-header .server-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 80px);
}

.server-header .server-status {
    display: inline-block;
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 15px;
}

.server-header .server-status.online {
    background: rgba(57, 255, 20, 0.2);
    color: #39ff14;
    border: 1px solid rgba(57, 255, 20, 0.4);
}

.server-header .server-status.offline {
    background: rgba(255, 7, 58, 0.2);
    color: #ff073a;
    border: 1px solid rgba(255, 7, 58, 0.4);
}

.server-header .server-status i {
    font-size: 0.6rem;
    margin-right: 5px;
}

.server-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.detail-item i {
    color: #00d4ff;
    width: 20px;
    text-align: center;
}

.server-progress {
    margin: 15px 0;
}

.server-progress .progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.server-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #39ff14, #00d4ff);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.server-progress .progress-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.view-server-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.view-server-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px dashed rgba(255, 215, 0, 0.3);
}

.empty-state i {
    color: #FFD700;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    color: #fff;
    margin-bottom: 10px;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.activate-gold-btn,
.btn-gold {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.activate-gold-btn:hover,
.btn-gold:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* Animations */
@keyframes goldPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 10px rgba(76, 175, 80, 0.5); }
    50% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.8); }
    100% { box-shadow: 0 0 10px rgba(76, 175, 80, 0.5); }
}

@keyframes goldShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gold-servers-grid {
        grid-template-columns: 1fr;
    }
    
    .gold-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .gold-servers-homepage .gold-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gold-servers-section h2 {
        font-size: 1.5rem;
    }
    
    .gold-server-card {
        padding: 15px;
    }
}
