/* =========================================================
   MINHA LISTA — minha_lista.php
   Arquivo: style-lista.css (exclusivo desta página)
   ========================================================= */

.lista-page {
    width: 100%;
    padding: 100px 48px 60px;
    min-height: 70vh;
}

/* ---------- Cabeçalho ---------- */
.lista-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lista-header-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lista-title {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 2.4em;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lista-title-bar {
    display: inline-block;
    width: 6px;
    height: 36px;
    border-radius: 3px;
    background: linear-gradient(180deg, #e50914, #ff3d47);
    box-shadow: 0 0 14px rgba(229, 9, 20, 0.6);
}

.lista-subtitle {
    color: #9a9caa;
    font-family: Arial, sans-serif;
    font-size: 0.95em;
    margin: 0;
    padding-left: 20px;
}

/* ---------- Grid de cards ---------- */
.lista-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
    width: 100%;
}

/* Card individual */
.lista-card {
    border-radius: 14px;
    overflow: hidden;
    background: #0e0b14;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
    transition: transform 0.4s cubic-bezier(.2,.9,.3,1.2),
                box-shadow 0.4s ease;
}

.lista-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.85),
                0 0 0 2px rgba(229, 9, 20, 0.65);
    z-index: 3;
}

.lista-card > a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Capa vertical */
.lista-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.lista-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.lista-card:hover .lista-cover img {
    transform: scale(1.08);
}

/* Overlay */
.lista-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 14px 14px;
    background: linear-gradient(180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.94) 100%);
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lista-card-title {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.95em;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.lista-card-cta {
    color: #ff4d55;
    font-family: Arial, sans-serif;
    font-size: 0.8em;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lista-card:hover .lista-card-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Empty state ---------- */
.lista-empty {
    width: 100%;
    max-width: 520px;
    margin: 60px auto;
    padding: 60px 32px;
    text-align: center;
    background: rgba(14, 11, 20, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lista-empty-icon {
    font-size: 4em;
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.9;
}

.lista-empty h2 {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.6em;
    font-weight: 800;
    margin: 0;
}

.lista-empty p {
    color: #9a9caa;
    font-family: Arial, sans-serif;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
    max-width: 380px;
}

.lista-empty-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #e50914, #ff3d47);
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.95em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 24px rgba(229, 9, 20, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.lista-empty-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(229, 9, 20, 0.6);
    background: linear-gradient(135deg, #ff3d47, #ff5259);
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */
@media (max-width: 1099px) {
    .lista-page   { padding: 90px 32px 50px; }
    .lista-title  { font-size: 2.1em; }
    .lista-title-bar { height: 32px; }
    .lista-grid   { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
}

@media (max-width: 767px) {
    .lista-page        { padding: 80px 20px 40px; }
    .lista-header      { margin-bottom: 26px; padding-bottom: 16px; }
    .lista-title       { font-size: 1.7em; gap: 10px; }
    .lista-title-bar   { height: 26px; }
    .lista-subtitle    { font-size: 0.88em; padding-left: 16px; }
    .lista-grid        { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .lista-overlay     { padding: 32px 12px 12px; }
    .lista-card-title  { font-size: 0.85em; }
    .lista-card-cta    { opacity: 1; transform: none; }
    .lista-empty       { padding: 40px 22px; margin: 40px auto; }
    .lista-empty-icon  { font-size: 3.2em; }
    .lista-empty h2    { font-size: 1.3em; }
    .lista-empty p     { font-size: 0.88em; }
}

@media (max-width: 480px) {
    .lista-page        { padding: 76px 12px 32px; }
    .lista-title       { font-size: 1.5em; }
    .lista-grid        { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .lista-card-title  { font-size: 0.78em; }
    .lista-empty-btn   { padding: 12px 26px; font-size: 0.88em; }
}