/* ===============================
   FONTS
================================ */
@font-face {
    font-family: 'social';
    src: url('social.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'spinstee';
    src: url('spinstee.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Bonello';
    src: url('bonello.otf') format('opentype');
    font-weight: 300;
}

@font-face {
    font-family: 'Sabrina';
    src: url('sabrina.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Paris';
    src: url('Paris.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Poti';
    src: url('poti.ttf') format('truetype');
    font-weight: 300;
}

/* ===============================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   BODY + BACKGROUND (LIGHT)
================================ */

body {
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    background-color: #f9f8fb;
    color: #5a4f62;

    font-family: 'Georgia', serif;
    line-height: 1.7;
    min-height: 100vh;
    padding: 20px;
    position: relative;

    transition: background-color 0.6s ease, color 0.6s ease;
}

/* véu claro */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(249,248,251,0.75);
    pointer-events: none;
    z-index: -2;
    transition: background 0.6s ease;
}

/* poeira mágica */
@keyframes fairyFloat {
    0% { opacity: 0.15; transform: translateY(0); }
    50% { opacity: 0.35; }
    100% { opacity: 0.15; transform: translateY(-20px); }
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(180,167,196,0.06) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(180,167,196,0.06) 0%, transparent 25%);
    animation: fairyFloat 16s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* ===============================
   CONTAINER
================================ */

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;

    background: rgba(249,248,251,0.92);
    border-radius: 14px;
    border: 1px solid #ded9e3;

    backdrop-filter: blur(2px);
    box-shadow:
        inset 0 0 40px rgba(180,167,196,0.25),
        0 20px 40px rgba(90,79,98,0.25);

    overflow: hidden;
    position: relative;
    transition: background 0.6s ease, box-shadow 0.6s ease;
}

/* brilho etéreo */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(180,167,196,0.08),
        transparent 70%
    );
    background-size: 200% 100%;
    animation: shimmer 20s linear infinite;
    pointer-events: none;
}

/* ===============================
   SIDEBAR
================================ */

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #f3f1f7, #ded9e3);
    padding: 35px 25px;
    border-right: 2px dashed #c9c0d4;
}

/* avatar */
.avatar-container {
    text-align: center;
    margin-bottom: 30px;
}

.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #b4a7c4;
    box-shadow: 0 6px 18px rgba(180,167,196,0.4);
}

.sidebar h2 {
    font-family: 'Poti', serif;
    font-size: 4.5em;
    font-weight: 300;
    color: #766a7e;
    text-align: center;
}

.tagline {
    font-style: italic;
    color: #5a4f62;
    text-align: center;
}

/* ===============================
   ID CARD + INTERESTS
================================ */

@keyframes breathe {
    0%, 100% { box-shadow: 0 6px 18px rgba(180,167,196,0.25); }
    50% { box-shadow: 0 12px 28px rgba(180,167,196,0.45); }
}

.id-card,
.interests {
    background: #efe9f5;
    border: 1px solid #766a7e;
    border-radius: 6px;
    padding: 18px;;
    margin-bottom: 30px;
    position: relative;

    animation: breathe 9s ease-in-out infinite;
}

.id-card a {
    font-family: 'social', serif; /* ou Poti, Sabrina, etc */
    font-size: 2em;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: #716678;
    text-align: center;
    display: inline-block;
}

.id-card::before,
.interests::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #b4a7c4, #766a7e);
}

.id-card h3,
.interests h3 {
    font-family: 'Bonello', serif;
    font-size: 2.6em;
    font-weight: 300;
    text-align:center;

    background: linear-gradient(to bottom, #b4a7c4, #8f83a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.3px #766a7e;

    text-shadow:
        0 0 6px rgba(180,167,196,0.45),
        0 0 14px rgba(180,167,196,0.3);
}


/* ===============================
   ✧ MUSIC PLAYER ✧
================================ */

.music-player {
    background: #efe9f5;
    border: 1px solid #766a7e;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 30px;
    position: relative;

    box-shadow:
        inset 0 0 20px rgba(180,167,196,0.25),
        0 10px 22px rgba(90,79,98,0.18);
}

.music-player::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #b4a7c4, #766a7e);
    border-radius: 6px 0 0 6px;
}

