:root {
    --holo-bg: #030712;
    --holo-primary: #8b5cf6;
    /* Restore Purple */
    --holo-accent: #00f3ff;
    /* Restore Cyan */
    --holo-glass: rgba(17, 24, 39, 0.7);
    --holo-border: rgba(139, 92, 246, 0.3);
}

body.btp-body {
    background-color: #050505;
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: #e2e8f0;
    overflow-x: hidden;
    position: relative;
}

#mr-robot-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    background: #000;
    overflow: hidden;
}

#matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    /* Increased visibility as requested */
}

.bg-grid {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    /* Static Texture Grid */
    background-image:
        radial-gradient(rgba(0, 243, 255, 0.15) 1px, transparent 1px),
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px, 100px 100px, 100px 100px;
    z-index: 1;
    opacity: 0.5;
}

/* Removed moving grid animation for stability */

.bg-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.5) 0px,
            rgba(0, 0, 0, 0.5) 1px,
            transparent 1px,
            transparent 3px);
    z-index: 10;
    /* Top layer */
    pointer-events: none;
}

/* HUD CIRCLES */
.hud-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(56, 189, 248, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hud-center {
    width: 40vw;
    height: 40vw;
    animation: rotate-hud 60s linear infinite;
}

.hud-center-2 {
    width: 60vw;
    height: 60vw;
    border: 1px dotted rgba(139, 92, 246, 0.1);
    animation: rotate-hud-rev 80s linear infinite;
}

.hud-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(56, 189, 248, 0.3);
    z-index: 1;
}

.top-line {
    top: 15%;
}

.bottom-line {
    bottom: 15%;
}

@keyframes rotate-hud {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotate-hud-rev {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.bg-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAA5OTkAAABMTExERERmZmYzMzMyMjJl7m+WAABCD0lEQVQ4y2NgQQMwKCCBgQkYmM4wMAMZzjjM4IzFDM5YjMCgwITdBM54zOCMzwzOBMzgTMgMzoTM4IzPDM74zOBMyQzOhMzgTMoMzqTM4EzODKAAAASRSf2Cj3N3AAAAAElFTkSuQmCC') repeat 0 0;
    background-repeat: repeat;
    opacity: .05;
    visibility: visible;
    z-index: 1;
}

/* bg-noise-anim removed for stability */

.bg-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, #000 110%);
    z-index: 5;
}

.bg-glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.02);
    opacity: 0;
    animation: flash 6s infinite;
    z-index: 6;
    pointer-events: none;
}

@keyframes flash {

    0%,
    95% {
        opacity: 0;
    }

    96% {
        opacity: 0.1;
        background: rgba(0, 243, 255, 0.05);
    }

    97% {
        opacity: 0.15;
        background: rgba(139, 92, 246, 0.05);
    }

    98% {
        opacity: 0;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* MR ROBOT STYLE GLITCH TEXT */
/* MR ROBOT STYLE GLITCH TEXT */
.cyber-glitch {
    position: relative;
    font-family: 'Rajdhani', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin: 0;
    display: inline-block;
    z-index: 2;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.cyber-glitch::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 2px;
    width: 100%;
    height: 100%;
    background: #000;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
    z-index: -1;
}

.cyber-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: -2px;
    width: 100%;
    height: 100%;
    background: #000;
    text-shadow: -2px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
    z-index: -2;
}

/* TITLE BACKGROUND GLITCH CONTAINER - TECH BOX STYLE */
.title-glitch-container {
    position: relative;
    display: inline-block;
    padding: 20px 40px;

    /* Tech Box Background */
    background:
        repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.9) 2px,
            rgba(139, 92, 246, 0.05) 2px,
            rgba(139, 92, 246, 0.05) 4px);

    margin-bottom: 20px;
    border: 1px solid var(--holo-primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);

    /* Cut Corners */
    clip-path: polygon(10% 0,
            100% 0,
            100% 80%,
            90% 100%,
            0 100%,
            0 20%);

    overflow: hidden;
}

.title-glitch-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(transparent 0px,
            transparent 2px,
            rgba(139, 92, 246, 0.1) 2px,
            rgba(139, 92, 246, 0.1) 4px);
    z-index: 0;
    pointer-events: none;
}

