/* Sugar Transition (Сахарный переход) Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&family=Share+Tech+Mono&family=Neucha&display=swap');

:root {
    --pink-main: #ff7597;
    --pink-dark: #d81b60;
    --pink-light: #ffd4e5;
    --pink-glass: rgba(255, 230, 240, 0.88);
    --horror-red: #ff1744;
    --bg-dark: #0a0d11;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
    font-family: 'Comfortaa', 'Neucha', sans-serif;
    color: #333;
}

#game-viewport {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    background: #000;
}

/* CRT Scanlines Filter Overlay */
.crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 3px, 6px 100%;
    opacity: 0.7;
}

/* 1. Main Menu Screen */
#screen-menu {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #2e1223 0%, #0d060c 100%);
    z-index: 50;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.menu-title {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    color: #ff9ebb;
    text-shadow: 0 0 25px rgba(255, 117, 151, 0.7), 0 0 45px rgba(255, 41, 105, 0.5);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.menu-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: #e0b0c5;
    margin-bottom: 40px;
    font-weight: 300;
}

.menu-btn {
    background: linear-gradient(135deg, #ff4081, #d81b60);
    color: #fff;
    border: none;
    padding: 14px 42px;
    font-size: 1.25rem;
    font-family: inherit;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(216, 27, 96, 0.4);
    transition: all 0.25s ease;
    margin: 8px 0;
}

.menu-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 28px rgba(255, 64, 129, 0.6);
}

.menu-warning {
    margin-top: 45px;
    font-size: 0.85rem;
    color: #887480;
    max-width: 500px;
    line-height: 1.5;
}

/* 2. Prologue Screen (Forum Thread) */
#screen-prologue {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0f141a;
    z-index: 45;
    padding: 24px;
}

.forum-window {
    width: min(850px, 95vw);
    background: #182028;
    border: 2px solid #2e3d4c;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.forum-header {
    background: #253342;
    padding: 12px 18px;
    color: #90caf9;
    font-weight: 700;
    border-bottom: 1px solid #374b5e;
}

.forum-body {
    padding: 20px;
    max-height: 65vh;
    overflow-y: auto;
}

.forum-post {
    border-bottom: 1px solid #283745;
    padding: 14px 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cfd8dc;
}

.post-meta {
    color: #78909c;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.post-author {
    color: #4fc3f7;
    font-weight: bold;
}

.post-warning-text {
    color: #ff5252 !important;
}

.prologue-action {
    padding: 18px;
    text-align: center;
    background: #151d24;
}

/* 3. Visual Novel Screen (Act 1 & Act 2) */
#screen-vn {
    position: absolute;
    inset: 0;
    display: none;
    z-index: 20;
    overflow: hidden;
}

#vn-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: filter 0.8s ease;
}

.subtle-twitch {
    animation: twitchAnim 0.15s linear;
}

@keyframes twitchAnim {
    0% { transform: translate(0, 0) scale(1); filter: hue-rotate(0deg); }
    50% { transform: translate(-4px, 2px) scale(1.01); filter: hue-rotate(45deg); }
    100% { transform: translate(0, 0) scale(1); filter: hue-rotate(0deg); }
}

#vn-girl {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, 85vw);
    height: min(780px, 92vh);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.sprite-panic {
    animation: panicShake 0.08s infinite alternate;
}

@keyframes panicShake {
    0% { transform: translateX(-52%) scale(1.02); }
    100% { transform: translateX(-48%) scale(0.99); }
}

/* Affection Meter UI (Crucial) */
#affection-meter-box {
    position: absolute;
    top: 24px;
    right: 28px;
    background: var(--pink-glass);
    border: 3px solid #ff4081;
    border-radius: 20px;
    padding: 10px 18px;
    box-shadow: 0 6px 20px rgba(255, 64, 129, 0.35);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 220px;
}

.affection-label-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 700;
    color: #c2185b;
    margin-bottom: 6px;
}

.affection-bar-bg {
    width: 100%;
    height: 18px;
    background: #ffccd9;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #ff80ab;
    position: relative;
}

#affection-fill {
    width: 10%;
    height: 100%;
    background: linear-gradient(90deg, #ff4081, #ff80ab, #ff1744);
    border-radius: 8px;
    transition: width 0.35s ease;
    box-shadow: 0 0 10px rgba(255, 64, 129, 0.8);
}

.glitch-shake {
    animation: glitchShakeAnim 0.1s infinite !important;
    border-color: #ff1744 !important;
    background: rgba(40, 5, 15, 0.95) !important;
    color: #ff5252 !important;
}