.music-title {
    text-align: center;
    margin-bottom: 10px;

    font-family: 'Bonello', serif;
    font-size: 1.4em;

    background: linear-gradient(to bottom, #b4a7c4, #8f83a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* botão do player */
#music-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;

    border: 1px solid #b4a7c4;
    background: linear-gradient(135deg, #b4a7c4, #ded9e3);

    font-size: 1.4em;
    cursor: pointer;

    transition: all 0.35s ease;
}

#music-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(180,167,196,0.6);
}

/* quando tocando */
#music-btn.playing {
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    0%,100% { box-shadow: 0 0 10px rgba(180,167,196,0.4); }
    50% { box-shadow: 0 0 22px rgba(180,167,196,0.75); }
}


/* ===============================
   MAIN CONTENT
================================ */

.main-content {
    flex: 1;
    padding: 45px;
}

/* HEADER */
.header h1 {
    font-family: 'Poti', serif;
    font-size: 5em;
    font-weight: 300;
    color: #b4a7c4;
    text-align: center;

    text-shadow:
        0 0 10px rgba(180,167,196,0.35),
        0 0 22px rgba(180,167,196,0.2);
}

/* ===============================
   ENTRIES
================================ */

.entry {
    background: #f9f8fb;
    border: 1px solid #ded9e3;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;

    box-shadow: 0 8px 20px rgba(180,167,196,0.12);
}

.entry .tags {
    margin-bottom: 12px; /* aumenta o espaço entre tags e texto */
}


/* ===============================
   FOOTER
================================ */

.footer {
    text-align: center;
    color: #766a7e;
    margin-top: 40px;
    font-size: 0.9em;
}

/* ===============================
   BOTÃO DARK MODE (CORRIGIDO)
================================ */

#toggle-dark {
    position: fixed;
    bottom: 20px;
    right: 20px;

    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 8px;

    border: 1px solid #766a7e;
    background: #f9f8fb;

    cursor: pointer;
    z-index: 999;

    box-shadow: 0 8px 20px rgba(90,79,98,0.35);
}

body.dark-mode #toggle-dark {
    background: #3a3448;
    border-color: #b4a7c4;
    box-shadow: 0 8px 22px rgba(180,167,196,0.4);
}

/* ===============================
   DARK MODE (SITE)
================================ */

body.dark-mode {
    color: #e8e2f0;
    background-color: #2c2638;
}

body.dark-mode::after {
    background: rgba(30,25,45,0.88);
}

body.dark-mode .container {
    background: rgba(35,30,50,0.92);
    border-color: #5f5470;
}

body.dark-mode .sidebar {
    background: linear-gradient(180deg, #2e2940, #1f1a2d);
}

body.dark-mode .id-card,
body.dark-mode .interests,
body.dark-mode .entry,
body.dark-mode .music-player {
    background: rgba(50,44,68,0.95);
    border-color: #6e6484;
}

/* ===============================
   BOTÃO DARK MODE (FINAL)
================================ */

#toggle-dark {
    position: fixed;
    bottom: 20px;
    right: 20px;

    width: 48px;
    height: 48px;
    padding: 8px;
    border-radius: 50%;

    border: 1px solid #766a7e;

    /* modo claro → botão escuro */
    background: #3a3448;

    cursor: pointer;
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* ícone sempre visível */
#toggle-dark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ===============================
   MODO ESCURO
================================ */

body.dark-mode #toggle-dark {
    /* modo escuro → botão claro */
    background: #f9f8fb;
    border-color: #b4a7c4;
    box-shadow: 0 8px 20px rgba(180,167,196,0.35);
}

/* ===============================
   ANIMAÇÃO LUA / SOL
================================ */

#toggle-dark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;

    transition:
        transform 0.6s ease,
        filter 0.4s ease;
}

/* rotação quando troca */
#toggle-dark.rotate img {
   transform: rotate(360deg);
}

/* ajustes visuais */
body:not(.dark-mode) #toggle-dark img {
    /* lua no modo claro (fundo escuro) */
    filter: brightness(1.1) contrast(1.1);
}

body.dark-mode #toggle-dark img {
    /* sol no modo escuro (fundo claro) */
    filter: brightness(0.85) contrast(1.2);
}

/* ===============================
   ENTRY TAGS (BACKGROUND RESTORED)
================================ */