.title-glitch-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0;
    animation: title-bg-flash 4s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes title-bg-flash {

    0%,
    90% {
        opacity: 0;
        background: transparent;
    }

    91% {
        opacity: 0.1;
        background: rgba(56, 189, 248, 0.1);
    }

    92% {
        opacity: 0;
    }

    95% {
        opacity: 0.1;
        background: rgba(139, 92, 246, 0.1);
    }

    100% {
        opacity: 0;
    }
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    5% {
        clip: rect(70px, 9999px, 90px, 0);
    }

    10% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    15% {
        clip: rect(80px, 9999px, 10px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    25% {
        clip: rect(50px, 9999px, 30px, 0);
    }

    30% {
        clip: rect(80px, 9999px, 70px, 0);
    }

    35% {
        clip: rect(30px, 9999px, 20px, 0);
    }

    40% {
        clip: rect(90px, 9999px, 50px, 0);
    }

    45% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    50% {
        clip: rect(60px, 9999px, 20px, 0);
    }

    55% {
        clip: rect(30px, 9999px, 70px, 0);
    }

    60% {
        clip: rect(70px, 9999px, 30px, 0);
    }

    65% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    70% {
        clip: rect(80px, 9999px, 10px, 0);
    }

    75% {
        clip: rect(50px, 9999px, 60px, 0);
    }

    80% {
        clip: rect(10px, 9999px, 30px, 0);
    }

    85% {
        clip: rect(60px, 9999px, 90px, 0);
    }

    90% {
        clip: rect(30px, 9999px, 50px, 0);
    }

    95% {
        clip: rect(70px, 9999px, 20px, 0);
    }

    100% {
        clip: rect(10px, 9999px, 80px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    5% {
        clip: rect(60px, 9999px, 10px, 0);
    }

    10% {
        clip: rect(30px, 9999px, 50px, 0);
    }

    15% {
        clip: rect(90px, 9999px, 20px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 70px, 0);
    }

    25% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    30% {
        clip: rect(80px, 9999px, 50px, 0);
    }

    35% {
        clip: rect(20px, 9999px, 90px, 0);
    }

    40% {
        clip: rect(70px, 9999px, 30px, 0);
    }

    45% {
        clip: rect(40px, 9999px, 80px, 0);
    }

    50% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    55% {
        clip: rect(80px, 9999px, 10px, 0);
    }

    60% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    65% {
        clip: rect(60px, 9999px, 30px, 0);
    }

    70% {
        clip: rect(30px, 9999px, 70px, 0);
    }

    75% {
        clip: rect(90px, 9999px, 20px, 0);
    }

    80% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    85% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    90% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    95% {
        clip: rect(70px, 9999px, 40px, 0);
    }

    100% {
        clip: rect(40px, 9999px, 10px, 0);
    }
}

/* SUBTITLE BOX - HIGH VISIBILITY */
/* SUBTITLE BOX */
/* SUBTITLE BOX - TECH DESIGN */
.sub-header {
    font-family: 'Share Tech Mono', monospace;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 25px;
    font-size: 1.1rem;
    font-weight: 400;

    /* The Tech Box */
    background:
        repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.9) 2px,
            rgba(0, 243, 255, 0.05) 2px,
            rgba(0, 243, 255, 0.05) 4px);
    border-left: 4px solid var(--holo-accent);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);

    padding: 15px 30px;
    display: inline-block;

    /* Cut Corners Shape */
    clip-path: polygon(0 0,
            100% 0,
            100% 70%,
            95% 100%,
            0 100%);

    /* Layout Stability */
    width: 95%;
    max-width: 600px;
    text-align: left;

    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .sub-header {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}

/* Add a decorative line on the right */
.sub-header::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 4px;
    background: var(--holo-accent);
}

.typing-cursor {
    display: inline-block;
    height: 1.1em;
    width: 10px;
    background-color: var(--holo-accent);
    /* Cyan Cursor */
    vertical-align: bottom;
    animation: blink 0.8s step-end infinite;
    margin-left: 5px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Card */
.cyber-card {
    background: var(--holo-glass);
    border: 1px solid var(--holo-border);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.cyber-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--holo-primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 0 15px rgba(139, 92, 246, 0.4);
}



.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--holo-accent), transparent);
    opacity: 0;
    transition: 0.3s;
}

