        :root {
            --pink: #ff6b9d;
            --pink-light: #ffd4e5;
            --purple: #c44fff;
            --blue: #4facfe;
            --yellow: #ffe66d;
            --orange: #ff8a5c;
            --cream: #fff9f0;
            --text: #4a4a6a;
            --text-light: #7a7a9a;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Quicksand', sans-serif;
            background: var(--cream);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }
        
        /* Floating decorative elements */
        body::before {
            content: '';
            position: fixed;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            z-index: 0;
            animation: float 20s ease-in-out infinite;
        }
        
        body::after {
            content: '';
            position: fixed;
            bottom: -30%;
            left: -10%;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            z-index: 0;
            animation: float 15s ease-in-out infinite reverse;
        }
        
        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(30px, -30px) rotate(5deg); }
            66% { transform: translate(-20px, 20px) rotate(-3deg); }
        }
        
        /* Start Screen */
        .start-screen {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, #fff5f8 0%, #fef0ff 50%, #f0f4ff 100%);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.8s ease, transform 0.8s ease;
            overflow: hidden;
        }
        
        .start-screen.hidden {
            opacity: 0;
            transform: scale(1.1);
            pointer-events: none;
        }
        
        .start-content {
            text-align: center;
            padding: 20px;
            position: relative;
            z-index: 2;
        }
        
        .floating-images {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            overflow: hidden;
        }
        
        .float-image {
            position: absolute;
            width: 60px;
            height: 60px;
            object-fit: contain;
            left: var(--x);
            animation: floatUp 8s ease-in-out infinite;
            animation-delay: var(--delay);
            opacity: 0.7;
            transform: translateY(100vh);
        }
        
        @keyframes floatUp {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.7;
            }
            90% {
                opacity: 0.7;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }
        
        .start-card {
            background: white;
            border-radius: 30px;
            padding: 50px 40px;
            box-shadow: 
                0 20px 60px rgba(255, 107, 157, 0.15),
                0 10px 30px rgba(0, 0, 0, 0.08);
            max-width: 400px;
            margin: 0 auto;
            position: relative;
            animation: cardFloat 4s ease-in-out infinite;
        }
        
        @keyframes cardFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .start-icon {
            width: 100px;
            height: 100px;
            margin: 0 auto 20px;
            animation: iconPulse 2s ease-in-out infinite;
        }
        
        .start-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
        @keyframes iconPulse {
            0%, 100% { transform: scale(1) rotate(0deg); }
            25% { transform: scale(1.1) rotate(-5deg); }
            75% { transform: scale(1.1) rotate(5deg); }
        }
        
        .start-title {
            font-family: 'Caveat', cursive;
            font-size: 48px;
            color: var(--text);
            margin-bottom: 10px;
            background: linear-gradient(135deg, var(--pink), var(--purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .start-subtitle {
            color: var(--text-light);
            font-size: 16px;
            margin-bottom: 30px;
        }
        
        .start-decoration {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
            color: var(--pink-light);
            font-size: 18px;
        }
        
        .start-decoration span {
            animation: decorPop 1.5s ease-in-out infinite;
        }
        
        .start-decoration span:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .start-decoration span:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        @keyframes decorPop {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.3); opacity: 1; }
        }
        
        .start-btn {
            background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
            color: white;
            border: none;
            padding: 18px 45px;
            border-radius: 50px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            font-family: 'Quicksand', sans-serif;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
            animation: btnGlow 2s ease-in-out infinite;
        }
        
        @keyframes btnGlow {
            0%, 100% { box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4); }
            50% { box-shadow: 0 8px 35px rgba(255, 107, 157, 0.6); }
        }
        
        .start-btn:hover {
            transform: scale(1.05) translateY(-3px);
            box-shadow: 0 12px 35px rgba(255, 107, 157, 0.5);
        }
        
        .start-arrow {
            transition: transform 0.3s;
        }
        
        .start-btn:hover .start-arrow {
            transform: translateX(5px);
        }
        
        .start-hint {
            color: var(--text-light);
            font-size: 13px;
            margin-top: 25px;
            opacity: 0.8;
        }
        
        .start-footer {
            margin-top: 40px;
            color: var(--text-light);
            font-size: 14px;
            font-family: 'Caveat', cursive;
            font-size: 20px;
        }

        /* Timeline */
        .timeline-container {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: white;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            z-index: 100;
            padding: 15px 20px;
            opacity: 0;
            transform: translateY(-100%);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }
        
        .timeline-container.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .timeline-title {
            font-family: 'Caveat', cursive;
            font-size: 18px;
            color: var(--pink);
            text-align: center;
            margin-bottom: 12px;
        }
        
        .timeline {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .timeline-node {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .timeline-dot {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #e8e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
        }
        
        .timeline-dot.active {
            background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
            color: white;
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(255,107,157,0.4);
        }
        
        .timeline-dot.completed {
            background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
            color: white;
        }
        
        .timeline-label {
            position: absolute;
            top: 42px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 10px;
            color: var(--text-light);
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .timeline-dot.active .timeline-label,
        .timeline-dot.completed .timeline-label {
            opacity: 1;
        }
        
        .timeline-connector {
            width: 30px;
            height: 3px;
            background: #e8e8f0;
            border-radius: 2px;
            transition: background 0.5s;
        }
        
        .timeline-connector.active {
            background: linear-gradient(90deg, var(--blue), var(--purple));
        }
        
        /* Main container */
        .container {
            max-width: 700px;
            margin: 0 auto;
            padding: 120px 20px 40px;
            position: relative;
            z-index: 1;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
        }
        
        .container.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Scene card */
        .scene {
            background: white;
            border-radius: 24px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            padding: 40px;
            display: none;
            animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            overflow: hidden;
        }
        
        .scene::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
        }
        
        .scene.active {
            display: block;
        }
        
        @keyframes slideUp {
            from { 
                opacity: 0; 
                transform: translateY(40px); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0); 
            }
        }
        
        /* Scene header with icon */
        .scene-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .scene-icon {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            background: linear-gradient(135deg, var(--pink-light) 0%, #e8d4ff 100%);
        }
        
        h1 {
            font-family: 'Caveat', cursive;
            color: var(--text);
            font-size: 42px;
            font-weight: 600;
        }
        
        .story-text {
            color: var(--text);
            line-height: 1.9;
            font-size: 17px;
            margin-bottom: 30px;
        }
        
        /* Image placeholder */
        .scene-image {
            width: 100%;
            height: 200px;
            border-radius: 16px;
            background: linear-gradient(135deg, #f0f0f8 0%, #e8e8f0 100%);
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 14px;
            border: 2px dashed #d0d0e0;
            overflow: hidden;
        }

        .scene-image1 {
            width: 100%;
            height: 250px;
            border-radius: 16px;
            background: linear-gradient(135deg, #f0f0f8 0%, #e8e8f0 100%);
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 14px;
            border: 2px dashed #d0d0e0;
            overflow: hidden;
        }
        
        .scene-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        /* Image - portrait */
        .scene-image-portrait {
            width: 100%;
            max-width: 280px;
            height: 350px;
            border-radius: 16px;
            background: linear-gradient(135deg, #f0f0f8 0%, #e8e8f0 100%);
            margin: 0 auto 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 14px;
            overflow: hidden;
        }

        .scene-image-portrait img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Story beats */
        .story-beat {
            color: var(--text);
            line-height: 1.9;
            font-size: 17px;
            padding: 20px 25px;
            background: linear-gradient(135deg, #fef9ff 0%, #f8f4ff 100%);
            border-radius: 16px;
            border-left: 4px solid var(--purple);
            margin-bottom: 20px;
            display: none;
            animation: beatIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .story-beat.show {
            display: block;
        }
        
        @keyframes beatIn {
            from { 
                opacity: 0; 
                transform: translateX(-20px); 
            }
            to { 
                opacity: 1; 
                transform: translateX(0); 
            }
        }
        
        /* Choices */
        .choices {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .choice-btn {
            background: white;
            color: var(--text);
            border: 2px solid #e8e8f0;
            padding: 20px 25px;
            border-radius: 16px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            text-align: left;
            font-family: 'Quicksand', sans-serif;
            position: relative;
            overflow: hidden;
        }
        
        .choice-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, var(--pink), var(--purple));
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .choice-btn:hover {
            border-color: var(--pink);
            transform: translateX(8px);
            box-shadow: 0 8px 25px rgba(255,107,157,0.15);
        }
        
        .choice-btn:hover::before {
            opacity: 1;
        }
        
        .choice-emoji {
            margin-right: 10px;
        }
        
        /* Next button */
        .next-btn {
            background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
            color: white;
            border: none;
            padding: 16px 32px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            font-family: 'Quicksand', sans-serif;
            display: none;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 6px 20px rgba(255,107,157,0.3);
        }
        
        .next-btn.show {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .next-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(255,107,157,0.4);
        }
        
        .next-btn::after {
            content: '→';
            transition: transform 0.3s;
        }
        
        .next-btn:hover::after {
            transform: translateX(5px);
        }
        
        /* Ending scene special styles */
        .ending-scene {
            text-align: center;
            padding: 50px 40px;
        }
        
        .ending-scene h1 {
            font-size: 52px;
            background: linear-gradient(135deg, var(--pink), var(--purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 30px;
        }
        
        .couple-image {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            margin: 0 auto 30px;
            background: linear-gradient(135deg, var(--pink-light), #e8d4ff);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 4px solid white;
            box-shadow: 0 10px 40px rgba(255,107,157,0.3);
            overflow: hidden;
        }
        
        .couple-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .journey-summary {
            background: linear-gradient(135deg, #fef9ff, #f8f4ff);
            border-radius: 20px;
            padding: 30px;
            margin: 30px 0;
            text-align: left;
        }
        
        .journey-summary h3 {
            font-family: 'Caveat', cursive;
            font-size: 28px;
            color: var(--purple);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .journey-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px dashed #e8e8f0;
            color: var(--text);
            font-size: 15px;
        }
        
        .journey-item:last-child {
            border-bottom: none;
        }
        
        .journey-item .emoji {
            font-size: 20px;
        }
        
        .love-message {
            font-size: 20px;
            line-height: 1.8;
            color: var(--text);
            margin-top: 30px;
        }
        
        .love-message .highlight {
            color: var(--pink);
            font-weight: 600;
        }
        
        .heart-decoration {
            font-size: 40px;
            margin-top: 30px;
            animation: heartbeat 1.5s ease-in-out infinite;
        }
        
        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        
        /* Cat images */
        .cat-gallery {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin: 25px 0;
        }
        
        .cat-image {
            width: 120px;
            height: 120px;
            border-radius: 16px;
            background: linear-gradient(135deg, #f0f0f8, #e8e8f0);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: var(--text-light);
            border: 2px dashed #d0d0e0;
            overflow: hidden;
        }
        
        .cat-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Restart button */
        .restart-btn {
            background: white;
            color: var(--purple);
            border: 2px solid var(--purple);
            padding: 14px 28px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            font-family: 'Quicksand', sans-serif;
            margin-top: 20px;
            transition: all 0.3s;
        }
        
        .restart-btn:hover {
            background: var(--purple);
            color: white;
        }

        /* Responsive */
        @media (max-width: 600px) {
            .start-card {
                padding: 40px 30px;
                margin: 0 15px;
                border-radius: 24px;
            }
            
            .start-icon {
                width: 80px;
                height: 80px;
            }
            
            .start-title {
                font-size: 38px;
            }
            
            .start-subtitle {
                font-size: 15px;
            }
            
            .start-btn {
                padding: 16px 35px;
                font-size: 16px;
            }
            
            .start-hint {
                font-size: 12px;
            }
            
            .float-heart {
                width: 30px;
                height: 30px;
            }
            
            .timeline-container {
                padding: 12px 15px;
            }
            
            .timeline-title {
                font-size: 16px;
                margin-bottom: 10px;
            }
            
            .timeline {
                gap: 4px;
            }
            
            .timeline-dot {
                width: 32px;
                height: 32px;
                font-size: 12px;
            }
            
            .timeline-connector {
                width: 12px;
            }
            
            .timeline-label {
                font-size: 8px;
                top: 36px;
            }
            
            .container {
                padding: 100px 15px 30px;
            }
            
            .scene {
                padding: 25px 20px;
                border-radius: 20px;
            }
            
            .scene-header {
                gap: 12px;
                margin-bottom: 20px;
            }
            
            .scene-icon {
                width: 50px;
                height: 50px;
                font-size: 24px;
                border-radius: 12px;
            }
            
            h1 {
                font-size: 32px;
            }
            
            .story-text {
                font-size: 16px;
                line-height: 1.8;
                margin-bottom: 25px;
            }
            
            .scene-image {
                height: 160px;
                margin-bottom: 20px;
            }
            
            .story-beat {
                font-size: 16px;
                padding: 16px 20px;
            }
            
            .choice-btn {
                padding: 16px 20px;
                font-size: 15px;
                border-radius: 14px;
            }
            
            .next-btn {
                padding: 14px 28px;
                font-size: 15px;
            }
            
            .ending-scene {
                padding: 35px 25px;
            }
            
            .ending-scene h1 {
                font-size: 38px;
            }
            
            .couple-image {
                width: 160px;
                height: 160px;
            }
            
            .cat-gallery {
                gap: 10px;
            }
            
            .cat-image {
                width: 100px;
                height: 100px;
                border-radius: 12px;
            }
            
            .journey-summary {
                padding: 20px;
            }
            
            .journey-summary h3 {
                font-size: 24px;
            }
            
            .journey-item {
                font-size: 14px;
                padding: 10px 0;
            }
            
            .love-message {
                font-size: 17px;
            }
            
            .heart-decoration {
                font-size: 32px;
            }
        }
        
        /* Extra small phones */
        @media (max-width: 380px) {
            .timeline-dot {
                width: 28px;
                height: 28px;
                font-size: 10px;
            }
            
            .timeline-connector {
                width: 8px;
            }
            
            h1 {
                font-size: 28px;
            }
            
            .choice-btn {
                padding: 14px 16px;
                font-size: 14px;
            }
        }

                
        /* Kill Troy - Horror Button */
        .choice-btn.horror-btn {
            background: linear-gradient(180deg, #1a0000 0%, #3d0000 50%, #1a0000 100%);
            border: 2px solid #8b0000;
            color: #ff6666;
            position: relative;
            overflow: visible;
            text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
            box-shadow: 
                0 0 20px rgba(139, 0, 0, 0.4),
                inset 0 0 30px rgba(0, 0, 0, 0.5);
            animation: subtleFlicker 3s infinite;
        }

        .choice-btn.horror-btn:hover {
            background: linear-gradient(180deg, #2d0000 0%, #5c0000 50%, #2d0000 100%);
            transform: scale(1.02);
            box-shadow: 
                0 0 30px rgba(139, 0, 0, 0.6),
                inset 0 0 30px rgba(0, 0, 0, 0.5);
            animation: horrorShake 0.1s infinite;
        }

        .choice-btn.horror-btn .choice-emoji {
            color: #ff0000;
            filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.8));
        }

        /* Blood drips */
        .choice-btn.horror-btn::before,
        .choice-btn.horror-btn::after {
            content: '';
            position: absolute;
            top: 0;
            width: 8px;
            background: linear-gradient(180deg, #8b0000 0%, #5c0000 60%, transparent 100%);
            border-radius: 0 0 50% 50%;
            animation: drip 2s ease-in infinite;
        }

        .choice-btn.horror-btn::before {
            left: 20%;
            height: 25px;
            animation-delay: 0s;
        }

        .choice-btn.horror-btn::after {
            right: 30%;
            height: 18px;
            animation-delay: 1s;
        }

        /* Extra blood drips using box-shadow trick on a pseudo element wrapper */
        .horror-btn-wrapper {
            position: relative;
            display: contents;
        }

        .choice-btn.horror-btn .drip {
            position: absolute;
            top: 0;
            width: 6px;
            background: linear-gradient(180deg, #8b0000 0%, #660000 70%, transparent 100%);
            border-radius: 0 0 50% 50%;
            animation: drip 2.5s ease-in infinite;
        }

        .choice-btn.horror-btn .drip:nth-child(1) {
            left: 50%;
            height: 20px;
            animation-delay: 0.5s;
        }

        .choice-btn.horror-btn .drip:nth-child(2) {
            right: 15%;
            height: 15px;
            animation-delay: 1.5s;
        }

        @keyframes drip {
            0%, 100% {
                transform: translateY(0) scaleY(1);
                opacity: 0.9;
            }
            50% {
                transform: translateY(8px) scaleY(1.2);
                opacity: 1;
            }
        }

        @keyframes subtleFlicker {
            0%, 100% { opacity: 1; }
            92% { opacity: 1; }
            93% { opacity: 0.8; }
            94% { opacity: 1; }
            96% { opacity: 0.9; }
            97% { opacity: 1; }
        }

        @keyframes horrorShake {
            0%, 100% { transform: scale(1.02) translateX(0); }
            25% { transform: scale(1.02) translateX(-2px); }
            75% { transform: scale(1.02) translateX(2px); }
        }
        /* ===== HORROR MODE STYLES ===== */

        /* Horror button styling with blood drips */
        .horror-btn {
            position: relative;
            background: linear-gradient(180deg, #4a0000 0%, #2a0000 100%) !important;
            border: 2px solid #8b0000 !important;
            animation: horrorPulse 2s ease-in-out infinite;
            overflow: visible;
        }

        .horror-btn:hover {
            background: linear-gradient(180deg, #6b0000 0%, #3a0000 100%) !important;
            box-shadow: 0 0 20px rgba(139, 0, 0, 0.6) !important;
        }

        .horror-btn .drip {
            position: absolute;
            top: 0;
            width: 8px;
            background: linear-gradient(180deg, #8b0000, #4a0000);
            border-radius: 0 0 50% 50%;
            animation: drip 3s ease-in-out infinite;
            opacity: 0.8;
        }

        .horror-btn .drip:nth-child(1) {
            left: 20%;
            height: 15px;
            animation-delay: 0s;
        }

        .horror-btn .drip:nth-child(2) {
            left: 70%;
            height: 20px;
            animation-delay: 1.5s;
        }

        @keyframes drip {
            0%, 100% { top: -5px; opacity: 0; }
            10% { top: -5px; opacity: 1; }
            90% { top: calc(100% + 10px); opacity: 1; }
            100% { top: calc(100% + 15px); opacity: 0; }
        }

        @keyframes horrorPulse {
            0%, 100% { box-shadow: 0 0 5px rgba(139, 0, 0, 0.3); }
            50% { box-shadow: 0 0 20px rgba(139, 0, 0, 0.6); }
        }

        /* Horror mode - activated when Kill Troy is clicked */
        @keyframes horrorTransition {
            0% { filter: none; }
            100% { 
                filter: saturate(0.5) contrast(1.1);
            }
        }

        body.horror-mode {
            background: linear-gradient(180deg, #1a0000 0%, #0d0000 100%) !important;
            overflow-x: hidden;
        }
        html.horror-mode {
            background: #0d0000;
        }

        body.horror-mode {
            overflow-x: hidden;
        }


        body.horror-mode .container {
            position: relative;
            z-index: 101;
            padding-top: 120px !important;
        }

        body.horror-mode::before {
            opacity: 0 !important;
            visibility: hidden !important;
        }
        body.horror-mode::after {
            opacity: 0 !important;
            visibility: hidden !important;
        }

        @keyframes vignetteFlicker {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
            52% { opacity: 1; }
            54% { opacity: 0.7; }
            56% { opacity: 1; }
        }

        /* Blood rain container */
        .blood-rain {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            z-index: 9997;
            overflow: hidden;
        }

        .blood-drop {
            position: absolute;
            width: 2px;
            height: 20px;
            background: linear-gradient(180deg, transparent, #8b0000, #4a0000);
            animation: bloodFall linear infinite;
            opacity: 0.6;
        }

        @keyframes bloodFall {
            0% { transform: translateY(-100vh) rotate(15deg); }
            100% { transform: translateY(100vh) rotate(15deg); }
        }

        /* Red flash overlay */
        .flash-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(139, 0, 0, 0.4);
            pointer-events: none;
            z-index: 9999;
            opacity: 0;
        }

        .flash-overlay.flash {
            animation: bloodFlash 0.15s ease-out;
        }

        @keyframes bloodFlash {
            0% { opacity: 0.8; }
            100% { opacity: 0; }
        }

        /* Screen shake */
        @keyframes screenShake {
            0%, 100% { transform: translate(0); }
            10% { transform: translate(-5px, -5px); }
            20% { transform: translate(5px, 5px); }
            30% { transform: translate(-5px, 5px); }
            40% { transform: translate(5px, -5px); }
            50% { transform: translate(-3px, -3px); }
            60% { transform: translate(3px, 3px); }
            70% { transform: translate(-2px, 2px); }
            80% { transform: translate(2px, -2px); }
            90% { transform: translate(-1px, 1px); }
        }

        body.horror-mode.shake .container {
            animation: screenShake 0.5s ease-in-out;
        }

        /* Horror text styling */
        body.horror-mode .story-beat {
            color: #ffffff !important;
            text-shadow: 1px 1px 2px #000;
            border-left-color: #8b0000 !important;
            background: rgba(40, 0, 0, 0.9) !important;
        }

        body.horror-mode .story-text {
            color: #ffdddd !important;
        }

        body.horror-mode .scene-header h1 {
            color: #8b0000 !important;
            text-shadow: 2px 2px 4px #000, 0 0 20px rgba(139, 0, 0, 0.8);
        }

        body.horror-mode .scene {
            background: rgba(15, 0, 0, 0.95) !important;
            border: 1px solid #3a0000;
        }

        body.horror-mode .next-btn {
            background: #6b0000 !important;
        }

        body.horror-mode .next-btn:hover {
            background: #8b0000 !important;
        }

        body.horror-mode .timeline-container {
            background: rgba(20, 0, 0, 0.95) !important;
            /* position: relative; */
            z-index: 9999;
        }

        body.horror-mode .timeline-title {
            color: #ff6666 !important;
        }

        body.horror-mode .timeline-dot {
            background: #3a0000;
        }

        body.horror-mode .timeline-dot.completed {
            background: #6b0000;
        }

        body.horror-mode .timeline-dot.active {
            background: #8b0000;
            box-shadow: 0 0 15px rgba(139, 0, 0, 0.8);
        }

        body.horror-mode .timeline-label {
            color: #ffaaaa !important;
        }

        body.horror-mode .container {
        position: relative;
        z-index: 101;
        }

        /* Scene 5 ending in horror mode - allow full scroll */
        body.horror-mode #scene5.active {
            min-height: auto;
        }

        /* Keep scene 4 contained */
        body.horror-mode #scene4.active ~ .blood-rain,
        body.horror-mode #scene4.active ~ .flash-overlay {
            position: fixed;
            height: 100vh;
        }

        body.horror-mode #scene4 .scene-image-portrait img {
            filter: brightness(0.7) contrast(1.2) saturate(0.7) sepia(0.2);
            animation: scaryPulse 2s ease-in-out infinite;
        }

        @keyframes scaryPulse {
            0%, 100% { 
                filter: brightness(0.7) contrast(1.2) saturate(0.7) sepia(0.1);
            }
            50% { 
                filter: brightness(0.6) contrast(1.3) saturate(0.6) sepia(0.15);
            }
        }
        .horror-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(20, 0, 0, 0.3);
            pointer-events: none;
            z-index: 100;
        }
/* 
        body.horror-mode .horror-overlay {
            display: block;
        } */
/* 
        body.horror-mode .container {
            transform: translate(0, 0);
        } */
        /* Horror mode journey item */
        .journey-item.horror-choice {
            background: linear-gradient(90deg, rgba(139, 0, 0, 0.3), transparent);
            border-left: 3px solid #8b0000;
            padding-left: 12px;
            margin-left: -12px;
            animation: horrorGlow 2s ease-in-out infinite;
        }

        .journey-item.horror-choice .horror-text {
            color: #ff4444;
            text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
            font-weight: 600;
            letter-spacing: 1px;
        }

        @keyframes horrorGlow {
            0%, 100% { 
                background: linear-gradient(90deg, rgba(139, 0, 0, 0.2), transparent);
            }
            50% { 
                background: linear-gradient(90deg, rgba(139, 0, 0, 0.4), transparent);
            }
        }

        /* Horror mode ending scene adjustments */
        body.horror-mode #scene5 .couple-image {
            border-color: #8b0000;
            box-shadow: 0 0 30px rgba(139, 0, 0, 0.5);
        }

        body.horror-mode #scene5 .love-message {
            color: #ffaaaa;
        }

        body.horror-mode #scene5 .love-message .highlight {
            color: #ff4444;
        }

        body.horror-mode #scene5 .journey-summary {
            background: linear-gradient(135deg, rgba(40, 0, 0, 0.9), rgba(20, 0, 0, 0.9));
            border: 1px solid #3a0000;
        }

        body.horror-mode #scene5 .journey-summary h3 {
            color: #ff6666;
        }

        body.horror-mode #scene5 .journey-item {
            color: #ffcccc;
            border-bottom-color: #3a0000;
        }