/* ============================
   JYMM LIBRARY CARD SYSTEM
   ============================ */

.jymm-card-catalog {
    margin: 2.5rem auto;
    text-align: center;
    max-width: 620px;
}

/* A–Z Navigation */
.jymm-az-nav {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
}

.jymm-az-nav button {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.25rem 0.4rem;
    cursor: pointer;
    color: #333;
    transition: 0.2s ease;
}

.jymm-az-nav button:hover {
    color: #000;
    text-decoration: underline;
}

/* ============================
   LIBRARY CARD (CLEAN VERSION)
   ============================ */

.jymm-card {
    background: #ffffff; /* white ceremonial card */
    border: 1px solid #222;
    border-radius: 6px;
    padding: 2.5rem 1.5rem 2rem;
    position: relative;
    margin-top: 2rem;

    /* Strong emboss (Option 3) */
    box-shadow:
        inset 0 0 0 3px rgba(255,255,255,1),
        0 3px 6px rgba(0,0,0,0.15);
}

.jymm-card-icon {
    width: 48px;
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.9;
}

.jymm-card-name {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.12rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.jymm-card-instructions {
    font-size: 0.95rem;
    color: #444;
    margin: 0;
}

/* ============================
   SLIDER CONTROLS
   ============================ */

.jymm-card-controls {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
}

.jymm-card-controls button {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    color: #333;
    padding: 0.5rem 0.75rem;
    transition: 0.2s ease;
}

.jymm-card-controls button:hover {
    color: #000;
    text-decoration: underline;
}

/* ============================
   THUMB-FLAP TAB (EMBOSSED)
   ============================ */

.jymm-card::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    width: 120px;
    height: 28px;
    background: #ffffff;
    border: 1px solid #222;
    border-bottom: none;
    border-radius: 6px 6px 0 0;

    /* MATCHED EMBOSS */
    box-shadow:
        inset 0 0 0 2px rgba(255,255,255,1),
        0 3px 6px rgba(0,0,0,0.15);
}
/* ============================
   FADE ANIMATION FOR CARD NAME
   ============================ */

.jymm-fade {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.jymm-card-name {
    transition: opacity 0.35s ease;
}

/* ============================
   SLIDE ANIMATION FOR CARD NAME
   ============================ */

.jymm-slide-left {
    transform: translateX(-20px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.jymm-slide-right {
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.jymm-card-name {
    transition: transform 0.35s ease, opacity 0.35s ease;
}
/* ============================
   FALLBACK CARD (NO ARTISTS)
   ============================ */

.jymm-card-empty {
    opacity: 0.6;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: uppercase;
}
/* ============================
   BUTTON HOVER LIFT (WHITE THEME)
   ============================ */

.jymm-card-controls button {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.jymm-card-controls button:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}
.jymm-card-controls button:active {
    transform: translateY(0px) scale(0.97);
    opacity: 0.75;
}
/* ============================
   ACTIVE LETTER HIGHLIGHT
   ============================ */

.jymm-az-nav button.active-letter {
    opacity: 1;
    text-decoration: underline;
    letter-spacing: 1px;
    text-underline-offset: 4px;
}

.jymm-az-nav button {
    opacity: 0.55;
    transition: opacity 0.25s ease, letter-spacing 0.25s ease;
}

.jymm-az-nav button:hover {
    opacity: 0.8;
}
.jymm-card-title {
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    margin-bottom: 10px;
    color: #000000;   /* BLACK TEXT */
    opacity: 0.9;     /* Slight archival softness */
    text-align: center;
}




