@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wdth,wght@1,6..12,75,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:ital,wght@0,400;0,700;1,700&family=Anton&display=swap');

:root {
    --cyan-1: #16CFFB;
    --cyan-2: #7DE6FD;
    --cyan-3: #77FEFC;
    --pink: #FD77D9;
    --red: rgb(220, 20, 20);
    --bg-dark: #031F64;
    --bg-blue: #015FCC;
    --border-color: #5D6A88;
    --menu-font: "Nunito Sans", sans-serif;
    --crt-red: rgb(218, 49, 49);
    --crt-green: rgb(112, 159, 115);
    --crt-blue: rgb(40, 129, 206);
}




.herovideo {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    filter: brightness(1.25) saturate(1.5);

    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    opacity: 0;
}

body.loaded .herovideo {
    animation: videoFadeIn 0.8s ease-out 0.3s forwards;
}

@keyframes videoFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


body {

    filter: contrast(125%);

    font-family: var(--menu-font);
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: italic;
    font-variation-settings:
        "wdth" 75,
        "YTLC" 500;
    background: rgb(2, 43, 106);
    background: linear-gradient(0deg, #0308be, 70%, rgba(0, 208, 255, 1) 100%);
    color: white;
    background-size: 100% auto;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
}

.container {
    width: 150px;
    height: 200px;
    cursor: pointer;

    transform: translate(-190px, 130px) scale(3.3);

    opacity: 0;
    z-index: 65;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.container.menu-shifted {
    transform: translate(130px, 130px) scale(3.3);
}

body.loaded .container {
    animation: containerFadeIn 0.4s ease-out 0.6s forwards;
}

@keyframes containerFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.text {

    width: 100%;
    height: 22px;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px) scale(0.3);
}

.text.spawned {
    animation: menuItemPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes menuItemPop {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.3);
    }

    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.08);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

.container span {
    position: absolute;
    letter-spacing: -2px;
    line-height: 0.8;
    cursor: pointer;
    pointer-events: none;


}


#m_skill,
#m_item,
#m_equip,
#m_persona,
#m_stats,
#m_quest,
#m_socialLink,
#m_calendar,
#m_system {
    font-size: 30px;
    transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.08s ease-in-out;
}

#m_skill {
    color: #a1eefd;
    transform: rotate(-28deg) translate(40px, 16px);
    z-index: 1;

}

#m_item {
    color: #71b2e4;
    transform: rotate(-14deg) translate(58px, 10px);
}

#m_equip {
    color: #90e1f2;
    transform: rotate(-20deg) translate(44px, 10px);
}

#m_persona {
    color: #a3f0ff;
    transform: rotate(-18deg) translate(30px, 4px);
}

#m_stats {
    color: #71b2e4;
    transform: translate(58px, -4px);
}

#m_quest {
    color: #90e1f2;
    transform: rotate(-12deg) translate(40px, 4px);
}

#m_socialLink {
    color: #9aebfc;
    transform: rotate(-6deg) translate(48px, 0px);
    z-index: 1;
}

#m_calendar {
    color: #90e1f2;
    transform: rotate(-4deg) translate(30px, 0px);
}

#m_system {
    color: #6bbbfc;
    transform: rotate(8deg) translate(52px, -8px);
    z-index: -1;
}


#m_skill:focus,
#m_item:focus,
#m_equip:focus,
#m_persona:focus,
#m_stats:focus,
#m_quest:focus,
#m_socialLink:focus,
#m_calendar:focus,
#m_system:focus {
    color: black;
    outline: none;
    z-index: 1;
}


.text div {
    position: absolute;
    pointer-events: none;

}


[id^="t_"] {
    opacity: 0;
    transition: opacity 0.12s ease-in;
}

#t_skill {
    width: 110px;
    height: 110px;
    background-color: rgba(238, 92, 92, 0.616);
    transform: translate(18px, -38px);
    clip-path: polygon(100% 7%, 0 63%, 93% 38%);
    z-index: 1;

}

#t_skillw {
    width: 110px;
    height: 110px;
    background-color: white;
    transform: translate(16px, -38px);
    z-index: 1;
    clip-path: polygon(96% 6%, 16% 60%, 90% 38%);
}

#t_skillch {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-28deg) translate(4px, 30px);
    z-index: 1;
}

#t_skillch1 {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-28deg) translate(3px, 29px);
    z-index: 1;
}

#t_item {
    width: 130px;
    height: 130px;
    background-color: rgba(238, 92, 92, 0.616);
    transform: translate(12px, -28px);
    clip-path: polygon(100% 0, 0 36%, 84% 33%);
    z-index: 1;
}

#t_itemw {
    width: 130px;
    height: 130px;
    background-color: white;
    transform: translate(12px, -28px);
    z-index: 1;
    clip-path: polygon(91% 1%, 9% 35%, 81% 33%);
}