@keyframes glitchShakeAnim {
    0% { transform: translate(-3px, 2px) rotate(-1deg); }
    50% { transform: translate(3px, -2px) rotate(1deg); }
    100% { transform: translate(-2px, -1px); }
}

/* Floating heart particles */
.floating-heart {
    position: absolute;
    font-size: 1.8rem;
    pointer-events: none;
    animation: floatHeart 1.4s ease-out forwards;
    z-index: 35;
}

@keyframes floatHeart {
    0% { transform: translateY(0) scale(0.5); opacity: 1; }
    100% { transform: translateY(-90px) scale(1.4); opacity: 0; }
}

/* Desk Candy Prop in Act 2 */
#desk-candy {
    position: absolute;
    bottom: 22%;
    left: 45%;
    width: 240px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    display: none;
    z-index: 25;
    filter: drop-shadow(0 0 15px rgba(255, 77, 109, 0.6));
    animation: pulseCandy 2.5s infinite ease-in-out;
}

@keyframes pulseCandy {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Dialogue Box */
#vn-dialogue-box {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1000px, 94vw);
    min-height: 180px;
    background: var(--pink-glass);
    border: 3px solid #ff80ab;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    padding: 20px 28px;
    z-index: 30;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}

#vn-speaker {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

#vn-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #261921;
    min-height: 60px;
    white-space: pre-wrap;
}

#vn-choices {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.choice-btn {
    background: linear-gradient(135deg, #ffffff, #fff0f5);
    color: #c2185b;
    border: 2px solid #ff4081;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1.05rem;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(255, 64, 129, 0.15);
}

.choice-btn:hover {
    background: #ff4081;
    color: #ffffff;
    transform: translateX(6px);
    box-shadow: 0 5px 15px rgba(255, 64, 129, 0.4);
}

/* Sequential Dialogue Advance Prompt */
.vn-next-prompt {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
    color: #c2185b;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    animation: promptPulse 1.6s infinite ease-in-out;
}

.vn-next-arrow {
    display: inline-block;
    color: #ff4081;
    font-size: 0.9rem;
    animation: arrowBounce 0.9s infinite alternate ease-in-out;
}

@keyframes promptPulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

@keyframes arrowBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Act 2 Somber Reality Theme */
#vn-dialogue-box.act2-dialogue {
    background: rgba(15, 23, 42, 0.88);
    border-color: #475569;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.65);
}

#vn-dialogue-box.act2-dialogue #vn-text {
    color: #f1f5f9;
}

.choice-btn.act2-btn {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #93c5fd;
    border: 1px solid #334155;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.choice-btn.act2-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #60a5fa;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
    transform: translateX(6px);
}

/* Catastrophic Flash */
.catastrophic-flash {
    animation: flashBreak 0.2s 8 alternate !important;
}

@keyframes flashBreak {
    0% { filter: invert(0) contrast(1); }
    100% { filter: invert(1) contrast(3) hue-rotate(180deg); }
}

/* 4. 3D WebGL Screen (Act 3 & Act 4) */
#screen-3d {
    position: absolute;
    inset: 0;
    display: none;
    z-index: 20;
    background: #000;
    cursor: crosshair;
}

#reticle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 25;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.9);
}

#webgl-container {
    width: 100%;
    height: 100%;
}

#controls-hint {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(10, 15, 20, 0.85);
    border: 1px solid #37474f;
    padding: 12px 18px;
    border-radius: 8px;
    color: #eceff1;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 30;
}

#interaction-prompt {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 23, 68, 0.85);
    color: #fff;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    display: none;
    z-index: 30;
    animation: pulsePrompt 1s infinite alternate;
    pointer-events: auto;
    cursor: pointer;
}

@keyframes pulsePrompt {
    0% { transform: translateX(-50%) scale(1); }
    100% { transform: translateX(-50%) scale(1.06); }
}

#hud-dialogue {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 92vw);
    background: rgba(15, 20, 26, 0.92);
    border: 2px solid #546e7a;
    border-radius: 12px;
    padding: 16px 24px;
    z-index: 30;
    display: none;
    color: #eceff1;
}

#hud-speaker {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

#hud-text {
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Document Inspection Modal */
#document-modal {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.document-paper {
    width: min(650px, 92vw);
    background: #f7f3e8;
    color: #1a1a1a;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    font-family: 'Share Tech Mono', monospace;
    border: 1px solid #dcd3be;
}

.document-title {
    font-size: 1.3rem;
    color: #900c3f;
    border-bottom: 2px solid #900c3f;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.document-content {
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-wrap;
    margin-bottom: 24px;
}

