/* Reset e Variáveis */
:root {
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #3a3a3a;
    --lighter-gray: #4a4a4a;
    --white: #f0f0f0;
    --accent: #6e48aa;
    --accent-light: #9d50bb;
    --amazon: #FF9900;
    --martins: #0056b3;
    --google: #4285F4;

    /* New variables for Pollen 80g theme */
    --pollen-background: #F8F4E3; /* A warm, light yellowish-brown */
    --pollen-control-background: #E6E0D2; /* A slightly darker shade for controls */
    --pollen-text: #0a0a0a; /* Black text for readability on light background */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scroll suave para navegação por âncora */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Cursor Personalizado */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent);
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9998; /* Reduzido para não interferir com o menu */
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

/* Esconder cursor personalizado em mobile */
@media (max-width: 768px) {
    .cursor {
        display: none;
    }
    
    /* Melhorar scroll em mobile */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Ajustar viewport para evitar zoom indesejado */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    /* Melhorar performance de animações em mobile - REMOVIDO para evitar conflitos de eventos */
    /* A regra anterior estava quebrando eventos de clique em mobile */
}

/* Menu */
.glass-nav {
    position: fixed;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}








nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    position: relative;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a:hover::after {
    width: 100%;
}


/* Botão de Menu Mobile */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--dark-gray);
    border: 2px solid var(--accent);
    border-radius: 8px;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 1002;
}

.mobile-menu-btn:hover {
    background: var(--accent);
    border-color: var(--white);
}

.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
    background: var(--white);
}

/* Ocultar botão durante a splash screen */
.splash-screen ~ .glass-nav .mobile-menu-btn {
    display: none;
}

/* Menu Mobile - Responsivo */
@media (max-width: 768px) {
    /* Esconder menu desktop */
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem 0;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
    }
    
    nav ul.active {
        left: 0;
    }
    
    /* Ajustar container do nav no mobile */
    .nav-container {
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* Logo no mobile */
    .logo {
        margin-right: auto;
        flex-shrink: 0;
    }
    
    
    
    /* Estilo dos links no menu mobile */
    nav ul li a {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--white);
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: 10px;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a:hover {
        background-color: var(--accent);
        color: var(--white);
        transform: scale(1.05);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    padding: 15%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.345), rgba(10, 10, 10, 0.3)),
        radial-gradient(
            ellipse at center,
            rgba(179, 7, 253, 0.15) 0%,
            rgba(164, 6, 232, 0.1) 30%,
            rgba(212, 150, 239, 0.05) 60%,
            transparent 100%
        );
    filter: blur(40px);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/hero-bg.jpg') no-repeat center center/cover;
    z-index: -2;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, -35%); }
    90% { transform: translate(-10%, 10%); }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
}

.title-glitch {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 1000;
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, #8a8a8a 0%, #c0c0c0 15%, #e8e8e8 30%, #ffffff 45%, #e8e8e8 60%, #c0c0c0 75%, #8a8a8a 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--lighter-gray);
}

.subtitle span {
    color: var(--accent);
    font-weight: 600;
}

.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 38px; /* desce a imagem 20px */
    position: relative;
}

/* Container das pirâmides de energia */
.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(179, 7, 253, 0.05) 0%,
        rgba(164, 6, 232, 0.03) 40%,
        transparent 80%
    );
    filter: blur(30px);
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Pirâmides de energia flutuantes */
.energy-pyramids {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: visible;
}

/* Pirâmide individual */
.pyramid {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.6;
    filter: blur(1px);
}


/* Efeito de energia pulsante */
.pyramid::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(179, 7, 253, 0.2) 30%,
        rgba(164, 6, 232, 0.15) 60%,
        transparent 100%);
    border-radius: 50%;
    filter: blur(15px);
    animation: energy-pulse 4s ease-in-out infinite;
}

/* Efeito de rastro que some */
.pyramid {
    position: relative;
}

.pyramid::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(179, 7, 253, 0.8) 30%,
        rgba(164, 6, 232, 0.6) 60%,
        rgba(138, 43, 226, 0.4) 100%);
    transform: rotate(45deg);
    border-radius: 2px;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(179, 7, 253, 0.4),
        0 0 40px rgba(164, 6, 232, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    animation: trail-fade 3s ease-out infinite;
}

/* Animação do rastro que some */
@keyframes trail-fade {
    0% { 
        opacity: 0.9;
        transform: rotate(45deg) scale(1);
    }
    30% { 
        opacity: 0.6;
        transform: rotate(45deg) scale(1.1);
    }
    60% { 
        opacity: 0.3;
        transform: rotate(45deg) scale(1.3);
    }
    100% { 
        opacity: 0;
        transform: rotate(45deg) scale(1.6);
    }
}

/* Pirâmide 1 - Movimento diagonal pela seção */
.pyramid-1 {
    top: 20%;
    left: 50%;
    animation: float-diagonal-section 25s ease-in-out infinite;
}

/* Pirâmide 2 - Movimento horizontal */
.pyramid-2 {
    top: 60%;
    left: 50%;
    animation: float-horizontal 30s linear infinite;
}

/* Pirâmide 3 - Movimento vertical */
.pyramid-3 {
    top: 50%;
    left: 80%;
    animation: float-vertical-section 20s ease-in-out infinite;
}

/* Pirâmide 4 - Movimento em zigue-zague */
.pyramid-4 {
    top: 70%;
    left: 50%;
    animation: float-zigzag-section 35s ease-in-out infinite;
}

/* Pirâmide 5 - Movimento circular grande */
.pyramid-5 {
    top: 50%;
    left: 50%;
    animation: float-circular-section 40s linear infinite;
}

/* Pirâmide 6 - Movimento espiral */
.pyramid-6 {
    top: 30%;
    left: 50%;
    animation: float-spiral-section 28s ease-in-out infinite;
    opacity: 0.6;
}

.pyramid-6::before {
    width: 18px;
    height: 18px;
}

/* Pirâmide 7 - Movimento ondulante */
.pyramid-7 {
    top: 80%;
    left: 50%;
    animation: float-wave-section 22s ease-in-out infinite;
    opacity: 0.5;
}

.pyramid-7::before {
    width: 16px;
    height: 16px;
}

/* Pirâmide 8 - Movimento elíptico */
.pyramid-8 {
    top: 50%;
    left: 50%;
    animation: float-elliptical-section 32s linear infinite;
    opacity: 0.7;
}

.pyramid-8::before {
    width: 22px;
    height: 22px;
}

/* Animações de movimento pela seção - ambos os lados */
@keyframes float-diagonal-section {
    0% { transform: translate(-400px, 0) rotate(0deg); }
    25% { transform: translate(-200px, -150px) rotate(90deg); }
    50% { transform: translate(0, 0) rotate(180deg); }
    75% { transform: translate(200px, 150px) rotate(270deg); }
    100% { transform: translate(400px, 0) rotate(360deg); }
}

@keyframes float-horizontal {
    0% { transform: translate(-500px, 0) rotate(0deg); }
    50% { transform: translate(0, 0) rotate(180deg); }
    100% { transform: translate(500px, 0) rotate(360deg); }
}

@keyframes float-vertical-section {
    0% { transform: translate(0, -300px) rotate(0deg); }
    25% { transform: translate(-200px, -150px) rotate(90deg); }
    50% { transform: translate(0, 0) rotate(180deg); }
    75% { transform: translate(200px, 150px) rotate(270deg); }
    100% { transform: translate(0, 300px) rotate(360deg); }
}

@keyframes float-zigzag-section {
    0% { transform: translate(-400px, 0) rotate(0deg); }
    20% { transform: translate(-200px, -100px) rotate(72deg); }
    40% { transform: translate(0, 100px) rotate(144deg); }
    60% { transform: translate(200px, -50px) rotate(216deg); }
    80% { transform: translate(300px, 100px) rotate(288deg); }
    100% { transform: translate(400px, 0) rotate(360deg); }
}

