/* ============================================
   SIMPLE MATRIX CINEMATIC EXPERIENCE
   ============================================ */

/* CSS Variables */
:root {
    --matrix-green: #00ff41;
    --matrix-dark-green: #003B00;
    --matrix-light-green: #00ff41;
    --matrix-bg: #000000;
    --font-mono: 'Courier New', 'Courier Prime', monospace;
    --glow-intensity: 0 0 5px var(--matrix-green), 0 0 10px var(--matrix-green);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-mono);
    background-color: var(--matrix-bg);
    color: var(--matrix-green);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    scroll-behavior: smooth;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 5;
    animation: gridPulse 10s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* CRT Monitor Effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.15) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0.97; }
    50% { opacity: 0.99; }
    100% { opacity: 0.97; }
}

body.loading {
    cursor: none;
}

/* ============================================
   SYSTEM NOTIFICATION
   ============================================ */

.system-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0, 0, 0, 0.98);
    border: 3px solid var(--matrix-green);
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 0 60px rgba(0, 255, 65, 0.6);
    z-index: 10000;
    text-align: center;
    min-width: 400px;
    font-family: 'Courier Prime', monospace;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.system-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.notification-title {
    color: var(--matrix-green);
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px var(--matrix-green);
    animation: pulse-glow 1.5s infinite;
    letter-spacing: 3px;
}

.notification-desc {
    color: rgba(0, 255, 65, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ============================================
   SYSTEM STATS DISPLAY (REMOVED - keeping old styles below for compatibility)
   ============================================ */

.system-stats {
    display: none;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    color: var(--matrix-green);
    font-family: var(--font-mono);
    min-width: 70px;
    text-shadow: 0 0 5px var(--matrix-green);
}

.stat-value {
    color: var(--matrix-green);
    font-family: var(--font-mono);
    text-shadow: 0 0 5px var(--matrix-green);
}

.stat-bar {
    flex: 1;
    height: 8px;
    background: rgba(0, 59, 0, 0.5);
    border: 1px solid var(--matrix-dark-green);
    position: relative;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--matrix-dark-green), var(--matrix-green));
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--matrix-green);
}

.status-online {
    color: var(--matrix-green);
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   MOUSE PARTICLE TRAIL
   ============================================ */

/* ============================================
   ENHANCED MATRIX PARTICLE TRAIL EFFECTS
   ============================================ */

.particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* Matrix Character Particles */
.particle-char {
    color: var(--matrix-green);
    font-size: 16px;
    text-shadow: 
        0 0 5px var(--matrix-green),
        0 0 10px var(--matrix-green),
        0 0 15px rgba(0, 255, 65, 0.8);
    animation: matrixCharFall 1.8s ease-out forwards;
}

.particle-char-trail {
    color: var(--matrix-green);
    font-size: 12px;
    opacity: 0.7;
    text-shadow: 
        0 0 3px var(--matrix-green),
        0 0 8px rgba(0, 255, 65, 0.6);
    animation: matrixCharFall 1.8s ease-out forwards;
}

/* Glowing Dot Particles */
.particle-glow {
    width: 6px;
    height: 6px;
    background: var(--matrix-green);
    border-radius: 50%;
    box-shadow: 
        0 0 10px var(--matrix-green),
        0 0 20px var(--matrix-green),
        0 0 30px rgba(0, 255, 65, 0.5);
    animation: matrixGlowFall 1.8s ease-out forwards;
}

.particle-glow-trail {
    width: 4px;
    height: 4px;
    background: var(--matrix-green);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 
        0 0 8px var(--matrix-green),
        0 0 15px rgba(0, 255, 65, 0.4);
    animation: matrixGlowFall 1.8s ease-out forwards;
}

/* Matrix Rain-like Fall Animation */
@keyframes matrixCharFall {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(var(--fall, 30px)) translateX(var(--drift, 0));
    }
}