.document-close {
    background: #900c3f;
    color: #fff;
    border: none;
    padding: 8px 24px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

/* First-Person Eyelid Blinking (Wake-Up from Bed) */
.eyelids-container {
    position: absolute;
    inset: 0;
    z-index: 55;
    pointer-events: none;
    overflow: hidden;
}

.eyelid {
    position: absolute;
    left: 0;
    right: 0;
    background: #000000;
    transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

.eyelid-top {
    top: 0;
    height: 50.5%;
    transform: translateY(-100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.95);
}

.eyelid-bottom {
    bottom: 0;
    height: 50.5%;
    transform: translateY(100%);
    box-shadow: 0 -15px 35px rgba(0, 0, 0, 0.95);
}

/* Eyelids states */
.eyelids-closed .eyelid-top {
    transform: translateY(0%);
}

.eyelids-closed .eyelid-bottom {
    transform: translateY(0%);
}

.eyelids-slit .eyelid-top {
    transform: translateY(-20%);
}

.eyelids-slit .eyelid-bottom {
    transform: translateY(20%);
}

.eyelids-half .eyelid-top {
    transform: translateY(-60%);
}

.eyelids-half .eyelid-bottom {
    transform: translateY(60%);
}

.eyelids-open .eyelid-top {
    transform: translateY(-100%);
}

.eyelids-open .eyelid-bottom {
    transform: translateY(100%);
}

.wakeup-blur {
    filter: blur(8px) contrast(1.15) !important;
    transition: filter 0.8s ease-out;
}

.wakeup-clear {
    filter: blur(0px) contrast(1) !important;
}

/* Reality Breakdown Transition Overlay (Act 2 to Act 3) */
.reality-break-overlay {
    position: absolute;
    inset: 0;
    background: #000000;
    z-index: 65;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 1.0s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.reality-break-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.reality-break-text {
    color: #f1f5f9;
    font-size: 1.25rem;
    font-family: inherit;
    line-height: 1.8;
    text-align: center;
    max-width: 680px;
    text-shadow: 0 0 16px rgba(255, 64, 129, 0.5);
    animation: textFadePulse 2s infinite alternate ease-in-out;
}

@keyframes textFadePulse {
    0% { opacity: 0.85; filter: blur(0px); }
    100% { opacity: 1; filter: blur(0.5px); text-shadow: 0 0 24px rgba(244, 63, 94, 0.8); }
}

/* 5. Act 4 Climax Overlay */
#act4-climax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 10, 0.75);
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

#climax-quote {
    font-size: clamp(1.4rem, 3.2vw, 2.4rem);
    color: #ff5252;
    text-shadow: 0 0 20px rgba(255, 23, 68, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
}

#btn-wake-up {
    background: #ff1744;
    color: #fff;
    border: none;
    padding: 16px 45px;
    font-size: 1.3rem;
    font-family: inherit;
    font-weight: bold;
    border-radius: 35px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(255, 23, 68, 0.8);
    animation: pulseWake 0.8s infinite alternate;
}

@keyframes pulseWake {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); box-shadow: 0 0 50px rgba(255, 23, 68, 1); }
}

#epiphany-text-box {
    display: none;
    max-width: 750px;
    margin-top: 30px;
}

.epiphany-line {
    font-size: 1.25rem;
    color: #eceff1;
    margin: 12px 0;
    line-height: 1.6;
    animation: fadeInText 1.5s ease-in;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 6. Ending Screen */
#screen-ending {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 55;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #eceff1;
    padding: 20px;
}

#ending-canvas {
    max-width: 90vw;
    max-height: 50vh;
    border: 1px solid #1a2228;
    margin-bottom: 30px;
}

.ending-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #b0bec5;
    text-align: center;
    max-width: 600px;
    line-height: 1.8;
}

.ending-author {
    margin-top: 25px;
    color: #546e7a;
    font-size: 0.9rem;
}

/* ========================================================
   THEMATIC ACT CURSORS (Custom cursor for each act)
   ======================================================== */

/* Act 1 & Default: Sweet Strawberry Lollipop Candy Wand Cursor */
body,
body.cursor-act1,
body.cursor-act1 * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cline x1='12' y1='12' x2='27' y2='27' stroke='%23ffb6c1' stroke-width='4' stroke-linecap='round'/%3E%3Cline x1='12' y1='12' x2='27' y2='27' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='9' r='8' fill='%23ff4081' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M9 3 A6 6 0 0 1 15 9 A4 4 0 0 1 11 13 A2 2 0 0 1 9 9' fill='none' stroke='%23ffebee' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpolygon points='3,0 4,2 6,3 4,4 3,6 2,4 0,3 2,2' fill='%23fff59d'/%3E%3Cellipse cx='7' cy='6' rx='2.5' ry='1.5' fill='%23ffffff' opacity='0.7' transform='rotate(-30 7 6)'/%3E%3C/svg%3E") 0 0, auto !important;
}