.cyber-card:hover::before {
    opacity: 1;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.card-id {
    font-family: 'Share Tech Mono', monospace;
    color: var(--holo-accent);
    font-size: 0.85rem;
    opacity: 0.8;
}

.card-body {
    padding: 25px 20px;
    min-height: 120px;
    /* Uniform height */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cyber-card h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    /* Larger Title */
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding-right: 30px;
    /* Space for icon */
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 0.65rem;
    font-family: 'Share Tech Mono', monospace;
    background: rgba(139, 92, 246, 0.1);
    color: #a5b4fc;
    padding: 2px 6px;
    border-radius: 2px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    text-transform: uppercase;
}

.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--holo-primary);
    font-size: 1.2rem;
    opacity: 0.5;
    transition: 0.3s;
}

.cyber-card:hover .card-icon {
    opacity: 1;
    color: var(--holo-accent);
    transform: rotate(45deg);
}

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.cyber-card:hover .card-footer {
    background: rgba(139, 92, 246, 0.1);
    color: white;
}

.status-indicator {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 5px #22c55e;
    display: inline-block;
}

/* OVERLAY / MODAL (RESTORED) */
.holo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.95);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(8px);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.holo-overlay.active {
    display: flex;
    opacity: 1;
}

.holo-content-wrapper {
    width: 85vw;
    /* Reduced from 95vw */
    max-width: 1400px;
    /* Added cap for ultra-wides */
    height: 85vh;
    /* Reduced from 92vh */
    max-height: 90vh;
    margin: auto;
    background: #0f172a;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--holo-primary) rgba(3, 7, 18, 0.9);
}

/* Custom Scrollbar for Modal */
.holo-content-wrapper::-webkit-scrollbar {
    width: 8px;
}

.holo-content-wrapper::-webkit-scrollbar-track {
    background: rgba(3, 7, 18, 0.9);
    border-left: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 0 16px 16px 0;
}

.holo-content-wrapper::-webkit-scrollbar-thumb {
    background: var(--holo-primary);
    border-radius: 4px;
    opacity: 0.8;
}

.holo-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--holo-accent);
}

/* MODAL NAVIGATION BUTTONS */
.holo-nav-prev,
.holo-nav-next {
    position: fixed;
    /* Fixed to viewport */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 2.5rem;
    padding: 20px;
    cursor: pointer;
    z-index: 2000;
    /* Above everything */
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.holo-nav-prev:hover,
.holo-nav-next:hover {
    background: var(--holo-accent);
    color: #000;
    box-shadow: 0 0 30px var(--holo-accent);
    transform: translateY(-50%) scale(1.1);
}

.holo-nav-prev {
    left: 40px;
}

.holo-nav-next {
    right: 40px;
}

@media (max-width: 768px) {

    .holo-nav-prev,
    .holo-nav-next {
        top: auto;
        bottom: 20px;
        transform: none;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        background: rgba(15, 23, 42, 0.9);
        border: 1px solid var(--holo-accent);
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    }

    .holo-nav-prev {
        left: 20px;
        right: auto;
    }

    .holo-nav-next {
        right: 20px;
        left: auto;
    }
}

.holo-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.holo-close-btn:hover {
    background: #8b5cf6;
    transform: rotate(90deg);
}

.holo-modal-header {
    padding: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.1), transparent);
    text-align: center;
}

