/* =========================================================
   JEPlayerMusic — Identity Theme
   Paleta inspirada en vinilos + audio Hi-Fi
   ========================================================= */

:root {
    --jp-dark: #121212;
    --jp-dark-light: #1f1f1f;
    --jp-accent: #d90429;
    --jp-accent-soft: #ef233c;
    --jp-blue: #4361ee;
    --jp-blue-soft: #4895ef;
    --jp-gold: #fca311;
    --jp-text: #e5e5e5;
    --jp-muted: #9a9a9a;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition-fast: .2s;
    --transition-normal: .35s;
}


text-parrafo-index {
    color: lavender;
    text-align: justify-all
}

text-parrafo-cards {
    color:mintcream;
    text-align: justify-all
}

.vinyl-icon {
    display: inline-block;
    transition: transform .4s ease;
}

.feature-card:hover .vinyl-icon {
    animation: spin-record 1.2s linear infinite;
}

@keyframes spin-record {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ---------------------------------------------------------
   BODY
   --------------------------------------------------------- */
body {
    background: var(--jp-dark-light);
    color: var(--jp-text);
    font-family: "Inter", "Poppins", sans-serif;
    margin-bottom: 80px;
}

/* ---------------------------------------------------------
   NAVBAR
   --------------------------------------------------------- */
.navbar-jp {
    background: var(--jp-dark);
    padding: 14px 22px;
    border-bottom: 1px solid #2a2a2a;
}

    .navbar-jp .navbar-brand {
        color: var(--jp-accent-soft);
        font-weight: 700;
        font-size: 1.35rem;
    }

/* ---------------------------------------------------------
   BOTONES
   --------------------------------------------------------- */
.btn-jp-primary {
    background: var(--jp-accent-soft);
    color: white;
    border-radius: var(--radius-md);
    padding: 10px 20px;
    font-weight: 600;
    transition: var(--transition-fast);
}

    .btn-jp-primary:hover {
        background: var(--jp-accent);
        color: white;
    }

.btn-jp-outline {
    border: 1px solid var(--jp-accent-soft);
    color: var(--jp-accent-soft);
    background: transparent;
    border-radius: var(--radius-md);
}

    .btn-jp-outline:hover {
        background: var(--jp-accent-soft);
        color: white;
    }

/* ---------------------------------------------------------
   TARJETAS DE VINILOS
   --------------------------------------------------------- */
/* ---- CARD BASE ---- */
.vinyl-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: transform .25s ease, box-shadow .25s ease;
    background: #151515;
}

    /* Hover */
    .vinyl-card:hover {
        transform: translateY(-5px);
    }

/* ---- PORTADA COMPLETA Y REDONDEADA ---- */
.vinyl-cover {
    width: 100%;
    height: 230px;
    object-fit: contain !important;
    background-color: #000;
    padding: 12px;
    border-radius: 16px 16px 0 0;
}

/* ---- ACCIONES GLASS BLUR ---- */
.vinyl-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

/* Mostrar en hover */
.vinyl-card:hover .vinyl-actions {
    opacity: 1;
    pointer-events: all;
}

/* Button glass style */
.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    transition: transform .2s ease, background .2s ease;
}

    .action-btn:hover {
        background: rgba(255,255,255,0.4);
        color: #000;
        transform: scale(1.15);
    }

/* ---- INFO ---- */
.vinyl-info {
    padding: 12px;
    color: #fff;
}

/* ---- SOMBRA DINÁMICA (se modificará vía JS) ---- */
.vinyl-shadow {
    transition: box-shadow .4s ease;
}

/* ---------------------------------------------------------
   TABLE STYLING
   --------------------------------------------------------- */
.table-jp {
    background: #181818;
    color: var(--jp-text);
}

    .table-jp thead {
        background: #000;
    }

    .table-jp tbody tr:hover {
        background: #202020;
    }

/* ---------------------------------------------------------
   FLOATING ACTION BUTTON
   --------------------------------------------------------- */
.fab-jp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--jp-blue);
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.7rem;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,.4);
    transition: var(--transition-fast);
}

    .fab-jp:hover {
        background: var(--jp-blue-soft);
        transform: scale(1.08);
    }

/* FAB secundario (Importar álbum) */
.fab-import {
    right: 100px !important;
    background: #ffc107 !important;
    color: #000 !important;
}

/* ---------------------------------------------------------
   FORMS
   --------------------------------------------------------- */
.form-control, .form-select {
    background: #222;
    border: 1px solid #333;
    color: white;
    border-radius: var(--radius-md);
}

    .form-control:focus,
    .form-select:focus {
        background: #1d1d1d;
        box-shadow: 0 0 3px var(--jp-accent-soft);
        border-color: var(--jp-accent-soft);
    }


.nav-link.active {
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
}
