@font-face {
    font-family: 'Rodin Pro';
    src: local('FOT-Rodin Pro DB'), local('FOT-Rodin Pro B'), local('RodinPro-Bold');
}

body, html {
    margin: 0; padding: 0; width: 100vw; height: 100vh;
    overflow: hidden; background-color: #000;
    font-family: "Rodin Pro", "Jost", sans-serif;
    font-weight: 900;
}

#game-container {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1920px;
    height: 1080px;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    overflow: hidden;
}

#loading-screen {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000;
    z-index: 99999;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.loading-wheel {
    position: absolute;
    bottom: -800px;
    left: -800px;
    width: 1600px;
    height: 1600px;
    animation: spin 15s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

#wip-text {
    position: absolute; left: 0; top: 0;
    color: rgba(136, 136, 136, 0.4); 
    font-size: 90px;
    letter-spacing: -4px;
    z-index: 3500;
    pointer-events: none;
    white-space: nowrap; writing-mode: vertical-rl;
    text-transform: uppercase; line-height: 0.7; margin: 0;
    display: none;
}

#fullscreen-prompt {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000;
    z-index: 6000;
    display: flex; align-items: center; justify-content: center;
}

#fullscreen-prompt img {
    width: 1344px; 
    height: auto;
}

.slide-fade-out { animation: slideFadeRight 0.4s ease-out forwards; }
@keyframes slideFadeRight {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(48px); opacity: 0; }
}

#entry-screen {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.5s ease;
}

#entry-screen.fade-in {
    opacity: 1; pointer-events: auto;
}

#entry-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('background.png') no-repeat center center;
    background-size: cover;
    filter: blur(8px) brightness(1);
    transition: filter 0.5s ease, brightness 0.5s ease;
    z-index: -1;
    transform: scale(1.1);
}

#entry-screen:has(#entry-btn-inner:hover) #entry-bg {
    filter: blur(15px) brightness(0.6);
}

#blue-wipe {
    position: absolute; top: -120%; left: 0; width: 100%; height: 120%;
    background: linear-gradient(180deg, #16cffb 0%, #77fefc 50%, #16cffb 100%);
    z-index: 4000; pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.wipe-active { animation: slideDown 0.8s ease-in forwards; }
@keyframes slideDown { 0% { top: -120%; } 100% { top: 120%; } }

#video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.main-video { width: 100%; height: 100%; object-fit: cover; position: absolute; display: none; z-index: 1; }

.btn-wrapper { 
    position: absolute; 
    transform: translate(-50%, -50%) scale(0); 
    z-index: 100; 
    display: none; 
}
        
#about-wrapper { left: 935px; top: 346px; }
#updates-wrapper { left: 927px; top: 420px; }
#btn1-wrapper  { left: 939px; top: 495px; }
#btn2-wrapper  { left: 929px; top: 570px; }
#btn3-wrapper  { left: 937px; top: 645px; }
#btn4-wrapper  { left: 931px; top: 720px; }
#btn5-wrapper  { left: 939px; top: 795px; }
#btn6-wrapper  { left: 929px; top: 870px; }
        
#global-back-wrapper { left: 1750px; top: 980px; }

.p3-btn-inner {
    position: relative;
    width: 350px;
    height: 149px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: "Rodin Pro", "Jost", sans-serif;
}

.grayscale-btn {
    filter: grayscale(100%);
}
        
#entry-btn-inner { transform: rotate(-5deg); }
#about-button { transform: rotate(-9deg); }
#updates-button { transform: rotate(-14deg); }
#btn1-button { transform: rotate(-6deg); }
#btn2-button { transform: rotate(-11deg); }
#btn3-button { transform: rotate(-8deg); }
#btn4-button { transform: rotate(-13deg); }
#btn5-button { transform: rotate(-7deg); }
#btn6-button { transform: rotate(-12deg); }
#global-back { transform: rotate(-10deg); }

.p3-btn-inner:hover { transform: scale(1.15) rotate(-18deg) !important; }
.p3-btn-inner:hover .text-base { color: #000000 !important; }

.text-base, .text-inverted {
    position: absolute;
    font-size: 84px;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.14em;
    margin: 0;
    white-space: nowrap;
    pointer-events: none;
}

#entry-btn-inner .text-base { color: #16cffb; }
#about-button .text-base { color: #16cffb; opacity: 0.7; } 
#updates-button .text-base { color: #7de6fd; }
#btn1-button .text-base { color: #77fefc; }
#btn2-button .text-base { color: #16cffb; }
#btn3-button .text-base { color: #7de6fd; }
#btn4-button .text-base { color: #77fefc; }
#btn5-button .text-base { color: #16cffb; }
#btn6-button .text-base { color: #7de6fd; }
#global-back .text-base { color: #16cffb; }

.update-text-base {
    position: absolute;
    font-family: "Rodin Pro", "Jost", sans-serif;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.1em;
    margin: 0;
    white-space: nowrap;
    color: #b0b0b0;
    z-index: 10;
}

#update-title-text {
    left: 15px; 
    top: -35px; 
    font-size: 173px; 
}

#update-date-container {
    position: absolute;
    left: 1478px; 
    top: 30px; 
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#update-date-number {
    font-family: "Rodin Pro", "Jost", sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 130px;
    line-height: 0.75;
    color: #b0b0b0;
    margin: 0;
}