.tag {
    background: linear-gradient(
        to bottom,
        rgba(180,167,196,0.9),
        rgba(160,148,182,0.9)
    );

    color: #5a4f62;;
    padding: 5px 14px;
    border: 1px solid #5a4f62;
    border-radius: 999px;

    font-size: 0.75em;
    letter-spacing: 0.6px;
    text-transform: lowercase;


    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

/* ===============================
   SIDEBAR TITLE — MY DIARY
================================ */

.sidebar h2 {
    font-family: 'Poti', serif;
    font-size: 4.8em;
    font-weight: 300;
    text-align: center;

    background: linear-gradient(
        to bottom,
        #cfc6df,
        #8f83a6
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.4px #766a7e;

    text-shadow:
        0 0 10px rgba(180,167,196,0.55),
        0 0 22px rgba(180,167,196,0.35);

    margin-bottom: 6px; /* aproxima do subtítulo */
    
}

/* ===============================
   SIDEBAR TAGLINE
================================ */

.tagline {
    font-family: 'Georgia', serif;
    font-size: 1.05em;
    font-style: italic;
    text-align: center;

    color: rgba(200,190,220,0.9);

    margin-top: -4px;   /* cola no My Diary */
    line-height: 1.2;

    text-shadow:
        0 0 6px rgba(180,167,196,0.35);
}


.tagline {
    font-family: 'Georgia', serif;
    font-size: 1.05em;
    font-style: italic;
    text-align: center;

    color: rgba(200,190,220,0.9);

    margin-top: 1px;   /* 🔥 sobe mesmo */
    line-height: 0;

    text-shadow:
        0 0 6px rgba(180,167,196,0.35);
}

/* ===============================
   CUSTOM CURSOR
================================ */

body {
     cursor: url("cursor.png"), auto;
}


.id-card p {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* GLOW NOS LINKS DO ID CARD */
.id-card a {
    color: #766a7e;
    font-family: 'social', serif; /* se quiser combinar com o ID CARD */
    font-size: 2em;
    text-decoration: none;

    text-shadow:
        0 0 6px rgba(180,167,196,0.45),
        0 0 12px rgba(180,167,196,0.25);

    transition: 
        text-shadow 0.4s ease,
        transform 0.3s ease;
}

/* hover etéreo */
.id-card a:hover {
    text-shadow:
        0 0 10px rgba(180,167,196,0.75),
        0 0 22px rgba(180,167,196,0.5);
    transform: translateY(-1px);
}

body.dark-mode .id-card a {
    color: #d8cfe8;
    text-shadow:
        0 0 8px rgba(180,167,196,0.6),
        0 0 18px rgba(180,167,196,0.4);
}

.music-title {
    text-align: center;
    margin-bottom: 12px;

    font-family: 'Bonello', serif;
    font-size: 1.6em;

    background: linear-gradient(to bottom, #b4a7c4, #8f83a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 6px rgba(180,167,196,0.45),
        0 0 14px rgba(180,167,196,0.3);
}

.entry {
    opacity: 0;
    transform: translateY(12px);
    animation: entryFade 1s ease forwards;
}

@keyframes entryFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   CURSOR BRILHANTE (FINAL)
================================ */

body {
    cursor: url("cursor.png"), auto;
}

/* ===============================
   ✧ BLINKIES — ID CARD STYLE ✧
================================ */

/* CAIXA */
.blinkies-box {
    background: #efe9f5;
    border: 1px solid #766a7e;
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 30px;
    position: relative;

    animation: breathe 9s ease-in-out infinite;
}

/* barrinha lateral igual ID CARD */
.blinkies-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #b4a7c4, #766a7e);
}

/* título */
.blinkies-title {
    font-family: 'Bonello', serif;
    font-size: 2.4em;
    text-align: center;
    margin-bottom: 14px;

    background: linear-gradient(to bottom, #b4a7c4, #8f83a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.3px #766a7e;

    text-shadow:
        0 0 6px rgba(180,167,196,0.45),
        0 0 14px rgba(180,167,196,0.3);
}

/* container dos blinkies */
.blinkies-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

/* imagens */
.blinkies-container img {
    max-width: 100%;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 4px rgba(180,167,196,0.35));
}

/* ===============================
   DARK MODE — BLINKIES
================================ */

body.dark-mode .blinkies-box {
    background: rgba(50,44,68,0.95);
    border-color: #6e6484;
}

body.dark-mode .blinkies-title {
    -webkit-text-stroke: 0.3px #6e6484;
    text-shadow:
        0 0 10px rgba(180,167,196,0.55),
        0 0 22px rgba(180,167,196,0.35);
}

body.dark-mode .blinkies-container img {
    filter: drop-shadow(0 0 6px rgba(216,207,232,0.45));
}

/* ===============================
   LIKES – LISTA CENTRALIZADA
================================ */

.interests {
    text-align: center;
       text-shadow:
        0 0 6px rgba(180,167,196,0.45),
        0 0 14px rgba(180,167,196,0.3);
}

.interests ul {
    list-style: none;   /* tira as bolinhas */
    padding: 0;
    margin-top: 12px;
}

.interests li {
    margin: 6px 0;
}

/* ===============================
   ✧ GUESTBOOK (ID CARD STYLE)
================================ */

.guestbook {
    max-width: 520px;
    margin: 60px auto;

    background: rgba(50,44,68,0.95);
    border: 1px solid #6e6484;
    border-radius: 12px;
    padding: 24px;
    position: relative;

    box-shadow:
        inset 0 0 30px rgba(180,167,196,0.25),
        0 10px 25px rgba(0,0,0,0.35);
}

/* barrinha lateral igual ID CARD */
.guestbook::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #b4a7c4, #766a7e);
    border-radius: 6px 0 0 6px;
}

/* título */
.guestbook-title {
    font-family: 'Bonello', serif;
    font-size: 2.4em;
    text-align: center;

    background: linear-gradient(to bottom, #b4a7c4, #8f83a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 6px rgba(180,167,196,0.45),
        0 0 14px rgba(180,167,196,0.3);

    margin-bottom: 8px;
}

/* texto */
.guestbook-text {
    text-align: center;
    font-style: italic;
    color: #d8cfe8;
    margin-bottom: 18px;
}

/* formulário */
.guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guestbook-form input,
.guestbook-form textarea {
    background: rgba(249,248,251,0.9);
    border: 1px solid #b4a7c4;
    border-radius: 8px;
    padding: 10px 12px;

    font-family: Georgia, serif;
    font-size: 0.95em;
    color: #2c2638;
}

.guestbook-form textarea {
    resize: none;
    min-height: 90px;
}

/* botão */
.guestbook-form button {
    border: 1px solid #b4a7c4;
    border-radius: 999px;
    padding: 10px;

    background: linear-gradient(135deg, #b4a7c4, #ded9e3);
    font-family: 'Poti', serif;
    font-size: 1.1em;

    cursor: pointer;
    transition: all 0.3s ease;
}

.guestbook-form button:hover {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(180,167,196,0.6);
}

/* ===============================
   ✧ GUESTBOOK ✧
================================ */

.guestbook {
    background: rgba(50,44,68,0.95);
    border: 1px solid #6e6484;
    padding: 26px;
    margin-top: 40px;
    position: relative;
    border-radius: 18px;
    overflow: hidden; 
}


.guestbook::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #b4a7c4, #766a7e);
    border-radius: 6px 0 0 6px;
    
    
}

.guestbook-title {
    font-family: 'Bonello', serif;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 6px;

    background: linear-gradient(#cfc6df, #8f83a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 14px rgba(180,167,196,0.4);
}

.guestbook-text {
    text-align: center;
    font-style: italic;
    margin-bottom: 18px;
    color: #d8cfe8;
}

.guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guestbook-form input,
.guestbook-form textarea {
    background: rgba(240,235,248,0.95);
    border: 1px solid #b4a7c4;
    border-radius: 8px;
    padding: 10px;
    font-family: Georgia, serif;
}

.guestbook-form textarea {
    min-height: 90px;
    resize: vertical;
}

.guestbook-form button {
    margin-top: 8px;
    padding: 10px;
    border-radius: 999px;
    border: 1px solid #b4a7c4;
    background: linear-gradient(135deg, #b4a7c4, #ded9e3);
    cursor: pointer;
    font-size:50px;
    color: #252134;
}

/* mensagens */
.guestbook-entries {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.guest-entry {
    background: rgba(70,64,92,0.9);
    border-radius: 10px;
    padding: 12px;
}

.guest-entry strong {
    display: block;
    margin-bottom: 4px;
    color: #cfc6df;
}

/* ===============================
   GUESTBOOK — MENSAGENS
================================ */

#guestbook-entries {
    margin-top: 30px;
}

.guest-entry {
    background: rgba(50,44,68,0.95);
    border: 1px solid #6e6484;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;

    box-shadow:
        inset 0 0 18px rgba(180,167,196,0.25),
        0 10px 22px rgba(90,79,98,0.18);

    animation: fadeIn 0.6s ease;
}

.guest-entry strong {
    display: block;
    margin-bottom: 6px;
    color: #d8cfe8;
}

.guest-entry p {
    color: #e8e2f0;
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   GUESTBOOK FORM LAYOUT
================================ */

.guestbook-box {
    background: rgba(50,44,68,0.95);
    border: 1px solid #6e6484;
    border-radius: 14px;
    padding: 28px;
    margin: 40px auto;
    max-width: 720px;
    position: relative;
    
}

.guestbook-box::before {
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:6px;
    height:100%;
    background:linear-gradient(#b4a7c4,#766a7e);
    border-radius: 18px 0 0 18px; 
  
}

#guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#guestbook-form input,
#guestbook-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #b4a7c4;
    background: #f3eef8;
    font-family: georgia, serif;
    resize: none;
}

#guestbook-form button {
    align-self: center;
    padding: 10px 32px;
    border-radius: 999px;
    border: 1px solid #b4a7c4;
    background: linear-gradient(135deg,#b4a7c4,#ded9e3);
    cursor: pointer;
    font-size: 50px;
    font-family: 'poti', serif;
    color: #242033;
}

.guestbook-subtitle {
    text-align: center;
    margin-bottom: 18px;

    font-style: italic;
    color: rgba(200,190,220,0.9);

    text-shadow:
        0 0 6px rgba(180,167,196,0.35);
}

/* ===============================
   ✧ GUESTBOOK — LIGHT MODE ✧
================================ */

.guestbook {
    background: #efe9f5;
    border: 1px solid #766a7e;
    border-radius: 12px;
    padding: 28px;
    position: relative;
    margin-bottom: 40px;
}

/* barrinha lateral */
.guestbook::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #b4a7c4, #766a7e);
    border-radius: 6px 0 0 6px;
}

/* título */
.guestbook h2 {
    font-family: 'Bonello', serif;
    font-size: 3em;
    text-align: center;

    background: linear-gradient(to bottom, #b4a7c4, #8f83a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.3px #766a7e;

    margin-bottom: 8px;
}

/* subtítulo */
.guestbook .subtitle {
    text-align: center;
    font-style: italic;
    color: #5a4f62;
    margin-bottom: 24px;
}

/* inputs */
.guestbook input,
.guestbook textarea {
    width: 100%;
    background: #f9f8fb;
    border: 1px solid #b4a7c4;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 14px;
    font-family: Georgia, serif;
    color: #5a4f62;
}

/* botão */
.guestbook button {
    display: block;
    margin: 0 auto;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid #b4a7c4;
    background: linear-gradient(135deg, #b4a7c4, #ded9e3);
    font-family: 'Bonello', serif;
    cursor: pointer;
}

/* ===============================
   ✧ GUESTBOOK — FIX FINAL ✧
   cole este bloco NO FINAL do CSS
================================ */

/* container do guestbook */
.guestbook {
    position: relative;
    border-radius: 18px;
    overflow: hidden; /* impede a barrinha de vazar */
}

/* barrinha lateral */
.guestbook::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;

    width: 6px;
    height: calc(100% - 2px);

    background: linear-gradient(
        to bottom,
        #b4a7c4,
        #766a7e
    );

    border-radius: 18px 0 0 18px;
}

/* ===== LIGHT MODE ===== */
body:not(.dark-mode) .guestbook {
    background: rgba(249,248,251,0.95);
    border: 1px solid #ded9e3;

    box-shadow:
        inset 0 0 20px rgba(180,167,196,0.25),
        0 10px 22px rgba(90,79,98,0.18);
}

/* ===== DARK MODE ===== */
body.dark-mode .guestbook {
    background: rgba(50,44,68,0.95);
    border: 1px solid #6e6484;

    box-shadow:
        inset 0 0 20px rgba(180,167,196,0.35),
        0 12px 26px rgba(0,0,0,0.35);
}

/* título */
.guestbook h2 {
    text-align: center;
    font-family: 'Bonello', serif;
    font-size: 2.6em;

    background: linear-gradient(#b4a7c4, #8f83a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 8px rgba(180,167,196,0.45),
        0 0 18px rgba(180,167,196,0.3);
}

/* subtítulo */
.guestbook .subtitle {
    text-align: center;
    font-style: italic;
    margin-bottom: 18px;
    opacity: 0.85;
}

/* inputs */
.guestbook input,
.guestbook textarea {
    width: 100%;
    border-radius: 10px;
    border: none;
    padding: 12px 14px;
    margin-bottom: 14px;

    background: rgba(245,240,255,0.95);
    color: #5a4f62;
}

body.dark-mode .guestbook input,
body.dark-mode .guestbook textarea {
    background: rgba(220,210,240,0.95);
    color: #2c2638;
}

/* botão */
.guestbook button {
    display: block;
    margin: 10px auto 0;

    padding: 10px 30px;
    border-radius: 999px;
    border: none;

    font-family: 'spinstee', serif;
    font-size: 1.1em;

    background: linear-gradient(#d8cfe8, #b4a7c4);
    color: #2c2638;

    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guestbook button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(180,167,196,0.6);
}
