/* Cards CSS - Styles for home and servers pages */

/* Dark gradient background */
.bg-gradient-dark {
    background: linear-gradient(135deg, var(--bg-dark-1) 0%, var(--bg-dark-4) 50%, var(--bg-dark-2) 100%);
    min-height: 100vh;
}

/* Home page styles */
.home-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0;
    margin: 0;
}

.home-card {
    background: linear-gradient(145deg, var(--bg-dark-5) 0%, var(--bg-dark-3) 100%);
    border: 1px solid rgba(66, 99, 235, 0.2);
    border-radius: 12px;
    padding: 40px 50px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(66, 99, 235, 0.1);
    text-align: center;
    max-width: 420px;
}

.home-card h1 {
    margin-top: 0;
    color: var(--text-primary);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(66, 99, 235, 0.3);
}

.home-card p {
    color: var(--text-muted);
}

.home-card .cta-btn {
    margin-top: 25px;
}

/* Servers page styles */
.servers-container {
    padding: 40px 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
}

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

.servers-container h1 {
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(66, 99, 235, 0.3);
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Server card */
.card {
    display: block;
    background: linear-gradient(145deg, var(--bg-dark-5) 0%, var(--bg-dark-3) 100%);
    border: 1px solid rgba(66, 99, 235, 0.2);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(66, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(66, 99, 235, 0.5);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.card-meta {
    font-size: 14px;
    color: var(--text-muted);
}

.card-meta.fresh {
    color: var(--color-success);
    text-shadow: 0 0 8px rgba(46, 204, 113, 0.4);
}

.card-meta.stale {
    color: var(--color-danger);
    text-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
}

.card-meta.unknown {
    color: var(--text-disabled);
}

/* Back link */
.back-link {
    display: block;
    text-align: center;
    margin-top: 40px;
}

/* Empty state */
.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 20px;
}
