* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #020408;
    color: #d1e0ea;
    font-family: 'Garamond', 'Georgia', 'Palatino Linotype', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.fade-mist {
    position: absolute;
    width: 200vw;
    height: 200vh;
    background:
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(30, 64, 175, 0.06) 0%, transparent 50%);
    animation: drift 25s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes drift {
    0% { transform: translate(-5%, -5%) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

.eluvian-frame-outer {
    position: relative;
    z-index: 2;
    width: 330px;
    height: 610px;
    border-radius: 160px 160px 12px 12px;
    background:
        url("pattern.svg"),
        url("pattern.svg"),
        linear-gradient(135deg, #a38241 0%, #685023 20%, #3d2d11 50%, #685023 80%, #a38241 100%);
    background-size: 80px 120px, 55px 85px, 100% 100%;
    background-position: 0 0, 27px 43px, 0 0;
    background-blend-mode: multiply, multiply, normal;
    padding: 22px;
    box-shadow:
        0 0 70px rgba(59, 130, 246, 0.08),
        inset 0 0 20px rgba(0, 0, 0, 0.9),
        0 15px 40px rgba(0, 0, 0, 0.9);
}

.eluvian-frame-inner {
    width: 100%;
    height: 100%;
    border-radius: 138px 138px 5px 5px;
    background: #02040a;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 40px 30px;
    box-shadow: inset 0 0 90px rgba(30, 64, 175, 0.7), inset 0 0 20px rgba(0, 0, 0, 1);
}

.glass-surface {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        115deg,
        transparent 15%,
        rgba(96, 165, 250, 0.05) 25%,
        rgba(255, 255, 255, 0.08) 40%,
        rgba(96, 165, 250, 0.05) 55%,
        transparent 65%
    );
    background-size: 300% 300%;
    animation: smooth-shimmer 12s infinite linear;
    pointer-events: none;
    z-index: 2;
}

@keyframes smooth-shimmer {
    0% { background-position: 200% 50%; }
    100% { background-position: -100% 50%; }
}

.inner-glow {
    position: absolute;
    top: 20%;
    width: 90%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    animation: pulse-glow 7s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes pulse-glow {
    0% { opacity: 0.6; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

h1 {
    font-size: 2.6rem;
    font-style: italic;
    color: #d4af37;
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    font-weight: normal;
    letter-spacing: 5px;
    position: relative;
    z-index: 3;
    margin: 0;
}

.elvish-whisper {
    font-size: 1.2rem;
    color: #93c5fd;
    opacity: 0.75;
    letter-spacing: 5px;
    text-align: center;
    position: relative;
    z-index: 3;
    font-style: italic;
    margin: 0;
    text-shadow: 0 0 15px rgba(147, 197, 253, 0.4);
}