@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Playfair+Display:wght@700&family=Inter:wght@400;600&display=swap');

:root {
    --bg: #121212;
    --card: #1e1e1e;
    --text: #f0f0f0;
    --accent: #4CAF50;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    transition: background 0.4s;
}

/* Typography */
.book-title { font-family: 'Playfair Display', serif; }
.book-text { font-family: 'Libre Baskerville', serif; line-height: 1.8; font-size: 1.15rem; }

/* Content Card */
.content-card {
    background: var(--card);
    padding: 3rem;
    border-radius: 12px;
    max-width: 850px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Modes */
body.mode-light { --bg: #f5f5f5; --card: #ffffff; --text: #222; }
body.mode-sepia { --bg: #f4ecd8; --card: #fdf6e3; --text: #5b4636; }

/* Font Sizes */
.size-small { font-size: 0.95rem !important; }
.size-large { font-size: 1.4rem !important; }

/* ENHANCED FULL SCREEN MODE */
.is-fullscreen {
    padding: 40px !important;
    overflow-y: auto !important;
    height: 100vh !important;
    width: 100vw !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
}

.is-fullscreen .book-text {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 100px;
}

/* Footer & Header */
.main-header { padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.logo-image { max-width: 300px; }
.footer-custom { background: #000; color: #fff; }
.footer-custom a { color: var(--accent); text-decoration: none; }


/* Estilo das Penas */
.quill-rating {
    display: inline-block;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
}

.quill {
    font-size: 2.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    color: #6c757d; /* Cinza neutro inicial */
    margin: 0 5px;
}

.quill.active {
    color: #b8860b; /* Bronze/Dourado clássico */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Ajuste para o modo Sépia se existir no seu site */
.mode-sepia .quill.active {
    color: #5e4638; /* Castanho escuro para combinar com o papel antigo */
}
.quill:hover { transform: scale(1.2); }

/* Mobile */
@media (max-width: 768px) {
    .content-card { padding: 1.5rem; }
    .logo-image { max-width: 220px; }
}
