* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Courier Prime', 'Noto Sans JP', monospace;
            background: #1a1a1a;
            color: #d4d4d4;
            overflow-x: hidden;
            min-height: 100vh;
            position: relative;
        }
        
        /* Efeito de dithering/grain PS1 */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                repeating-linear-gradient(
                    0deg,
                    transparent,
                    transparent 2px,
                    rgba(0, 0, 0, 0.03) 2px,
                    rgba(0, 0, 0, 0.03) 4px
                );
            pointer-events: none;
            z-index: 1000;
            opacity: 0.5;
        }
        
        /* Grain texture */
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
            pointer-events: none;
            z-index: 999;
            animation: grain 0.5s steps(3) infinite;
        }
        
        .container {
            position: relative;
            z-index: 1;
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 30px;
            min-height: 100vh;
        }
        
        .header {
            border-bottom: 3px solid #4a4a4a;
            padding-bottom: 20px;
            margin-bottom: 30px;
            position: relative;
        }
        
        .title-jp {
            font-family: 'Noto Sans JP', sans-serif;
            font-size: 48px;
            color: #ffffff;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
            letter-spacing: 2px;
        }
        
        .title-pt {
            font-size: 20px;
            color: #9e9e9e;
            font-weight: 400;
            letter-spacing: 1px;
        }
        
        .music-player {
            margin: 25px 0;
            padding: 15px 20px;
            background: rgba(30, 30, 30, 0.8);
            border: 2px solid #555;
            border-radius: 2px;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .music-player:hover {
            background: rgba(50, 50, 50, 0.9);
            border-color: #777;
        }
        
        .play-icon {
            color: #ff6b6b;
            font-size: 18px;
        }
        
        .music-text {
            color: #ff6b6b;
            font-size: 16px;
            font-weight: 600;
        }
        
        .story-container {
            background: rgba(20, 20, 20, 0.6);
            padding: 30px;
            border: 1px solid #3a3a3a;
            margin-bottom: 25px;
            position: relative;
        }
        
        .story-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #555, transparent);
        }
        
        .narration-box {
            background: linear-gradient(135deg, rgba(49, 49, 49, 0.95) 0%, rgba(32, 32, 32, 0.95) 100%);
            border: 3px solid #6e2525;;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 
                0 0 30px #491a1a;
            inset 0 0 20px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        .narration-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                transparent,
                transparent 2px,
                rgba(74, 144, 226, 0.02) 2px,
                rgba(74, 144, 226, 0.02) 4px
            );
            pointer-events: none;
        }
        
        .timestamp {
            position: absolute;
            top: -15px;
            right: 20px;
            background: #6e2525;
            color: #fff;
            padding: 5px 15px;
            font-size: 14px;
            font-weight: bold;
            letter-spacing: 1px;
            box-shadow: 0 4px 12px #6e2525;;
        }
        
        .story-text {
            font-size: 17px;
            line-height: 1.9;
            color: #d4d4d4;
            margin-bottom: 20px;
            text-align: justify;
            text-indent: 30px;
            letter-spacing: 0.3px;
        }
        
        .story-text:first-of-type {
            margin-top: 25px;
        }
        
        .emphasis {
            font-style: italic;
            color: #b8b8b8;
        }
        
        .navigation {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 2px solid #3a3a3a;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .nav-button {
            padding: 12px 30px;
            background: rgba(40, 40, 40, 0.8);
            border: 2px solid #555;
            color: #d4d4d4;
            font-family: 'Courier Prime', monospace;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .nav-button:hover {
            background: rgba(60, 60, 60, 0.9);
            border-color: #888;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        }
        
        .nav-button.next {
            border-color: #ff6b6b;
            color: #ff6b6b;
        }
        
        .nav-button.next:hover {
            background: rgba(255, 107, 107, 0.1);
            border-color: #ff8888;
        }
        
        /* Efeito de vinheta sutil */
        .vignette {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            box-shadow: inset 0 0 300px rgba(0, 0, 0, 0.6);
            pointer-events: none;
            z-index: 998;
        }
        
        /* Animação de fade-in */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .story-container {
            animation: fadeIn 0.8s ease-out;
        }
        
        @keyframes grain {
            0%, 100% { transform: translate(0, 0); }
            10% { transform: translate(-5%, -5%); }
            20% { transform: translate(-10%, 5%); }
            30% { transform: translate(5%, -10%); }
            40% { transform: translate(-5%, 15%); }
            50% { transform: translate(-10%, 5%); }
            60% { transform: translate(15%, 0); }
            70% { transform: translate(0, 10%); }
            80% { transform: translate(-15%, 0); }
            90% { transform: translate(10%, 5%); }
        }
        
        /* Efeito de glitch ocasional */
        @keyframes glitch {
            0%, 90% {
                transform: translate(0);
            }
            92% {
                transform: translate(-2px, 0);
            }
            94% {
                transform: translate(2px, 0);
            }
            96% {
                transform: translate(0);
            }
        }
        
        .glitch-text {
            animation: glitch 5s infinite;
        }
        
        /* Indicator de leitura */
        .reading-indicator {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 13px;
            color: #666;
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 1001;
        }
        
        .pulse {
            width: 8px;
            height: 8px;
            background: #ff6b6b;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }
        
        /* Scrollbar customizada */
        ::-webkit-scrollbar {
            width: 10px;
        }
        
        ::-webkit-scrollbar-track {
            background: #1a1a1a;
        }
        
        ::-webkit-scrollbar-thumb {
            background: #444;
            border-radius: 5px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
        
        /* Botão de diálogo */
        .dialogue-trigger {
            margin: 30px 0;
            padding: 20px;
            background: rgba(30, 30, 30, 0.5);
            border-left: 4px solid #ff6b6b;
        }
        
        .dialogue-button {
            background: transparent;
            border: 2px solid #ff6b6b;
            color: #ff6b6b;
            padding: 12px 25px;
            font-family: 'Courier Prime', monospace;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
            letter-spacing: 1px;
        }
        
        .dialogue-button:hover {
            background: rgba(255, 107, 107, 0.1);
            border-color: #ff8888;
            transform: translateX(5px);
        }
        
        .arrow {
            font-size: 14px;
            transition: transform 0.3s;
        }
        
        .dialogue-button:hover .arrow {
            transform: translateX(3px);
        }
        
        /* Modal de Diálogo */
        .dialogue-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 2000;
            animation: fadeIn 0.3s ease-out;
        }
        
        .dialogue-modal.active {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .dialogue-content {
            background: #1a1a1a;
            border: 3px solid #444;
            max-width: 700px;
            width: 90%;
            padding: 30px;
            position: relative;
            animation: slideUp 0.4s ease-out;
        }
        
        @keyframes slideUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .close-dialogue {
            position: absolute;
            top: 15px;
            right: 15px;
            background: transparent;
            border: none;
            color: #888;
            font-size: 28px;
            cursor: pointer;
            transition: all 0.3s;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .close-dialogue:hover {
            color: #ff6b6b;
            transform: rotate(90deg);
        }
        
        .dialogue-header {
            border-bottom: 2px solid #444;
            padding-bottom: 15px;
            margin-bottom: 25px;
        }
        
        .dialogue-header h2 {
            font-family: 'Noto Sans JP', sans-serif;
            font-size: 28px;
            color: #d4d4d4;
        }
        
        .dialogue-box {
            min-height: 250px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .dialogue-message {
            background: rgba(40, 40, 40, 0.6);
            padding: 20px;
            border-left: 4px solid #ff6b6b;
            margin-bottom: 25px;
        }
        
        .speaker {
            font-size: 18px;
            color: #ff6b6b;
            font-weight: 700;
            margin-bottom: 12px;
            font-family: 'Noto Sans JP', sans-serif;
        }
        
        .message-text {
            font-size: 16px;
            line-height: 1.8;
            color: #d4d4d4;
            font-family: 'Courier Prime', monospace;
            min-height: 60px;
        }
        
        .dialogue-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            border-top: 2px solid #333;
        }
        
        .dialogue-nav-btn {
            background: rgba(40, 40, 40, 0.8);
            border: 2px solid #555;
            color: #d4d4d4;
            padding: 10px 20px;
            font-family: 'Courier Prime', monospace;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .dialogue-nav-btn:hover:not(:disabled) {
            background: rgba(60, 60, 60, 0.9);
            border-color: #888;
        }
        
        .dialogue-nav-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        
        .dialogue-counter {
            color: #888;
            font-size: 14px;
            font-family: 'Courier Prime', monospace;
        }