:root {
    --vermelho: #c8102e;
    --vermelho-esc: #8d0c20;
    --dourado: #f6c544;
    --areia: #fde8c4;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Nunito', system-ui, sans-serif;
    color: #fff;
    text-align: center;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.home-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,.18), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(246,197,68,.30), transparent 45%),
        linear-gradient(160deg, #e23048 0%, var(--vermelho) 45%, var(--vermelho-esc) 100%);
}

.home-header {
    padding: 38px 20px 10px;
}

.home-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
}

.home-header h1 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(28px, 6vw, 48px);
    margin: 12px 0 4px;
    text-shadow: 0 4px 0 rgba(0,0,0,.18);
}

.home-sub {
    font-size: clamp(15px, 2.6vw, 20px);
    margin: 0 auto;
    max-width: 560px;
    opacity: .95;
}

.shelf {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 20px 10px;
    max-width: 1100px;
    margin: 0 auto;
}

.book-card {
    text-decoration: none;
    position: relative;
    transition: transform .18s ease;
}
.book-card:hover, .book-card:active { transform: translateY(-6px) scale(1.02); }

.book-cover {
    width: 230px;
    min-height: 340px;
    border-radius: 22px;
    background: linear-gradient(160deg, #4b2b8f 0%, #1a0f3d 100%);
    color: #fff;
    padding: 22px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 16px 34px rgba(0,0,0,.3), inset 0 0 0 5px rgba(246,197,68,.5);
}

.book-ep {
    font-family: 'Baloo 2', cursive;
    background: var(--vermelho);
    color: #fff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: .5px;
}

.book-cover img { width: 110px; height: auto; }

.book-cover h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 22px;
    margin: 0;
    line-height: 1.15;
}

.book-play {
    background: var(--dourado);
    color: #7a4a00;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 15px;
    box-shadow: 0 4px 0 #d6a325;
}

.book-tag {
    position: absolute;
    top: -10px;
    right: -6px;
    background: #2a2f4a;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
}

.vazio { opacity: .85; }

.home-footer {
    padding: 26px 20px 34px;
    font-size: 15px;
}
.home-footer p { margin: 4px 0; }
.home-by { opacity: .8; font-size: 13px; }
