/* ============================================
   Sentimentos em Palavras — Design Premium
   Tema: Cosmos / Leveza / Sentimento
   ============================================ */

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-deep: #040c1a;
    --color-navy: #081a35;
    --color-blue: #0d2650;
    --color-mid: #163a6e;
    --color-bright: #1f4e8f;
    --color-accent: #3a7dd4;
    --color-glow: #7bb8f5;
    --color-light: #b0d4f7;
    --color-white: #e8f1fa;
    --color-star: #d4e8fc;
    --color-warm: #c4a882;
    --color-warm-light: #e8d5b8;
    --color-rose: #d4a0a0;
    --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(
        170deg,
        var(--color-deep) 0%,
        #071428 10%,
        var(--color-navy) 20%,
        var(--color-blue) 40%,
        var(--color-mid) 60%,
        var(--color-bright) 80%,
        #2a6bb8 100%
    );
    color: var(--color-white);
    background-color: #2a6bb8;
    position: relative;
}

/* === COSMIC DUST CANVAS === */
#cosmic-dust {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* === FLOATING PLANETS CANVAS (Full Page) === */
#floating-planets {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Old planet container hidden — planets now rendered via canvas */
.planets-container {
    display: none;
}

/* === FLOATING STARS === */
.star {
    position: fixed;
    width: 2px;
    height: 2px;
    background: var(--color-star);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: star-twinkle 3s ease-in-out infinite alternate;
}

@keyframes star-twinkle {
    0% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.3); }
    100% { opacity: 0.3; transform: scale(0.9); }
}

/* === MAIN WRAPPER === */
.page-wrapper {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* === NAVIGATION === */
.nav {
    display: flex;
    justify-content: center; /* Centraliza o menu no desktop */
    align-items: center;
    padding: 22px 40px; /* Aumentado para não ficar tão fino */
    position: fixed; /* Fixado no topo */
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
    background: rgba(5, 13, 31, 0.45);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(176, 212, 247, 0.08);
    transition: all 0.4s var(--transition-smooth);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute; /* Centralização absoluta no desktop */
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-glow);
    opacity: 0.9;
    z-index: 2001;
    position: absolute;
    left: 40px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2005;
    padding: 0;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-glow);
    border-radius: 2px;
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 0 10px rgba(123, 184, 245, 0.3);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(232, 241, 250, 0.5);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    position: relative;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 1.5px;
    background: var(--color-glow);
    transition: transform 0.4s var(--transition-smooth);
    box-shadow: 0 0 8px var(--color-glow);
}

.nav-link:hover {
    color: var(--color-white);
    background: rgba(123, 184, 245, 0.08);
    text-shadow: 0 0 20px rgba(123, 184, 245, 0.5);
    box-shadow: 0 0 25px rgba(123, 184, 245, 0.08), inset 0 0 15px rgba(123, 184, 245, 0.04);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:focus-visible {
    outline: 2px solid var(--color-glow);
    outline-offset: 3px;
    color: var(--color-white);
    text-shadow: 0 0 20px rgba(123, 184, 245, 0.5);
}

/* === HERO / BANNER === */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    padding: 120px 24px 60px 24px; /* Aumentado o topo para compensar o menu fixo */
    text-align: center;
    position: relative;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--color-glow);
    opacity: 0;
    animation: hero-fadein 1.2s var(--transition-smooth) 0.3s forwards;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-white);
    max-width: 800px;
    opacity: 0;
    animation: hero-fadein 1.4s var(--transition-smooth) 0.6s forwards;
    text-shadow: 0 4px 60px rgba(10, 30, 61, 0.5);
}

.hero-title em {
    font-style: italic;
    color: var(--color-glow);
    text-shadow: 0 0 40px rgba(123, 184, 245, 0.3);
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    margin: 32px 0;
    opacity: 0;
    animation: hero-fadein 1s var(--transition-smooth) 1s forwards;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(232, 241, 250, 0.7);
    max-width: 560px;
    opacity: 0;
    animation: hero-fadein 1.4s var(--transition-smooth) 1.1s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: hero-fadein 1s var(--transition-smooth) 2s forwards;
}

.hero-scroll span {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(232, 241, 250, 0.35);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-glow), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes hero-fadein {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

/* === SECTION COMMONS === */
.section {
    padding: 100px 24px;
    position: relative;
}

.section-respire {
    padding-bottom: 40px;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-glow);
    text-align: center;
    margin-bottom: 16px;
    opacity: 0.7;
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    text-align: center;
    color: var(--color-white);
    margin-bottom: 60px;
    line-height: 1.3;
}