#t_itemch {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-14deg) translate(22px, 24px);
    z-index: 1;
}

#t_itemch1 {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-14deg) translate(22px, 24px);
    z-index: 1;
}

#t_equip {
    width: 140px;
    height: 140px;
    background-color: rgba(238, 92, 92, 0.616);
    transform: translate(12px, -36px);
    clip-path: polygon(96% 3%, 0 44%, 80% 34%);
    z-index: 1;
}

#t_equipw {
    width: 140px;
    height: 140px;
    background-color: white;
    transform: translate(12px, -36px);

    z-index: 1;
    clip-path: polygon(92% 2%, 3% 46%, 80% 34%);
}

#t_equipch {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-20deg) translate(14px, 30px);
    z-index: 1;
}

#t_equipch1 {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-20deg) translate(14px, 30px);
    z-index: 1;
}

#t_persona {
    width: 180px;
    height: 180px;
    background-color: rgba(238, 92, 92, 0.616);
    transform: translate(-4px, -49px);
    clip-path: polygon(99% 8%, 0 40%, 88% 39%);
    z-index: 1;
}

#t_personaw {
    width: 180px;
    height: 180px;
    background-color: white;
    transform: translate(-4px, -48px);
    z-index: 1;
    clip-path: polygon(93% 6%, 5% 38%, 86% 34%);
}

#t_personach {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-18deg) translate(15px, 39px);
    z-index: 1;
}

#t_personach1 {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-18deg) translate(15px, 38px);
    z-index: 1;
}

#t_stats {
    width: 140px;
    height: 140px;
    background-color: rgba(238, 92, 92, 0.616);
    transform: translate(20px, -32px);
    clip-path: polygon(98% 11%, 0 38%, 84% 35%);
    z-index: 1;
}

#t_statsw {
    width: 140px;
    height: 140px;
    background-color: white;
    transform: translate(20px, -31px);
    z-index: 1;
    clip-path: polygon(94% 10%, 4% 39%, 80% 35%);
}

#t_statsch {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) translate(25px, 21px);
    z-index: 1;
}

#t_statsch1 {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) translate(24px, 20px);
    z-index: 1;
}

#t_quest {
    width: 140px;
    height: 140px;
    background-color: rgba(238, 92, 92, 0.616);
    transform: translate(20px, -40px);
    clip-path: polygon(98% 13%, 0 41%, 73% 42%);
    z-index: 1;
}

#t_questw {
    width: 140px;
    height: 140px;
    background-color: white;
    transform: translate(20px, -39px);
    z-index: 1;
    clip-path: polygon(94% 11%, 3% 41%, 71% 40%);
}

#t_questch {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-12deg) translate(15px, 31px);
    z-index: 1;
}

#t_questch1 {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-12deg) translate(15px, 30px);
    z-index: 1;
}

#t_socialLink {
    width: 210px;
    height: 210px;
    background-color: rgba(238, 92, 92, 0.616);
    transform: translate(2px, -74px);
    clip-path: polygon(100% 18%, 0 43%, 78% 44%);
    z-index: 1;
}

#t_socialLinkw {
    width: 210px;
    height: 210px;
    background-color: white;
    transform: translate(2px, -74px);
    clip-path: polygon(100% 22%, 0 41%, 79% 46%);
    z-index: 1;
}

#t_socialLinkch {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-6deg) translate(21px, 54px);
    z-index: 1;
}

#t_socialLinkch1 {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-6deg) translate(21px, 54px);
    z-index: 1;
}

#t_calendar {
    width: 200px;
    height: 200px;
    background-color: rgba(238, 92, 92, 0.616);
    transform: translate(2px, -74px);
    clip-path: polygon(100% 29%, 0 47%, 87% 52%);
    z-index: 1;
}

#t_calendarw {
    width: 200px;
    height: 200px;
    background-color: white;
    transform: translate(2px, -74px);
    clip-path: polygon(96% 28%, 0 47%, 84% 50%);
    z-index: 1;
}

#t_calendarch {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-4deg) translate(21px, 57px);
    z-index: 1;
}

#t_calendarch1 {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(-4deg) translate(21px, 57px);
    z-index: 1;
}

#t_system {
    width: 180px;
    height: 180px;
    background-color: rgba(238, 92, 92, 0.616);
    transform: translate(2px, -10px);
    clip-path: polygon(100% 7%, 0 7%, 69% 32%);
    z-index: 1;
}

#t_systemw {
    width: 180px;
    height: 180px;
    background-color: white;
    transform: translate(2px, -10px);
    clip-path: polygon(97% 10%, 4% 5%, 67% 32%);
    z-index: 1;
}

#t_systemch {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(8deg) translate(32px, 8px);
    z-index: 1;
}

#t_systemch1 {
    font-size: 30px;
    color: rgb(220, 20, 20);
    transform: scale(130%) rotate(8deg) translate(32px, 8px);
    z-index: 1;
}