@keyframes float-circular-section {
    0% { transform: translate(-300px, 0) rotate(0deg); }
    25% { transform: translate(0, -150px) rotate(90deg); }
    50% { transform: translate(300px, 0) rotate(180deg); }
    75% { transform: translate(0, 150px) rotate(270deg); }
    100% { transform: translate(-300px, 0) rotate(360deg); }
}

@keyframes float-spiral-section {
    0% { transform: translate(-250px, 0) rotate(0deg); }
    25% { transform: translate(-125px, -100px) rotate(90deg); }
    50% { transform: translate(0, 0) rotate(180deg); }
    75% { transform: translate(125px, 100px) rotate(270deg); }
    100% { transform: translate(250px, 0) rotate(360deg); }
}

@keyframes float-wave-section {
    0% { transform: translate(-350px, 0) rotate(0deg); }
    33% { transform: translate(-175px, -100px) rotate(120deg); }
    66% { transform: translate(0, 100px) rotate(240deg); }
    100% { transform: translate(350px, 0) rotate(360deg); }
}

@keyframes float-elliptical-section {
    0% { transform: translate(-400px, 0) rotate(0deg) scaleX(1.2); }
    25% { transform: translate(0, -150px) rotate(90deg) scaleX(0.8); }
    50% { transform: translate(400px, 0) rotate(180deg) scaleX(1.2); }
    75% { transform: translate(0, 150px) rotate(270deg) scaleX(0.8); }
    100% { transform: translate(-400px, 0) rotate(360deg) scaleX(1.2); }
}

/* Pulsação de energia mística */
@keyframes energy-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.2;
    }
    50% { 
        transform: scale(1.3);
        opacity: 0.5;
    }
}

/* Efeito de brilho lateral sutil */
.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    right: -20px;
    bottom: 0;
    background: linear-gradient(90deg,
        rgba(179, 7, 253, 0.1) 0%,
        transparent 20%,
        transparent 80%,
        rgba(164, 6, 232, 0.1) 100%);
    filter: blur(25px);
    z-index: -2;
    pointer-events: none;
}
.book-cover-3d {
    max-width: 500px;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(179, 7, 253, 0.2),
        0 0 60px rgba(164, 6, 232, 0.15);
    transform: perspective(1000px) rotateY(15deg);
    transition: transform 0.5s;
    object-fit: contain;
    position: relative;
}

