/* ===================================================================
   VINYLAND -- Component Overrides
   =================================================================== */

/* === Category Card === */

.category-card {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    aspect-ratio: 3 / 2;
    padding: 1.75rem;
    padding-top: 10%;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: bottom;
    cursor: pointer;
    border: 1.5px solid var(--color-border, #e8e2da);
    border-radius: var(--radius-lg, 16px);
    user-select: none;
    box-shadow: var(--shadow-md, 0 4px 20px rgba(38, 70, 83, 0.08));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(26, 26, 46, 0.7) 100%
    );
    transition: background 0.3s ease;
    z-index: 1;
}

.category-card:hover::before {
    background: linear-gradient(
        to bottom,
        rgba(231, 111, 81, 0.4) 0%,
        rgba(26, 26, 46, 0.85) 100%
    );
}

.category-card h3,
.category-card p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.category-card h3 {
    font-family: var(--font-heading, "Playfair Display", serif);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.category-card p {
    font-size: 0.9rem;
    opacity: 0.85;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg, 0 12px 40px rgba(38, 70, 83, 0.12));
    border-color: rgba(231, 111, 81, 0.3);
}