@keyframes matrixGlowFall {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translateY(calc(var(--fall, 30px) * 0.5)) translateX(calc(var(--drift, 0) * 0.5)) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(var(--fall, 30px)) translateX(var(--drift, 0)) scale(0.5);
    }
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(var(--vx, 0), var(--vy, 0)) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(calc(var(--vx, 0) * 1.5), calc(var(--vy, 0) * 1.5)) scale(0);
    }
}

@keyframes particleFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Matrix Canvas Background - Hidden for pure black */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    display: none;
}

/* Scanlines Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
}

/* Hidden State */
.hidden {
    display: none !important;
}

/* ============================================
   CINEMATIC INTRO SEQUENCE
   ============================================ */

.cinematic-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--matrix-bg);
    opacity: 1;
    transition: opacity 1s ease-out;
}

.cinematic-sequence.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.story-container {
    position: relative;
    z-index: 50;
    max-width: 800px;
    padding: 40px;
    text-align: left;
}

.story-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--matrix-green);
    text-shadow: var(--glow-intensity);
    white-space: pre-wrap;
    word-wrap: break-word;
    letter-spacing: 1px;
    animation: hologramFlicker 3s ease-in-out infinite;
}

/* Glitch effect on certain characters */
.glitch {
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); opacity: 1; }
    25% { transform: translate(-2px, 2px); opacity: 0.8; }
    50% { transform: translate(2px, -2px); opacity: 0.9; }
    75% { transform: translate(-2px, -2px); opacity: 0.8; }
}

/* Text reveal animation */
@keyframes textReveal {
    0% { 
        opacity: 0; 
        transform: translateY(10px);
        filter: blur(5px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Fade in from sides */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Matrix-style data stream effect */
@keyframes dataStream {
    0% {
        opacity: 0;
        transform: translateY(-20px) scaleY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
        transform: translateY(0) scaleY(1);
    }
}

/* Hologram flicker */
@keyframes hologramFlicker {
    0%, 100% { 
        opacity: 1;
        text-shadow: var(--glow-intensity);
    }
    50% { 
        opacity: 0.95;
        text-shadow: 0 0 3px var(--matrix-green);
    }
}

.cursor-blink {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--matrix-green);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
    text-shadow: var(--glow-intensity);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.skip-hint {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 60;
    font-size: 0.9rem;
    color: var(--matrix-green);
    opacity: 0.5;
    text-shadow: 0 0 10px var(--matrix-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Character scramble effect */
.scramble {
    animation: scramble 0.5s linear;
}

@keyframes scramble {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ============================================
   MAIN CONTENT
   ============================================ */

#main-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 40px;
    opacity: 0;
    transition: opacity 1.5s ease-in;
}

#main-content.visible {
    opacity: 1;
}

.story-content {
    max-width: 900px;
    padding: 60px 40px;
    text-align: left;
    margin-bottom: 60px;
    width: 100%;
}

.story-text-main {
    font-size: 1.8rem;
    line-height: 2;
    color: var(--matrix-green);
    text-shadow: var(--glow-intensity);
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 20px;
    letter-spacing: 1px;
    min-height: 50px;
    animation: hologramFlicker 3s ease-in-out infinite;
}

.cursor-block {
    display: inline-block;
    font-size: 1.8rem;
    color: var(--matrix-green);
    animation: blink 1s step-end infinite;
    margin-left: 3px;
    text-shadow: var(--glow-intensity);
}

/* ============================================
   INTERACTIVE PROMPT SYSTEM
   ============================================ */

.prompt-container {
    max-width: 900px;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
    animation: dataStream 0.6s ease-out forwards;
}

.prompt-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.prompt-question {
    font-size: 1.6rem;
    color: var(--matrix-green);
    text-shadow: var(--glow-intensity);
    margin-bottom: 30px;
    letter-spacing: 1px;
    animation: fadeInLeft 0.6s ease-out;
}

.prompt-options {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    animation: fadeInRight 0.8s ease-out;
}

.prompt-option {
    font-size: 1.4rem;
    color: var(--matrix-green);
    opacity: 0.4;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 1px solid transparent;
    cursor: pointer;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.prompt-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.3), transparent);
    transition: left 0.5s ease;
}

.prompt-option:hover::before {
    left: 100%;
}

.prompt-option:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

.prompt-option.selected {
    opacity: 1;
    border: 1px solid var(--matrix-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    text-shadow: 0 0 15px var(--matrix-green);
    animation: pulse-glow 1.5s ease-in-out infinite;
    background: rgba(0, 255, 65, 0.05);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.5); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 65, 0.8); }
}