#update-date-month {
    font-family: "Rodin Pro", "Jost", sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 43px;
    text-transform: uppercase;
    color: #b0b0b0;
    line-height: 1;
    margin: 0;
    display: block;
    text-align: center;
}

#update-arrow-left {
    position: absolute;
    left: 1227px;
    top: -48px;
    transform: scale(0.5);
    transform-origin: center center;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
    transition: filter 0.2s, opacity 0.2s;
}

#update-arrow-right {
    position: absolute;
    left: 1653px;
    top: -46px;
    transform: scale(0.5);
    transform-origin: center center;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
    transition: filter 0.2s, opacity 0.2s;
}

.disabled-arrow {
    filter: grayscale(100%) brightness(0.4);
    opacity: 0.5;
    pointer-events: none !important;
    cursor: default !important;
}

#update-message-text {
    position: absolute;
    left: 1352px;
    top: 262px;
    color: #7de6fd;
    font-size: 27px;
    font-family: "Rodin Pro", "Jost", sans-serif;
    line-height: 1.4;
    max-width: 432px; 
    text-align: center;
    z-index: 10;
}

#update-message-image {
    position: absolute;
    left: 1350px;
    top: 595px;
    max-width: 432px; 
    transform: scale(0.7);
    transform-origin: top center;
    z-index: 10;
}

.bottom-left-grey-text {
    position: absolute;
    left: 30px;
    bottom: 30px;
    color: #808080;
    font-size: 32px;
    font-family: "Rodin Pro", "Jost", sans-serif;
    z-index: 10;
}

@keyframes slideOutL { to { transform: translateX(-58px); opacity: 0; } }
@keyframes slideInR { from { transform: translateX(58px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutR { to { transform: translateX(58px); opacity: 0; } }
@keyframes slideInL { from { transform: translateX(-58px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

@keyframes imgSlideOutL { to { transform: translateX(-58px) scale(0.7); opacity: 0; } }
@keyframes imgSlideInR { from { transform: translateX(58px) scale(0.7); opacity: 0; } to { transform: translateX(0) scale(0.7); opacity: 1; } }
@keyframes imgSlideOutR { to { transform: translateX(58px) scale(0.7); opacity: 0; } }
@keyframes imgSlideInL { from { transform: translateX(-58px) scale(0.7); opacity: 0; } to { transform: translateX(0) scale(0.7); opacity: 1; } }

.shape-aura, .shape-mask {
    position: absolute;
    width: 120%; height: 120%; 
    left: -10%; top: -10%;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
    opacity: 0;
    clip-path: polygon(50% 50%, 50% 50%, 50% 50%);
    transition: clip-path 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
}

.shape-aura { background: #ffb3ff; z-index: 2; }
.shape-mask { background: #ffffff; z-index: 3; }
.text-inverted { color: #ff0000; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); }

.p3-btn-inner:hover .shape-mask { opacity: 1; clip-path: polygon(90% 30%, 10% 45%, 80% 75%); }
.p3-btn-inner:hover .shape-aura { opacity: 1; clip-path: polygon(92% 28%, 8% 43%, 82% 77%); }

.pop-in-anim { display: block !important; animation: jumpIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
        
@keyframes jumpIn {
    0% { transform: translate(-50%, -50%) scale(0); }
    70% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}