.side-index {
    position: fixed;
    left: -4.5rem;
    top: -16rem;
    font-size: 37vh;
    transform: rotate(90deg);
    letter-spacing: -0.2em;
    color: #00fbff;
    font-family: var(--menu-font);
    font-weight: 900;
    font-style: italic;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    text-shadow: 0 0 80px rgba(0, 150, 255, 0.15);
}

body.loaded .side-index {
    animation: sideIndexFadeIn 0.5s ease-out 1.2s forwards;
}

.side-index.hidden-for-submenu {
    opacity: 0 !important;
}

@keyframes sideIndexFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.bottom-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 10;
    font-family: var(--menu-font);
    font-weight: 900;
    font-style: italic;
    padding: 0 40px 30px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 480px;
    width: 100%;
    opacity: 0;
}

body.loaded .bottom-bar {
    animation: bottomBarFadeIn 0.4s ease-out 1.1s forwards;
}

.bottom-bar.hidden-for-submenu {
    opacity: 0 !important;
    transition: opacity 0.2s ease;
}

@keyframes bottomBarFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.bottom-bar .description {
    font-size: 28px;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.bottom-bar .divider {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 6px;
    margin-bottom: 8px;
}

.bottom-bar .divider-label {
    font-size: 25px;
    white-space: nowrap;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5), 0 -1px 6px rgba(0, 0, 0, 0.5),
        1px 0 6px rgba(0, 0, 0, 0.5), -1px 0 6px rgba(0, 0, 0, 0.5);
}

.bottom-bar .divider-line {
    flex: 1;
    height: 1px;
    background: white;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5), 0 -1px 6px rgba(0, 0, 0, 0.5),
        1px 0 6px rgba(0, 0, 0, 0.5), -1px 0 6px rgba(0, 0, 0, 0.5);
}


.bottom-bar .controls {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    width: 100%;
    padding-right: 60px;
}

.bottom-bar .control {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5), 0 -1px 6px rgba(0, 0, 0, 0.5),
        1px 0 6px rgba(0, 0, 0, 0.5), -1px 0 6px rgba(0, 0, 0, 0.5);
}


.bottom-bar .control-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    text-shadow: none;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    text-shadow:
        0 2px 0 var(--border-color),
        0 -2px 0 var(--border-color),
        2px 0 0 var(--border-color),
        -2px 0 0 var(--border-color);
}


.site-footer {
    position: fixed;
    bottom: 30px;
    left: 45px;
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #33333374;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 10px 20px 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    z-index: 10;
    opacity: 0;
}

body.loaded .site-footer {
    animation: bottomBarFadeIn 0.4s ease-out 1.2s forwards;
}

.site-footer .social-icon {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-footer .social-icon:hover {
    color: white;
    transform: scale(1.2) rotate(-5deg);
}

.site-footer .footer-text {
    position: relative;
    pointer-events: auto;
    letter-spacing: normal;
    line-height: normal;
    font-family: var(--menu-font);
    font-weight: 700;
    font-size: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 4px;
    text-shadow: 0 1px 4px rgb(0, 0, 0);

}

.site-footer.hidden-for-submenu {
    opacity: 0 !important;
    transition: opacity 0.2s ease;
}


.submenu-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
}

.submenu-overlay.active {
    pointer-events: none;
    opacity: 1;
    z-index: 70;
}



.transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
}

.transition-panel {
    position: fixed;
    pointer-events: none;
}

/* 3 bars thingy */
@keyframes transitionDefaultIn {
    0% {
        transform: scaleX(0);
    }

    40% {
        transform: scaleX(1);
    }

    60% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

.transition-panel.default-panel {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: left;
    background: linear-gradient(180deg,
            #0072c4 0%,
            #0072c4 32%,
            #031f64 32%,
            #031f64 66%,
            #16cffb 66%,
            #16cffb 100%);
    animation: transitionDefaultIn 0.45s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/*  vertical lines thingiy */
@keyframes transitionSocialsIn {
    0% {
        transform: skewX(-16deg) translateY(-120vh);
    }

    42% {
        transform: skewX(-16deg) translateY(0);
    }

    58% {
        transform: skewX(-16deg) translateY(0);
    }

    100% {
        transform: skewX(-16deg) translateY(120vh);
    }
}

.transition-panel.socials-panel {
    top: -6vh;
    left: -4vw;
    width: 36vw;
    height: 112vh;
    transform-origin: top;
    background: #031f64;

    box-shadow:
        36vw 0 0 #16cffb,
        72vw 0 0 #0072c4;
    animation: transitionSocialsIn 0.56s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}


@keyframes transitionResumeIn {
    0% {
        transform: translateX(-120vw);
    }

    48% {
        transform: translateX(30px);
    }

    70% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(120vw);
    }
}

.transition-panel.resume-panel {
    left: -6vw;
    height: 14vh;
    clip-path: polygon(0 0, 97% 0, 100% 100%, 3% 100%);
    animation: transitionResumeIn 0.6s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}


.submenu-bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 48;
    pointer-events: none;
    background: rgba(0, 15, 60, 0);
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: default;
}

.submenu-bg-overlay.visible {
    opacity: 0;
    pointer-events: auto;
}

.submenu-click-backdrop {
    position: fixed;
    inset: 0;
    z-index: 49;
    pointer-events: none;
    cursor: default;
}

.submenu-overlay.active .submenu-click-backdrop {
    pointer-events: auto;
}

body.submenu-open .container {
    z-index: 76;
}


.submenu-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;

    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 47;

    opacity: 0;

    filter: brightness(0.6) saturate(1.35);
}