body button,
body.cursor-act1 button,
body.cursor-act1 .menu-btn,
body.cursor-act1 .choice-btn,
body.cursor-act1 a,
body.cursor-act1 #btn-start,
body.cursor-act1 #btn-skip-prologue,
body.cursor-act1 #desk-candy,
body.cursor-act1 [role="button"],
body.cursor-act1 button:hover,
body.cursor-act1 .menu-btn:hover,
body.cursor-act1 .choice-btn:hover {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cline x1='14' y1='14' x2='27' y2='27' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round'/%3E%3Cline x1='14' y1='14' x2='27' y2='27' stroke='%23ff4081' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M10 3 C6 -1 1 2 1 7 C1 12 8 17 10 19 C12 17 19 12 19 7 C19 2 14 -1 10 3 Z' fill='%23ff1493' stroke='%23ffffff' stroke-width='1.8'/%3E%3Cpolygon points='3,0 4,2 6,3 4,4 3,6 2,4 0,3 2,2' fill='%23ffff8d'/%3E%3Ccircle cx='6' cy='6' r='1.5' fill='%23ffffff'/%3E%3C/svg%3E") 0 0, pointer !important;
}

/* Act 2: Cold Brutalist Reality Arrow */
body.cursor-act2,
body.cursor-act2 * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpolygon points='2,2 2,22 8,17 13,26 16,24 11,15 19,15' fill='%23263238' stroke='%23eceff1' stroke-width='1.5'/%3E%3C/svg%3E") 2 2, auto !important;
}

body.cursor-act2 button,
body.cursor-act2 .choice-btn,
body.cursor-act2 a,
body.cursor-act2 button:hover,
body.cursor-act2 .choice-btn:hover {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpolygon points='2,2 2,22 8,17 13,26 16,24 11,15 19,15' fill='%2337474f' stroke='%2380deea' stroke-width='1.5'/%3E%3C/svg%3E") 2 2, pointer !important;
}

/* Act 3: Clinical Hospital Reticle Crosshair */
body.cursor-act3,
body.cursor-act3 * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='7' fill='none' stroke='%2300e5ff' stroke-width='1.5' stroke-dasharray='3,2'/%3E%3Cline x1='16' y1='4' x2='16' y2='12' stroke='%2380deea' stroke-width='2'/%3E%3Cline x1='16' y1='20' x2='16' y2='28' stroke='%2380deea' stroke-width='2'/%3E%3Cline x1='4' y1='16' x2='12' y2='16' stroke='%2380deea' stroke-width='2'/%3E%3Cline x1='20' y1='16' x2='28' y2='16' stroke='%2380deea' stroke-width='2'/%3E%3Ccircle cx='16' cy='16' r='1.5' fill='%23ffffff'/%3E%3C/svg%3E") 16 16, crosshair !important;
}

body.cursor-act3 button,
body.cursor-act3 .document-close,
body.cursor-act3 button:hover,
body.cursor-act3 .document-close:hover {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='9' fill='%2300838f' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cline x1='16' y1='10' x2='16' y2='22' stroke='%23ffffff' stroke-width='2.5'/%3E%3Cline x1='10' y1='16' x2='22' y2='16' stroke='%23ffffff' stroke-width='2.5'/%3E%3C/svg%3E") 16 16, pointer !important;
}

/* Act 4: Corrupted Blood Glitch Blade */
body.cursor-act4,
body.cursor-act4 * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpolygon points='5,4 5,24 10,19 14,27 17,25 13,17 21,17' fill='%2300e5ff' opacity='0.75'/%3E%3Cpolygon points='2,2 2,22 8,16 12,25 15,23 10,14 18,14' fill='%23d50000' stroke='%23ff8a80' stroke-width='1.2'/%3E%3Cline x1='0' y1='9' x2='22' y2='9' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E") 2 2, auto !important;
}

body.cursor-act4 button,
body.cursor-act4 #btn-wake-up,
body.cursor-act4 button:hover,
body.cursor-act4 #btn-wake-up:hover {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpolygon points='5,4 5,24 10,19 14,27 17,25 13,17 21,17' fill='%23ff1744' opacity='0.75'/%3E%3Cpolygon points='2,2 2,22 8,16 12,25 15,23 10,14 18,14' fill='%23ff0055' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E") 2 2, pointer !important;
}