.book-cover-3d:hover {
    transform: perspective(1000px) rotateY(5deg);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-down .line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin-top: 1rem;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% { height: 50px; opacity: 1; }
    100% { height: 0; opacity: 0; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-hover {
    background-color: var(--accent);
    color: var(--white);
}

.btn-hover:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(110, 72, 170, 0.3);
}

.btn-hover i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.btn-hover:hover i {
    transform: translateX(5px);
}

/* Seções */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header .line {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
    margin: 0 auto;
}

.dark-bg {
    background-color: var(--dark-gray);
    padding: 6rem 5% 8rem 5%;
}

/* Sobre o Livro */
.about-section {
    padding: 8rem 5% 4rem 5%;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.about-text p {
    margin-bottom: 2rem;
    color: rgb(152, 148, 148);
    line-height: 1.8;
    text-align: justify;
    text-indent: 2rem;
    font-size: 1.1rem;
    max-width: 100%;
}

.quote-text {
    text-align: left !important;
    text-indent: 0 !important;
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.red-quote {
    color: #fd0000;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    font-weight: 600;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
}

.label {
    font-size: 0.9rem;
    color: var(--lighter-gray);
}

.about-image {
    flex: 1;
    position: relative;
}

.images-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: flex-start;
}

.image-wrapper {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
}

.image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(207, 17, 245, 0.836);
}

.image-wrapper img {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.image-wrapper:hover img {
    filter: brightness(1.1) contrast(1.1);
}

.image-title {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(167, 139, 250, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.image-wrapper:hover .image-title {
    background: rgba(167, 139, 250, 1);
    transform: scale(1.05);
}

.image-wrapper.expanded .image-title {
    top: 20px;
    right: 20px;
    background: rgba(167, 139, 250, 1);
    font-size: 1rem;
    padding: 10px 20px;
}

/* Indicador de clique */
.image-wrapper::after {
    content: '🔍';
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.image-wrapper:hover::after {
    opacity: 1;
    transform: scale(1);
}

.image-wrapper.expanded::after {
    content: '✕';
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 0, 0.8);
    font-size: 1.2rem;
    opacity: 1;
    transform: scale(1);
}

/* Expansão da imagem em tela cheia */
.image-wrapper.expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    flex-direction: column;
    transition: all 0.4s ease;
}

.image-wrapper.expanded img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: grab;
}

/* Controles de zoom para imagem expandida */
.image-controls-expanded {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 15px;
    z-index: 10;
}

.image-wrapper.expanded .image-controls-expanded {
    display: flex;
}

.zoom-btn-expanded {
    background: rgba(167, 139, 250, 0.2);
    border: 2px solid #a78bfa;
    color: #a78bfa;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.zoom-btn-expanded:hover {
    background: rgba(167, 139, 250, 0.4);
    color: #fff;
    transform: scale(1.1);
}

.zoom-btn-expanded:active {
    transform: scale(0.95);
}

/* Responsividade para expansão */
@media (max-width: 768px) {
    .image-wrapper.expanded {
        padding: 20px;
    }
    
    .image-wrapper.expanded img {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .image-wrapper.expanded .image-title {
        top: 15px;
        right: 15px;
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .image-wrapper.expanded::after {
        bottom: 15px;
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .image-controls-expanded {
        bottom: 15px;
        gap: 10px;
    }
    
    .zoom-btn-expanded {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .image-wrapper.expanded {
        padding: 15px;
    }
    
    .image-wrapper.expanded img {
        max-width: 98vw;
        max-height: 98vh;
    }
    
    .image-controls-expanded {
        bottom: 10px;
        gap: 8px;
    }
    
    .zoom-btn-expanded {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

.image-wrapper.expanded img.zoomed {
    cursor: zoom-out;
    transform-origin: center center;
}

.book-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-wrapper:hover .book-image {
    transform: scale(1.05);
}

.image-wrapper.expanded .image-title {
    position: static;
    text-align: center;
    margin-bottom: 10px;
    background: transparent;
    color: var(--white);
    font-size: 1.2rem;
}

.image-wrapper.expanded::after {
    content: 'Clique na imagem para dar zoom';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--lighter-gray);
    font-size: 0.9rem;
    opacity: 0.7;
    pointer-events: none;
}

.overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Capítulo */
.chapter-section {
    padding: 6rem 5% 8rem 5%;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    position: relative;
    /* Efeito de brilho mais sutil */
    filter: drop-shadow(0 0 10px rgba(179, 7, 253, 0.6));
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 0.648),
        0 0 50px rgba(164, 6, 232, 0.4),
        0 0 60px rgba(212, 150, 239, 0.2);
    overflow: visible;
}


.open-chapter-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(110, 72, 170, 0.3);
}

.open-chapter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(110, 72, 170, 0.4);
}

.open-chapter-btn i {
    font-size: 1.5rem;
}

.chapter-container {
    max-width: 900px; /* Reduzido de 1200px */
    margin: 0 auto;
}

.book-reader {
    /* Fundo do modal semelhante ao Kindle/Pollen 80g */
    background-color: var(--pollen-background);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: fixed; /* Fixo no centro da tela */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw; /* Largura voltou ao tamanho original */
    max-width: 600px; /* Largura máxima original */
    height: 70vh; /* Altura aumentada para evitar rolagem */
    max-height: 500px; /* Altura máxima aumentada para evitar rolagem */
    z-index: 1000; /* Garante que fique acima de tudo */
    
    /* Margens internas ainda menores */
    padding-bottom: 0.4cm;
    padding-left: 0.8cm;
    padding-right: 0.8cm;
    padding-top: 3cm; /* Margem superior ainda menor */
    
    /* Bordas pretas */
    border: 3px solid #cc00ff;
}

.reader-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Ajustando a posição dos controles para ficarem acima do conteúdo com a margem superior */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background-color: var(--pollen-control-background);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 10; /* Garante que os controles fiquem acima do conteúdo */
    gap: 1rem;
}

.nav-btn {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 72, 170, 0.3);
}

.nav-btn:disabled {
    background-color: var(--light-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}



.page-info {
    color: var(--pollen-text);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-info::before {
    content: '📖';
    font-size: 1rem;
}

/* Garante que o conteúdo real do livro comece após a margem superior */
.book-content {
    padding: 0; /* Remove o padding antigo */
    min-height: 250px; /* Reduzido para o quadrado menor */
    position: relative; /* Importante para posicionamento absoluto do botão */
    overflow-y: hidden; /* Remove barra de rolagem */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinha no topo */
    align-items: center; /* Centraliza horizontalmente */
    padding-top: 0.5mm; /* Cabeçalho reduzido */
    padding-bottom: 0.5mm; /* Rodapé reduzido */
    height: calc(100% - 1mm); /* Altura calculada para evitar corte */
}

/* Regra específica para telas muito grandes */
@media (min-width: 1920px) {
    .book-reader {
        width: 60vw; /* Largura voltou ao tamanho original */
        height: 75vh; /* Altura aumentada para evitar rolagem */
        max-width: 500px;
        max-height: 550px;
    }
}

.page {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    width: 100%;
    text-align: center; /* Centraliza todo o conteúdo da página */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Alinha no topo */
    min-height: 100%;
    padding: 1mm; /* Margem interna reduzida em 0.7mm (de 1.7mm para 1mm) */
    height: 100%; /* Ocupa toda a altura disponível */
    overflow: hidden; /* Evita overflow */
}

.page.active {
    display: flex;
}

.page-header {
    text-align: center;
    margin-bottom: 0.5rem; /* Reduzido significativamente para ocupar menos espaço */
    width: 100%;
    margin-top: 0; /* Remove margem superior */
    flex-shrink: 0; /* Não permite que o header encolha */
}

.page-header h3 {
    font-size: 1.5rem; /* Reduzido de 2rem para ocupar menos espaço */
    color: var(--pollen-text);
    margin-bottom: 0.5rem; /* Reduzido de 1rem */
    font-family: 'Playfair Display', serif; /* Mantendo a fonte para títulos */
    text-align: center;
}

.chapter-divider {
    width: 40px; /* Reduzido de 60px */
    height: 2px; /* Reduzido de 3px */
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 0 auto;
    border-radius: 2px;
}

.page-text {
    font-family: 'Georgia', serif; /* Fontes comuns de e-reader: Georgia, Merriweather, Baskerville */
    font-size: 0.85rem; /* Tamanho de fonte ainda menor */
    line-height: 1.3; /* Espaçamento aumentado mais */
    color: var(--pollen-text);
    text-align: left; /* Texto começa da esquerda */
    text-indent: 0; /* Remove a indentação */
    max-width: 100%; /* Usa toda a largura disponível */
    text-shadow: none;
    orphans: 3; /* Para evitar linhas soltas no final/início das páginas */
    widows: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinha à esquerda */
    justify-content: flex-start; /* Alinha no topo */
    min-height: 120px; /* Altura mínima reduzida para o quadrado menor */
    word-wrap: break-word; /* Permite quebra de palavras longas */
    overflow-wrap: break-word;
    text-align-last: left; /* Alinha a última linha à esquerda */
    text-justify: auto; /* Justificação automática */
    hyphens: auto; /* Hifenização automática */
    margin-top: 0; /* Remove margem superior */
    padding-top: 0; /* Remove padding superior */
    flex: 1; /* Ocupa o espaço restante */
    overflow-y: hidden; /* Remove barra de rolagem */
}

.page-text p {
    margin-bottom: 0.4rem; /* Espaço entre parágrafos */
    text-align: left; /* Alinha cada parágrafo à esquerda */
    max-width: 100%; /* Usa toda a largura disponível */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto; /* Hifenização automática */
    text-align-last: left; /* Alinha a última linha à esquerda */
    text-justify: auto; /* Justificação automática */
    line-height: 1.3; /* Espaçamento aumentado mais */
    margin-top: 0; /* Remove margem superior */
    padding: 0; /* Remove padding */
}

/* Primeiro parágrafo sem margem superior */
.page-text p:first-child {
    margin-top: 0;
    padding-top: 0;
}

/* Estilo especial para falas de personagens */
.page-text p:has(span:contains("–")) {
    margin-bottom: 1mm; /* Espaço de 1mm para falas */
    font-style: italic; /* Diferencia falas */
}

.page-text p:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para a imagem da primeira página */
.first-page-image {
    max-width: 85%; /* Reduzido para o novo tamanho */
    max-height: 85%; /* Reduzido para o novo tamanho */
    width: auto;
    height: auto;
    display: block;
    object-fit: contain; /* Garante que a imagem caiba sem cortar */
    border-radius: 8px; /* Reduzido para o novo tamanho */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); /* Sombra reduzida */
    /* Centralização perfeita */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Garante que a imagem nunca seja cortada */
    object-position: center;
}

/* Overlay para escurecer o fundo quando o modal estiver aberto */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
}

.modal-overlay.active {
    display: block;
}

/* Botão para fechar o modal */
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.close-modal:hover {
    background: var(--accent-light);
}

/* Páginas sem título (primeira página e outras) */
.page:not(:has(.page-header)) .page-text {
    margin-top: 0; /* Remove margem superior para páginas sem título */
    padding-top: 0;
}

/* Primeira página - imagem centralizada perfeitamente */
#page1 .page-text {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    position: relative; /* Permite posicionamento absoluto da imagem */
    width: 100%;
    height: 100%;
}

/* Segunda página (apenas título) */
#page2 .page-text {
    min-height: 300px; /* Altura mínima para centralizar o título */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Páginas de texto (a partir da terceira página) - SEM cabeçalho */
.page[id^="page"]:not(#page1):not(#page2) .page-text {
    justify-content: flex-start; /* Alinha no topo para não cortar */
    min-height: 100%; /* Ocupa toda a altura disponível */
    display: flex;
    align-items: flex-start; /* Alinha no topo */
    flex-direction: column;
    padding: 0.3rem; /* Padding ainda menor */
    margin: 0; /* Remove toda a margem */
    height: 100%; /* Ocupa toda a altura */
    text-align: left; /* Alinha à esquerda */
    overflow-y: auto; /* Permite scroll se necessário */
    max-height: calc(100vh - 200px); /* Altura máxima para evitar corte */
}

.page.active {
    display: flex;
}

/* Detalhes do Livro */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 4rem auto 0 auto;
}

.detail-card {
    background-color: var(--medium-gray);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(222, 0, 251, 0.966);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
}

.detail-card:hover .icon-box {
    background-color: var(--accent-light);
    transform: rotate(15deg) scale(1.1);
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--white);
}

.detail-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.detail-card p {
    color: var(--lighter-gray);
}

/* Onde Comprar */
.buy-section {
    padding: 9rem 5%;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.store-card {
    background-color: var(--medium-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent);
    transition: height 0.3s;
    z-index: -1;
}

.store-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.store-card:hover::before {
    height: 100%;
}

.store-logo {
    width: 80px;
    height: 80px;
    background-color: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s;
}

.store-card:hover .store-logo {
    background-color: var(--white);
    color: var(--black);
}

.store-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.store-card p {
    color: var(--lighter-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.amazon { border-color: var(--amazon); }
.amazon::before { background-color: var(--amazon); }
.amazon:hover .store-logo { color: var(--amazon); }

.martins { border-color: var(--martins); }
.martins::before { background-color: var(--martins); }
.martins:hover .store-logo { color: var(--martins); }

.google { border-color: var(--google); }
.google::before { background-color: var(--google); }
.google:hover .store-logo { color: var(--google); }

/* Em Breve - Coming Soon */
.coming-soon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 2rem;
    position: relative;
}


.coming-soon-content {
    text-align: center;
    max-width: 600px;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
    /* Efeito de brilho apenas ao redor do painel */
    filter: drop-shadow(0 0 8px rgba(179, 7, 253, 0.8));
    box-shadow: 
             0 0 40px rgba(179, 7, 253, 0.6),
        0 0 60px rgba(164, 6, 232, 0.4),
        0 0 80px rgba(212, 150, 239, 0.2);
}


@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Animação de brilho místico pulsante */
@keyframes mystical-glow {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--white);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.coming-soon-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.coming-soon-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--lighter-gray);
    margin-bottom: 2rem;
}