.submenu-video.visible {
    opacity: 1;
    transition: opacity 0.5s ease 0.2s;
}

.submenu-panels-container {
    position: fixed;
    inset: 0;
    padding-left: 800px;

    padding-bottom: 35px;

    display: grid;
    place-items: center;
    z-index: 71;
    scale: 1.3;
    pointer-events: none;

}

.submenu-panel {
    grid-area: 1 / 1;
    opacity: 0;

    user-select: none;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.submenu-panel.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.submenu-panel--prose.visible {
    pointer-events: none;
}

.submenu-panel--prose.visible .bold-shape-container {
    pointer-events: auto;
}

.submenu-panel.hiding {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}


.bold-shape-container {
    position: relative;
    width: 600px;
    height: 400px;
}

.bold-shape-bg {
    position: absolute;
    inset: 0;
    background-color: rgba(238, 92, 92, 0.8);
    clip-path: polygon(5% 0%, 100% 8%, 95% 100%, 0% 92%);
    transform: translate(15px, 15px);
    z-index: 1;
}

.bold-shape-fg {
    position: absolute;
    inset: 0;
    background-color: white;
    clip-path: polygon(4.5% 10%, 98% 9.5%, 93.5% 98%, 1.5% 91%);
    z-index: 2;
    padding: 60px 80px 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.placeholder-title {
    font-size: 50px;
    color: rgb(220, 20, 20);
    margin: 0 0 10px 0;
    letter-spacing: -0.05em;
    transform: rotate(-5deg);
}

.placeholder-text {
    font-size: 20px;
    color: #333;
    font-family: sans-serif;
    font-style: normal;
    font-weight: bold;
    line-height: 1.4;
    transform: rotate(-5deg);
}


.submenu-panel--prose .bold-shape-bg {
    background-color: rgba(22, 207, 251, 0.45);
    transform: translate(12px, 12px);
}

.submenu-panel--prose .bold-shape-fg {
    background: linear-gradient(145deg, rgba(3, 31, 100, 0.94) 0%, rgba(1, 95, 204, 0.88) 100%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(125, 230, 253, 0.25);
}

.submenu-panel--prose .placeholder-title {
    color: var(--cyan-2);
    text-shadow: 0 2px 12px rgba(22, 207, 251, 0.35);
}

.submenu-panel--prose .placeholder-text {
    color: rgba(255, 255, 255, 0.92);
}

.submenu-panel--prose .placeholder-text a {
    color: var(--cyan-3);
}

#panel_persona.submenu-panel--prose .bold-shape-bg {
    background-color: rgba(253, 119, 217, 0.45);
}

#panel_persona.submenu-panel--prose .bold-shape-fg {
    background: linear-gradient(145deg, rgba(60, 8, 52, 0.94) 0%, rgba(3, 31, 100, 0.9) 100%);
    border-color: rgba(253, 119, 217, 0.3);
}

#panel_persona.submenu-panel--prose .placeholder-title {
    color: var(--pink);
    text-shadow: 0 2px 12px rgba(253, 119, 217, 0.35);
}

#panel_system.submenu-panel--prose .bold-shape-bg {
    background-color: rgba(220, 20, 20, 0.5);
}

#panel_system.submenu-panel--prose .bold-shape-fg {
    background: linear-gradient(145deg, rgba(40, 4, 4, 0.95) 0%, rgba(3, 31, 100, 0.9) 100%);
    border-color: rgba(238, 92, 92, 0.35);
}

#panel_system.submenu-panel--prose .placeholder-title {
    color: #ff8a8a;
    text-shadow: 0 2px 12px rgba(220, 20, 20, 0.35);
}


.music-toggle {
    position: fixed;
    top: 36px;
    right: 36px;
    z-index: 10001;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: rgba(0, 20, 70, 0.55);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(8% 0%, 100% 12%, 92% 100%, 0% 88%);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease, background 0.2s ease;
    pointer-events: none;
}


body.loaded .music-toggle {
    animation: musicToggleFadeIn 0.4s ease-out 1.4s forwards;
    pointer-events: auto;
}

