/* === The Whispering Grove — Global Styles === */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Particle animations */
@keyframes float-particle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { opacity: 0.15; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

.particle {
    position: absolute;
    background: #7df5f5;
    border-radius: 50%;
    pointer-events: none;
    animation: float-particle linear infinite;
}

.particle-bg {
    background-image: radial-gradient(circle at 50% 50%, rgba(125, 245, 245, 0.05) 0%, transparent 1%);
    background-size: 40px 40px;
}

.watercolor-mist {
    background: radial-gradient(circle at top right, rgba(31, 122, 99, 0.15), transparent 60%),
                radial-gradient(circle at bottom left, rgba(255, 182, 141, 0.05), transparent 50%);
}

.tome-shadow {
    box-shadow: 15px 0 30px -10px rgba(0,0,0,0.8), 0 10px 20px -5px rgba(0,0,0,0.5);
}

.card-inner-glow {
    box-shadow: inset 0 0 20px rgba(130, 214, 187, 0.05);
}

/* Wave bars for audio player */
.wave-bar {
    width: 4px;
    background: #5ed8d9;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(94, 216, 217, 0.6);
    transition: height 0.3s ease;
}

/* Map texture */
.bg-map-texture {
    background-image: radial-gradient(circle at 50% 50%, rgba(11, 31, 26, 0.4) 0%, rgba(3, 23, 18, 1) 100%);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
}

/* Page transitions */
.page-enter {
    animation: fadeIn 0.4s ease-out;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: #031712;
}
::-webkit-scrollbar-thumb {
    background: #1f7a63;
    border-radius: 2px;
}

/* Bottom nav safe area */
body {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Hide Google Translate widget & banner */
#google_translate_element { position: absolute; top: -9999px; left: -9999px; }
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }
