
body.theme-doom .system-diagram-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 1em;
}

body.theme-doom .system-node {
    color: #00FF00;
    border: 1.5px solid #00FF00;
    background-color: rgba(5, 5, 5, 0.85);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    padding: 28px 18px;
    text-align: center;
    box-shadow: 0 0 12px #00FF00, 0 0 8px #00FF00 inset;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 0;
    position: relative;
    height: 100%;
}

body.theme-doom .system-node:hover {
    border-color: #39FF14;
    box-shadow: 0 0 18px #39FF14, 0 0 8px #00FF00 inset;
    transform: translateY(-6px) scale(1.03);
    z-index: 2;
}

body.theme-doom .system-node h3 {
    font-size: 1.3em;
    margin-bottom: 0.5em;
    color: #00FF00;
    text-transform: uppercase;
    border-bottom: 1px solid #008000;
    padding-bottom: 0.5em;
}

body.theme-doom .system-node p {
    font-size: 0.95em;
    color: #32CD32;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 960px) {
    body.theme-doom .system-diagram-container {
        flex-direction: column;
        align-items: center;
    }
    body.theme-doom .system-node {
        width: 90%;
        max-width: 500px;
    }
}
/* DOOM Theme General */
body.theme-doom { font-family: monospace; background-color: #000000; color: #32CD32; font-size: 17px; line-height: 1.65; }
body.theme-doom h1, body.theme-doom h2, body.theme-doom h3, body.theme-doom h4 { color: #00FF00; font-family: monospace; font-weight: normal; border-bottom: 1px solid #008000; padding-bottom: 0.3em; margin-bottom: 1em; }
body.theme-doom h1 { font-size: 1.8em; text-shadow: 0 0 8px rgba(0,255,0,0.6); }
body.theme-doom h1 .hero-main-title-large { font-size: 1em; display: block; line-height: 1.1; margin-top: 0.1em;}
body.theme-doom h1 .hero-main-title-small { font-size: 0.7em; display: block; margin-bottom: 0.3em; line-height: 1.2;}
body.theme-doom h2 { font-size: 1.7em; }
/* Make the new H2 subtitle smaller than the default H2 */
body.theme-doom .hero-attention-sparker h2 {
    font-size: 1.2em; /* Reduced from 1.7em */
    border-bottom: none; /* Remove the border for a cleaner look */
    margin-top: 0.5em;
    margin-bottom: 1em;
    text-shadow: 0 0 5px rgba(0,255,0,0.5); /* Add a subtle glow */
    line-height: 1.3;
    color: #32CD32; /* Slightly less intense green than H1 */
}
body.theme-doom h3 { font-size: 1.35em; }
body.theme-doom h4 { font-size: 1.1em; border-bottom: none; margin-bottom: 0.6em;}
body.theme-doom p { max-width: none; line-height: 1.7; }
body.theme-doom strong { color: #00FF00; font-weight: normal;}
body.theme-doom .hero-attention-sparker strong, .hero-full-briefing strong {text-shadow: 0 0 3px #00FF00;}
body.theme-doom a { color: #00FF00; }
body.theme-doom a:hover { background-color: #00FF00; color: #000000; }
body.theme-doom a:hover::after { content: '█'; animation: blinkLink 1s step-end infinite; margin-left: 3px; }
@keyframes blinkLink { 50% { opacity: 0; } }

body.theme-doom section.game-screen { border: 2px solid #008000; padding: 2.5em; position: relative; margin-bottom: 30px; background-color: #000000; display: block; min-height: 0; box-shadow: inset 0 0 20px rgba(0,128,0,0.3), 0 0 10px rgba(0,128,0,0.2); }
body.theme-doom section.game-screen .content-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, rgba(0,50,0,0.07) 1px, transparent 1px, transparent 3px), repeating-linear-gradient(90deg, rgba(0,50,0,0.02) 1px, transparent 1px, transparent 20px); pointer-events: none; z-index: 1; opacity: 0.6; }
body.theme-doom section.game-screen > *:not(.content-overlay):not(#game-layer) { position: relative; z-index: 2; }
body.theme-doom .visual-placeholder.logo { display: inline-block; min-height: 0; padding: 3px 6px; border: 1px solid #00FF00; background-color: #000000; color: #008000; font-size: 0.9em; margin: 0 5px; transition: background-color 0.1s, color 0.1s; }
body.theme-doom .visual-placeholder.logo:hover { background-color: #00FF00; color: #000; }

body.theme-doom .cta-button { display: inline-block; border-radius: 0; padding: 10px 22px; margin: 0.6em 0.3em; cursor: pointer; text-align: center; font-family: monospace; background-color: transparent; color: #00FF00; border: 2px solid #00FF00; transition: none; text-transform: uppercase; letter-spacing: 1.5px; font-size: 1em; }
body.theme-doom .cta-button:hover { background-color: #00FF00; color: #000000; box-shadow: 0 0 12px #00FF00, 0 0 5px #00FF00 inset; }
body.theme-doom .cta-button:active { background-color: #32CD32; border-color: #32CD32; }

/* Social Proof Kickers - Horizontal Compact SVG */
.social-proof-kickers-svg {
    border: 1px solid #008000; background-color: rgba(0, 5, 0, 0.85);
    padding: 8px 12px; margin-bottom: 25px; position: relative; overflow: hidden;
    box-shadow: 0 0 10px rgba(0,255,0,0.3);
}
.social-proof-kickers-svg .kicker-header-compact {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #008000; padding-bottom: 5px; margin-bottom: 7px;
}
.social-proof-kickers-svg .kicker-title-compact { font-size: 0.8em; color: #00FF00; text-transform: uppercase; letter-spacing: 1px;}
.social-proof-kickers-svg .kicker-status-compact { font-size: 0.7em; color: #008000; }
.social-proof-kickers-svg .kicker-status-compact .live-indicator-compact { display: inline-block; width: 6px; height: 6px; background-color: #00FF00; border-radius: 50%; margin-right: 4px; animation: pulse-green 1.5s infinite; }
.social-proof-kickers-svg .kicker-items-row-svg {
    display: flex; flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center; overflow-x: auto;
    padding-bottom: 5px;
}
.social-proof-kickers-svg .kicker-item-svg {
    display: flex; align-items: center; flex-shrink: 0;
    gap: 6px; color: #32CD32; font-size: 0.9em;
    padding: 2px 4px; margin-right: 10px;
}
.social-proof-kickers-svg .kicker-item-svg:last-child { margin-right: 0; }
.social-proof-kickers-svg .kicker-item-svg svg {
    width: 16px; height: 16px; fill: #00FF00;
}
.social-proof-kickers-svg .kicker-item-svg strong { color: #00FF00; margin-right: 2px;}
.social-proof-kickers-svg .scanline-effect-fast {
    position: absolute; left: 0; width: 100%; height: 1px;
    background: #00FF00; box-shadow: 0 0 5px 1px rgba(0,255,0,0.6);
    animation: scan-fast 0.8s linear 1; opacity: 0.5;
}
@keyframes scan-fast { 0% { top: 0%; } 100% { top: 100%; } }
@keyframes pulse-green { 0%, 100% { box-shadow: 0 0 2px #00FF00; opacity: 0.7; } 50% { box-shadow: 0 0 6px #00FF00; opacity: 1;} }

/* Hero Section */
body.theme-doom .new-hero-layout { display: flex; align-items: flex-start; padding-top: 30px; padding-bottom: 30px; }
body.theme-doom .hero-content-wrapper { display: flex; flex-direction: row; gap: 25px; width: 100%; align-items: flex-start; position: relative; z-index: 2; }
body.theme-doom .hero-left-column { flex: 3; padding-right: 15px; }
body.theme-doom .hero-right-column { flex: 2; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; }
body.theme-doom .hero-visual-image-new { max-width: 280px; height: auto; border: 2px solid #00FF00; box-shadow: 0 0 12px rgba(0, 255, 0, 0.6); object-fit: contain; margin-bottom: 20px; }
body.theme-doom .cta-reinforcement-visual-image-container {
    max-width: 280px;
    margin-bottom: 20px;
    margin-top: 700%; /* Adjust as needed */
    height: auto;
    object-fit: contain;
    
    /* Add any other container-specific styles here */
}
body.theme-doom .cta-reinforcement-visual-image-new {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-top: 140%;
    margin-bottom: 20px;
}
body.theme-doom .hero-attention-sparker .hero-subtitle-alt { font-size: 1.05em; color: #7FFF00; margin-bottom: 1em; font-style: normal; }
body.theme-doom .hero-attention-sparker .hero-text-pyramid p,
body.theme-doom .hero-full-briefing .hero-text-pyramid p {
    margin-bottom: 0.1em !important;
    line-height: 1.5;
}
body.theme-doom .hero-full-briefing .hero-text-pyramid { margin-top: 1.2em;}

body.theme-doom .cta-proceed-briefing { margin-top: 15px; margin-bottom: 25px; font-size: 1.05em; padding: 12px 25px;}
body.theme-doom .hero-section .highlight-green { color: #00FF00; }
body.theme-doom .hero-section .highlight-red { color: #ef4444; text-shadow: 0 0 5px #ef4444; }
body.theme-doom .hero-section p { color: #32CD32; margin-bottom: 0.8em; line-height: 1.6; }
body.theme-doom .hero-section .hero-choice-title { margin-top: 1.2em; margin-bottom: 0.4em; font-size: 1.05em; }
body.theme-doom .hero-section .hero-choices { padding-left: 20px; margin-bottom: 1.2em; }
body.theme-doom .hero-section .hero-choices li { margin-bottom: 0.6em; }
body.theme-doom .hero-section .hero-final-call { font-size: 1.1em; margin-top: 1.2em; font-weight: normal; }
body.theme-doom .hero-cta-buttons { margin-top: 1.5em; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
body.theme-doom .cta-button.doom-button-glow { box-shadow: 0 0 7px rgba(0, 255, 0, 0.6), 0 0 12px rgba(0, 255, 0, 0.4); padding: 11px 20px; font-size: 1.05em; }
body.theme-doom .cta-button.doom-button-glow:hover { box-shadow: 0 0 10px rgba(0, 255, 0, 0.9), 0 0 20px rgba(0, 255, 0, 0.6); transform: translateY(-1px); }
body.theme-doom .cta-button.doom-button-glow .blink { animation: blinkLink 1s step-end infinite; display: inline-block; margin-left: 3px; }
body.theme-doom .cta-button.doom-button-alt { background-color: #050505; border-color: #008000; color: #32CD32; padding: 9px 16px; font-size: 1em; }
body.theme-doom .cta-button.doom-button-alt:hover { background-color: #008000; color: #000000; border-color: #32CD32; }
body.theme-doom .icon-terminal, body.theme-doom .icon-handshake, body.theme-doom .icon-telegram { margin-right: 7px; font-weight: normal; }

.poe-profile {
    margin-top: 15px; padding: 10px 12px; border: 1px dashed #008000;
    background-color: rgba(0,10,0,0.8); text-align: left; width: 100%; max-width: 280px;
    position: relative; overflow: hidden;
}
.poe-profile .poe-title { color: #00FF00; margin-bottom: 7px; font-size: 0.95em; border-bottom: 1px solid #008000; padding-bottom: 3px; text-transform: uppercase;}
.poe-profile ul { list-style: none; padding-left: 0; }
.poe-profile li { margin-bottom: 5px; color: #32CD32; font-size: 0.85em; display: flex; align-items: center; }
.poe-profile li .poe-icon svg { width: 14px; height: 14px; fill: #00FF00; margin-right: 6px; vertical-align: middle;}
.poe-profile .scanline-effect-delayed {
    position: absolute; left: 0; width: 100%; height: 1px;
    background: #00FF00; box-shadow: 0 0 4px 1px rgba(0,255,0,0.5);
    animation: scan-fast 1s linear 1;
    animation-delay: 3s;
    opacity: 0.4;
}

/* --- Testimonials for DOOM (Slider Version) --- */
body.theme-doom .testimonials-section {
    position: relative;
}

body.theme-doom .testimonial-slider-container {
    position: relative;
    width: 100%;
    padding: 0 40px; /* Make space for nav buttons */
    box-sizing: border-box;
}

body.theme-doom .testimonial-track-wrapper {
    overflow: hidden;
    width: 100%;
}

body.theme-doom .testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

body.theme-doom .testimonial-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    /* Re-use existing card styles */
    background-color: #050505;
    border: 1px solid #008000;
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 12px rgba(0,128,0,0.3), inset 0 0 8px rgba(0,80,0,0.4);
    position: relative;
}

body.theme-doom .testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: #00FF00;
    border: 1px solid #00FF00;
    font-family: monospace;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 12px;
    z-index: 10;
    opacity: 0.7;
    transition: all 0.2s ease;
}

body.theme-doom .testimonial-nav-btn:hover {
    opacity: 1;
    background-color: #00FF00;
    color: #000;
}

body.theme-doom .testimonial-nav-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    border-color: #008000;
    color: #008000;
    background-color: transparent;
}

body.theme-doom #prev-testimonial {
    left: 0;
}

body.theme-doom #next-testimonial {
    right: 0;
}

body.theme-doom .testimonial-card::before {
    content: '// INCOMING TRANSMISSION...';
    position: absolute;
    top: 8px;
    left: 15px;
    font-size: 0.8em;
    color: #008000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-doom .testimonial-body {
    flex-grow: 1;
    margin-top: 2em;
}

body.theme-doom .testimonial-card p {
    color: #32CD32;
    font-style: normal;
    font-size: 1em;
    margin-bottom: 1em;
    line-height: 1.7;
}

body.theme-doom .testimonial-author {
    border-top: 1px solid #008000;
    padding-top: 1em;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1em;
}

body.theme-doom .testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 0;
    border: 2px solid #00FF00;
    object-fit: cover;
    filter: grayscale(80%) contrast(120%);
}

body.theme-doom .author-details .author-name {
    color: #00FF00;
    font-weight: normal;
    display: block;
    font-size: 1.1em;
}

body.theme-doom .author-details .author-title {
    color: #008000;
    font-size: 0.9em;
    display: block;
}


/* --- FAQ for DOOM --- */
body.theme-doom .faq-section {
    padding: 2em 0;
}

body.theme-doom .faq-item {
    border: 1px solid #008000;
    margin-bottom: 10px;
    background-color: #050505;
    box-shadow: 0 0 8px rgba(0,128,0,0.4);
}

body.theme-doom .faq-question {
    font-family: monospace;
    color: #00FF00;
    font-size: 1.2em;
    padding: 1em 1.5em;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: background-color 0.2s;
}

body.theme-doom .faq-question:hover {
    background-color: #00FF00;
    color: #000;
}

body.theme-doom .faq-question::after {
    content: '[+]';
    font-size: 1.2em;
    color: #00FF00;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 0;
}

body.theme-doom .faq-question:hover::after {
    color: #000;
}


body.theme-doom .faq-item.active .faq-question::after {
    content: '[-]';
}

body.theme-doom .faq-answer {
    padding: 0 1.5em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

body.theme-doom .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 1.5em;
    border-top: 1px dashed #008000;
}


body.theme-doom .faq-answer p {
    color: #00FF00; /* Changed from #32CD32 to bright green for readability */
    font-size: 1.05em; /* Slightly increase size for readability */
    line-height: 1.7;
    margin: 0;
}


/* --- DOOM Contact Form Styles --- */
#partnership-form-container {
    margin-top: 2em;
    padding: 2em;
    border: 1px solid #008000;
    background-color: #0a0a0a;
    box-shadow: 0 0 15px rgba(0, 128, 0, 0.5);
}

.doom-form .form-group {
    margin-bottom: 1.5em;
}

.doom-form label {
    display: block;
    color: #00FF00;
    font-family: monospace;
    margin-bottom: 0.5em;
    font-size: 1.1em;
}

.doom-form input[type="text"],
.doom-form input[type="email"],
.doom-form textarea {
    background-color: #000;
    border: 1px solid #008000;
    color: #32CD32;
    padding: 0.8em 1em;
    width: 100%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1em;
    box-shadow: inset 0 0 5px rgba(0, 80, 0, 0.5);
    transition: all 0.3s ease;
}

.doom-form input[type="text"]:focus,
.doom-form input[type="email"]:focus,
.doom-form textarea:focus {
    outline: none;
    border-color: #00FF00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7), inset 0 0 8px rgba(0, 128, 0, 0.7);
}

.doom-form textarea {
    min-height: 150px;
    resize: vertical;
}

.doom-form .doom-button {
    width: 100%;
    padding: 1em;
    font-size: 1.2em;
}

.doom-form .recaptcha-group {
    /* Basic styling for reCAPTCHA wrapper */
    padding: 1em;
    background-color: #050505;
    border: 1px solid #008000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Arsenal Section */
#screen-arsenal { border-color: #00FF00; }
.arsenal-intro { margin-bottom: 20px; text-align: center; }
.arsenal-intro p { color: #00FF00; font-size: 1.05em; font-style: normal; margin-bottom: 0.3em; }
.arsenal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.arsenal-card {
    background: rgba(0,8,0,0.85);
    border: 1.5px solid #00FF00;
    box-shadow: 0 0 10px #00FF00, 0 0 5px #00FF00 inset;
    border-radius: 0;
    padding: 28px 18px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}
body.theme-doom .arsenal-card:hover {
    border-color: #39FF14;
    box-shadow: 0 0 18px #39FF14, 0 0 8px #00FF00 inset;
    transform: translateY(-6px) scale(1.03);
    z-index: 2;
}
.arsenal-card-header { display: flex; align-items: center; margin-bottom: 12px; }
.arsenal-card-icon svg { width: 28px; height: 28px; fill: #00FF00; margin-right: 12px; }
.arsenal-card-title { font-size: 1.25em; color: #00FF00; border-bottom: 1px solid #008000; margin-bottom: 8px; padding-bottom: 4px; }
.arsenal-card-description { font-size: 0.9em; color: #32CD32; margin-bottom: 12px; flex-grow: 1;}
.arsenal-card-subtitle { font-size: 0.85em; color: #008000; margin-bottom: 8px; text-transform: uppercase; }
.arsenal-card-linklist { list-style: none; padding-left: 0; margin-bottom: 10px; }
.arsenal-card-linklist li a { display: block; padding: 4px 0; color: #00FF00; font-size: 0.9em;}
.arsenal-card-linklist li a:hover { background-color: #00FF00; color: #000; padding-left: 5px;}
.arsenal-card-status {
    font-size: 0.8em; color: #008000; text-align: right;
    border-bottom: 1px solid #008000; padding-bottom: 4px; margin-bottom: 8px;
}
.arsenal-card-status span { color: #00FF00; }

/* Standardize arsenal card button spacing */
body.theme-doom .arsenal-card .cta-button {
    margin-top: auto;
}

body.theme-doom .arsenal-card .cta-button + .cta-button {
    margin-top: 10px;
}

/* Ensure all arsenal card buttons have equal height */
body.theme-doom .arsenal-card .cta-button {
    margin-top: auto;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}

body.theme-doom .arsenal-card .cta-button + .cta-button {
    margin-top: 10px;
}

/* Ensure arsenal card content pushes buttons to bottom */
body.theme-doom .arsenal-card .arsenal-card-description {
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Logos Section */
#screen-5 h2 { text-align: center; }
.logo-container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-top: 1.5em; }
#screen-5 .logos-caption { margin-top: 1.5em; text-align: center; font-size: 0.9em; color: #008000;}

/* Partnership Form & Contact Section Text */
#screen-8 .contact-intro-text p {
    color: #00FF00;
    margin-bottom: 0.3em !important;
    line-height: 1.5;
}
#screen-8 ul li { margin-bottom: 1em; }
#screen-8 ul li ul li { margin-bottom: 0.3em; margin-top: 0.3em; }
#screen-8 .contact-form-instruction { display: block; font-size: 0.9em; color: #32CD32; line-height: 1.5; margin-top: 0.2em; margin-bottom: 0.5em;}

#partnership-form-container { background-color: #000500; border: 2px solid #00FF00; padding: 22px; margin-top: 25px; box-shadow: 0 0 18px rgba(0,255,0,0.6), inset 0 0 10px rgba(0,80,0,0.5); display: none; }
#partnership-form-container h4 { color: #00FF00; text-align: left; margin-bottom: 18px; font-size: 1.4em; text-transform: uppercase; letter-spacing: 1.5px; border-bottom: 1px solid #008000; padding-bottom: 8px; }
#partnership-form div { margin-bottom: 12px; }
#partnership-form label { display: block; color: #00FF00; margin-bottom: 4px; font-size: 0.95em; text-transform: uppercase; }
#partnership-form input[type="text"], #partnership-form input[type="email"], #partnership-form textarea { width: 100%; background-color: #000C00; border: 1px solid #008000; color: #00FF00; padding: 9px; font-family: monospace; font-size: 1em; border-radius: 0; }
#partnership-form input[type="text"]::placeholder, #partnership-form input[type="email"]::placeholder, #partnership-form textarea::placeholder { color: #008000; opacity: 0.6; }
#partnership-form input[type="text"]:focus, #partnership-form input[type="email"]:focus, #partnership-form textarea:focus { outline: none; border-color: #00FF00; box-shadow: 0 0 10px rgba(0,255,0,0.7); }
#partnership-form textarea { min-height: 90px; resize: vertical; }
#partnership-form .cta-button { width: 100%; font-size: 1.15em; padding: 11px; letter-spacing: 2px; }

/* Override center alignment for contact section in DOOM theme */
body.theme-doom #screen-8 {
    justify-content: flex-start;
    text-align: left;
}

body.theme-doom #screen-8 h2 {
    text-align: left;
}

/* Scroll-to-top Button */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 990;
    border: 2px solid #00FF00;
    outline: none;
    background-color: rgba(0,0,0,0.8);
    color: #00FF00;
    cursor: pointer;
    padding: 8px 10px;
    font-family: monospace;
    font-size: 1.2em;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0,255,0,0.5);
}
#scrollToTopBtn:hover { background-color: #00FF00; color: #000; }

/* Responsive adjustments */
@media (max-width: 768px) {
    body.theme-doom .hero-content-wrapper { flex-direction: column; }
    body.theme-doom .hero-left-column { padding-right: 0; order: 2; }
    body.theme-doom .hero-right-column { order: 1; margin-bottom: 15px; align-items: center; width: 100%; }
    body.theme-doom .hero-visual-image-new-container {max-width: 220px; }
    body.theme-doom .hero-visual-image-new { max-width: 220px; }
    body.theme-doom .cta-reinforcement-visual-image-new { max-width: 220px; }
    body.theme-doom h1 .hero-main-title-large { font-size: 1em; }
    body.theme-doom h1 .hero-main-title-small { font-size: 0.8m; }
    body.theme-doom .hero-cta-buttons { align-items: center; }
    body.theme-doom .cta-button { width: 100%; max-width: 280px; text-align: center; font-size: 0.95em; padding: 9px 18px;}
    #main-header { flex-direction: column; gap: 8px; padding: 8px; }
    #main-nav ul { flex-direction: column; gap: 8px; align-items: center; }
    #main-nav .dropdown-content { position: static; border: none; background-color: transparent; text-align: center; box-shadow: none; }
    #main-nav li.dropdown:hover .dropdown-content { display: flex; flex-direction: column; }
    .arsenal-grid { grid-template-columns: 1fr; }
    .social-proof-kickers-svg .kicker-items-row-svg { justify-content: flex-start; gap: 10px; }
}
@media (max-width: 480px) {
        body.theme-doom h1 .hero-main-title-large { font-size: 1em; }
        body.theme-doom h1 .hero-main-title-small { font-size: 0.8em; }
        .social-proof-kickers-svg .kicker-items-row-svg { flex-direction: column; align-items: flex-start;}
        .poe-profile { max-width: 100%; }
        .hero-visual-image-new { max-width: 180px; }
        .cta-reinforcement-visual-image-new-container { max-width: 180px; }
}

body.theme-doom #game-layer { z-index: 50; }
body.theme-doom #main-header { z-index: 1000; }
body.theme-doom #main-footer { z-index: 999; }
body.theme-doom section.game-screen .content-overlay { z-index: 1; }
body.theme-doom section.game-screen > *:not(.content-overlay):not(#game-layer) { z-index: 2; }
body.theme-doom #screen-1 .hero-visual-image { display: none; }


#loading-indicator { position: fixed; bottom: 10px; left: 10px; background: #000000; color: #00FF00; padding: 8px 12px; display: none; z-index: 1001; font-family: monospace; border: 1px solid #00FF00; box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
.diagnosis-image { display: block; width: 100%; max-width: 50%; margin: 8px auto 12px auto; border: 1px solid #008000; }
.footer-social .social-icon-doom { display: inline-block; padding: 4px 7px; border: 1px solid #008000; color: #32CD32; margin: 0 4px; font-weight: normal; font-size: 0.9em; }
.footer-social .social-icon-doom:hover { background-color: #008000; color: #000000; }
.hero-reinforcing-visual { margin-top: 20px; width: 100%; max-width: 280px; height: 150px; border: 1px dashed #008000; background-color: rgba(0,10,0,0.5); display: flex; align-items: center; justify-content: center; text-align: center; color: #008000; font-size: 0.9em; padding: 10px; }

/* --- GAME LAYER & ANIMATIONS (from original, preserved and updated as needed) --- */

/* Wrapper for game objects */
#game-object-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Game Layer */
body.theme-doom #game-layer {
    background-color: #000000;
    border-top: 2px solid #00FF00;
    height: 10vh; /* Increased height for visibility */
    overflow: visible;
    position: fixed; /* Add fixed positioning */
    bottom: 0; /* Stick to bottom */
    left: 0;
    right: 0;
    z-index: 50;
}

/* Progress Bar */
body.theme-doom #game-progress-bar {
    background-color: #000000;
    border: 1px solid #00FF00;
    height: 10px;
    padding: 1px;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    z-index: 20;
}
body.theme-doom #game-progress-bar .progress-fill {
    background-color: #00FF00;
    height: 100%;
    width: 0%;
    float: left;
}

/* Game object positioning/scaling */
.game-object-positioner {
    position: absolute;
    width: auto;
    height: auto;
    z-index: 12;
}
.game-object-scaler {
    width: 100%;
    height: 100%;
    transform-origin: bottom left;
    transform: scale(1);
}
.game-object {
    position: relative;
    image-rendering: pixelated;
}

/* Hero styles */
.hero-positioner { bottom: 0px; z-index: 13; }
.hero-scaler { transform: scale(0.4); transform-origin: bottom left; }
.hero-sprite {
    background-image: url('../assets/sprites/hero_doom_spritesheet.png');
    
    background-repeat: no-repeat;
    background-position: 0px 0px;
}

/* Demon styles */
.demon-positioner { bottom: 5px; z-index: 12; }
.demon-scaler { transform: scaleX(-1) scale(0.4); transform-origin: bottom center; transition: transform 0.15s ease-out; }
.demon-attacking-scaler { transform: scaleX(-1) scale(0.35); }
.demon-sprite {
    background-image: url('../assets/sprites/demon_doom_idle_poses.png');
    background-repeat: no-repeat;
    background-position: -55px -63px;
}

/* Effect styles */
.explosion-positioner { z-index: 14; }
.explosion-scaler { transform: scale(3); transform-origin: center center; }
.explosion-effect {
     background-image: url('../assets/effects/explosion_doom_effect.png');
     background-repeat: no-repeat;
     background-position: -20px -95px;
}
.laser-positioner { z-index: 14; }
.laser-scaler { transform: scale(1) translateY(-45%); transform-origin: left center; }
.laser-effect {
    background-image: url('../assets/effects/laser_grid_doom_anim.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.debris-positioner { z-index: 14; }
.debris-effect {
     background-image: url('../assets/effects/debris_doom_effect.png');
     background-repeat: no-repeat;
}

/* --- Animations --- */
@keyframes demon-idle-doom {
    0%    { background-position: -55px -63px; }
    11.11% { background-position: -220px -63px; }
    22.22% { background-position: -390px -63px; }
    33.33% { background-position: -545px -63px; }
    44.44% { background-position: -700px -63px; }
    55.55% { background-position: -855px -63px; }
    66.66% { background-position: -1000px -63px; }
    77.77% { background-position: -1120px -63px; }
    88.88% { background-position: -1250px -63px; }
    99.99% { background-position: -1365px -63px; }
    100%  { background-position: -55px -63px; }
}
@keyframes demon-attack-doom {
    0%   { background-position: -78px -60px; }
    25%  { background-position: -404px -60px; }
    50%  { background-position: -675px -60px; }
    75%  { background-position: -1010px -60px; }
    100% { background-position: -1010px -60px; }
}
body.theme-doom .demon-sprite.demon-idle-animation {
    animation: demon-idle-doom 1.58s steps(1) infinite;
}
body.theme-doom .demon-sprite.demon-attack-animation {
    animation: demon-attack-doom 0.7s steps(1) forwards;
    background-image: url('../assets/sprites/demon_doom_attack_spritesheet.png');
}

/* Explosion Animation */
@keyframes explosion-doom {
    0%   { background-position: -20px -95px; width: 35px; opacity: 1; }
    25%  { background-position: -80px -95px; width: 50px; opacity: 1; }
    50%  { background-position: -152px -95px; width: 43px; opacity: 1; }
    75%  { background-position: -220px -95px; width: 40px; opacity: 1; }
    100% { background-position: -220px -95px; width: 40px; opacity: 0; }
}
body.theme-doom .explosion-effect.explosion-active {
    animation: explosion-doom 1.0s steps(1) forwards;
    opacity: 1;
}

/* Debris Animation */
@keyframes debris-doom {
    0% { opacity: 1; }
    100% { opacity: 0; }
}
body.theme-doom .debris-effect.debris-active {
    animation: debris-doom 0.6s forwards;
    background-position: 0 0;
    opacity: 1;
}

/* Laser Animation */
@keyframes laser-doom {
    0% { opacity: 1; transform: scaleX(0.1); }
    20% { opacity: 1; transform: scaleX(1); }
    80% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(1); }
}
body.theme-doom .laser-effect.laser-active {
    animation: laser-doom 0.3s ease-out forwards;
    opacity: 1;
}

/* Hide game layer when class is applied */
#game-layer.game-layer-hidden {
    display: none;
}

/* --- Mobile Header Styles --- */
body.theme-doom .mobile-header-top {
    background-color: #000;
    border-bottom: 1px solid #008000;
    padding: 8px 15px;
}

body.theme-doom #mobile-menu-toggle {
    border: 1px solid #00FF00;
    background-color: #000;
}

body.theme-doom .burger-line {
    background-color: #00FF00;
    box-shadow: 0 0 3px rgba(0,255,0,0.8);
}

body.theme-doom #mobile-nav {
    background-color: rgba(0,5,0,0.95);
    border-left: 2px solid #00FF00;
    box-shadow: -2px 0 10px rgba(0,255,0,0.5);
}

body.theme-doom #mobile-nav a {
    color: #32CD32;
    font-family: monospace;
}

body.theme-doom #mobile-nav a:hover {
    background-color: #00FF00;
    color: #000;
}

/* Ensure site title remains visible in mobile header */
body.theme-doom .mobile-header-top .site-title {
    color: #00FF00;
}

/* --- Enhancements for ProductHub Quick Navigation Cards --- */
.hub-nav-card:hover {
    background-color: #00FF00; /* Bright green background on hover - for example */
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8), 0 0 8px rgba(0, 255, 0, 0.6) inset; /* More intense glow */
    transform: translateY(-3px); /* Slightly more lift */
}

/* Make text inside the card black on hover for high contrast */
.hub-nav-card:hover .arsenal-card-header .arsenal-card-icon svg,
.hub-nav-card:hover .arsenal-card-title,
.hub-nav-card:hover .arsenal-card-description {
    color: #000000 !important; /* Important to override existing green */
    text-shadow: none; /* Remove any green text-shadow that might reduce contrast */
}

/* Ensure SVG icon path also turns black if it's using fill: currentColor */
.hub-nav-card:hover .arsenal-card-header .arsenal-card-icon svg path {
    fill: #000000 !important;
}

/* --- Animated Background for Hub Navigation --- */
#hub-navigation {
    position: relative; /* Ensure this is set for z-index and pseudo-element positioning */
    overflow: hidden;   /* Clip the pseudo-element during animation */
    /* background-color: #000; /* Optional: ensure a base dark background if not already set by .game-screen */
}

#hub-navigation::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind .content-overlay (z-index: 1) and cards */
    
    /* Abstract Gradient - adjust colors to fit the DOOM theme */
    background-image: linear-gradient(
        to bottom,
        rgba(0, 255, 0, 0.3) 0%,    /* Lighter green, more transparent at the top */
        rgba(0, 180, 0, 0.2) 30%,
        rgba(0, 100, 0, 0.1) 70%,
        rgba(0, 0, 0, 0) 100%       /* Fading to fully transparent black at the bottom */
    );
    
    opacity: 0; /* Initially hidden */
    transform: translateY(-100%); /* Start off-screen at the top */
    
    /* Animation for appearing "from the sky" and fading */
    animation: skyfallBackground 2.5s ease-out forwards;
}

body.theme-doom #screen-1::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    /* Use a background image or gradient, or combine both: */
    background:
        linear-gradient(
            to bottom,
            rgba(0,255,0,0.18) 0%,
            rgba(0,180,0,0.12) 30%,
            rgba(0,100,0,0.08) 70%,
            rgba(0,0,0,0) 100%
        ),
        url('') center center/cover no-repeat;
    opacity: 0;
    transform: translateY(-100%);
    animation: skyfallBackground 2.5s ease-out forwards;
    pointer-events: none;
}
body.theme-doom #screen-1 {
    position: relative;
    overflow: hidden;
}
body.theme-doom #screen-1 > * {
    position: relative;
    z-index: 2;
}

@keyframes skyfallBackground {
    0% {
        opacity: 0;
        transform: translateY(-100%); /* Start above */
    }
    40% { /* Takes 40% of animation time to fully appear and move down */
        opacity: 0.7; /* Max opacity during entrance, adjust for desired intensity */
        transform: translateY(0%);
    }
    70% { /* Hold a bit */
        opacity: 0.6; 
        transform: translateY(0%);
    }
    100% { /* Fade to a more subtle, permanent opacity */
        opacity: 0.35; /* Final subtle background opacity, adjust as needed */
        transform: translateY(0%);
    }
}

/* Ensure content within #hub-navigation is above the animated background */
#hub-navigation > h2,
#hub-navigation > .arsenal-grid {
    position: relative;
    z-index: 2; /* Above the ::before pseudo-element and .content-overlay */
}

/* The existing .content-overlay should have z-index: 1 */
#hub-navigation .content-overlay {
    z-index: 1; /* Ensure scanlines are above the new ::before background but below content */
}

/* --- Experience Section Tabs --- */
.experience-section {
    padding: 2rem 0;
}

.experience-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.experience-section .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: #ccc;
}

.experience-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #2a3a2a;
    padding-bottom: 1rem;
}

.experience-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 2px solid #2a3a2a;
    color: #999;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.experience-tab:hover {
    background: #1a2a1a;
    color: #fff;
    border-color: #2fff2f;
}

.experience-tab.active {
    background: #111;
    color: #fff;
    border-color: #2fff2f;
    box-shadow: 0 0 15px rgba(47, 255, 47, 0.5);
}

.experience-panes {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #2a3a2a;
    padding: 1.5rem;
    min-height: 150px;
}

.experience-pane {
    display: none;
}

.experience-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.experience-pane p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.experience-pane p:last-child {
    margin-bottom: 0;
}

/* --- Final CTA Section --- */
.cta-final-section {
    text-align: center;
    margin: 3rem 0;
}

.cta-final-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00FF00;
}

.cta-final-section p {
    margin-bottom: 1.5rem;
    color: #ccc;
    line-height: 1.6;
}

.cta-final-section .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #00FF00;
    background: transparent;
    color: #00FF00;
    transition: all 0.3s ease;
}

.cta-final-section .cta-button:hover {
    background: #00FF00;
    color: #000;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

/* --- Miscellaneous Enhancements --- */
body.theme-doom {
    --scrollbar-bg: #000;
    --scrollbar-thumb: #00FF00;
    --scrollbar-thumb-hover: #32CD32;

    /* DOOM theme table variables */
    --doom-table-bg: rgba(5, 5, 5, 0.85);
    --doom-table-border: 1.5px solid #00FF00;
    --doom-table-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    --doom-table-header-bg: linear-gradient(to bottom, #002200, #001100);
    --doom-table-header-color: #00FF00;
    --doom-table-cell-color: #32CD32;

    /* DOOM theme glow variables for consistent effects */
    --doom-glow-primary: 0 0 8px rgba(0,255,0,0.6);
    --doom-glow-secondary: 0 0 12px rgba(0,255,0,0.4);
    --doom-glow-hover: 0 0 16px rgba(0,255,0,0.8);
    --doom-glow-subtle: 0 0 5px rgba(0,255,0,0.3);
}

/* Enhanced DOOM table styling for ALL blog pages */
body.theme-doom.blog-page .comparison-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 2em 0; 
    border: 1px solid #00FF00;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
    font-size: 1.05em; /* Bigger font for better readability */
}

body.theme-doom.blog-page .comparison-table th, 
body.theme-doom.blog-page .comparison-table td { 
    border: 1px solid #444; 
    padding: 15px; /* Increased padding for better spacing */
    text-align: left; 
    transition: all 0.3s ease; /* Smooth transitions for hover effects */
}

body.theme-doom.blog-page .comparison-table th { 
    background-color: #2a2a2a; 
    color: #39FF14; 
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1em; /* Bigger header font */
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.6); /* Subtle glow */
}

/* Zebra striping for better readability */
body.theme-doom.blog-page .comparison-table tr:nth-child(even) {
    background-color: rgba(0, 40, 0, 0.15);
}

/* Hover effects */
body.theme-doom.blog-page .comparison-table tr:hover {
    background-color: rgba(0, 80, 0, 0.2);
    transform: translateY(-1px);
}

body.theme-doom.blog-page .comparison-table th:hover {
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
}

/* Fallback styling for tables without classes */
body.theme-doom.blog-page table:not([class]) {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--doom-table-bg);
    border: var(--doom-table-border);
    box-shadow: var(--doom-table-shadow);
    font-family: 'Fira Code', monospace;
}

body.theme-doom.blog-page table:not([class]) th {
    background: var(--doom-table-header-bg);
    color: var(--doom-table-header-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1.2rem;
    text-align: left;
    border-bottom: 2px solid #00FF00;
}

body.theme-doom.blog-page table:not([class]) td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #004400;
    color: var(--doom-table-cell-color);
}

/* Enhanced Blog-Specific Styles - Preserving DOOM Theme Font Sizes */
body.theme-doom.blog-page {
    font-size: 17px; /* Preserve DOOM theme base font size */
}

body.theme-doom.blog-page article h1 {
    font-size: 2.5rem; /* Larger than standard blog */
    text-align: center;
    margin-bottom: 1.5em;
    text-shadow: var(--doom-glow-secondary); /* Enhanced glow using CSS variable */
}

body.theme-doom.blog-page article h2 {
    font-size: 1.9rem; /* Larger than standard blog */
    margin-top: 2.5em;
    margin-bottom: 1em;
    border-bottom: 1px solid #00FF00;
    color: #00FF00;
    padding-bottom: 0.3em;
    text-shadow: var(--doom-glow-primary); /* Add glow using CSS variable */
}

body.theme-doom.blog-page article h3 {
    font-size: 1.6rem; /* Larger than standard blog */
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    color: #00FF00;
    text-shadow: var(--doom-glow-subtle); /* Add glow using CSS variable */
}

body.theme-doom.blog-page article p,
body.theme-doom.blog-page article li {
    font-size: 1.1rem; /* Larger base font */
    line-height: 1.8;
    color: #32CD32;
}

/* Enhanced Image Styling with Glowing Effects */
body.theme-doom.blog-page .cover-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 1.5em auto;
    border: 2px solid #00FF00;
    border-radius: 0px;
    box-shadow: var(--doom-glow-secondary), 0 0 40px rgba(0,255,0,0.2); /* Enhanced glow using CSS variables */
    background: #000;
    transition: box-shadow 0.3s ease;
    will-change: box-shadow; /* Performance optimization for smooth animations */
}

body.theme-doom.blog-page .cover-image:hover {
    box-shadow: var(--doom-glow-hover), 0 0 60px rgba(0,255,0,0.3); /* Stronger glow on hover */
}

/* Enhanced Visual Container with Glowing Effects */
body.theme-doom.blog-page .visual-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    border: 2px solid #008000;
    box-shadow: var(--doom-glow-subtle); /* Add glow using CSS variable */
    transition: all 0.3s ease;
    will-change: transform, box-shadow; /* Performance optimization */
}

body.theme-doom.blog-page .visual-container img:hover {
    border-color: #00FF00;
    box-shadow: var(--doom-glow-secondary); /* Stronger glow on hover */
    transform: scale(1.02); /* Slight zoom on hover */
}

/* Table Glowing Effects */
body.theme-doom.blog-page table:not([class]):hover {
    box-shadow: var(--doom-table-shadow), var(--doom-glow-subtle); /* Enhanced glow on hover */
}

body.theme-doom.blog-page table:not([class]) th:hover {
    text-shadow: var(--doom-glow-hover); /* Glowing text on hover */
}

/* Code Block Enhancements */
body.theme-doom.blog-page code {
    background-color: #0a0a0a;
    color: #00FF00;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Fira Code', monospace;
    font-size: 0.95em;
    box-shadow: var(--doom-glow-subtle); /* Subtle glow using CSS variable */
}

body.theme-doom.blog-page .code-block,
body.theme-doom.blog-page pre {
    background-color: #0a0a0a;
    border: 1px solid #008000;
    padding: 1em;
    border-radius: 5px;
    margin: 1.5em 0;
    overflow-x: auto;
    box-shadow: var(--doom-glow-subtle); /* Subtle glow using CSS variable */
}

/* Enhanced Button/CTA Styling */
body.theme-doom.blog-page .cta-button {
    display: block;
    max-width: 400px;
    margin: 2.5em auto;
    padding: 1em 2em;
    font-size: 1.1em;
    text-align: center;
    background-color: transparent;
    color: #00FF00;
    border: 2px solid #00FF00;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: var(--doom-glow-subtle); /* Initial glow using CSS variable */
    will-change: transform, box-shadow; /* Performance optimization */
}

body.theme-doom.blog-page .cta-button:hover {
    background-color: #00FF00;
    color: #000000;
    box-shadow: var(--doom-glow-hover), 0 0 40px rgba(0,255,0,0.3); /* Enhanced glow on hover */
    transform: translateY(-2px); /* Slight lift */
}


/* Extended table styles for all blog table variants */
body.theme-doom.blog-page .doom-table,
body.theme-doom.blog-page .data-table,
body.theme-doom.blog-page .responsive-table,
body.theme-doom.blog-page .comparison-table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    border: 1px solid #00FF00;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
    font-size: 1.05em;
}

body.theme-doom.blog-page .doom-table th, body.theme-doom.blog-page .doom-table td,
body.theme-doom.blog-page .data-table th, body.theme-doom.blog-page .data-table td,
body.theme-doom.blog-page .responsive-table th, body.theme-doom.blog-page .responsive-table td,
body.theme-doom.blog-page .comparison-table th, body.theme-doom.blog-page .comparison-table td {
    border: 1px solid #444;
    padding: 15px;
    text-align: left;
    transition: all 0.3s ease;
}

body.theme-doom.blog-page .doom-table th,
body.theme-doom.blog-page .data-table th,
body.theme-doom.blog-page .responsive-table th,
body.theme-doom.blog-page .comparison-table th {
    background-color: #2a2a2a;
    color: #39FF14;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1em;
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.6);
}

body.theme-doom.blog-page .doom-table tr:nth-child(even),
body.theme-doom.blog-page .data-table tr:nth-child(even),
body.theme-doom.blog-page .responsive-table tr:nth-child(even),
body.theme-doom.blog-page .comparison-table tr:nth-child(even) {
    background-color: rgba(0, 40, 0, 0.15);
}

body.theme-doom.blog-page .doom-table tr:hover,
body.theme-doom.blog-page .data-table tr:hover,
body.theme-doom.blog-page .responsive-table tr:hover,
body.theme-doom.blog-page .comparison-table tr:hover {
    background-color: rgba(0, 80, 0, 0.2);
    transform: translateY(-1px);
}
/* Responsive adjustments for blog pages */
@media (max-width: 768px) {
    body.theme-doom.blog-page {
        font-size: 16px; /* Slightly smaller on mobile for readability */
    }
    
    body.theme-doom.blog-page article h1 {
        font-size: 2rem;
    }
    
    body.theme-doom.blog-page article h2 {
        font-size: 1.6rem;
    }
    
    body.theme-doom.blog-page article h3 {
        font-size: 1.3rem;
    }
    
    body.theme-doom.blog-page .cover-image,
    body.theme-doom.blog-page .visual-container img {
        /* Reduce glow effects on mobile for better performance */
        box-shadow: var(--doom-glow-subtle);
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    body.theme-doom.blog-page .cover-image,
    body.theme-doom.blog-page .visual-container img,
    body.theme-doom.blog-page .cta-button {
        transition: none; /* Disable transitions for users who prefer reduced motion */
        will-change: auto; /* Reset will-change for better performance */
    }
    
    body.theme-doom.blog-page .visual-container img:hover,
    body.theme-doom.blog-page .cta-button:hover {
        transform: none; /* Disable transform animations */
    }
}


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Accessibility Enhancements */
body {
    scroll-behavior: smooth;
}

a {
    transition: color 0.3s ease, background-color 0.3s ease;
}

button {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    transform: translateY(-1px);
}

/* --- Keyframe Animations --- */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* --- Media Queries for Responsive Design --- */
@media (max-width: 768px) {
    body.theme-doom .hero-content-wrapper { flex-direction: column; }
    body.theme-doom .hero-left-column { padding-right: 0; order: 2; }
    body.theme-doom .hero-right-column { order: 1; margin-bottom: 15px; align-items: center; width: 100%; }
    body.theme-doom .hero-visual-image-new-container {max-width: 220px; }
    body.theme-doom .hero-visual-image-new { max-width: 220px; }
    body.theme-doom .cta-reinforcement-visual-image-new { max-width: 220px; }
    body.theme-doom h1 .hero-main-title-large { font-size: 1em; }
    body.theme-doom h1 .hero-main-title-small { font-size: 0.8m; }
    body.theme-doom .hero-cta-buttons { align-items: center; }
    body.theme-doom .cta-button { width: 100%; max-width: 280px; text-align: center; font-size: 0.95em; padding: 9px 18px;}
    #main-header { flex-direction: column; gap: 8px; padding: 8px; }
    #main-nav ul { flex-direction: column; gap: 8px; align-items: center; }
    #main-nav .dropdown-content { position: static; border: none; background-color: transparent; text-align: center; box-shadow: none; }
    #main-nav li.dropdown:hover .dropdown-content { display: flex; flex-direction: column; }
    .arsenal-grid { grid-template-columns: 1fr; }
    .social-proof-kickers-svg .kicker-items-row-svg { justify-content: flex-start; gap: 10px; }
}
@media (max-width: 480px) {
        body.theme-doom h1 .hero-main-title-large { font-size: 1em; }
        body.theme-doom h1 .hero-main-title-small { font-size: 0.8em; }
        .social-proof-kickers-svg .kicker-items-row-svg { flex-direction: column; align-items: flex-start;}
        .poe-profile { max-width: 100%; }
        .hero-visual-image-new { max-width: 180px; }
        .cta-reinforcement-visual-image-new-container { max-width: 180px; }
}

/* --- Experience Section Specific Styles --- */
.experience-section {
    padding: 2rem 0;
}

.experience-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.experience-section .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: #ccc;
}

.experience-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #2a3a2a;
    padding-bottom: 1rem;
}

.experience-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 2px solid #2a3a2a;
    color: #999;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.experience-tab:hover {
    background: #1a2a1a;
    color: #fff;
    border-color: #2fff2f;
}

.experience-tab.active {
    background: #111;
    color: #fff;
    border-color: #2fff2f;
    box-shadow: 0 0 15px rgba(47, 255, 47, 0.5);
}

.experience-panes {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #2a3a2a;
    padding: 1.5rem;
    min-height: 150px;
}

.experience-pane {
    display: none;
}

.experience-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.experience-pane p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.experience-pane p:last-child {
    margin-bottom: 0;
}

/* --- Final CTA Section --- */
.cta-final-section {
    text-align: center;
    margin: 3rem 0;
}

.cta-final-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00FF00;
}

.cta-final-section p {
    margin-bottom: 1.5rem;
    color: #ccc;
    line-height: 1.6;
}

.cta-final-section .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #00FF00;
    background: transparent;
    color: #00FF00;
    transition: all 0.3s ease;
}

.cta-final-section .cta-button:hover {
    background: #00FF00;
    color: #000;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

/* Calculator Widget Styling for Doom Theme */
body.theme-doom .interactive-calculator-widget {
    background: rgba(0,0,0,0.95);
    border: 2px solid #00FF00;
    box-shadow: 0 0 12px #00FF00, 0 0 8px #00FF00 inset;
    padding: 2em 1.5em 1.5em 1.5em;
    margin: 2em 0;
    border-radius: 0;
    color: #00FF00;
    font-family: monospace;
    max-width: 420px;
}
body.theme-doom .interactive-calculator-widget h3 {
    color: #00FF00;
    border-bottom: 1px solid #008000;
    margin-bottom: 1em;
    font-size: 1.2em;
}
body.theme-doom .interactive-calculator-widget form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
body.theme-doom .interactive-calculator-widget label {
    color: #32CD32;
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3em;
}
body.theme-doom .interactive-calculator-widget input[type="number"] {
    background: #000;
    color: #00FF00;
    border: 1.5px solid #00FF00;
    padding: 6px 10px;
    font-family: monospace;
    font-size: 1em;
    border-radius: 0;
    width: 120px;
    margin-left: 1em;
}
body.theme-doom .interactive-calculator-widget button {
    background: transparent;
    color: #00FF00;
    border: 2px solid #00FF00;
    padding: 10px 0;
    font-family: monospace;
    font-size: 1em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    margin-top: 1em;
    transition: background 0.2s, color 0.2s;
}
body.theme-doom .interactive-calculator-widget button:hover {
    background: #00FF00;
    color: #000;
    box-shadow: 0 0 8px #00FF00;
}
body.theme-doom .interactive-calculator-widget .roi-result {
    background: #000;
    border: 1px solid #00FF00;
    color: #00FF00;
    margin-top: 1.2em;
    padding: 1em;
    font-size: 1em;
    border-radius: 0;
    box-shadow: 0 0 6px #00FF00 inset;
}


/* --- Miscellaneous Enhancements --- */
body.theme-doom {
    --scrollbar-bg: #000;
    --scrollbar-thumb: #00FF00;
    --scrollbar-thumb-hover: #32CD32;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Accessibility Enhancements */
body {
    scroll-behavior: smooth;
}

a {
    transition: color 0.3s ease, background-color 0.3s ease;
}

button {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    transform: translateY(-1px);
}

/* --- Keyframe Animations --- */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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


/* === Interactive Diagram Styles === */
body.theme-doom .distribution-matrix-container {
    background: rgba(0,0,0,0.95);
    border: 2px solid #00FF00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6), 0 0 8px rgba(0, 255, 0, 0.3) inset;
    padding: 20px;
    margin: 2em 0;
    position: relative;
    max-width: 900px;
}

body.theme-doom .distribution-matrix-container .matrix-title {
    text-align: center;
    color: #00FF00;
    font-size: 1.2em;
    margin-bottom: 20px;
    border-bottom: 1px solid #008000;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
}

body.theme-doom .distribution-matrix-container canvas {
    background-color: #000;
    border: 1px solid #008000;
    cursor: crosshair;
    image-rendering: pixelated;
    width: 100%;
    height: auto;
}

body.theme-doom .distribution-matrix-container .legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.9em;
    flex-wrap: wrap;
}

body.theme-doom .distribution-matrix-container .legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #32CD32;
}

body.theme-doom .distribution-matrix-container .legend-color {
    width: 12px;
    height: 12px;
    border: 1px solid #00FF00;
}

body.theme-doom .distribution-matrix-container .legend-excellent {
    background-color: #00FF00;
}

body.theme-doom .distribution-matrix-container .legend-good {
    background-color: #32CD32;
}

body.theme-doom .distribution-matrix-container .legend-medium {
    background-color: #FFFF00;
}

body.theme-doom .distribution-matrix-container .legend-weak {
    background-color: #FFA500;
}

body.theme-doom .gtm-roadmap-container {
    background: rgba(0,0,0,0.95);
    border: 2px solid #00FF00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6), 0 0 8px rgba(0, 255, 0, 0.3) inset;
    padding: 20px;
    margin: 2em 0;
    position: relative;
    max-width: 1000px;
    min-height: 500px;
}

body.theme-doom .gtm-roadmap-container .roadmap-title {
    text-align: center;
    color: #00FF00;
    font-size: 1.2em;
    margin-bottom: 20px;
    border-bottom: 1px solid #008000;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
}

body.theme-doom .gtm-roadmap-container canvas {
    background-color: #000;
    border: 1px solid #008000;
    cursor: crosshair;
    image-rendering: pixelated;
    width: 100%;
    height: auto;
}

body.theme-doom .diagram-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.95);
    color: #00FF00;
    padding: 10px 15px;
    border: 1px solid #00FF00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 300px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

