:root {
    --bg-color-start: #1a1a14;
    /* Loamy Beige/Brown */
    --bg-color-end: #0d110d;
    /* Dark Moss */
    --curtain-color: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--curtain-color);
    font-family: 'Newsreader', serif;
    /* Hinting at the editorial feel */
}

#vessel {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-void {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep ethereal space gradient */
    background: radial-gradient(circle at center, #1b2735 0%, #090a0f 100%);
    z-index: 0;
    overflow: hidden;
}

/* Subtle nebula-like glow */
.background-void::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(60, 80, 110, 0.15) 0%, transparent 50%);
    animation: rotateNebula 120s linear infinite;
    pointer-events: none;
}

@keyframes rotateNebula {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--curtain-color);
    z-index: 100;
    /* Above everything */
    transition: opacity 4s cubic-bezier(0.4, 0, 0.2, 1);
}

#portal-stage {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
}

.orb-wrapper {
    position: relative;
    width: 45vh;
    height: 45vh;
}

.participant-orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    filter: url(#orb-turbulence) blur(0.5px) contrast(1.1);
    /* Space-like glow */
    box-shadow: 0 0 60px rgba(100, 150, 255, 0.12), 0 0 20px rgba(255, 255, 255, 0.05);
    background: #000;
    animation: floatOrb 15s ease-in-out infinite alternate;
    position: relative;
    pointer-events: none;
}

.participant-orb iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160%;
    height: 160%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
    opacity: 0.9;
}

/* Court's Unique Distortion */
#court-orb-container .participant-orb {
    filter: url(#orb-turbulence) blur(2.5px) contrast(1.2) hue-rotate(-10deg);
    box-shadow: 0 0 60px rgba(255, 100, 255, 0.1), 0 0 20px rgba(255, 255, 255, 0.05);
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(15px, -20px) rotate(1deg);
    }

    66% {
        transform: translate(-10px, -30px) rotate(-1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

#omen-container {
    position: absolute;
    bottom: 12%;
    width: 80%;
    left: 10%;
    text-align: center;
    z-index: 50;
    opacity: 0;
    transition: opacity 3s ease-in;
    pointer-events: none;
}

#omen-text {
    color: rgba(230, 230, 210, 0.9);
    font-size: 2.4rem;
    /* Significantly bigger */
    font-weight: 200;
    letter-spacing: 0.18em;
    line-height: 1.5;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}