.coming-soon-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.coming-soon-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.coming-soon-features .feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.coming-soon-features .feature i {
    font-size: 1.5rem;
    color: var(--accent);
}

.coming-soon-features .feature span {
    font-size: 0.9rem;
    color: var(--lighter-gray);
    font-weight: 500;
}

/* Responsive para Em Breve */
@media (max-width: 768px) {
    .coming-soon-content {
        padding: 2rem;
    }
    
    .coming-soon-content h3 {
        font-size: 2rem;
    }
    
    .coming-soon-features {
        gap: 1rem;
    }
    
    .coming-soon-features .feature {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .coming-soon-content h3 {
        font-size: 1.8rem;
    }
    
    .coming-soon-content p {
        font-size: 1rem;
    }
    
    .coming-soon-features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Autor */
.author-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.author-image {
    flex: 1;
    position: relative;
}

.author-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.author-bio {
    flex: 1;
}

.author-bio h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.author-bio p {
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    line-height: 1.7;
    font-weight: 300;
}

.signature-text {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent);
    margin-top: 2rem;
    text-align: left;
    transform: rotate(-5deg);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.signature-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    transform: rotate(-5deg);
}

/* Comentários */
.comments-section {
    padding: 8rem 5%;
}

/* Formulário de Comentário */
.comment-form-container {
    max-width: 820px;
    margin: 0 auto 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
}

.comment-form-container h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--white);
}

.comment-form-container .form-description {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--lighter-gray);
    font-size: 1rem;
    line-height: 1.5;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.comment-form .form-group {
    margin-bottom: 0;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background-color: rgba(255,255,255,0.02);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: rgba(200,200,200,0.5);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: rgba(255,255,255,0.24);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.07);
    outline: none;
    background-color: rgba(255,255,255,0.03);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.char-counter {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--lighter-gray);
    text-align: right;
}

.comment-form button {
    align-self: flex-end;
    padding: 0.9rem 1.3rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-form button:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.25);
}

/* Container de Comentários */
.comments-container {
    max-width: 1200px;
    margin: 0 auto;
}

.comments-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: var(--white);
    font-weight: 600;
}

/* Action area under comments */
.comments-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.load-more-btn {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: all .2s ease;
}
.load-more-btn:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.06);
}

.comments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 820px;
    margin: 0 auto;
}

/* Skeleton loading for comments */
.skeleton {
    position: relative;
    overflow: hidden;
}
.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.15), rgba(255,255,255,0));
    transform: translateX(-100%);
    animation: shimmer 1.6s infinite;
}
.skeleton-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.skeleton-line {
    height: 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
}

.comment-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
}

.comment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(110, 72, 170, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.15);
}

.comment-card:hover::before {
    opacity: 1;
}

.comment-header {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
    margin-bottom: 0.5rem;
}

.comment-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
}

.comment-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--white);
    font-weight: 600;
}

.comment-date {
    font-size: 0.85rem;
    color: rgba(200,200,200,0.7);
}

.comment-content {
    position: relative;
}

.comment-content i { display: none; }

.comment-content p {
    font-style: normal;
    color: var(--white);
    line-height: 1.7;
    padding-left: 0;
    margin-top: 0.25rem;
}

/* Responsive para Comentários */
@media (max-width: 768px) {
    .comment-form-container {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .comments-grid {
        grid-template-columns: 1fr;
    }
    
    .comment-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .comment-form-container h3 {
        font-size: 1.5rem;
    }
    
    .comments-container h3 {
        font-size: 1.8rem;
    }
    
    .comment-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Newsletter */
.newsletter-section {
    position: relative;
    overflow: visible;
    /* Efeito de brilho igual à faixa do capítulo */
    filter: drop-shadow(0 0 10px rgba(179, 7, 253, 0.6));
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 0.648),
        0 0 50px rgba(164, 6, 232, 0.4),
        0 0 60px rgba(212, 150, 239, 0.2);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/newsletter-bg.jpg') no-repeat center center/cover;
    z-index: -1;
    opacity: 0.1;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--lighter-gray);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 50px 0 0 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--lighter-gray);
}

.newsletter-form button {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0 50px 50px 0;
    background-color: var(--accent);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    background-color: var(--accent-light);
}

/* Contato */
.contact-section {
    padding: 8rem 5%;
}

.contact-content {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    flex: 1;
    position: relative;
}

/* Estilos para o botão de loading */
.contact-form button[type="submit"] {
    position: relative;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form button[type="submit"] .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Feedback visual para campos */
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(110, 72, 170, 0.2);
}

/* Animação de sucesso */
.contact-form.success {
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    background-color: var(--dark-gray);
    color: var(--white);
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item span {
    color: var(--lighter-gray);
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--medium-gray);
}

.footer-logo .logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--lighter-gray);
    max-width: 300px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--lighter-gray);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: var(--lighter-gray);
    font-size: 0.9rem;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-light);
    transform: translateY(-5px);
}

/* Botão Blog Flutuante */
.blog-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--dark-gray);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 2px solid var(--accent);
    gap: 4px;
    padding: 8px;
}

.blog-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--white);
}