.holo-modal-title {
    font-size: 2rem;
    font-family: 'Rajdhani', sans-serif;
    color: white;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.holo-modal-body {
    padding: 30px;
    flex-grow: 1;
    text-align: center;
    overflow-y: auto;
}

/* BLOCKS */
.block-code {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 2px;
    margin-bottom: 25px;
    text-align: left;
    /* Ensure code is left aligned */
    position: relative;
}

.code-lang {
    position: absolute;
    top: 5px;
    right: 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    user-select: none;
}

.block-code pre {
    background: #020617;
    margin: 0;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    color: #a5b4fc;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 1.0rem;
    line-height: 1.5;
}

.block-tip {
    background: rgba(234, 179, 8, 0.1);
    border-left: 4px solid #eab308;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 4px;
    display: flex;
    gap: 15px;
    align-items: start;
    text-align: left;
    /* Tips left aligned */
}

.block-tip-icon {
    font-size: 1.5rem;
}

.block-scenario {
    background: rgba(34, 197, 94, 0.05);
    border: 1px dashed #22c55e;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    position: relative;
    border-top: 1px solid #22c55e;
    text-align: left;
    /* Scenarios left aligned */
}

.scenario-title {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #0f172a;
    padding: 0 10px;
    color: #22c55e;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
}

.block-text {
    color: #e2e8f0;
    font-size: 1.3rem;
    /* Slightly reduced for better density */
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
    /* Default left alignment for better readability */
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.block-text p {
    margin-top: 0;
}

.block-text ul,
.block-text ol {
    margin: 10px 0;
    padding-left: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 15px 15px 40px;
    border-radius: 8px;
}

.block-text li {
    margin-bottom: 8px;
}

/* SEARCH */
.search-bar-container {
    margin-top: 30px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cyber-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--holo-border);
    padding: 15px 45px 15px 20px;
    border-radius: 30px;
    color: white;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    outline: none;
    transition: 0.3s;
}

.cyber-search:focus {
    border-color: var(--holo-accent);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}



/* Navigation Buttons - REDESIGNED */
.nav-btn {
    position: absolute;
    top: 50px;
    /* Aligned with title roughly */
    padding: 12px 25px;
    background: rgba(3, 7, 18, 0.8) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    color: var(--holo-accent) !important;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.nav-btn:hover {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: #00f3ff !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.nav-left {
    left: 40px;
}

.nav-right {
    right: 40px;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    /* Adjust Header */
    header {
        padding: 80px 0 30px 0;
    }

    .nav-btn {
        top: 20px;
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .cyber-glitch {
        font-size: 2.2rem;
        letter-spacing: 2px;
        margin-top: 10px;
    }

    .sub-header {
        font-size: 0.9rem;
    }

    /* Keep Grid Single Column */
    .card-grid {
        gap: 15px;
        grid-template-columns: 1fr;
    }

    /* --- MOBILE REVISION FOR MODALS --- */

    /* Maximize Modal Height */
    .holo-content-wrapper {
        width: 92%;
        height: 82vh;
        /* Significantly larger */
        max-height: 85vh;
        margin-top: 2vh;
    }

    /* Compact Bottom Navigation */
    .holo-nav-prev,
    .holo-nav-next {
        position: fixed;
        bottom: 15px;
        /* Very close to bottom */
        top: auto;
        transform: none;
        width: 50px;
        height: 50px;
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid var(--holo-accent);
        z-index: 3000;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
        font-size: 1.2rem;
    }

    .holo-nav-prev {
        left: 20px;
    }

    .holo-nav-next {
        right: 20px;
        left: auto;
    }

    .holo-modal-header {
        padding: 20px;
    }

    .holo-modal-title {
        font-size: 1.1rem;
        padding-right: 0;
        line-height: 1.4;
    }

    .holo-modal-body {
        padding: 15px;
    }

    .holo-close-btn {
        top: 15px;
        right: 15px;
    }

    .block-text {
        font-size: 1rem;
    }
}

.nav-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #00f3ff;
    color: #fff;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.nav-left {
    left: 40px;
}

.nav-right {
    right: 40px;
}

/* MOBILE RESPONSIVENESS */

/* SPOILER / ANSWER REVEAL STYLES */
.answer-wrapper {
    position: relative;
    transition: all 0.5s ease;
}

.answer-wrapper.blurred .answer-content {
    filter: blur(12px);
    opacity: 0.3;
    user-select: none;
    pointer-events: none;
}

.answer-wrapper.revealed .answer-content {
    filter: blur(0);
    opacity: 1;
    pointer-events: auto;
}

.spoiler-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.1);
    /* Slight tint, mainly relied on blur of content */
    transition: all 0.3s ease;
}

.answer-wrapper.revealed .spoiler-overlay {
    display: none;
    /* Hide overlay when revealed */
}

.spoiler-btn {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--holo-accent);
    color: var(--holo-accent);
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.spoiler-btn:hover {
    background: var(--holo-accent);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}

.spoiler-text {
    margin-top: 15px;
    color: #94a3b8;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px black;
}