/* === WELCOME CARDS === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.welcome-card {
    background: rgba(10, 30, 61, 0.35);
    border: 1px solid rgba(176, 212, 247, 0.1);
    border-radius: 20px;
    padding: 40px 32px;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    transition: all 0.6s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    animation: card-breathe 6s ease-in-out infinite;
}

@keyframes card-breathe {
    0%, 100% { box-shadow: 0 8px 30px rgba(5, 13, 31, 0.3); }
    50% { box-shadow: 0 8px 40px rgba(74, 143, 230, 0.08), 0 0 60px rgba(74, 143, 230, 0.03); }
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-glow), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--transition-smooth);
}

.welcome-card:hover {
    border-color: rgba(176, 212, 247, 0.2);
    transform: translateY(-4px);
    box-shadow:
        0 20px 60px rgba(5, 13, 31, 0.4),
        0 0 80px rgba(74, 143, 230, 0.06);
}

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

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    opacity: 0.6;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--color-light);
    margin-bottom: 16px;
}

.card-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(232, 241, 250, 0.6);
}

/* === VERSES / QUOTES SECTION === */
.verses-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.verse-block {
    position: relative;
    padding: 36px 40px;
    background: rgba(10, 30, 61, 0.2);
    border-left: 2px solid rgba(196, 168, 130, 0.3);
    border-radius: 0 16px 16px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.5s var(--transition-smooth);
}

.verse-block:hover {
    background: rgba(10, 30, 61, 0.3);
    border-left-color: var(--color-warm);
    transform: translateX(6px);
    box-shadow: -4px 0 30px rgba(196, 168, 130, 0.06);
}

.verse-text {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(232, 241, 250, 0.75);
}

.verse-author {
    display: block;
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-glow);
    opacity: 0.85; /* Aumentado para melhor legibilidade */
}

