        body {
            font-family: 'Inter', sans-serif;
            background-color: #111111;
        }

        /* Forensic Data Typography */
        .data-mono {
            font-family: 'Roboto Mono', monospace;
            letter-spacing: 0.05em;
        }

        .stat-death {
            font-family: 'Roboto Mono', monospace;
            color: #dc2626;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .stat-date {
            font-family: 'Roboto Mono', monospace;
            color: #9ca3af;
            font-size: 0.875rem;
            letter-spacing: 0.1em;
        }

        .stat-survivors {
            font-family: 'Roboto Mono', monospace;
            color: #22c55e;
            font-weight: 700;
            letter-spacing: 0.05em;
        }

        /* SVG Icon Styling */
        .disaster-icon {
            width: 48px;
            height: 48px;
            color: #dddddd;
            margin-bottom: 1rem;
            opacity: 0.85;
            transition: all 0.3s ease;
        }

        .disaster-card:hover .disaster-icon {
            color: #ffffff;
            opacity: 1;
            transform: scale(1.1);
        }

        .calculator-icon {
            width: 64px;
            height: 64px;
            color: #dddddd;
            margin-bottom: 1rem;
        }

        /* Hover Mortality Overlay */
        .mortality-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: 1rem;
            z-index: 10;
        }

        .disaster-card:hover .mortality-overlay {
            opacity: 1;
        }

        .mortality-rate {
            font-family: 'Roboto Mono', monospace;
            font-size: 3rem;
            font-weight: 700;
            color: #dc2626;
            text-shadow: 0 0 20px rgba(220, 38, 38, 0.8), 0 0 40px rgba(220, 38, 38, 0.5);
            animation: neonPulse 1.5s ease-in-out infinite alternate;
        }

        .mortality-label {
            font-family: 'Roboto Mono', monospace;
            font-size: 0.875rem;
            color: #9ca3af;
            letter-spacing: 0.2em;
            margin-bottom: 0.5rem;
        }

        .mortality-challenge {
            font-size: 1rem;
            color: #ffffff;
            margin-top: 1rem;
            opacity: 0.9;
        }

        @keyframes neonPulse {
            from {
                text-shadow: 0 0 20px rgba(220, 38, 38, 0.8), 0 0 40px rgba(220, 38, 38, 0.5);
            }

            to {
                text-shadow: 0 0 30px rgba(220, 38, 38, 1), 0 0 60px rgba(220, 38, 38, 0.7), 0 0 80px rgba(220, 38, 38, 0.4);
            }
        }

        /* Counter Animation */
        .count-up {
            display: inline-block;
        }



        .survival-bar,
        .radiation-bar {
            transition: width 2s cubic-bezier(0.4, 0, 0.2, 1), background-color 1.5s ease;
        }

        .fade-in {
            animation: fadeIn 1s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

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

        .pulse-slow {
            animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.6;
            }
        }

        .glow {
            text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
        }

        .input-dark {
            background-color: #1a1a1a;
            border: 2px solid #2a2a2a;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .input-dark:focus {
            outline: none;
            border-color: #dc2626;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
        }

        .btn-calculate {
            background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
            transition: all 0.3s ease;
        }

        .btn-calculate:hover {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
        }

        .survival-container {
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
        }

        .verdict-survived {
            color: #22c55e;
            text-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
            animation: pulse 2s ease-in-out infinite;
        }

        .verdict-dead {
            color: #dc2626;
            text-shadow: 0 0 30px rgba(220, 38, 38, 0.8);
            animation: pulse 2s ease-in-out infinite;
        }

        .btn-share {
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            transition: all 0.3s ease;
        }

        .btn-share:hover {
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
        }

        .disaster-card {
            background-size: cover;
            background-position: center;
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .disaster-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
            transition: background 0.3s ease;
        }

        .disaster-card:hover {
            transform: scale(1.05);
            box-shadow: 0 20px 40px rgba(220, 38, 38, 0.4);
        }

        .disaster-card:hover::before {
            background: linear-gradient(135deg, rgba(220, 38, 38, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
        }

        .disaster-card-content {
            position: relative;
            z-index: 10;
        }

        .screen {
            display: none;
        }

        .screen.active {
            display: block;
        }

        /* Donation Button */
        /* Minimalist Floating Donation Button (Monochrome Heart) */
        /* THEMATIC SKINS */
        .btn-donate-floating {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 40px;
            height: 40px;
            background: rgba(20, 20, 20, 0.8);
            border: 1px solid #333;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            transition: all 0.3s ease;
            z-index: 50;
            backdrop-filter: blur(4px);
        }

        .btn-donate-floating:hover {
            color: #fff;
            border-color: #666;
            transform: scale(1.1);
            background: rgba(30, 30, 30, 0.9);
        }

        .donate-icon-floating {
            width: 18px;
            height: 18px;
        }


        /* Common Skin Forensics */
        .skin-titanic,
        .skin-chernobyl,
        .skin-pompeya,
        .skin-sampoong,
        .skin-zombie {
            color: #ddd;
            font-family: 'Roboto Mono', monospace;
        }

        .skin-titanic h1,
        .skin-chernobyl h1,
        .skin-pompeya h1,
        .skin-sampoong h1,
        .skin-zombie h1 {
            font-family: 'Roboto Mono', monospace;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: -0.05em;
        }

        /* 1. Titanic - Forensic/Blueprint Dark */
        .skin-titanic {
            background-color: #111;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
        }

        .skin-titanic h1 {
            color: #fff;
        }

        .skin-titanic h2 {
            color: #dc2626;
        }

        .skin-titanic button,
        .skin-titanic select,
        .skin-titanic input {
            background: rgba(0, 0, 0, 0.5) !important;
            border: 1px solid #dc2626 !important;
            color: #eee !important;
            font-family: 'Roboto Mono', monospace !important;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: none !important;
            padding: 12px !important;
        }

        .skin-titanic button:hover,
        .skin-titanic button.active {
            background: rgba(220, 38, 38, 0.2) !important;
            border-color: #ef4444 !important;
            color: #fff !important;
            box-shadow: 0 0 15px rgba(220, 38, 38, 0.2) !important;
        }

        .skin-titanic .btn-calculate {
            background: rgba(220, 38, 38, 0.1) !important;
            border: 1px solid #dc2626 !important;
            color: #dc2626 !important;
        }

        .skin-titanic .btn-calculate:hover {
            background: #dc2626 !important;
            color: #fff !important;
        }

        /* 2. Chernobyl - Soviet Console */
        .skin-chernobyl {
            background-color: #1a1a1a;
            border: 1px solid #333;
        }

        .skin-chernobyl h1 {
            color: #eab308;
            text-shadow: 0 0 10px rgba(234, 179, 8, 0.3);
        }

        .skin-chernobyl button,
        .skin-chernobyl select {
            background: rgba(0, 0, 0, 0.6) !important;
            border: 1px solid #666 !important;
            color: #eab308 !important;
            /* Amber/Yellow text */
            font-family: 'Share Tech Mono', monospace !important;
            border-radius: 0;
            padding: 12px !important;
        }

        .skin-chernobyl button:hover {
            border-color: #eab308 !important;
            background: rgba(234, 179, 8, 0.1) !important;
            box-shadow: 0 0 8px rgba(234, 179, 8, 0.2) !important;
        }

        .skin-chernobyl .btn-calculate {
            background: transparent !important;
            border: 1px solid #eab308 !important;
            color: #eab308 !important;
        }

        /* 3. Pompeya - Dark Stone */
        .skin-pompeya {
            background-color: #1c1c1c;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
        }

        .skin-pompeya h1 {
            color: #d1d5db;
        }

        .skin-pompeya h2 {
            color: #f97316;
        }

        .skin-pompeya button,
        .skin-pompeya select {
            background: rgba(0, 0, 0, 0.4) !important;
            border: 1px solid #444 !important;
            /* Subtle stone border */
            color: #ccc !important;
            font-family: 'Roboto Mono', monospace !important;
            border-radius: 2px;
            box-shadow: none !important;
            padding: 12px !important;
        }

        .skin-pompeya button:hover,
        .skin-pompeya button.active {
            border-color: #f97316 !important;
            color: #f97316 !important;
            background: rgba(249, 115, 22, 0.1) !important;
        }

        .skin-pompeya .btn-calculate {
            border: 1px solid #f97316 !important;
            color: #f97316 !important;
            background: transparent !important;
        }

        /* 4. Sampoong - Deep Blueprint */
        .skin-sampoong {
            background-color: #0a1929;
            /* Dark Navy Black */
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
            background-size: 40px 40px;
        }

        .skin-sampoong h1,
        .skin-sampoong h2 {
            color: #fff;
        }

        .skin-sampoong button,
        .skin-sampoong select {
            background: transparent !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
            color: #fff !important;
            font-family: 'Roboto Mono', monospace !important;
            padding: 12px !important;
        }

        .skin-sampoong button:hover,
        .skin-sampoong .border-red-600 {
            border-color: #fff !important;
            background: rgba(255, 255, 255, 0.1) !important;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.1) !important;
        }

        .skin-sampoong .btn-calculate {
            border: 1px solid #fff !important;
            color: #fff !important;
        }

        /* 5. Zombie - Night Vision HUD */
        .skin-zombie {
            background-color: #050505;
            color: #22c55e;
        }

        .skin-zombie::before {
            opacity: 0.15;
            /* Reduced noise */
        }

        .skin-zombie h1,
        .skin-zombie h2 {
            color: #22c55e;
            text-shadow: 0 0 5px rgba(34, 197, 94, 0.5);
        }

        .skin-zombie button,
        .skin-zombie select {
            background: rgba(0, 20, 0, 0.4) !important;
            border: 1px solid #22c55e !important;
            color: #22c55e !important;
            font-family: 'Roboto Mono', monospace !important;
            clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
            border-radius: 0;
            padding: 12px !important;
        }

        .skin-zombie button:hover {
            background: rgba(34, 197, 94, 0.2) !important;
            box-shadow: 0 0 10px rgba(34, 197, 94, 0.4) !important;
            color: #fff !important;
        }

        .skin-zombie h1,
        .skin-zombie h2 {
            color: #0f0;
            text-shadow: 0 0 5px #0f0;
        }

        .skin-titanic h1,
        .skin-titanic h2,
        .skin-titanic h3 {
            font-family: 'Playfair Display', serif;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #2c1810;
            text-shadow: none;
        }

        .skin-titanic .input-dark,
        .skin-titanic button {
            background: transparent;
            border: 2px solid #2c1810;
            color: #2c1810;
            border-radius: 2px;
            font-family: 'Courier Prime', monospace;
            box-shadow: none;
        }

        .skin-titanic button:hover,
        .skin-titanic .input-dark:focus {
            background: rgba(44, 24, 16, 0.05);
            border-color: #8b0000;
            color: #8b0000;
        }

        .skin-titanic .btn-calculate {
            background: #2c1810;
            color: #fdfbf7;
            border: none;
        }

        .skin-titanic .btn-calculate:hover {
            background: #4a2c20;
            color: #fff;
        }

        /* 2. Chernobyl - Soviet Control Panel */
        .skin-chernobyl {
            background-color: #2a2a2a;
            background-image:
                linear-gradient(rgba(0, 255, 0, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 0, 0.03) 1px, transparent 1px);
            background-size: 20px 20px;
            color: #33ff00;
            font-family: 'Share Tech Mono', monospace;
            border: 4px solid #444;
            box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
        }

        .skin-chernobyl h1 {
            color: #eab308;
            text-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
            font-family: 'Share Tech Mono', monospace;
        }

        .skin-chernobyl button,
        .skin-chernobyl select {
            background: #111;
            border: 2px solid #555;
            border-bottom-width: 4px;
            border-right-width: 4px;
            color: #33ff00;
            border-radius: 0;
            text-shadow: 0 0 5px rgba(51, 255, 0, 0.5);
            font-family: 'Share Tech Mono', monospace;
        }

        .skin-chernobyl button:active {
            border-bottom-width: 2px;
            border-right-width: 2px;
            transform: translate(2px, 2px);
        }

        .skin-chernobyl .btn-calculate {
            background: #333;
            color: #eab308;
            border-color: #eab308;
            text-shadow: 0 0 8px #eab308;
        }

        /* 3. Pompeya - Stone Carving */
        .skin-pompeya {
            background-color: #2d2d2d;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
            color: #ccc;
            font-family: 'Cinzel', serif;
            border: none;
        }

        .skin-pompeya h1,
        .skin-pompeya h2 {
            font-family: 'Cinzel', serif;
            color: #d1d5db;
            /* Stone gray */
            text-shadow: 2px 2px 0px #000;
        }

        .skin-pompeya button,
        .skin-pompeya select {
            background: #3a3a3a;
            border: none;
            box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.5), inset -1px -1px 2px rgba(255, 255, 255, 0.1);
            color: #999;
            border-radius: 4px;
            font-family: 'Cinzel', serif;
        }

        .skin-pompeya button.active,
        .skin-pompeya button:hover {
            color: #f97316;
            /* Lava orange */
            text-shadow: 0 0 10px rgba(249, 115, 22, 0.6);
            box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        .skin-pompeya .btn-calculate {
            background: linear-gradient(to bottom, #444, #222);
            color: #f97316;
            border: 1px solid #555;
            box-shadow: 0 4px 0 #111;
        }

        /* 4. Sampoong - Blueprint */
        .skin-sampoong {
            background-color: #002147;
            /* Blueprint Blue */
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
            background-size: 40px 40px;
            color: #fff;
            font-family: 'Courier Prime', monospace;
        }

        .skin-sampoong h1,
        .skin-sampoong h2,
        .skin-sampoong label {
            font-family: 'Courier Prime', monospace;
            color: #fff;
            text-transform: uppercase;
        }

        .skin-sampoong button,
        .skin-sampoong select {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.6);
            color: #fff;
            border-radius: 0;
        }

        .skin-sampoong button:hover,
        .skin-sampoong .border-red-600 {
            background: rgba(255, 255, 255, 0.1);
            border-width: 2px;
            border-color: #fff;
        }

        .skin-sampoong .btn-calculate {
            border: 2px solid #fff;
            background: transparent;
        }

        .skin-sampoong .btn-calculate:hover {
            background: #fff;
            color: #002147;
        }

        /* 5. Zombie - Military HUD */
        .skin-zombie {
            background-color: #000;
            color: #0f0;
            font-family: 'Black Ops One', cursive;
            position: relative;
            overflow: hidden;
        }

        .skin-zombie::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 1px, transparent 1px, transparent 2px);
            pointer-events: none;
            opacity: 0.3;
        }

        .skin-zombie button,
        .skin-zombie select {
            background: rgba(0, 20, 0, 0.8);
            border: 1px solid #0f0;
            color: #0f0;
            font-family: 'Share Tech Mono', monospace;
            clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
            border-radius: 0;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .skin-zombie button:hover {
            background: #0f0;
            color: #000;
            box-shadow: 0 0 15px #0f0;
        }

        .skin-zombie h1,
        .skin-zombie h2 {
            color: #0f0;
            text-shadow: 0 0 5px #0f0;
        }

        .btn-donate:active {
            transform: translateY(-1px) scale(1.02);
        }

        /* Mobile adjustments */
        @media (max-width: 768px) {
            .btn-donate {
                bottom: 80px;
                /* Move up to avoid overlapping calculate button */
                right: 15px;
                padding: 12px 20px;
                font-size: 14px;
            }
        }

        /* Footer */
        .footer {
            background: #0a0a0a;
            border-top: 1px solid #2a2a2a;
            padding: 30px 20px;
            margin-top: 60px;
            text-align: center;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 15px;
        }

        .footer-link {
            color: #9ca3af;
            font-size: 14px;
            text-decoration: none;
            transition: color 0.3s ease;
            cursor: pointer;
        }

        .footer-link:hover {
            color: #fff;
        }

        .footer-copyright {
            color: #6b7280;
            font-size: 13px;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
            padding: 40px;
            border-radius: 16px;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
            border: 2px solid #2a2a2a;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            font-weight: bold;
            color: #9ca3af;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .modal-close:hover {
            color: #fff;
        }

        /* SEO Text */
        .seo-context {
            background: rgba(26, 26, 26, 0.5);
            border-left: 3px solid #4b5563;
            padding: 20px;
            margin-top: 30px;
            border-radius: 8px;
        }

        .seo-context h3 {
            color: #9ca3af;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

        .seo-context p {
            color: #d1d5db;
            font-size: 14px;
            line-height: 1.7;
        }

        /* THEMATIC SKINS - GHOST WIREFRAME (HACKING TERMINAL STYLE) - APPLIED AT END TO OVERRIDE */

        /* Common Skin Forensics */
        .skin-titanic,
        .skin-chernobyl,
        .skin-pompeya,
        .skin-sampoong,
        .skin-zombie {
            color: #ddd !important;
            font-family: 'Roboto Mono', monospace !important;
        }

        .skin-titanic h1,
        .skin-chernobyl h1,
        .skin-pompeya h1,
        .skin-sampoong h1,
        .skin-zombie h1 {
            font-family: 'Roboto Mono', monospace !important;
            font-weight: 700 !important;
            text-transform: uppercase !important;
            letter-spacing: -0.05em !important;
        }

        /* Shared Ghost Button Styles */
        .skin-titanic button,
        .skin-titanic select,
        .skin-titanic input,
        .skin-chernobyl button,
        .skin-chernobyl select,
        .skin-chernobyl input,
        .skin-pompeya button,
        .skin-pompeya select,
        .skin-pompeya input,
        .skin-sampoong button,
        .skin-sampoong select,
        .skin-sampoong input,
        .skin-zombie button,
        .skin-zombie select,
        .skin-zombie input {
            background: rgba(0, 0, 0, 0.2) !important;
            background-color: rgba(0, 0, 0, 0.2) !important;
            border-width: 1px !important;
            border-style: solid !important;
            border-radius: 2px !important;
            font-family: 'Roboto Mono', monospace !important;
            font-weight: 400 !important;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 8px 16px !important;
            box-shadow: none !important;
            backdrop-filter: blur(2px) !important;
            transition: all 0.2s ease !important;
        }

        /* 1. Titanic - Red Wireframe */
        .skin-titanic {
            background-color: #111 !important;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) !important;
            background-size: 50px 50px !important;
            border: none !important;
        }

        .skin-titanic h1 {
            color: #fff !important;
        }

        .skin-titanic h2 {
            color: #dc2626 !important;
        }

        .skin-titanic button,
        .skin-titanic select,
        .skin-titanic input {
            border-color: #dc2626 !important;
            color: #eee !important;
        }

        .skin-titanic button:hover,
        .skin-titanic button.active,
        .skin-titanic .input-dark:focus {
            background: rgba(220, 38, 38, 0.15) !important;
            border-color: #ef4444 !important;
            color: #fff !important;
            box-shadow: 0 0 10px rgba(220, 38, 38, 0.1) !important;
        }

        .skin-titanic .btn-calculate {
            background: rgba(220, 38, 38, 0.1) !important;
            color: #ef4444 !important;
            font-weight: 700 !important;
        }

        .skin-titanic .btn-calculate:hover {
            background: rgba(220, 38, 38, 0.3) !important;
            color: #fff !important;
        }

        /* 2. Chernobyl - Amber Wireframe */
        .skin-chernobyl {
            background-color: #161616 !important;
            border: 1px solid #333 !important;
        }

        .skin-chernobyl h1 {
            color: #eab308 !important;
            text-shadow: 0 0 10px rgba(234, 179, 8, 0.3) !important;
        }

        .skin-chernobyl button,
        .skin-chernobyl select {
            border-color: #eab308 !important;
            /* Amber border */
            color: #eab308 !important;
        }

        .skin-chernobyl button:hover,
        .skin-chernobyl button.active {
            background: rgba(234, 179, 8, 0.15) !important;
            box-shadow: 0 0 10px rgba(234, 179, 8, 0.2) !important;
        }

        .skin-chernobyl .btn-calculate {
            color: #fbbf24 !important;
            font-weight: 700 !important;
        }

        /* 3. Pompeya - Orange Stone Wireframe */
        .skin-pompeya {
            background-color: #1c1c1c !important;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E") !important;
        }

        .skin-pompeya h1 {
            color: #d1d5db !important;
        }

        .skin-pompeya h2 {
            color: #f97316 !important;
        }

        .skin-pompeya button,
        .skin-pompeya select {
            border-color: #78350f !important;
            /* Dark orange/brown border initially subtle */
            color: #ccc !important;
        }

        .skin-pompeya button:hover,
        .skin-pompeya button.active {
            border-color: #f97316 !important;
            color: #f97316 !important;
            background: rgba(249, 115, 22, 0.15) !important;
        }

        .skin-pompeya .btn-calculate {
            border-color: #f97316 !important;
            color: #f97316 !important;
        }

        /* 4. Sampoong - Deep Navy Blueprint */
        .skin-sampoong {
            background-color: #050a14 !important;
            /* Extremely Dark Navy */
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
            background-size: 40px 40px !important;
        }

        .skin-sampoong h1,
        .skin-sampoong h2 {
            color: #fff !important;
        }

        .skin-sampoong button,
        .skin-sampoong select {
            border-color: rgba(255, 255, 255, 0.3) !important;
            color: #a5b4fc !important;
            /* Light blue tech text */
        }

        .skin-sampoong button:hover,
        .skin-sampoong .border-red-600 {
            border-color: #fff !important;
            background: rgba(255, 255, 255, 0.1) !important;
            color: #fff !important;
            box-shadow: 0 0 10px rgba(165, 180, 252, 0.2) !important;
        }

        .skin-sampoong .btn-calculate {
            border-color: #fff !important;
            color: #fff !important;
        }

        /* 5. Zombie - Green Night Vision HUD */
        .skin-zombie {
            background-color: #050505 !important;
            color: #22c55e !important;
        }

        .skin-zombie::before {
            opacity: 0.1 !important;
            /* Minimal noise */
        }

        .skin-zombie h1,
        .skin-zombie h2 {
            color: #22c55e !important;
            text-shadow: 0 0 5px rgba(34, 197, 94, 0.5) !important;
        }

        .skin-zombie button,
        .skin-zombie select {
            border-color: #15803d !important;
            /* Darker green border initially */
            color: #22c55e !important;
            clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
        }

        .skin-zombie button:hover {
            border-color: #22c55e !important;
            background: rgba(34, 197, 94, 0.15) !important;
            text-shadow: 0 0 5px rgba(34, 197, 94, 0.8) !important;
            color: #fff !important;
        }

        /* Fix for unreadable select options - Thematic Colors */
        select option {
            background-color: #111 !important;
        }

        .skin-titanic select option {
            color: #eee !important;
        }

        .skin-chernobyl select option {
            color: #eab308 !important;
        }

        .skin-pompeya select option {
            color: #f97316 !important;
        }

        .skin-sampoong select option {
            color: #a5b4fc !important;
        }

        .skin-zombie select option {
            color: #22c55e !important;
        }

        /* 6. Titan - Sonar Terminal (Deep Sea) */
        .skin-titan {
            background: linear-gradient(to bottom, #000000 0%, #020b14 100%) !important;
            color: #00ffff !important;
            font-family: 'Roboto Mono', monospace !important;
            position: relative;
            overflow: hidden;
        }

        .skin-titan::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 100px 100px;
            pointer-events: none;
            z-index: 0;
        }

        .skin-titan h1,
        .skin-titan h2 {
            color: #00ffff !important;
            text-shadow: 0 0 10px rgba(0, 255, 255, 0.5) !important;
            text-transform: uppercase;
        }

        /* Ghost Controls for Titan */
        .skin-titan button,
        .skin-titan .input-ghost {
            background: rgba(0, 10, 20, 0.3) !important;
            border: 1px solid #00ffff !important;
            color: #00ffff !important;
            font-family: 'Roboto Mono', monospace !important;
            border-radius: 2px !important;
            transition: all 0.3s ease;
            box-shadow: 0 0 5px rgba(0, 255, 255, 0.1);
        }

        .skin-titan button:hover,
        .skin-titan button.active {
            background: rgba(0, 255, 255, 0.15) !important;
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.3) !important;
            text-shadow: 0 0 5px #00ffff;
        }

        /* Warning State */
        .skin-titan.hull-warning {
            animation: pulse-warning 2s infinite;
        }

        .skin-titan.hull-warning button.active,
        .skin-titan.hull-warning .hull-btn.active {
            border-color: #f59e0b !important;
            /* Amber warning */
            color: #f59e0b !important;
            box-shadow: 0 0 15px rgba(245, 158, 11, 0.3) !important;
        }

        @keyframes pulse-warning {
            0% {
                box-shadow: inset 0 0 20px rgba(245, 158, 11, 0);
                border-color: #00ffff;
            }

            50% {
                box-shadow: inset 0 0 50px rgba(245, 158, 11, 0.1);
                border-color: #f59e0b;
            }

            100% {
                box-shadow: inset 0 0 20px rgba(245, 158, 11, 0);
                border-color: #00ffff;
            }
        }

        /* Vertical Slider */
        .depth-slider-container {
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .depth-slider {
            -webkit-appearance: none;
            width: 400px;
            height: 4px;
            background: rgba(0, 255, 255, 0.2);
            transform: rotate(-90deg);
            outline: none;
            border-radius: 2px;
        }

        .depth-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            background: #000;
            border: 2px solid #00ffff;
            cursor: pointer;
            box-shadow: 0 0 10px #00ffff;
        }

        .depth-marker {
            position: absolute;
            left: 55%;
            /* Adjust relative to rotated slider */
            font-size: 0.7rem;
            color: #00ffff;
            display: flex;
            align-items: center;
            gap: 5px;
            opacity: 0.7;
        }

        .depth-marker-line {
            width: 20px;
            height: 1px;
            background: #00ffff;
        }

        .depth-value-display {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #fff;
            text-shadow: 0 0 10px #00ffff;
        }

        /* Implosion Effect */
        .implosion-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: black;
            z-index: 99999;
            display: none;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .implosion-text {
            color: #ef4444;
            font-size: 2rem;
            font-weight: 900;
            font-family: 'Roboto Mono', monospace;
            opacity: 0;
            transition: opacity 2s ease-in;
        }

        /* 7. Andes - Cryo-Terminal (Ice Blue) */
        .skin-andes {
            background-color: #0b1116 !important;
            color: #a5f3fc !important;
            /* Ice Blue */
            font-family: 'Roboto Mono', monospace !important;
            box-shadow: inset 0 0 50px rgba(165, 243, 252, 0.05);
            border: 1px solid #164e63;
        }

        .skin-andes h1,
        .skin-andes h2 {
            color: #a5f3fc !important;
            text-shadow: 0 0 10px rgba(165, 243, 252, 0.4) !important;
        }

        .skin-andes button,
        .skin-andes .input-ghost {
            background: rgba(22, 78, 99, 0.2) !important;
            border: 1px solid #67e8f9 !important;
            color: #a5f3fc !important;
            border-radius: 2px !important;
        }

        .skin-andes button:hover,
        .skin-andes button.active {
            background: rgba(103, 232, 249, 0.15) !important;
            box-shadow: 0 0 10px rgba(103, 232, 249, 0.2) !important;
            color: #fff !important;
        }

        /* Ice Slider */
        .ice-slider {
            -webkit-appearance: none;
            width: 100%;
            height: 4px;
            background: rgba(165, 243, 252, 0.2);
            outline: none;
            border-radius: 2px;
        }

        .ice-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 16px;
            height: 16px;
            background: #a5f3fc;
            border: 2px solid #fff;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 0 10px #a5f3fc;
        }

        /* Energy Bar */
        .energy-bar-container {
            width: 100%;
            height: 20px;
            background: #0f172a;
            border: 1px solid #1e293b;
            border-radius: 2px;
            overflow: hidden;
            position: relative;
        }

        .energy-bar {
            height: 100%;
            background: linear-gradient(90deg, #ef4444 0%, #eab308 50%, #22c55e 100%);
            width: 100%;
            /* Dynamic */
            transition: width 0.3s ease, background 0.3s ease;
        }

        .energy-text {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: 700;
            color: #fff;
            text-shadow: 0 0 2px #000;
            z-index: 10;
        }

        .toggle-switch-container {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }

        .toggle-box {
            width: 20px;
            height: 20px;
            border: 1px solid #67e8f9;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
        }

        .toggle-fill {
            width: 12px;
            height: 12px;
            background: #67e8f9;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .toggle-active .toggle-fill {
            opacity: 1;
        }

        /* Andes Story Log - Thought Diary */
        #andes-story-log {
            margin-top: 24px;
            padding: 16px 20px;
            font-family: 'Roboto Mono', monospace;
            font-style: italic;
            font-size: 14px;
            line-height: 1.7;
            color: #cccccc;
            background: rgba(11, 17, 22, 0.6);
            border-left: 2px solid #164e63;
            border-radius: 4px;
            min-height: 60px;
            transition: all 0.5s ease;
        }

        /* Labor Illusion - Processing Overlay */
        #processing-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000000;
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Roboto Mono', monospace;
        }

        #processing-overlay.hidden {
            display: none;
        }

        .terminal-loader {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        #processing-text {
            color: #00ff00;
            /* Terminal Green */
            font-size: 1.5rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
        }

        .blinking-cursor {
            color: #00ff00;
            font-size: 1.5rem;
            font-weight: bold;
            animation: blink 1s step-end infinite;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0;
            }
        }

        /* Authority Sources */
        #cert-source {
            font-size: 0.7rem;
            opacity: 0.5;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 20px;
            font-family: 'Roboto Mono', monospace;
            border-top: 1px dashed rgba(255, 255, 255, 0.1);
            padding-top: 10px;
        }

        /* Footer Styles */
        footer.footer {
            background-color: #000;
            color: #888;
            font-size: 0.75rem;
            text-align: center;
            padding: 20px;
            margin-top: 50px;
            border-top: 1px solid #111;
        }

        .footer-signature {
            color: #06b6d4;
            /* Cyan to stand out */
            font-weight: bold;
            margin-bottom: 8px;
            font-family: 'Share Tech Mono', monospace;
            letter-spacing: 1px;
        }

        .footer-disclaimer {
            color: #555;
            font-size: 0.7rem;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Enhanced Mobile Usability (Thumb Test) */
        @media (max-width: 768px) {

            button,
            input,
            select,
            .class-btn,
            .gender-btn,
            .wing-btn,
            .disaster-card {
                min-height: 48px;
                /* Recommended touch target size */
            }

            .survival-container button {
                padding: 15px !important;
                margin-bottom: 12px !important;
            }

            /* Ensure gap between stacked items */
            .grid {
                gap: 12px !important;
            }
        }

        /* Global Stats Persistence */
        .global-stats {
            font-size: 0.75rem;
            color: #aaa;
            text-align: center;
            margin-top: 5px;
            font-family: 'Roboto Mono', monospace;
            opacity: 0.8;
        }

        /* UX Improvements - Result Hierarchy */
        .tech-detail {
            font-size: 0.85rem;
            font-family: 'Roboto Mono', monospace;
            opacity: 0.8;
            display: block;
            margin-top: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 15px;
            text-align: left;
            line-height: 1.6;
        }

        /* Tooltips */
        .tooltip-container {
            position: relative;
            display: inline-block;
            cursor: help;
            margin-left: 5px;
        }

        .tooltip-icon {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 18px;
            height: 18px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            font-size: 12px;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            color: rgba(255, 255, 255, 0.8);
        }

        .tooltip-text {
            visibility: hidden;
            width: 250px;
            background-color: #0a0a0a;
            color: #ccc;
            text-align: left;
            border-radius: 6px;
            padding: 12px;
            position: absolute;
            z-index: 100;
            bottom: 125%;
            left: 50%;
            margin-left: -125px;
            opacity: 0;
            transition: opacity 0.3s;
            font-family: 'Roboto Mono', monospace;
            font-size: 0.75rem;
            border: 1px solid #333;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
            pointer-events: none;
        }

        .tooltip-container:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {

            /* Force stacking for option buttons in calculators */
            .survival-container .grid {
                display: flex !important;
                flex-direction: column !important;
                width: 100% !important;
            }

            .survival-container .grid button {
                width: 100% !important;
                margin-bottom: 10px;
                font-size: 0.9rem;
            }
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0;
            }
        }

        .global-stats {
            font-size: 0.75rem;
            color: #aaa;
            text-align: center;
            margin-top: 5px;
            font-family: monospace;
        }

        @media (max-width: 768px) {
            .btn-calculate {
                height: auto !important;
                white-space: normal !important;
                word-wrap: break-word !important;
                padding: 1.5rem 1rem !important;
            }
        }

        .stamp-rotated {
            transform: rotate(-5deg);
            opacity: 0.8;
            display: block;
            margin: 20px auto;
        }


        .option-btn,
        .class-btn,
        .gender-btn,
        .location-btn,
        .wing-btn,
        .zombie-weapon-btn,
        .zombie-shelter-btn,
        .zombie-company-btn {
            white-space: normal !important;
            height: auto !important;
            min-height: 60px;
            padding: 12px;
        }
.theme-terminal {
    border-color: #22c55e !important;
    background-color: rgba(0, 20, 0, 0.95);
}
.theme-terminal h2 {
    color: #22c55e !important;
}
.theme-terminal .certificate-body {
    color: #86efac !important;
}

/* Terminal Donation Button */
.terminal-donate-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #22c55e;
    color: #22c55e;
    font-family: 'Roboto Mono', monospace;
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.terminal-donate-btn:hover {
    background-color: #22c55e;
    color: #000000;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}
