:root {
    --primary-color: #8B5A2B;
    --primary-dark: #5D3A1A;
    --text-light: #F5E6D3;
    --gold: #FFD700;
    --gold-dark: #FFA500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
}

.navbar {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(8px);
    padding: 0.8rem 1rem;
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('assets/casas.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Mobile sem parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    padding: 5rem 1rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0;
}

.floating-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-content {
    text-align: center;
}

.badge-lancamento {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #2C1810;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: none;
}

.book-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #FFFFFF, var(--gold), #FFFFFF);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 3s linear infinite;
    display: flex;
    flex-direction: column;
    gap: 0;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.book-title span {
    display: block;
}

.book-title .small-word {
    font-size: 1.6rem;
    margin-left: 0;
    margin-top: -0.2rem;
    margin-bottom: -0.2rem;
}

.subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.35rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
}

.hero-meta i {
    font-size: 0.75rem;
}

.hero-meta i.bi-star-fill {
    color: var(--gold);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.btn-primary, .btn-outline-light {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border-radius: 3rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    color: #2C1810;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover, .btn-primary:active {
    background: linear-gradient(135deg, #FFE55C, #FFB347);
    transform: scale(0.98);
    color: #2C1810;
}

.btn-outline-light {
    background: rgba(0, 0, 0, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: white;
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover, .btn-outline-light:active {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: scale(0.98);
}

/* Capa do Livro - Mobile */
.book-cover {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.floating-cover {
    max-width: 180px;
    width: 60%;
    border-radius: 0.8rem;
    box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    display: block;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .book-cover::after {
        animation: smoke 8s ease-in-out infinite;
        background-size: 200% 200%;
    }
    
    @keyframes smoke {
        0%, 100% {
            opacity: 0.45;
            background-position: 0% 0%;
        }
        50% {
            opacity: 0.7;
            background-position: 10% 8%;
        }
    }
}

.book-cover::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, 
        #D4AF37 0%, 
        #8B4513 25%, 
        #2C1810 50%, 
        #8B4513 75%, 
        #D4AF37 100%);
    border-radius: 1rem;
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3;
}

.scroll-indicator a {
    text-decoration: none;
    font-size: 0.7rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.7;
    color: white;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 6rem 2rem;
    }
    
    .floating-card {
        padding: 2.5rem 2rem;
        border-radius: 2rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .book-title {
        font-size: 3rem;
    }
    
    .book-title .small-word {
        font-size: 2.2rem;
        margin-left: 0;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .hero-meta span {
        padding: 0.45rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-outline-light {
        width: auto;
        min-width: 160px;
        padding: 0.8rem 2rem;
    }
    
    .floating-cover {
        max-width: 220px;
        width: 50%;
    }
    
    .book-cover .corner {
        width: 30px;
        height: 30px;
    }
    
    .book-cover .corner-tl, .book-cover .corner-tr {
        top: -15px;
    }
    
    .book-cover .corner-bl, .book-cover .corner-br {
        bottom: -15px;
    }
}

@media (min-width: 992px) {
    .hero-section {
        background-attachment: fixed; /* Parallax só em desktop */
        padding: 0;
    }
    
    .floating-card {
        padding: 3rem;
        max-width: 1100px;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-meta {
        justify-content: flex-start;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .book-title {
        font-size: 4rem;
    }
    
    .book-title .small-word {
        font-size: 2.8rem;
        margin-left: 2rem;
        display: inline-block;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .floating-cover {
        max-width: 280px;
        width: 100%;
    }
    
    .book-cover {
        margin-top: 0;
    }
    
    .btn-primary:hover, .btn-outline-light:hover {
        transform: translateY(-3px);
    }
    
    .btn-primary:active, .btn-outline-light:active {
        transform: translateY(0);
    }
    
    .book-cover .corner-tl, .book-cover .corner-tr {
        top: -15px;
        left: -15px;
        right: -15px;
    }
    
    .book-cover .corner-bl, .book-cover .corner-br {
        bottom: -15px;
        left: -15px;
        right: -15px;
    }
    
    .book-cover .corner {
        width: 35px;
        height: 35px;
        border-width: 3px;
    }
}

@media (min-width: 1200px) {
    .book-title {
        font-size: 5rem;
    }
    
    .book-title .small-word {
        font-size: 3.2rem;
        margin-left: 2.5rem;
    }
    
    .floating-cover {
        max-width: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .book-cover::after {
        animation: none;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .book-title {
        animation: none;
        background: linear-gradient(135deg, #FFFFFF, var(--gold));
        -webkit-background-clip: text;
        background-clip: text;
    }
    
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.content-section {
    background-color: #f4f1ea;
    color: #2c3e50;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
}

.section-light {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 3px;
}

.livro-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
    position: relative;
    overflow: hidden;
}

.livro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.livro-card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.livro-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.livro-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.livro-card h3 i {
    font-size: 1.8rem;
}

.livro-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.livro-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-badge {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    color: #FFD700;
}

.families-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.family-tag {
    background: rgba(255, 215, 0, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    color: #FFD700;
    font-size: 0.9rem;
}

.sinopse-card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: 2rem;
}

.sinopse-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.continuation {
    margin-top: 2rem;
    text-align: center;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 1.5rem;
}

.personagens-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    position: relative;
}

.personagem-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    height: 100%;
}

.personagem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6);
}

.personagem-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.personagem-card:hover .personagem-img {
    transform: scale(1.05);
}

.personagem-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.personagem-nome {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.personagem-familia {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.personagem-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.autora-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #121212 100%);
    position: relative;
}

.autora-card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.autora-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
}

.autora-foto {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFD700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.autora-foto:hover {
    transform: scale(1.02);
}

.autora-nome {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.autora-bio {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
}

.autora-bio p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 2rem;
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    color: #FFD700;
}

.footer {
    background: #050505;
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer p {
    margin: 0;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .livro-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .livro-card h3 {
        font-size: 1.3rem;
    }
    
    .sinopse-card p {
        font-size: 0.95rem;
    }
    
    .personagem-img {
        height: 220px;
    }
    
    .personagem-nome {
        font-size: 1.2rem;
    }
    
    .autora-foto {
        width: 180px;
        height: 180px;
        margin-bottom: 1.5rem;
    }
    
    .autora-nome {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .autora-bio {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .families-grid {
        justify-content: center;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .personagem-img {
        height: 240px;
    }
}

.personagens-wrapper {
    position: relative;
    overflow: hidden;
}

.personagens-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #FFD700 rgba(255, 215, 0, 0.2);
    gap: 1.5rem;
    padding: 0.5rem 0 1.5rem 0;
}

.personagens-carousel::-webkit-scrollbar {
    height: 6px;
}

.personagens-carousel::-webkit-scrollbar-track {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
}

.personagens-carousel::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 10px;
}

.personagem-carousel-item {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

.galeria-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #121212 100%);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.galeria-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.galeria-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria-item:hover .galeria-img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
}

.galeria-overlay p {
    color: #FFD700;
    font-size: 0.8rem;
    margin: 0;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 1rem;
    border: 2px solid #FFD700;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #FFD700;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.experiencia-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.experiencia-card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.experiencia-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-5px);
}

.experiencia-icon {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.experiencia-card h3 {
    font-family: 'Cinzel', serif;
    color: #FFD700;
    margin-bottom: 1rem;
}

.experiencia-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.spotify-embed {
    border-radius: 1rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.playlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1DB954, #1ED760);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.playlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(29, 185, 84, 0.3);
    color: white;
}

@media (max-width: 992px) {
    .carousel-btn {
        display: none;
    }
    
    .personagens-carousel {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        overflow-x: visible;
        gap: 1rem;
    }
    
    .personagem-carousel-item {
        width: auto;
    }
    
    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 992px) {
    .personagens-carousel {
        overflow-x: auto;
        display: flex;
        scroll-snap-type: x mandatory;
    }
    
    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .experiencia-card {
        padding: 1.5rem;
    }
    
    .spotify-embed {
        height: 152px;
    }
}

.personagem-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    height: 100%;
    cursor: pointer;
}

.personagem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6);
}

.personagem-img-container {
    position: relative;
    width: 100%;
    padding-top: 125%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.personagem-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.personagem-card:hover .personagem-img {
    transform: scale(1.05);
}

.personagem-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.personagem-img-container:hover .personagem-img-overlay {
    opacity: 1;
}

.personagem-img-overlay i {
    color: #FFD700;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem;
    border-radius: 50%;
}

.personagem-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.personagem-nome {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.personagem-familia {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.personagem-detalhes {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.8rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.personagem-detalhes span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.personagem-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-top: 0.5rem;
}

.personagem-traits {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.trait {
    background: rgba(255, 215, 0, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    color: #FFD700;
}

.personagem-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.personagem-modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.modal-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 1rem;
    border: 3px solid #FFD700;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
    object-fit: contain;
}

.modal-info {
    text-align: center;
    margin-top: 1.5rem;
    color: white;
}

.modal-info h3 {
    font-family: 'Cinzel', serif;
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.3rem 0;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #FFD700;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 2001;
}

.modal-close:hover {
    transform: scale(1.1);
}

.avaliacoes-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #181818 100%);
}

.avaliacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.avaliacao-card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.avaliacao-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
}

.avaliacao-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avaliacao-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #2C1810;
}

.avaliacao-nome {
    font-weight: 600;
    color: #FFD700;
}

.avaliacao-stars {
    color: #FFD700;
    margin: 0.5rem 0;
}

.avaliacao-stars i {
    margin-right: 2px;
}

.avaliacao-texto {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0.8rem 0;
}

.avaliacao-data {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.amazon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FF9900;
    color: #232F3E;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.amazon-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
    color: #232F3E;
}

.ver-todas-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 0.8rem 1.8rem;
    border-radius: 3rem;
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ver-todas-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    color: #FFD700;
}

@media (max-width: 768px) {
    .avaliacoes-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-info h3 {
        font-size: 1.3rem;
    }
    
    .personagem-detalhes {
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
    }
}