/* Estilo para os três traços */
.blog-btn span {
    display: block;
    width: 20px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Modal de Navegação */
.nav-modal {
    position: fixed;
    top: 90px;
    right: 20px;
    width: 250px;
    background: var(--dark-gray);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-modal-content {
    padding: 20px;
}

.nav-modal-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.nav-modal-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-modal-content li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-modal-content li:last-child {
    border-bottom: none;
}

.nav-modal-content a {
    display: block;
    padding: 12px 15px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nav-modal-content a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateX(5px);
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 500px;
    }
    
    .title-glitch {
        font-size: 3.5rem;
        font-family: 'Dancing Script', cursive;
        font-weight: 700;
        letter-spacing: 2px;
    }
    
    .about-content,
    .author-content,
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image,
    .author-image {
        order: -1;
    }
    
    .images-container {
        flex-direction: column;
        align-items: center;
    }
    
    .image-wrapper {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    /* Menu mobile já definido acima - removendo duplicação */
    
    .hero {
        flex-direction: column;
        padding: 120px 3% 60px 3%;
        text-align: center;
        min-height: 100vh;
        justify-content: center;
    }
    
    .hero-content {
        margin-bottom: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .book-cover-3d {
        max-width: 300px;
        max-height: 60vh;
        width: 100%;
        height: auto;
    }
    
    .title-glitch {
        font-size: 2.2rem;
        font-family: 'Dancing Script', cursive;
        font-weight: 700;
        letter-spacing: 1px;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-header .line {
        width: 60px;
        height: 2px;
    }
    
    .stores-grid {
        grid-template-columns: 1fr;
    }
    
    .images-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .image-wrapper {
        max-width: 280px;
        width: 100%;
    }

    /* Responsividade do Capítulo para as margens */
    .chapter-section {
        padding: 4rem 3%;
    }
    
    .book-reader {
        /* Ajusta as margens para telas menores */
        padding-bottom: 0.6cm;
        padding-left: 0.4cm;
        padding-right: 0.4cm;
        padding-top: 3cm; /* Margem superior reduzida */
        width: 90vw; /* Largura aumentada para mobile */
        height: 70vh; /* Altura ajustada */
        max-width: none; /* Remove limite de largura */
        max-height: none; /* Remove limite de altura */
        border-radius: 8px; /* Bordas arredondadas suaves */
    }

    .book-content {
        padding: 0;
        min-height: 100%;
        height: 100%;
    }
    
    .page-text {
        font-size: 0.8rem; /* Fonte ainda menor para mobile */
        line-height: 1.4; /* Espaçamento melhorado */
        max-width: 100%; /* Usa toda a largura */
        padding: 1rem; /* Padding reduzido para mobile */
        text-align: left; /* Alinha à esquerda */
        align-items: flex-start; /* Alinha à esquerda */
    }
    
    /* Ajuste específico para a primeira página em mobile */
    #page1 .page-text {
        padding: 0.5rem;
    }
    
    .first-page-image {
        max-width: 90%;
        max-height: 90%;
    }

    /* Ajustes para seção about */
    .about-section {
        padding: 4rem 3%;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
        padding: 0 1rem;
    }
    
    .stats {
        justify-content: center;
        gap: 2rem;
        margin-top: 1.5rem;
    }
    
    /* Ajustes para seção de detalhes */
    .details-section {
        padding: 4rem 3%;
    }
    
    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .detail-card {
        padding: 1.2rem;
        text-align: center;
    }
    
    .detail-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .detail-card p {
        font-size: 0.9rem;
    }
    
    .icon-box {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }
    
    .icon-box i {
        font-size: 1.5rem;
    }
    
    /* Ajustes para seção de compra */
    .buy-section {
        padding: 4rem 3%;
    }
    
    .coming-soon-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .coming-soon-content h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .coming-soon-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .coming-soon-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .coming-soon-features .feature {
        padding: 1rem;
    }
    
    /* Ajustes para seção do autor */
    .author-section {
        padding: 4rem 3%;
    }
    
    .author-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .author-image {
        order: 1;
    }
    
    .author-bio {
        order: 2;
    }
    
    .author-image img {
        max-width: 300px;
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    /* Ajustes para seção de contato */
    .contact-section {
        padding: 4rem 3%;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-form {
        order: 1;
    }
    
    .contact-info {
        order: 2;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    /* Ajustes para newsletter */
    .newsletter-section {
        padding: 4rem 3%;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .newsletter-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 25px;
        padding: 0.8rem 1.5rem;
    }
    
    /* Ajustes para footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links,
    .footer-social {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 2% 40px 2%;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .title-glitch {
        font-size: 1.8rem;
        font-family: 'Dancing Script', cursive;
        font-weight: 700;
        letter-spacing: 1px;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .book-cover-3d {
        max-width: 250px;
        max-height: 50vh;
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .section-header .line {
        width: 50px;
        height: 2px;
    }
    
    /* Ajustes para seção about */
    .about-section {
        padding: 3rem 2%;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .number {
        font-size: 2rem;
    }
    
    .label {
        font-size: 0.8rem;
    }
    
    /* Ajustes para seção de detalhes */
    .details-section {
        padding: 3rem 2%;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0 0.5rem;
        margin: 1.5rem auto 0 auto;
    }
    
    .detail-card {
        padding: 1rem;
        margin: 0.3rem 0;
        min-height: auto;
    }
    
    .detail-card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .detail-card p {
        font-size: 0.8rem;
    }
    
    .icon-box {
        width: 45px;
        height: 45px;
        margin: 0 auto 0.8rem auto;
    }
    
    .icon-box i {
        font-size: 1.2rem;
    }
    
    /* Ajustes para seção de compra */
    .buy-section {
        padding: 3rem 2%;
    }
    
    .coming-soon-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .coming-soon-content h3 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .coming-soon-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .coming-soon-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
        font-size: 2rem;
    }
    
    .coming-soon-features {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .coming-soon-features .feature {
        padding: 0.8rem;
    }
    
    .coming-soon-features .feature i {
        font-size: 1.2rem;
    }
    
    .coming-soon-features .feature span {
        font-size: 0.8rem;
    }
    
    /* Ajustes para seção do autor */
    .author-section {
        padding: 3rem 2%;
    }
    
    .author-image img {
        max-width: 250px;
        width: 100%;
    }
    
    .author-bio h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .author-bio p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .signature-text {
        font-size: 2rem;
        margin-top: 1.5rem;
    }
    
    .social-links {
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    /* Ajustes para seção de contato */
    .contact-section {
        padding: 3rem 2%;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .info-item span {
        font-size: 0.9rem;
    }
    
    /* Ajustes para newsletter */
    .newsletter-section {
        padding: 3rem 2%;
    }
    
    .newsletter-content h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .newsletter-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 25px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .newsletter-form button {
        margin-top: 0;
    }
    
    /* Ajustes para footer */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding-bottom: 2rem;
    }
    
    .footer-logo .logo {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-logo p {
        font-size: 0.9rem;
    }
    
    .footer-links h3,
    .footer-social h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.6rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .social-icons {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }

    /* Ajustes para modal do Kindle */
    .book-reader {
        width: 95vw;
        height: 75vh;
        border-radius: 8px;
        padding: 0.3cm;
        padding-top: 2.8cm;
    }
    
    .book-content {
        padding: 0;
        min-height: 100%;
    }
    
    .page-text {
        font-size: 0.7rem;
        line-height: 1.3;
        max-width: 100%;
        padding: 0.2rem;
        text-align: left;
        align-items: flex-start;
    }
    
    /* Ajuste específico para a primeira página em telas muito pequenas */
    #page1 .page-text {
        padding: 0.1rem;
    }
    
    .first-page-image {
        max-width: 95%;
        max-height: 95%;
    }
    
    /* Ajustes para botões flutuantes */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1rem;
    }
    
    .blog-btn {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
        gap: 3px;
        padding: 6px;
    }
    
    .blog-btn span {
        width: 18px;
        height: 2px;
    }
    
    /* Ajustes para modal de navegação */
    .nav-modal {
        top: 85px;
        right: 15px;
        width: 200px;
    }
    
    .nav-modal-content {
        padding: 15px;
    }
    
    .nav-modal-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .nav-modal-content a {
        padding: 10px 12px;
        font-size: 13px;
    }
}
/* Estilos Específicos do Blog */
.blog-hero {
    padding: 10rem 5% 6rem;
    text-align: center;
    position: relative;
}

.blog-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    color: var(--lighter-gray);
    margin-bottom: 2rem;
}

.blog-container {
    padding: 4rem 5%;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.blog-post {
    background-color: var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-post:hover .post-image img {
    transform: scale(1.1);
}

.post-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: var(--white);
    padding: 0.8rem;
    text-align: center;
    border-radius: 5px;
    line-height: 1;
}

.post-date span:first-child {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.post-date span:last-child {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-content {
    padding: 2rem;
}

.post-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.post-excerpt {
    color: var(--lighter-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Responsividade do Blog */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}
/* Estilos para a página de Obrigado */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 5%;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.check-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    animation: bounce 1s ease infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-15px); }
}

.thank-you-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.thank-you-content p {
    font-size: 1.2rem;
    color: var(--lighter-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 768px) {
    .thank-you-content h1 {
        font-size: 2.5rem;
    }
    
    .thank-you-content p {
        font-size: 1rem;
    }
    
    .check-icon {
        font-size: 4rem;
    }
}

/* Estilos para comentários e avatares */
.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.comment-avatar:hover {
    transform: scale(1.1);
    border-color: var(--accent-light);
}

.comment-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--medium-gray), var(--light-gray));
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.comment-avatar-placeholder::before {
    content: '👤';
    font-size: 1.5rem;
    opacity: 0.7;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(110, 72, 170, 0.1);
}

.comment-info h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.comment-date {
    color: rgba(170, 170, 170, 0.8);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.comment-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.95));
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(110, 72, 170, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.comment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(110, 72, 170, 0.25);
    border-color: rgba(110, 72, 170, 0.4);
    background: linear-gradient(135deg, rgba(26, 26, 26, 1), rgba(42, 42, 42, 1));
}

.comment-content {
    position: relative;
    padding-left: 24px;
    line-height: 1.6;
}

.comment-content .fas.fa-quote-left {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-size: 1.1rem;
    opacity: 0.6;
}

.comment-content p {
    color: var(--white);
    line-height: 1.6;
    font-size: 1rem;
}

/* Estilos para o modal do capítulo/prólogo */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    padding: 20px;
    box-sizing: border-box;
}

.book-reader {
    background: var(--pollen-background);
    width: 90vw;
    height: 90vh;
    max-width: 800px;
    max-height: 600px;
    border-radius: 15px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    background: var(--accent-light);
    transform: scale(1.1);
}

.reader-controls {
    position: relative;
    height: 60px;
    margin-bottom: 1.8rem;
    background: transparent;
}

.nav-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1003;
    box-shadow: 0 10px 30px rgba(110, 72, 170, 0.3);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.nav-btn:hover:not(.disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(110, 72, 170, 0.4);
}

.nav-btn.disabled {
    background: var(--light-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.5;
}

.page-info {
    color: var(--pollen-text);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--pollen-control-background);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Botão Retornar à Página */
.return-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1006;
    box-shadow: 0 5px 15px rgba(110, 72, 170, 0.4);
}

.return-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(110, 72, 170, 0.4);
}

.book-content {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    background: rgb(236, 221, 188);
    border-radius: 10px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.book-content::-webkit-scrollbar {
    display: none;
}

.page {
    display: none;
    padding: 1.5rem 1rem 1rem 1rem;
    line-height: 1.8;
    font-family: 'Georgia', serif;
    color: var(--black);
}

.page.active {
    display: block;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.chapter-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 0 auto;
    border-radius: 2px;
}

.page-text {
    font-size: 1rem;
    line-height: 1;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
    padding: 1rem;
}

.page-text p {
    margin-bottom: 1rem;
    text-indent: 0;
    text-align: center;
}

/* Responsividade do modal */
@media (max-width: 1024px) {
    .book-reader {
        width: 90vw;
        height: 80vh;
        padding: 1.5rem;
    }
    
    .page-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .book-reader {
        width: 95vw;
        height: 85vh;
        padding: 1rem;
    }
    
    .reader-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .page-header h3 {
        font-size: 2rem;
    }
    
    .page-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .book-reader {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        padding: 0.5rem;
    }
    
    .page {
        padding: 1rem;
    }
    
    .page-text {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    

}

/* ===== ESTILOS DO MODAL DO KINDLE ===== */

/* Modal do Kindle */
.kindle-modal {
    display: none;
    position: fixed;
    z-index: 99999; /* Z-index muito alto para garantir que apareça acima de tudo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* Garantir que o modal seja visível quando ativo */
.kindle-modal[style*="display: flex"],
.kindle-modal.modal-open {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important; /* Z-index muito alto */
    background-color: rgba(0, 0, 0, 0.8) !important;
    justify-content: center !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Frame do Kindle */
.kindle-device-frame {
    background-color: #070707;
    border-radius: 12px;
    padding: 20px;
    padding-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 450px;
    height: 90vh;
    max-height: 800px;
    aspect-ratio: 9 / 14;
    position: relative;
    overflow: visible;
}

/* Conteúdo da tela do livro */
.modal-content {
    background-color: #EDE9D8;
    padding: 0;
    border-radius: 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    height: calc(100% - 80px);
}

/* Botão fechar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #eee;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
}

.close-btn:hover,
.close-btn:focus {
    color: #fff;
}

/* Páginas do prólogo */
.prologo-page {
    display: none;
    flex-grow: 1;
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 1.4;
    text-align: justify;
    color: #333;
    overflow-y: auto;
    padding: 30px 25px;
    box-sizing: border-box;
}

.prologo-page.active {
    display: block;
}

/* Primeira página (capa) */
#page-1 {
    padding: 0;
    overflow: hidden;
}

#page-1.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.prologo-page p {
    margin-bottom: 0;
    margin-top: 0;
    text-indent: 1em;
}

.chapter-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

/* Contêiner da imagem de capa */
.cover-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-image {
    width: 100%;
    height: 100%;
    display: block;
}

/* Controles inferiores */
.bottom-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1002;
}

.kindle-logo {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #eee;
    padding: 5px 10px;
    flex-grow: 1;
    text-align: center;
    position: relative;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-number {
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.8;
    text-transform: none;
    letter-spacing: 1px;
}

/* Modal do Marcador de Página - REMOVIDO (voltou para botão simples) */

/* Botões de navegação */
.nav-btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #555;
    background-color: #444;
    color: #eee;
    border-radius: 6px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 1003;
}

.nav-btn:hover:not(.disabled) {
    background-color: #5a5a5a;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.nav-btn.disabled {
    cursor: not-allowed;
    opacity: 0.4;
    background-color: #333;
    color: #888;
    box-shadow: none;
}

/* Em style.css, dentro de @media (max-width: 768px) */
@media (max-width: 768px) {
    .kindle-modal.modal-open { /* << MUDANÇA AQUI */
        z-index: 99999 !important;
        -webkit-overflow-scrolling: touch;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
        
        /* Garantir visibilidade no mobile */
        .kindle-modal.modal-open,
        .kindle-modal[style*="display: flex"] {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        
        .kindle-device-frame {
            width: 95%;
            padding: 12px;
            height: 85vh;
            max-height: 700px;
            /* Garantir que o frame seja visível */
            position: relative;
            z-index: 10002;
        }
        
        .modal-content {
            padding: 0;
            height: calc(100% - 60px);
            /* Melhorar scroll no mobile */
            -webkit-overflow-scrolling: touch;
            overflow-y: auto;
        }
        
        .prologo-page {
            font-size: 14px;
            line-height: 1.4;
            padding: 20px 12px;
        }
        
        .chapter-title {
            font-size: 18px;
            margin-bottom: 15px;
        }
        
        .close-btn {
            font-size: 24px;
            top: 6px;
            right: 10px;
        }
        
        .nav-btn {
            padding: 6px 12px;
            font-size: 12px;
            min-width: 50px;
        }
        
        .kindle-logo {
            font-size: 11px;
        }
        
        .page-number {
            font-size: 10px;
        }
        
        .bottom-controls {
            margin-top: 8px;
            padding: 0 12px;
        }
}

@media (max-width: 480px) {
    .kindle-modal {
        /* Garantir funcionamento em telas muito pequenas */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 99999 !important; /* Z-index muito alto */
    }
    
    .kindle-device-frame {
        width: 98%;
        padding: 8px;
        height: 90vh;
        max-height: 600px;
        /* Garantir visibilidade */
        position: relative;
        z-index: 10002;
    }
    
    .modal-content {
        height: calc(100% - 50px);
        /* Melhorar scroll */
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
    }
    
    .prologo-page {
        font-size: 12px;
        line-height: 1.3;
        padding: 15px 8px;
    }
    
    .chapter-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .close-btn {
        font-size: 20px;
        top: 4px;
        right: 8px;
    }
    
    .nav-btn {
        padding: 4px 8px;
        font-size: 10px;
        min-width: 40px;
    }
    
    .kindle-logo {
        font-size: 10px;
    }
    
    .page-number {
        font-size: 9px;
    }
    
    .bottom-controls {
        margin-top: 6px;
        padding: 0 8px;
    }
}

@media (max-width: 360px) {
    .kindle-device-frame {
        width: 100%;
        padding: 6px;
        height: 95vh;
        max-height: 500px;
    }
    
    .modal-content {
        height: calc(100% - 40px);
    }
    
    .prologo-page {
        font-size: 11px;
        line-height: 1.2;
        padding: 12px 6px;
    }
    
    .chapter-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .close-btn {
        font-size: 18px;
        top: 3px;
        right: 6px;
    }
    
    .nav-btn {
        padding: 3px 6px;
        font-size: 9px;
        min-width: 35px;
    }
    
    .kindle-logo {
        font-size: 9px;
    }
    
    .page-number {
        font-size: 8px;
    }
    
    .bottom-controls {
        margin-top: 4px;
        padding: 0 6px;
    }
}

/* Modal de Personagens */
.characters-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}
.characters-modal.active {
  display: flex;
}
.characters-modal-content {
  background: #232228;
  color: #fff;
  margin: auto;
  padding: 32px 24px 24px 24px;
  border-radius: 16px;
  max-width: 400px;
  width: 90vw;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
  text-align: center;
}
.close-modal {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2rem;
  color: #a78bfa;
  cursor: pointer;
}
.characters-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.character-btn {
  background: #3b3640;
  color: #a78bfa;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.character-btn:hover, .character-btn.active {
  background: #a78bfa;
  color: #232228;
}
.character-details {
  margin-top: 12px;
}
.character-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 3px solid #a78bfa;
}
@media (max-width: 600px) {
  .characters-modal-content {
    padding: 16px 4vw 16px 4vw;
    max-width: 98vw;
  }
  .character-img {
    width: 90px;
    height: 90px;
  }
}

/* Overlay de Personagens (Full Page) */
.characters-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #18171c;
  color: #fff;
  overflow-y: auto;
  justify-content: center;
  align-items: center;
}
.characters-overlay.active {
  display: flex;
}
.characters-overlay-content {
  width: 100vw;
  min-height: 100vh;
  padding: 48px 0 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.close-overlay {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 2.5rem;
  color: #a78bfa;
  cursor: pointer;
  z-index: 10;
}
.characters-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.character-btn {
  background: #232228;
  color: #a78bfa;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.character-btn:hover, .character-btn.active {
  background: #a78bfa;
  color: #232228;
}
.character-main {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start; /* Garante alinhamento ao topo */
  justify-content: center;
  width: 90vw;
  max-width: 1200px;
}
.character-image-area {
  flex: 0 0 350px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start; /* Alinha imagem ao topo */
  height: 100%;
}
.character-img-large {
  width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  border: 5px solid #a78bfa;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  background: #232228;
  display: block;
}
@media (max-width: 900px) {
  .character-img-large {
    width: 280px;
    height: 280px;
  }
}
@media (max-width: 600px) {
  .character-img-large {
    width: 150px;
    height: 150px;
  }
}
.character-info-area {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 700px;
  min-width: 0;
}
@media (max-width: 900px) {
  .character-main {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .character-image-area {
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .character-img-large {
    width: 220px;
    height: 220px;
  }
  .character-info-area {
    max-width: 98vw;
  }
}

/* Capa do álbum de personagens */
.characters-cover-album {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}
.characters-cover-img {
  width: 90vw;
  max-width: 900px;
  height: 220px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(201, 5, 255, 0.25);
  border: 4px solid #a78bfa;
  background: #232228;
}
@media (max-width: 900px) {
  .characters-cover-img {
    height: 140px;
    max-width: 98vw;
    border-radius: 18px;
  }
}
@media (max-width: 600px) {
  .characters-cover-img {
    height: 80px;
    border-radius: 10px;
  }
}

/* ===== BOTÃO DE RETORNO AO ALVORECER DAS SOMBRAS ===== */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.return-to-splash-btn {
    background: linear-gradient(135deg, #6e48aa 0%, #9d50bb 100%);
    border: none;
    border-radius: 25px;
    padding: 8px 16px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(110, 72, 170, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.return-to-splash-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 72, 170, 0.4);
    background: linear-gradient(135deg, #9d50bb 0%, #6e48aa 100%);
}

.return-to-splash-btn i {
    font-size: 1rem;
}

.return-to-splash-btn span {
    white-space: nowrap;
}

/* Responsividade do botão de retorno */
@media (max-width: 768px) {
    .header-left {
        gap: 15px;
    }
    
    .return-to-splash-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .return-to-splash-btn span {
        display: none;
    }
    
    .return-to-splash-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header-left {
        gap: 10px;
    }
    
    .return-to-splash-btn {
        padding: 5px 10px;
        font-size: 0.6rem;
    }
}

/* ===== TELA DE ENTRADA (SPLASH SCREEN) ===== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.5s ease-in-out;
    overflow: hidden; /* Previne scroll na splash screen */
}

.splash-content {
    text-align: center;
    max-width: 800px;
    padding: 40px;
    animation: fadeInUp 1s ease-out;
}

.splash-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(193, 140, 189, 0.5);
    background: linear-gradient(45deg, #f0f0f0, #e623f4, #9d50bb);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.splash-author {
    margin-bottom: 40px;
}

.splash-author-img {
    width: 110px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #853d8c;
    box-shadow: 0 0 30px rgba(110, 72, 170, 0.3);
    transition: transform 0.3s ease;
}

.splash-author-img:hover {
    transform: scale(1.08);
}

.splash-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.splash-card {
    background: linear-gradient(135deg, #3030305b 0%, #1a1a1a 100%);
    border: 2px solid #f8f8f8;
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(29, 29, 29, 0.354);
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.splash-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(110, 72, 170, 0.2), transparent);
    transition: left 0.5s ease;
}

.splash-card:hover::before {
    left: 100%;
}

.splash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 15px rgb(234, 7, 255);
    border-color: #e333f0;
}

.splash-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #f0f0f0;
    margin: 0;
    padding: 20px 20px 0 20px;
    text-shadow: 0 0 15px rgba(110, 72, 170, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    white-space: nowrap;
}

.splash-card p {
    font-size: 1.1rem;
    color: rgba(170, 170, 170, 0.7);
    margin: 0;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 1;
    transition: all 0.3s ease;
}

.card-image:hover {
    transform: scale(1.02);
}

.splash-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-radius: 20px;
    z-index: 1;
    transition: all 0.3s ease;
}

.splash-card:hover::after {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsividade para a tela de entrada */
@media (max-width: 1024px) {
    .splash-content {
        max-width: 90%;
        padding: 30px;
    }
    
    .splash-title {
        font-size: 3.5rem;
        margin-bottom: 35px;
    }
    
    .splash-description {
        font-size: 1.1rem;
        margin-bottom: 45px;
    }
}

@media (max-width: 768px) {
    .splash-screen {
        padding: 20px;
    }
    
    .splash-content {
        max-width: 95%;
        padding: 25px;
    }
    
    .splash-title {
        font-size: 2.8rem;
        margin-bottom: 30px;
        line-height: 1.2;
    }
    
    .splash-author {
        margin-bottom: 35px;
    }
    
    .splash-author-img {
        width: 100px;
        height: 100px;
    }
    
    .splash-description {
        font-size: 1rem;
        margin-bottom: 40px;
        line-height: 1.6;
    }
    
    .splash-card {
        padding: 25px;
        margin: 0 10px;
        width: 280px;
        height: 280px;
    }
    
    .splash-card h2 {
        font-size: 2rem;
        padding: 15px 15px 0 15px;
    }
    
    .splash-card p {
        font-size: 1rem;
        bottom: 15px;
    }
    
}

@media (max-width: 600px) {
    .splash-content {
        padding: 20px 15px;
    }
    
    .splash-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .splash-author-img {
        width: 90px;
        height: 90px;
    }
    
    .splash-description {
        font-size: 0.95rem;
        margin-bottom: 35px;
    }
    
    .splash-card {
        padding: 20px;
        margin: 0 5px;
        width: 260px;
        height: 260px;
    }
    
    .splash-card h2 {
        font-size: 1.7rem;
        padding: 12px 12px 0 12px;
    }
    
    .splash-card p {
        bottom: 12px;
    }
    
}

@media (max-width: 480px) {
    .splash-screen {
        padding: 15px;
    }
    
    .splash-content {
        padding: 15px 10px;
        max-width: 100%;
    }
    
    .splash-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        line-height: 1.1;
    }
    
    .splash-author {
        margin-bottom: 25px;
    }
    
    .splash-author-img {
        width: 80px;
        height: 80px;
    }
    
    .splash-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .splash-card {
        padding: 18px;
        margin: 0;
        border-radius: 15px;
        width: 240px;
        height: 240px;
    }
    
    .splash-card h2 {
        font-size: 1.5rem;
        padding: 10px 10px 0 10px;
    }
    
    .splash-card p {
        bottom: 10px;
    }
    
    
    .splash-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .hero {
        padding: 90px 1% 30px 1%;
    }
    
    .hero-content {
        padding: 0 0.3rem;
    }
    
    .title-glitch {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
        line-height: 1.1;
        margin-bottom: 0.6rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        padding: 0 0.3rem;
    }
    
    .book-cover-3d {
        max-width: 220px;
        max-height: 45vh;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .section-header .line {
        width: 40px;
        height: 2px;
    }
    
    /* Ajustes para seção about */
    .about-section {
        padding: 2.5rem 1%;
    }
    
    .about-text p {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 0 0.3rem;
    }
    
    .number {
        font-size: 1.8rem;
    }
    
    .label {
        font-size: 0.75rem;
    }
    
    /* Ajustes para seção de detalhes */
    .details-section {
        padding: 2.5rem 1%;
    }
    
    .details-grid {
        padding: 0 0.3rem;
        margin: 1.2rem auto 0 auto;
    }
    
    .detail-card {
        padding: 0.8rem;
        margin: 0.2rem 0;
    }
    
    .detail-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .detail-card p {
        font-size: 0.75rem;
    }
    
    .icon-box {
        width: 40px;
        height: 40px;
        margin: 0 auto 0.6rem auto;
    }
    
    .icon-box i {
        font-size: 1rem;
    }
    
    /* Ajustes para seção de compra */
    .buy-section {
        padding: 2.5rem 1%;
    }
    
    .coming-soon-content {
        padding: 1.2rem 0.8rem;
        margin: 0 0.3rem;
    }
    
    .coming-soon-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .coming-soon-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .coming-soon-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 1.2rem;
        font-size: 1.8rem;
    }
    
    .coming-soon-features .feature {
        padding: 0.6rem;
    }
    
    .coming-soon-features .feature i {
        font-size: 1rem;
    }
    
    .coming-soon-features .feature span {
        font-size: 0.75rem;
    }
    
    /* Ajustes para seção do autor */
    .author-section {
        padding: 2.5rem 1%;
    }
    
    .author-image img {
        max-width: 200px;
    }
    
    .author-bio h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .author-bio p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .signature-text {
        font-size: 1.8rem;
        margin-top: 1.2rem;
    }
    
    .social-links a {
        width: 30px;
        height: 30px;
    }
    
    /* Ajustes para seção de contato */
    .contact-section {
        padding: 2.5rem 1%;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .info-item {
        margin-bottom: 1.2rem;
    }
    
    .info-item i {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .info-item span {
        font-size: 0.85rem;
    }
    
    /* Ajustes para newsletter */
    .newsletter-section {
        padding: 2.5rem 1%;
    }
    
    .newsletter-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .newsletter-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Ajustes para footer */
    .footer-content {
        gap: 1.2rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-logo .logo {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-logo p {
        font-size: 0.85rem;
    }
    
    .footer-links h3,
    .footer-social h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .social-icons a {
        width: 30px;
        height: 30px;
    }
    
    .footer-bottom {
        padding-top: 1.2rem;
        font-size: 0.75rem;
    }

    /* Ajustes para modal do Kindle */
    .book-reader {
        width: 98vw;
        height: 78vh;
        border-radius: 6px;
        padding: 0.2cm;
        padding-top: 2.5cm;
    }
    
    .page-text {
        font-size: 0.65rem;
        line-height: 1.2;
        padding: 0.1rem;
    }
    
    #page1 .page-text {
        padding: 0.05rem;
    }
    
    .first-page-image {
        max-width: 98%;
        max-height: 98%;
    }
    
    /* Ajustes para botões flutuantes */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1.2rem;
        right: 1.2rem;
        font-size: 0.9rem;
    }
    
    .blog-btn {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
        gap: 2px;
        padding: 5px;
    }
    
    .blog-btn span {
        width: 16px;
        height: 2px;
    }
    
    /* Ajustes para botão de menu mobile */
    .mobile-menu-btn {
        width: 35px;
        height: 35px;
        gap: 3px;
        padding: 6px;
    }
    
    .mobile-menu-btn span {
        width: 16px;
        height: 2px;
    }
    
    /* Ajustes para modal de navegação */
    .nav-modal {
        top: 80px;
        right: 12px;
        width: 180px;
    }
    
    .nav-modal-content {
        padding: 12px;
    }
    
    .nav-modal-content h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .nav-modal-content a {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    
    /* Ajustes para splash screen */
    .splash-content {
        padding: 10px 5px;
    }
    
    .splash-title {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .splash-author-img {
        width: 70px;
        height: 70px;
    }
    
    .splash-description {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }
    
    .splash-card {
        padding: 15px;
        width: 220px;
        height: 220px;
    }
    
    .splash-card h2 {
        font-size: 1.3rem;
        padding: 8px 8px 0 8px;
    }
    
    .splash-card p {
        bottom: 8px;
    }
    
    
    .splash-card p {
        font-size: 0.85rem;
    }
}

/* Orientação landscape em dispositivos móveis */
@media (max-height: 500px) and (orientation: landscape) {
    .splash-screen {
        padding: 10px;
    }
    
    .splash-content {
        padding: 10px;
        max-width: 100%;
    }
    
    .splash-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .splash-author {
        margin-bottom: 15px;
    }
    
    .splash-author-img {
        width: 60px;
        height: 60px;
    }
    
    .splash-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .splash-card {
        padding: 15px;
        margin: 0;
        width: 200px;
        height: 200px;
    }
    
    .splash-card h2 {
        font-size: 1.4rem;
        padding: 8px 8px 0 8px;
    }
    
    .splash-card p {
        bottom: 8px;
    }
    
    
    .splash-card p {
        font-size: 0.85rem;
    }
    
    /* Ajustes para hero em landscape */
    .hero {
        padding: 80px 2% 20px 2%;
        min-height: 100vh;
    }
    
    .hero-content {
        margin-bottom: 1rem;
    }
    
    .title-glitch {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .book-cover-3d {
        max-width: 200px;
        max-height: 50vh;
    }
    
    /* Ajustes para seções em landscape */
    .about-section,
    .details-section,
    .buy-section,
    .author-section,
    .contact-section,
    .newsletter-section {
        padding: 2rem 3%;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .section-header .line {
        width: 40px;
        height: 2px;
    }
    
    /* Ajustes para modal do Kindle em landscape */
    .kindle-device-frame {
        width: 90%;
        height: 80vh;
        max-height: 400px;
    }
    
    .prologo-page {
        font-size: 12px;
        line-height: 1.3;
        padding: 10px 8px;
    }
    
    .chapter-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
}

/* Ajustes para telas muito pequenas em landscape */
@media (max-height: 400px) and (orientation: landscape) {
    .splash-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .splash-author-img {
        width: 50px;
        height: 50px;
    }
    
    .splash-description {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .splash-card {
        padding: 12px;
        width: 180px;
        height: 180px;
    }
    
    .splash-card h2 {
        font-size: 1.2rem;
        padding: 6px 6px 0 6px;
    }
    
    .splash-card p {
        bottom: 6px;
    }
    
    
    .splash-card p {
        font-size: 0.8rem;
    }
}

/* ===== BOTÃO FECHAR ESQUERDO DO MODAL ===== */
.close-btn-left {
    position: absolute;
    top: 10px;
    left: 20px;
    background: rgba(252, 249, 249, 0.091);
    border: 2px solid rgba(49, 48, 48, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.close-btn-left i {
    color: #0e0d0d;
    font-size: 12px;
    transition: color 0.3s ease;
}

.close-btn-left:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.close-btn-left:hover i {
    color: #fff;
}

/* Responsividade do botão fechar esquerdo */
@media (max-width: 768px) {
    .close-btn-left {
        top: 6px;
        left: 10px;
        width: 28px;
        height: 28px;
    }
    
    .close-btn-left i {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .close-btn-left {
        top: 4px;
        left: 8px;
        width: 24px;
        height: 24px;
    }
    
    .close-btn-left i {
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .close-btn-left {
        top: 3px;
        left: 6px;
        width: 22px;
        height: 22px;
    }
    
    .close-btn-left i {
        font-size: 8px;
    }
}



