/* Dashboard grid system */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding-bottom: 5rem;
}

.service-cube {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(8px);
}

.service-cube:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    background: rgba(204, 255, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(204, 255, 0, 0.1);
}

.service-cube::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: var(--transition);
}

.service-cube:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.05));
    transition: var(--transition);
}

.service-cube:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px var(--accent-primary));
}

.service-info {
    text-align: center;
}

.service-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.service-status {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-family: 'Fira Code', monospace;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
}

.status-dot.online {
    background: var(--accent-primary);
    box-shadow: 0 0 12px var(--accent-primary);
}

.service-meta {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.7;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.2rem;
    color: var(--text-muted);
}

/* Dashboard Header Info */
.dash-header-info {
    margin-top: 4rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.dash-stats {
    text-align: right;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .dash-header-info {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 2rem;
        gap: 1rem;
    }
    .dash-stats {
        text-align: left;
        width: 100%;
        border-top: 1px solid var(--glass-border);
        padding-top: 1rem;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-cube {
        padding: 2rem 1.5rem;
    }
}