@keyframes musicToggleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.music-toggle:hover,
.music-toggle[aria-expanded="true"] {
    color: var(--cyan-2);
    background: rgba(0, 40, 110, 0.75);
    box-shadow: 0 0 12px rgba(125, 230, 253, 0.35);
}

.music-toggle.is-playing svg {
    filter: drop-shadow(0 0 6px rgba(125, 230, 253, 0.8));
}

.music-player {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 10002;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-player.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.music-shape.bold-shape-container {
    width: 300px;
    height: 168px;
}

.music-shape .bold-shape-bg {
    transform: translate(8px, 8px);
}

.music-shape .bold-shape-fg {
    padding: 22px 28px 20px;
    justify-content: flex-start;
}

.music-player-inner {
    gap: 6px;
}

.music-player-heading {
    margin: 0;
    font-family: var(--menu-font);
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    color: var(--red);
    letter-spacing: -0.04em;
    transform: rotate(-4deg);
}

.music-track-name {
    margin: 0 0 8px;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
    transform: rotate(-4deg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transform: rotate(-4deg);
}

.music-control-btn {
    font-family: var(--menu-font);
    font-weight: 900;
    font-style: italic;
    font-size: 16px;
    color: var(--red);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease, transform 0.15s ease;
}

.music-control-btn:hover {
    color: var(--bg-blue);
    transform: scale(1.08);
}

.music-control-btn--primary {
    font-size: 22px;
    padding: 2px 12px;
}


.photos-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 45vw;
    height: 100vh;
    pointer-events: none;
    z-index: 677;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photos-wrapper.visible {
    opacity: 1;
    z-index: 420;
}

body.submenu-photos-active .photos-wrapper.visible {
    visibility: visible;
}

.photo-container {
    position: absolute;
    width: 280px;
    height: 190px;
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-container.show {
    opacity: 1;
    transform: scale(1) rotate(calc(var(--rot, 0) * 1deg));
}

.photo-shape-bg {
    position: absolute;
    inset: 0;
    background-color: rgba(238, 92, 92, 0.8);
    clip-path: polygon(5% 0%, 100% 8%, 95% 100%, 0% 92%);
    transform: translate(12px, 12px);
    z-index: 1;
}

.photo-shape-fg {
    position: absolute;
    inset: 0;
    background-color: white;
    clip-path: polygon(4.5% 10%, 98% 9.5%, 93.5% 98%, 1.5% 91%);
    z-index: 2;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-shape-fg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(4.5% 10%, 98% 9.5%, 93.5% 98%, 1.5% 91%);
}

.loading-screen {
    position: fixed;
    inset: 0;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--cyan-1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-family: var(--menu-font);
    font-size: 24px;
    color: white;
    letter-spacing: 4px;
    font-style: italic;
    font-weight: 900;
    animation: pulse 1.5s infinite;
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/*  crt screen*/
.screen-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.screen-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

canvas.vcr,
canvas.snow {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9998;
    opacity: 0.25;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

canvas.snow {
    background-color: transparent;
    opacity: 0.2;
}

#screen {
    width: 100%;
    height: 100%;
    background: transparent;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vcr {
    opacity: 0.3;
    pointer-events: none;
}

.vignette {
    background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/86186/crt.png);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 10000;
    pointer-events: none;
}

.scanlines {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%,
            rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg,
            rgba(255, 0, 0, 0.06),
            rgba(0, 255, 0, 0.02),
            rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

.wobblex {
    animation: wobblex 100ms infinite;
}

.wobbley {
    animation: wobbley 100ms infinite;
}

.glitch {
    animation: 5s ease 2000ms normal none infinite running glitch;
}

@keyframes wobblex {
    50% {
        transform: translateX(1px);
    }

    51% {
        transform: translateX(0);
    }
}

@keyframes wobbley {
    0% {
        transform: translateY(1px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes glitch {
    30% {}

    40% {
        opacity: 1;
        transform: scale(1, 1);
        transform: skew(0, 0);
    }

    41% {
        opacity: 0.8;
        transform: scale(1, 1.2);
        transform: skew(80deg, 0);
    }

    42% {
        opacity: 0.8;
        transform: scale(1, 1.2);
        transform: skew(-50deg, 0);
    }

    43% {
        opacity: 1;
        transform: scale(1, 1);
        transform: skew(0, 0);
    }

    65% {}
}

.on>.screen-wrapper {
    animation: 3000ms linear 0ms normal forwards 1 running on;
}

.off>.screen-wrapper {
    animation: 750ms cubic-bezier(0.230, 1.000, 0.320, 1.000) 0ms normal forwards 1 running off;
}

@keyframes on {
    0% {
        transform: scale(1, 0.8) translate3d(0, 0, 0);
        filter: brightness(4);
        opacity: 1;
    }

    3.5% {
        transform: scale(1, 0.8) translate3d(0, 100%, 0);
    }

    3.6% {
        transform: scale(1, 0.8) translate3d(0, -100%, 0);
        opacity: 1;
    }

    9% {
        transform: scale(1.3, 0.6) translate3d(0, 100%, 0);
        filter: brightness(4);
        opacity: 0;
    }

    11% {
        transform: scale(1, 1) translate3d(0, 0, 0);
        filter: contrast(0) brightness(0);
        opacity: 0;
    }

    100% {
        transform: scale(1, 1) translate3d(0, 0, 0);
        filter: contrast(1) brightness(1.2) saturate(1.3);
        opacity: 1;
    }
}

@keyframes off {
    0% {
        transform: scale(1, 1);
        filter: brightness(1);
    }

    40% {
        transform: scale(1, 0.005);
        filter: brightness(100);
    }

    70% {
        transform: scale(1, 0.005);
    }

    90% {
        transform: scale(0.005, 0.005);
    }

    100% {
        transform: scale(0, 0);
    }
}

.roller {
    position: relative;
    animation: 2000ms linear 0ms forwards infinite roll;
}

@keyframes roll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, -50%, 0);
    }
}


body.desktop-ready .herovideo,
body.desktop-ready .container,
body.desktop-ready .side-index,
body.desktop-ready .bottom-bar,
body.desktop-ready .site-footer,
body.desktop-ready .music-toggle {
    opacity: 1;
}

body.desktop-ready .text.spawned {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.small-screen-notice {
    display: none;
}


.panel-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 72 !important;
    display: flex;
    flex-direction: column;
    padding: 0;
    pointer-events: none !important;
}

.panel-fullscreen.visible {
    transform: translateY(0) !important;
}

.panel-fullscreen.visible>* {
    pointer-events: auto;
}


.sc-root {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding-left: 0;
}


.sc-bar {
    position: relative;
    width: 45vw;
    height: 64px;
    transition: height 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    background: #111;
    cursor: pointer;
    pointer-events: all;
    clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.sc-bar-outer {
    position: relative;
    flex-shrink: 0;
    transform: translateX(-100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc-bar-outer.active .sc-bar {
    height: 90px;
}

.sc-bar-outer.active .sc-bar-red {
    height: 90px;
}

.sc-bar-outer.sc-mounted {
    transform: translateX(0);
}

.sc-bar-outer:nth-child(1) {
    transition-delay: 0ms;
}

.sc-bar-outer:nth-child(2) {
    transition-delay: 80ms;
}

.sc-bar-outer:nth-child(3) {
    transition-delay: 160ms;
}


.sc-bar-red {
    position: absolute;
    top: 0;
    left: 0;
    width: 45vw;
    height: 64px;
    background: #c4001a;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, calc(50% - 10px) 100%);
    transform: translateY(-7px);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 0;
    pointer-events: none;
}

.sc-bar-outer.active .sc-bar-red {
    opacity: 1;
}


.sc-bar-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    background: #ffffff;
    clip-path: polygon(100% 0, 100% 0, calc(100% - 32px) 100%, calc(100% - 32px) 100%);
    transition: clip-path 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.sc-bar-outer.active .sc-bar-fill {
    clip-path: polygon(22% 0, 100% 0, calc(100% - 14px) 100%, calc(22% + 138px) 100%);
}


.sc-bar-shade {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 73%;
    width: 6%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sc-bar-outer.active .sc-bar-shade {
    opacity: 1;
}

.sc-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 10;
    pointer-events: none;
}


.sc-bar-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}


.sc-role {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-family: 'Anton', sans-serif;
    font-size: 50px;
    letter-spacing: -2px;
    color: #ffffff;
    transform: rotate(-30deg);
    user-select: none;
    line-height: 1;
    padding: 0 16px 0 8px;
}


.sc-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.sc-main-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sc-icon {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.15);
    transition: color 0.2s ease;
    user-select: none;
}

.sc-bar-outer.active .sc-icon {
    color: rgba(255, 255, 255, 0.25);
}

.sc-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 4px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
    user-select: none;
}

.sc-bar-outer.active .sc-label {
    color: #111111;
}

/* stats */
.sc-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 24px;
    flex-shrink: 0;
}

.sc-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sc-stat-top {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.sc-stat-tag {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 9px;
    letter-spacing: 1.5px;
    padding: 1px 4px;
    border-width: 1px;
    border-style: solid;
    line-height: 1.4;
    user-select: none;
}

.sc-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    font-style: italic;
    line-height: 1;
    color: #ffffff;
    letter-spacing: 1px;
    user-select: none;
    transition: color 0.2s ease;
}

.sc-bar-outer.active .sc-stat-num {
    color: #111111;
}

.sc-stat-bars {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 2px;
}

.sc-stat-bar-color {
    height: 3px;
    width: 100%;
}

.sc-stat-bar-black {
    height: 2px;
    width: 100%;
    background: #000;
}


.sc-char {
    position: absolute;
    top: 0;
    left: 110px;
    height: 100%;
    width: auto;
    max-width: 160px;
    object-fit: cover;
    object-position: top;
    pointer-events: none;
    z-index: 3;
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}


@keyframes scRightNavPop {
    0% {
        opacity: 0;
        transform: scale(0.55) translateY(-10px);
    }

    65% {
        opacity: 1;
        transform: scale(1.1) translateY(2px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sc-right-nav {
    position: fixed;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    z-index: 53;
    animation: scRightNavPop 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sc-right-nav .sc-nav-btn {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 100px;
    letter-spacing: 3px;
    line-height: 1;
    user-select: none;
    color: #fff;
    -webkit-text-stroke: 2px #000;
    paint-order: stroke fill;
    background: none;
    border: none;
    padding: 0 6px;
}

.sc-right-nav .sc-nav-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 3px;
    line-height: 1;
    user-select: none;
    color: #111;
    padding: 0 8px;
}

@keyframes scArrowLeft {

    0%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-5px);
        opacity: 0.4;
    }
}

@keyframes scArrowRight {

    0%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(5px);
        opacity: 0.4;
    }
}

.sc-right-nav .sc-nav-arrow {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: #c4001a;
    display: inline-block;
    user-select: none;
}

.sc-right-nav .sc-nav-arrow.left {
    animation: scArrowLeft 0.8s ease-in-out infinite;
}

.sc-right-nav .sc-nav-arrow.right {
    animation: scArrowRight 0.8s ease-in-out infinite;
}

/* footer hints */
.sc-footer {
    position: fixed;
    bottom: 20px;
    right: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    font-family: 'Bebas Neue', sans-serif;
    z-index: 53;
    opacity: 0;
    transition: opacity 0.4s ease 0.6s;
}

.sc-footer.sc-mounted {
    opacity: 1;
}

.sc-footer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.22);
}

.sc-footer-key {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    padding: 1px 6px;
    font-size: 11px;
}


.resume-entry-mask {
    position: absolute;
    inset: 0;
    z-index: 9;
    overflow: hidden;
    background: #0047FF;
    clip-path: circle(0 at 50% 50%);
    animation: resumeEntryReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
}

.resume-entry-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes resumeEntryReveal {
    from {
        clip-path: circle(0 at 50% 50%);
    }

    to {
        clip-path: circle(150vmax at 50% 50%);
    }
}

.resume-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.resume-stack {
    position: absolute;
    top: 9vh;
    left: 2.8vw;
    width: min(47vw, 720px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    transform: scale(0.9);
    transform-origin: top left;
}

.resume-list-tag {
    font-family: 'Anton', sans-serif;
    font-size: 92px;
    line-height: 0.9;
    color: #f6fbff;
    letter-spacing: 2px;
    margin: 0 0 6px 12px;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.resume-list-tag.rs-mounted {
    opacity: 1;
    transform: translateX(0);
}

.resume-card-wrap {
    position: relative;
    opacity: 0;
    transform: translateX(-48px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: all;
    cursor: pointer;
}

.resume-card-wrap.rs-mounted {
    opacity: 1;
    transform: translateX(0);
}

.resume-card {
    position: relative;
    height: 112px;
    background: #10185f;
    clip-path: polygon(0 0, 97% 0, 100% 100%, 3% 100%);
    box-shadow: 0 8px 0 rgba(5, 13, 59, 0.85);
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    overflow: visible;
}

.resume-card-wrap.active .resume-card {
    background: #ffffff;
    box-shadow: 10px 8px 0 #d63232;
    transform: translateX(6px);
}

.resume-card-inner {
    position: absolute;
    inset: 0;
    padding: 14px 22px 14px 62px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.resume-badge {
    position: absolute;
    top: 10px;
    left: -10px;
    width: 56px;
    height: 70px;
    background: #0b113d;
    border: 3px solid #9cf7ff;
    clip-path: polygon(14% 0, 100% 0, 84% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
    transition: background 0.22s ease, border-color 0.22s ease;
}

.resume-badge-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #d2fdff;
    letter-spacing: 1px;
    transform: rotate(8deg);
}

.resume-card-wrap.active .resume-badge {
    background: #000;
    border-color: #000;
}

.resume-card-wrap.active .resume-badge-text {
    color: #fff;
}

.resume-title {
    font-family: 'Anton', sans-serif;
    font-size: 56px;
    line-height: 0.9;
    letter-spacing: 1px;
    color: #a5f6ff;
    transition: color 0.22s ease;
}

.resume-card-wrap.active .resume-title {
    color: #000;
}

.resume-rank {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.resume-rank-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 2px;
    color: #9ffbff;
    transition: color 0.22s ease;
}

.resume-rank-number {
    font-family: 'Anton', sans-serif;
    font-size: 70px;
    line-height: 0.82;
    color: #9ffbff;
    transition: color 0.22s ease;
}

.resume-card-wrap.active .resume-rank-label,
.resume-card-wrap.active .resume-rank-number {
    color: #000;
}

.resume-subtitle-bar {
    position: absolute;
    left: 64px;
    right: 14px;
    bottom: 12px;
    height: 34px;
    background: #85f4ff;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    display: flex;
    align-items: center;
    padding: 0 18px;
    transition: background 0.22s ease;
}

.resume-card-wrap.active .resume-subtitle-bar {
    background: #000;
}

.resume-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 1px;
    color: #041238;
    transition: color 0.22s ease;
}

.resume-card-wrap.active .resume-subtitle {
    color: #fff;
}

.resume-detail-panel {
    position: absolute;
    top: 9.5vh;
    right: 4.5vw;
    width: min(39vw, 620px);
    min-height: 74vh;
    z-index: 12;
    padding: 22px 24px 24px 24px;
    background: linear-gradient(180deg, rgba(15, 28, 105, 0.96) 0%, rgba(8, 16, 68, 0.97) 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
    box-shadow:
        inset 0 0 0 1px rgba(133, 244, 255, 0.16),
        16px 16px 0 rgba(0, 6, 30, 0.55);
    overflow: hidden;
    pointer-events: auto;
}

.resume-detail-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(133, 244, 255, 0.08) 0 15%, transparent 15% 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%);
    pointer-events: none;
}

.resume-detail-top {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 0 18px;
    background: linear-gradient(90deg, #8ef5ff 0%, #d3fdff 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    color: #08153f;
    box-shadow: 10px 0 0 rgba(255, 94, 136, 0.88);
}


.resume-detail-top-index {
    font-family: 'Anton', sans-serif;
    font-size: 46px;
    line-height: 1;
}

.resume-detail-top-title {
    font-family: 'Anton', sans-serif;
    font-size: 42px;
    line-height: 0.92;
    letter-spacing: 1px;
}

.resume-detail-top-progress {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    letter-spacing: 2px;
    line-height: 1;
}

.resume-detail-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.resume-detail-row {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 14px;
    background: rgba(8, 18, 72, 0.96);
    clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    box-shadow: inset 0 0 0 1px rgba(140, 239, 255, 0.12);
    transition: transform 0.16s ease, background 0.16s ease;
    pointer-events: auto;
    cursor: pointer;
}



.resume-detail-row:hover {
    transform: translateX(4px);
    background: rgba(12, 26, 94, 1);
}

.resume-detail-row-index {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 1px;
    color: #94f4ff;
}

.resume-detail-row-title {
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    line-height: 1;
    color: #f2fcff;
}

.resume-detail-status {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 1.1px;
    color: #06133b;
    background: #8df6ff;
    padding: 7px 12px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.resume-detail-bottom {
    position: relative;
    margin-top: 22px;
    padding: 18px;
    background: rgba(5, 13, 57, 0.97);
    clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    box-shadow: inset 0 0 0 1px rgba(145, 239, 255, 0.12);
}

.resume-detail-bottom-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    letter-spacing: 2px;
    color: #91f5ff;
    margin-bottom: 14px;
}

.resume-detail-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.resume-detail-bullet {
    font-family: 'Anton', sans-serif;
    font-size: 21px;
    line-height: 1.15;
    color: #edfaff;
}

.resume-detail-bullet a {
    color: #7df6ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.resume-detail-bullet a:hover {
    color: #fff;
    text-decoration: underline;
}

.small-screen-shape.bold-shape-container {
    width: min(92vw, 420px);
    height: auto;
    min-height: 200px;
}

.small-screen-shape .bold-shape-bg {
    transform: translate(10px, 10px);
}

.small-screen-shape .bold-shape-fg {
    position: relative;
    padding: 36px 32px;
}

.small-screen-notice-title {
    margin: 0 0 12px;
    font-family: var(--menu-font);
    font-size: clamp(28px, 8vw, 40px);
    font-weight: 900;
    font-style: italic;
    color: var(--red);
    letter-spacing: -0.05em;
    transform: rotate(-4deg);
}

.small-screen-notice-text {
    margin: 0;
    font-family: sans-serif;
    font-size: clamp(16px, 4.5vw, 20px);
    font-weight: bold;
    color: #333;
    line-height: 1.45;
    transform: rotate(-4deg);
}

@media (max-width: 1200px) {
    body {
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        min-height: 100dvh;

    }

    #screen,
    fh .side-index,
    .music-toggle,
    .footer-text,
    .bottom-bar,
    .music-player {
        display: none !important;
    }


    .small-screen-notice {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        inset: 0;
        z-index: 20000;
        padding: 24px;
        box-sizing: border-box;
    }
}