.prompt-hint {
    font-size: 1rem;
    color: var(--matrix-green);
    opacity: 0.5;
    margin-top: 20px;
    letter-spacing: 1px;
}

.prompt-input-line {
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    margin-top: 30px;
}

.prompt-container.visible .prompt-input-line {
    display: flex;
}

.prompt-prefix {
    color: var(--matrix-green);
    text-shadow: var(--glow-intensity);
}

.prompt-user-input {
    color: var(--matrix-light-green);
    text-shadow: var(--glow-intensity);
    font-weight: bold;
}

/* Red Pill / Blue Pill Effect */
.pill-choice {
    display: flex;
    gap: 60px;
    margin: 40px 0;
}

.pill {
    position: relative;
    padding: 20px 40px;
    font-size: 1.5rem;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.pill.red {
    border-color: #ff0000;
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000;
}

.pill.blue {
    border-color: #0080ff;
    color: #0080ff;
    text-shadow: 0 0 10px #0080ff;
}

.pill:hover {
    transform: scale(1.1);
}

.pill.red:hover {
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.8);
    background: rgba(255, 0, 0, 0.1);
}

.pill.blue:hover {
    box-shadow: 0 0 40px rgba(0, 128, 255, 0.8);
    background: rgba(0, 128, 255, 0.1);
}

/* Wake up Neo sequence */
.wake-up-text {
    font-size: 2.5rem;
    text-align: center;
    color: var(--matrix-green);
    text-shadow: 0 0 20px var(--matrix-green);
    animation: wake-up-pulse 2s ease-in-out;
    letter-spacing: 3px;
}

@keyframes wake-up-pulse {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ============================================
   SOCIAL LINKS
   ============================================ */

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    width: 100%;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.social-links.visible {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background-color: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--matrix-dark-green);
    color: var(--matrix-green);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInLeft 0.6s ease-out backwards;
}

.social-link:nth-child(1) { animation-delay: 0.1s; }
.social-link:nth-child(2) { animation-delay: 0.2s; }
.social-link:nth-child(3) { animation-delay: 0.3s; }
.social-link:nth-child(4) { animation-delay: 0.4s; }
.social-link:nth-child(5) { animation-delay: 0.5s; }
.social-link:nth-child(6) { animation-delay: 0.6s; }

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 65, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background-color: rgba(0, 255, 65, 0.15);
    border-color: var(--matrix-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    transform: translateX(10px) scale(1.02);
}

.social-link .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-link:hover .arrow {
    transform: translateX(5px);
    animation: pulse 0.5s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .story-container {
        padding: 30px 20px;
    }
    
    .story-text {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .cursor-blink {
        font-size: 1.2rem;
    }
    
    .skip-hint {
        bottom: 20px;
        right: 20px;
        font-size: 0.8rem;
    }
    
    .story-content {
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    
    .story-text-main {
        font-size: 1.3rem;
        line-height: 1.8;
    }
    
    .cursor-block {
        font-size: 1.3rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 20px;
    }
    
    .social-link {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .story-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .story-text-main {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .social-link {
        font-size: 0.9rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
.social-link:focus {
    outline: 2px solid var(--matrix-green);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .social-link {
        border-width: 2px;
    }
    
    .story-text,
    .story-text-main {
        text-shadow: none;
        font-weight: 700;
    }
}

/* ============================================
   POWER LEVEL SYSTEM
   ============================================ */

.power-level {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--matrix-green);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    z-index: 1000;
    font-family: 'Courier Prime', monospace;
    min-width: 200px;
}

.power-label {
    color: var(--matrix-green);
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--matrix-green);
}

.power-bar-container {
    width: 100%;
    height: 20px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--matrix-green);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.power-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 255, 65, 0.6),
        rgba(0, 255, 65, 0.9));
    width: 0%;
    transition: width 0.5s ease-out;
    box-shadow: 0 0 10px var(--matrix-green);
    position: relative;
}

.power-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent);
    animation: powerShine 2s infinite;
}