/* === EMOTIONS SECTION === */
.emotions-flow {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.emotion-tag {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 2px;
    position: relative;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 1px solid rgba(176, 212, 247, 0.12);
    border-radius: 40px;
    color: rgba(232, 241, 250, 0.5);
    background: rgba(10, 30, 61, 0.2);
    transition: all 0.4s var(--transition-smooth);
    cursor: default;
}

.emotion-tag:hover {
    border-color: var(--color-glow);
    color: var(--color-glow);
    background: rgba(74, 143, 230, 0.08);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(74, 143, 230, 0.1);
}

/* === FLOATING WELCOME BADGE === */
.welcome-badge {
    position: fixed;
    top: 80px;
    right: 32px;
    z-index: 50;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-glow);
    padding: 14px 24px;
    background: rgba(5, 13, 31, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(176, 212, 247, 0.12);
    border-radius: 12px;
    opacity: 0;
    animation: badge-enter 1s var(--transition-smooth) 2.5s forwards;
    transition: all 0.4s var(--transition-smooth);
}

.welcome-badge:hover {
    border-color: rgba(176, 212, 247, 0.25);
    background: rgba(5, 13, 31, 0.7);
}

@keyframes badge-enter {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* === FOOTER === */
.footer {
    padding: 60px 24px 40px;
    text-align: center;
    border-top: 1px solid rgba(176, 212, 247, 0.06);
}

.footer-text {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(232, 241, 250, 0.25);
}

.footer-heart {
    display: inline-block;
    color: var(--color-glow);
    animation: heart-beat 2s ease-in-out infinite;
}

@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* === SCROLL REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === AMBIENT GLOW (warmth & safety) === */
.section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(600px, 90vw);
    height: 400px;
    background: radial-gradient(ellipse, rgba(74, 143, 230, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .welcome-badge {
        display: none !important;
    }

    .nav {
        padding: 16px 24px;
        justify-content: space-between !important;
    }

    .nav-logo {
        position: static !important;
    }

    .nav-toggle {
        display: flex !important;
    }

    .nav-menu {
        position: fixed !important; /* Volta para o comportamento lateral no mobile */
        left: auto;
        transform: none;
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(4, 12, 26, 0.98) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 40px !important;
        transition: right 0.5s var(--transition-smooth) !important;
        z-index: 2000 !important;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .nav-link {
        font-size: 1.1rem !important;
        letter-spacing: 5px !important;
        padding: 15px !important;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s var(--transition-smooth);
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger links delay */
    .nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active .nav-link:nth-child(5) { transition-delay: 0.5s; }

    .nav-logo {
        font-size: 0.72rem;
        letter-spacing: 2px;
        z-index: 1001;
    }
}

/* === RESPONSIVIDADE MOBILE === */
@media (max-width: 768px) {
    .nav {
        padding: 12px 24px;
    }

    .hero-title {
        font-size: 2.8rem !important;
        margin-top: 40px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .hero-subtitle {
        display: block !important;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-top: 20px;
        display: block !important;
    }

    .hero-description {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .breathing-circle-wrap {
        width: 150px;
        height: 150px;
    }

    .breathing-circle.inhale {
        transform: scale(2.2); /* Aumentado para enfatizar a expansão pulmonar */
    }

    .verses-container {
        padding: 0 10px;
    }

    .verse-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 16px 20px;
    }

    .music-player {
        bottom: 16px;
        left: 16px;
        gap: 8px;
        padding: 6px 12px;
        max-width: calc(100vw - 32px);
    }

    .music-volume {
        width: 40px;
    }

    .music-label {
        display: none; /* Hide label on very small screens */
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* === MODO ABRAÇO === */
body.hug-mode {
    transition: filter 1s ease-in-out;
    filter: sepia(0.5) saturate(1.4) brightness(1.1);
}

body.hug-mode::after {
    content: '';
    position: fixed;
    top: 0; left: 0; 
    width: 100vw; height: 100vh;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(196, 168, 130, 0.1) 50%, transparent 100%);
    pointer-events: none;
    z-index: 9999;
    animation: hug-pulse 2s ease-in-out infinite;
}

@keyframes hug-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* === RESPIRAÇÃO GUIADA === */
.breathing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.breathing-circle-wrap {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.breathing-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(123, 184, 245, 0.15);
    border: 2px solid var(--color-glow);
    border-radius: 50%;
    transition: all 5s ease-in-out; /* Sincronizado com inspirar 5s */
    box-shadow: 0 0 30px rgba(123, 184, 245, 0.2);
}

.breathing-circle.inhale {
    transform: scale(2.2);
    background: rgba(123, 184, 245, 0.3);
}

.breathing-circle.hold {
    transform: scale(2.2); /* Mantém expandido durante o segurar */
    background: rgba(123, 184, 245, 0.3);
    box-shadow: 0 0 60px rgba(123, 184, 245, 0.5);
    transition: all 0.5s ease; /* Transição curta para não animar */
}

.breathing-circle.exhale {
    transform: scale(1);
    background: rgba(123, 184, 245, 0.15);
    transition: all 7s ease-in-out; /* Sincronizado com expirar 7s */
}

.breathing-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    z-index: 2;
    pointer-events: none;
}

.breathing-instruction {
    margin-top: 36px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(232, 241, 250, 0.75);
    text-shadow: 0 0 20px rgba(123, 184, 245, 0.4), 0 0 40px rgba(123, 184, 245, 0.15);
}

/* === MUSIC PLAYER === */
.music-player {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    background: rgba(10, 30, 61, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(176, 212, 247, 0.12);
    border-radius: 50px;
    max-width: calc(100vw - 48px); /* Prevent overflow */
}

.hug-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.music-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(123, 184, 245, 0.1);
    border: 1px solid rgba(123, 184, 245, 0.2);
    color: var(--color-glow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.music-toggle:hover {
    background: rgba(123, 184, 245, 0.2);
    transform: scale(1.1);
}

.hug-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.player-controls {
    display: flex;
    gap: 8px;
}

.music-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.music-label {
    font-size: 0.7rem;
    opacity: 0.6;
}

.music-volume {
    width: 60px;
    cursor: pointer;
}

/* === EMOTION TOOLTIP BALLOON === */
.emotion-tooltip {
    position: absolute;
    z-index: 2100;
    background: rgba(5, 13, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(123, 184, 245, 0.3);
    border-radius: 16px;
    padding: 20px 24px;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    color: rgba(232, 241, 250, 0.95);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 12px 40px rgba(5, 13, 31, 0.8), 0 0 60px rgba(74, 143, 230, 0.1);
    text-align: center;
}

.emotion-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-100%) translateY(-12px);
}

.emotion-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(5, 13, 31, 0.95);
    border-right: 1px solid rgba(123, 184, 245, 0.3);
    border-bottom: 1px solid rgba(123, 184, 245, 0.3);
}

/* Indicador de frase disponível */
.emotion-tag[data-has-phrase]::before {
    content: '✦';
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 0.6rem;
    color: var(--color-glow);
    opacity: 0.6;
    animation: phrase-pulse 3s ease-in-out infinite;
}

@keyframes phrase-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0d47a1; /* Azul escuro igual à imagem */
    border: none;
    border-radius: 12px; /* Quadrado arredondado */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #1565c0;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Ajuste mobile para não bater com o player */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 85px; /* Sobe um pouco para não ficar em cima do player de som */
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
/* === CURSOR GLOW === */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(123, 184, 245, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}
