/* decklab.ink - HOME VIEW STYLES */

.home-main {
    align-items: center;
    justify-content: center;
    padding: 36px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-container {
    max-width: 1120px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin: auto 0;
}

.home-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.home-hero h2 {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.home-hero p {
    color: var(--text-dim);
    font-size: 0.95rem;
    max-width: 580px;
    line-height: 1.6;
}

.home-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

@media screen and (max-width: 720px), screen and (hover: none) and (pointer: coarse) and (max-width: 1024px) {
    .home-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-hero h2 {
        font-size: 1.6rem;
    }

    .home-hero p {
        font-size: 0.88rem;
    }

    .home-main {
        padding: 24px 14px;
    }
}

.hub-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.hub-card.card-lib::before,
.hub-card.card-db::before,
.hub-card.card-sim::before {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.hub-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.hub-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #0e1015;
    border: 1px solid var(--card-border);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.hub-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f4f4f5;
}

.hub-card p {
    color: var(--text-dim);
    font-size: 0.86rem;
    line-height: 1.6;
    flex: 1;
}

.hub-card-action {
    font-size: 0.84rem;
    font-weight: 700;
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}