@keyframes powerShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.power-value {
    color: var(--matrix-green);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 5px;
    text-shadow: 0 0 5px var(--matrix-green);
}

/* ============================================
   ACHIEVEMENT NOTIFICATION
   ============================================ */

.achievement {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0, 0, 0, 0.95);
    border: 3px solid var(--matrix-green);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.5);
    z-index: 10000;
    text-align: center;
    min-width: 300px;
    font-family: 'Courier Prime', monospace;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.achievement.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.achievement-title {
    color: var(--matrix-green);
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px var(--matrix-green);
    animation: pulse-glow 1s infinite;
}

.achievement-desc {
    color: rgba(0, 255, 65, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================
   DIVINE CROSS SYMBOL
   ============================================ */

.divine-cross {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 80px;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    animation: divinePulse 4s ease-in-out infinite;
}

.cross-vertical {
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent,
        var(--matrix-green) 20%,
        var(--matrix-green) 80%,
        transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--matrix-green);
}

.cross-horizontal {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent,
        var(--matrix-green) 20%,
        var(--matrix-green) 80%,
        transparent);
    box-shadow: 0 0 15px var(--matrix-green);
}

.cross-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.2), transparent);
    animation: crossGlowPulse 3s ease-in-out infinite;
}

@keyframes divinePulse {
    0%, 100% { 
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.25;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes crossGlowPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

/* ============================================
   SCRIPTURE VERSE
   ============================================ */

.scripture-verse {
    position: fixed;
    bottom: 30px;
    right: 30px;
    color: var(--matrix-green);
    font-size: 0.85rem;
    opacity: 0.5;
    text-shadow: 0 0 10px var(--matrix-green);
    font-family: 'Courier Prime', monospace;
    font-style: italic;
    z-index: 100;
    pointer-events: none;
    animation: verseFade 6s ease-in-out infinite;
    max-width: 300px;
    text-align: right;
    line-height: 1.5;
}

@keyframes verseFade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ============================================
   DYNAMIC MATRIX RAIN CANVAS
   ============================================ */

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

/* ============================================
   MINI-GAME STYLES
   ============================================ */

.mini-game {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Courier Prime', monospace;
}

.mini-game.hidden {
    display: none;
}

.game-title {
    color: var(--matrix-green);
    font-size: 3rem;
    text-shadow: 0 0 30px var(--matrix-green);
    margin-bottom: 20px;
    animation: pulse-glow 2s infinite;
    letter-spacing: 5px;
}

.game-instructions {
    color: rgba(0, 255, 65, 0.8);
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.8;
}

#game-canvas {
    border: 3px solid var(--matrix-green);
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.5);
    background: #000;
}

.game-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    font-size: 1.2rem;
}

.game-score, .game-lives, .game-bullet-time {
    color: var(--matrix-green);
    text-shadow: 0 0 10px var(--matrix-green);
}

#bullet-time-bar {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

/* ============================================
   THEME MODES (Red Pill / Blue Pill)
   ============================================ */

/* Blue Pill Mode */
body.blue-pill-mode {
    --matrix-green: #0099ff;
}

body.blue-pill-mode .particle {
    background: #0099ff;
    box-shadow: 0 0 10px #0099ff;
}

/* Red Pill Mode */
body.red-pill-mode {
    --matrix-green: #ff0055;
}

body.red-pill-mode .particle {
    background: #ff0055;
    box-shadow: 0 0 10px #ff0055;
}

/* Bullet-time effect */
body.bullet-time {
    animation: bullet-time-pulse 0.5s ease-in-out;
}

@keyframes bullet-time-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5) saturate(1.5); }
}
