#transition_screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    background-color: var(--color-primary-a0);
}

#settings_menu {
    display: flex;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    overflow: hidden;
    pointer-events: none;
}

#settings_menu_content {
    position: absolute;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.5);
    background-color: var(--color-primary-a10);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Circular Spotify', sans-serif;
    transition: all 0.3s ease-in-out;
    z-index: 1101;
}

#settings_menu_content h1, #settings_menu_content h2 {
    margin: 0;
    transition: all 0.3s ease-in-out;
}

#settings_menu_content h2 {
    margin-bottom: 16px;
    margin-top: 16px;
}

#secret_door {
    top: 24px;
    right: 32px;
    opacity: 0.15;
    transition: opacity 0.5s ease-in-out;
}

#secret_door:hover {
    opacity: 1;
}

@font-face {
    font-family: 'VCR';
    src: url('../Fonts/vcr-jp.ttf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OldePixel';
    src: url('../Fonts/OldePixel.ttf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mago';
    src: url('../Fonts/mago2.ttf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Circular Spotify';
    src: url('../Fonts/CircularSpotifyText-Black.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Circular Spotify';
    src: url('../Fonts/CircularSpotifyText-Medium.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Circular Spotify';
    src: url('../Fonts/CircularSpotifyText-Book.otf') format('opentype');
    font-weight: 400;
    font-style: light;
    font-display: swap;
}

@font-face {
    font-family: 'Circular Spotify';
    src: url('../Fonts/CircularSpotifyText-Light.otf') format('opentype');
    font-weight: 200;
    font-style: light;
    font-display: swap;
}

#current_project {
    opacity: 0;
    transform: scale(0.75);
    filter: blur(8px);
    transition: all 0.3s ease-in-out;
}

#current_project.scrolled {
    opacity: 1;
    transform: scale(1.0);
    filter: blur(0px);
}

.transitionItem {
    opacity: 0;
    transition: opacity 0.3s ease-in-out,
                filter 0.3s ease-in-out;
    /* filter: blur(4px); */
}

.transitionItem.openedItem {
    opacity: 1;
    /* filter: blur(0px); */
}

.patchNoteTransitionItem {
    opacity: 0;
    transition: opacity 0.3s ease-in-out,
                filter 0.3s ease-in-out;
    /* filter: blur(4px); */
}

.patchNoteTransitionItem.patchNoteLoaded {
    opacity: 1;
    /* filter: blur(0px); */
}

.update-date {
    margin-right: 0.1em;
    color: var(--color-primary-a40);
}

.update-title-text {
    margin: 0;
}

.column-dropdowns {
    display: flex;
}

.column-dropdowns > div {
    flex: 1;
}

.column-dropdowns div:last-child {
    margin-right: 0;
}

@media (max-width: 750px) {
    .column-dropdowns {
        display: block;
    }
}

.spoiler-warning {
    font-family: 'Circular Spotify', sans-serif;
    color: var(--color-warning-1);
    font-style: italic;
    margin-left: 0.5em;
    font-size: 0.75em;
    justify-content: center;
    align-items: center;
    align-content: center;
    display: inline-flex;
    transform: translateY(-0.1em);
    font-weight: bold;
}

.fade-link, .circle-link {
    text-decoration: none;
}

.celebration-text {
    font-family: 'VCR', sans-serif;
    font-size: 1.5em;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #fff;
    background: linear-gradient(90deg, #ff5e62, #f9d423, #a1ffce, #fbc2eb, #ff5e62 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 2px 8px rgba(255, 94, 98, 0.7),
        0 4px 16px rgba(251, 194, 235, 0.5),
        2px 2px 0 #fff;
    animation: celebration-glow 1.5s ease-in-out infinite alternate, celebration-gradient 3s linear infinite alternate;
    padding: 0.2em 0.5em;
    border-radius: 0.5em;
    display: inline-block;
    margin: 0;
    margin-left: 32px;
    margin-right: 32px;
    margin-top: 32px;
    text-align: center;
    line-height: 1.25em;
}

@keyframes celebration-glow {
    0% {
        text-shadow:
            0 2px 8px rgba(255, 94, 98, 0.7),
            0 4px 16px rgba(251, 194, 235, 0.5),
            2px 2px 0 #fff;
        transform: scale(1) rotate(-2deg);
    }
    50% {
        text-shadow:
            0 4px 24px rgba(249, 212, 35, 0.7),
            0 8px 32px rgba(161, 255, 206, 0.5),
            2px 2px 0 #fff;
        transform: scale(1.05) rotate(0deg);
    }
    100% {
        text-shadow:
            0 2px 8px rgba(255, 94, 98, 0.7),
            0 4px 16px rgba(251, 194, 235, 0.5),
            2px 2px 0 #fff;
        transform: scale(1) rotate(2deg);
    }
}

@keyframes celebration-gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
