@font-face {
    font-family: 'HelveticaNeue-UltraLight';
    src: url('../fonts/HelveticaNeue-UltraLight.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --glow-color: rgba(255, 255, 255, 0.4);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'HelveticaNeue-UltraLight', sans-serif;
    font-weight: 100;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Content Layouts */
.content-centered {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 0 0 10px var(--glow-color), 0 0 20px rgba(0, 0, 0, 1);
    pointer-events: none;
}

.content-page {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Typography & Effects */
h1 {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-shadow: 0 0 10px var(--glow-color);
}

pre.dotart {
    font-size: 6px;
    /* Reduced for mass density synergy */
    line-height: 1;
    margin-top: 40px;
    /* Space from the massive text */
    margin-bottom: 20px;
    user-select: none;
    pointer-events: auto;
}

.massive-caption {
    font-size: 2rem;
    letter-spacing: 0.5rem;
    text-transform: lowercase;
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.9;
    animation: slowPulse 4s infinite ease-in-out;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
    display: block;
}

@media (max-width: 768px) {
    .massive-caption {
        font-size: 3rem;
        letter-spacing: 0.8rem;
    }
}

@keyframes slowPulse {
    0% {
        opacity: 0.5;
        filter: blur(0.5px);
    }

    50% {
        opacity: 1;
        filter: blur(0px);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    }

    100% {
        opacity: 0.5;
        filter: blur(0.5px);
    }
}

/* Gooey Effect Styles */
.gooey-container {
    filter: contrast(18) brightness(1.2);
    background-color: var(--bg-color);
    display: inline-block;
}

.gooey-char {
    display: inline-block;
    transition: filter 0.5s ease, transform 0.5s ease;
    will-change: filter;
    color: var(--text-color);
    white-space: pre;
}

.gooey-blur {
    filter: blur(3px);
    /* Unified liquid melt value */
}

/* Back Link on Guestbook */
.back-link {
    position: fixed;
    bottom: 30px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    z-index: 1001;
    pointer-events: auto;
}

.back-link:hover {
    color: #fff;
}

/* Specific Components */
#globe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.25;
}

.atabook-container {
    width: 100%;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.atabook-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}