body.theme-doom .diagram-tooltip.show {
    opacity: 1;
}

body.theme-doom .diagram-tooltip strong {
    color: #32CD32;
}

body.theme-doom .diagram-tooltip ul {
    margin: 5px 0;
    padding-left: 15px;
}

body.theme-doom .diagram-tooltip li {
    margin-bottom: 3px;
    color: #32CD32;
}

/* Responsive adjustments for diagrams */
@media (max-width: 1000px) {
    body.theme-doom .distribution-matrix-container,
    body.theme-doom .gtm-roadmap-container {
        padding: 15px;
        max-width: 100%;
    }
    
    body.theme-doom .distribution-matrix-container .legend {
        gap: 15px;
        font-size: 0.8em;
    }
}

@media (max-width: 600px) {
    body.theme-doom .distribution-matrix-container .legend {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}


/* AI SERP Analyzer Architecture Diagram Styles */
body.theme-doom .serp-architecture-container {
    max-width: 100%;
    margin: 2em auto;
    background: #000;
    border: 2px solid #008000;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

body.theme-doom .architecture-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #00FF00;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #00FF00;
    font-family: 'Courier New', monospace;
}

body.theme-doom .serp-architecture-container canvas {
    border: 1px solid #008000;
    border-radius: 4px;
    background: #000;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

body.theme-doom .architecture-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

body.theme-doom .architecture-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00FF00;
}

body.theme-doom .architecture-legend .legend-color {
    width: 16px;
    height: 16px;
    border: 1px solid #008000;
    border-radius: 2px;
}

body.theme-doom .legend-user { background: #00FFFF; }
body.theme-doom .legend-api { background: #FFFF00; }
body.theme-doom .legend-scraper { background: #FF8C00; }
body.theme-doom .legend-ai { background: #00FF00; }
body.theme-doom .legend-storage { background: #9370DB; }

body.theme-doom .architecture-note {
    text-align: center;
    font-size: 12px;
    color: #32CD32;
    margin-top: 10px;
    font-style: italic;
}

/* Architecture diagram tooltip styles */
body.theme-doom .diagram-tooltip .tooltip-title {
    font-weight: bold;
    color: #FFFF00;
    margin-bottom: 5px;
}

body.theme-doom .diagram-tooltip .tooltip-content {
    color: #00FF00;
    line-height: 1.4;
}

/* Responsive adjustments for architecture diagram */
@media (max-width: 900px) {
    body.theme-doom .serp-architecture-container {
        padding: 15px;
    }
    
    body.theme-doom .architecture-legend {
        font-size: 10px;
        gap: 10px;
    }
    
    body.theme-doom .serp-architecture-container canvas {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 600px) {
    body.theme-doom .architecture-legend {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}


/* Mindset Comparison Infographic Styles */
body.theme-doom .mindset-infographic-container {
    max-width: 100%;
    margin: 2em auto;
    background: #000;
    border: 2px solid #008000;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

body.theme-doom .mindset-infographic-container .infographic-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #00FF00;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #00FF00;
    font-family: 'Courier New', monospace;
}

body.theme-doom .mindset-infographic-container canvas {
    border: 1px solid #008000;
    border-radius: 4px;
    background: #000;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

body.theme-doom .mindset-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

body.theme-doom .mindset-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00FF00;
}

body.theme-doom .mindset-legend .legend-color {
    width: 20px;
    height: 20px;
    border: 1px solid #008000;
    border-radius: 2px;
}

body.theme-doom .legend-corporate { background: #FF4444; }
body.theme-doom .legend-entrepreneur { background: #00FF00; }

body.theme-doom .comparison-note {
    text-align: center;
    font-size: 12px;
    color: #32CD32;
    margin-top: 15px;
    font-style: italic;
}

/* Mindset tooltip styles */
body.theme-doom .diagram-tooltip .tooltip-title {
    font-weight: bold;
    color: #FFFF00;
    margin-bottom: 8px;
    font-size: 13px;
}

body.theme-doom .diagram-tooltip .tooltip-content {
    color: #00FF00;
    line-height: 1.4;
}

/* Responsive adjustments for mindset comparison */
@media (max-width: 900px) {
    body.theme-doom .mindset-infographic-container {
        padding: 15px;
    }
    
    body.theme-doom .mindset-legend {
        font-size: 12px;
        gap: 15px;
    }
    
    body.theme-doom .mindset-infographic-container canvas {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 600px) {
    body.theme-doom .mindset-legend {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

/* Text Comparison Visual Styles */
.text-comparison-container {
    background: #000000;
    border: 2px solid #00FF00;
    border-radius: 8px;
    padding: 20px;
    margin: 2em 0;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.text-comparison-container canvas {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid #00FF00;
    border-radius: 4px;
    background: #000000;
}

.text-comparison-container .caption {
    color: #00FF00;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    text-align: center;
    margin-top: 1em;
    font-style: italic;
}

/* Responsive design for text comparison */
@media (max-width: 1000px) {
    .text-comparison-container {
        padding: 15px;
    }
    
    .text-comparison-container canvas {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .text-comparison-container {
        padding: 10px;
        margin: 1.5em 0;
    }
    
    .text-comparison-container .caption {
        font-size: 0.8em;
    }
}

/* PMF Analysis Container Styles */
.pmf-analysis-container {
    background: #000000;
    border: 2px solid #00FF00;
    border-radius: 8px;
    padding: 20px;
    margin: 2em 0;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    text-align: center;
}

.pmf-analysis-container .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #00FF00;
    font-family: 'Courier New', monospace;
}

.pmf-analysis-container canvas {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid #00FF00;
    border-radius: 4px;
    background: #000000;
    cursor: crosshair;
}

.pmf-analysis-container .tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #00FF00;
    border-radius: 4px;
    padding: 8px;
    font-size: 12px;
    color: #00FF00;
    pointer-events: none;
    z-index: 1000;
    max-width: 300px;
    display: none;
    font-family: 'Courier New', monospace;
}

.pmf-analysis-container .caption {
    color: #00FF00;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    text-align: center;
    margin-top: 1em;
    font-style: italic;
}

/* Responsive design for PMF analysis */
@media (max-width: 1000px) {
    .pmf-analysis-container {
        padding: 15px;
    }
    
    .pmf-analysis-container canvas {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .pmf-analysis-container {
        padding: 10px;
        margin: 1.5em 0;
    }
    
    .pmf-analysis-container .caption {
        font-size: 0.8em;
    }
}
