:root {
    --primary: #6a4c93;
    --secondary: #8a5a44;
    --accent: #f8c537;
    --light: #f9f7f3;
    --dark: #2a2d34;
    --highlight: #ff6b6b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Lemon-Milk';
    src: url('../fonts/LEMONMILK-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    position: relative;
}

.book-cover {
    height: 100vh;
    background: linear-gradient(135deg, #060271, #f8c537);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.btn-voltar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(#060271, #1f1c85);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 10; /* Garante que fique acima de outros elementos */
    border: 1px solid white; /* Opcional: para melhor contraste */
}

.btn-voltar:hover {
    background-color: var(--secondary);
    transform: translate(-50%, -2px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cover-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
    position: relative;
}

.cover-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}

.shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, #00bcb3 0%, rgba(16, 3, 119, 0) 70%);
    animation: shine 8s infinite;
    opacity: 0.3;
    z-index: 1;
}

@keyframes shine {
    0% { transform: rotate(0deg) translate(-30%, -30%); }
    100% { transform: rotate(360deg) translate(-30%, -30%); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 2px solid var(--accent);
}

header h1 {
    font-size: 2.5rem;
    color: #00857f;
    margin-bottom: 0.5rem;
}

header h1 span:first-child {
    color: rgb(219, 164, 13);
}

header h1 span:last-child {
    color: #060271;
}

.subtitle {
    font-size: 1.2rem;
    color: black;
    font-family: 'Times New Roman', Times, serif;
    font-style: normal;
}

section {
    margin-bottom: 3rem;
}

.yt-intro {
    width: 100%;
    height: 30rem;
    border-radius: 20px;
    padding: 10px; /* Espaço para a borda */
    background: 
        linear-gradient(white, white) content-box,
        linear-gradient(to right, #f8c537, #060271) border-box;
    border: 1px solid transparent;
    box-sizing: border-box;
}

h2 {
    color: #00857f;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: var(--accent);
}

.synopsis p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.character-1 {
    background: white;
    padding: 1.5rem;
    text-align: center;
    border: solid 5px gold;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.character-1:hover {
    transform: translateY(-10px);
}

.character-2 {
    background: white;
    padding: 1.5rem;
    border: solid 5px #0700de;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.character-2:hover {
    transform: translateY(-10px);
}


.character-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

#pequeninho {
    background-color: #a7c5eb;
    background-image: url('/img/pequeninho_desenho_perfil\ \(1\).jpg');
}

#pequenao {
    background-color: #f5c3c2;
    background-image: url('/img/peq_site_arte.jpg');
}

.theme-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.bubble {
    background-color: #060271;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bubble:hover {
    background-color: var(--accent);
    transform: scale(1.1);
}

.cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #060271, gold);
    color: white;
    border-radius: 10px;
    margin-top: 4rem;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta h2::after {
    display: none;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

#notify-btn{
    background-color: var(--accent);
    color: var(--dark);
    border: none;
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#notify-btn:hover {
    background-color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hidden {
    display: none;
}

#notification {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--accent);
    color: var(--dark);
    border-radius: 5px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #ddd;
    color: #060271;
}

footer a{
    color: #060271;
    text-decoration: none;
}

@media (max-width: 768px) {
    .cover-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0rem;
    position: relative;
}
.cover-content img{
    display: flex;
    padding: 0rem;
    margin: 0 auto;
    width: 100%;
}
    
    header h1 {
        font-size: 2rem;
    }
    
    .character-grid {
        grid-template-columns: 1fr;
    }
}