:root {
    --primary: #FFD700;
    --secondary: #E50914;
    --accent: #00F0FF;
    --bg-main: #0D0D0F;
    --bg-surface: #1A1A1D;
    --bg-overlay: rgba(13, 13, 15, 0.85);
    --bg-card: #151518;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #666666;
    --border-color: #2A2A2E;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.text-muted {
    color: #B0B0B0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel {
    background: var(--bg-overlay);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

.btn-retro {
    border-radius: 2px;
    font-family: 'Orbitron', sans-serif;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-retro:active {
    transform: scale(0.98);
}

.btn-retro-primary {
    background-color: var(--primary);
    color: #000;
    border: none;
}

.btn-retro-ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-retro-ghost:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

/* ===== header ===== */
.itc-header {
    background-color: #0D0D0F;
    border-bottom: 2px solid #2A2A2E;
    z-index: 1050;
}

.itc-header__system-bar {
    background-color: #1A1A1D;
    border-bottom: 1px solid #2A2A2E;
    padding: 4px 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #B0B0B0;
}

.itc-header__highlight-cyan {
    color: #00F0FF;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.4);
}

.itc-header__highlight-gold {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

.itc-header .navbar {
    padding: 0.75rem 0;
    background-color: #0D0D0F !important;
}

.itc-header__logo-img {
    max-width: 45px;
    height: auto;
    object-fit: contain;
}

.itc-header__site-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.itc-header .navbar-toggler {
    border: 1px solid #2A2A2E;
    color: #FFD700;
    padding: 0.5rem;
}

.itc-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

.itc-header .nav-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #FFFFFF !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.itc-header .nav-link:hover,
.itc-header .nav-link.active {
    color: #FFD700 !important;
}

@media (max-width: 991.98px) {
    .itc-header .navbar-collapse {
        background-color: #1A1A1D;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid #2A2A2E;
        border-radius: 4px;
    }

    .itc-header .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid #2A2A2E;
    }

    .itc-header .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .itc-header__site-name {
        font-size: 0.9rem;
    }
}

/* ===== hero ===== */
.hero-block {
    background-color: #0D0D0F;
    min-height: 100vh;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.hero-block .hero-video-bg {
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2);
}

.hero-block .hero-overlay {
    background: linear-gradient(135deg, rgba(13, 13, 15, 0.9) 0%, rgba(13, 13, 15, 0.4) 100%);
}

.hero-block .hero-scanlines {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 3px 100%;
    z-index: 1;
}

.hero-block .hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    font-size: clamp(1.5rem, 6vw, 4rem);
}

@media (max-width: 767px) {
    .hero-block .hero-title {
        font-size: 18px !important;
        hyphens: auto;
    }

    .hero-block .hero-subtitle {
        font-size: 14px !important;
        hyphens: auto;
    }
}

.hero-block .hero-subtitle {
    color: #B0B0B0;
    max-width: 600px;
    font-size: 1.1rem;
}

.hero-block .hero-archive-tag {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #FFD700;
    padding: 6px 16px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: #FFD700;
    border-radius: 2px;
}

.hero-block .hero-btn-primary {
    background-color: #FFD700;
    color: #0D0D0F;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 1px solid #FFD700;
}

.hero-block .hero-btn-primary:hover {
    background-color: #e6c200;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.hero-block .hero-btn-outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero-block .hero-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.hero-block .hero-ui-sidebar {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(13, 13, 15, 0.5);
    backdrop-filter: blur(10px);
}

.hero-block .hero-ui-label {
    font-size: 0.6rem;
    color: #666666;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.hero-block .hero-ui-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #00F0FF;
}

.hero-block .hero-wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
}

.hero-block .js-glitch-text {
    position: relative;
}

.hero-block .js-glitch-text:hover {
    text-shadow: 2px 0 #E50914, -2px 0 #00F0FF;
}

/* ===== about-archive ===== */
.about-archive-block {
    background-color: #0D0D0F;
    position: relative;
    z-index: 1;
}

.about-archive-block .archive-terminal-card {
    background: #151518;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.05) !important;
}

.about-archive-block .terminal-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.about-archive-block .archive-heading {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-archive-block .archive-text {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #B0B0B0 !important;
}

.about-archive-block .text-primary {
    color: #FFD700 !important;
}

.about-archive-block .text-accent {
    color: #00F0FF !important;
}

.about-archive-block .bg-surface {
    background-color: #1A1A1D !important;
}

.about-archive-block .status-pulse {
    width: 8px;
    height: 8px;
    background-color: #00FF00;
    border-radius: 50%;
    box-shadow: 0 0 8px #00FF00;
}

.about-archive-block .crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 100%), linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 100%, 100% 2px, 3px 100%;
    z-index: 2;
}

.about-archive-block .scanline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 100% 4px;
    z-index: 3;
}

.about-archive-block .btn-primary {
    background-color: #FFD700 !important;
    color: #0D0D0F !important;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-archive-block .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

@media (max-width: 767px) {
    .about-archive-block .archive-heading {
        font-size: 1.25rem !important;
    }

    .about-archive-block .archive-text {
        font-size: 0.9rem;
    }
}

/* ===== tech-specs ===== */
.tech-specs-archive {
    background-color: #0D0D0F;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    position: relative;
}

.tech-specs-archive .tech-specs-badge {
    font-family: 'Orbitron', sans-serif;
    color: #00F0FF;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border: 1px solid #00F0FF;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 2px;
}

.tech-specs-archive .tech-specs-heading {
    font-family: 'Orbitron', sans-serif;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-specs-archive .tech-specs-subheading {
    color: #B0B0B0;
    max-width: 600px;
    margin: 0 auto;
}

.tech-specs-archive .tech-card {
    background: #151518;
    border: 1px solid #2A2A2E;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.tech-specs-archive .tech-card:hover {
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.tech-specs-archive .tech-card-header {
    background: #1A1A1D;
    padding: 12px 20px;
    border-bottom: 1px solid #2A2A2E;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00F0FF;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
}

.tech-specs-archive .tech-card-body {
    padding: 24px;
}

.tech-specs-archive .tech-card-title {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.tech-specs-archive .tech-card-text {
    color: #B0B0B0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-specs-archive .tech-data-status {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    border-top: 1px dashed #2A2A2E;
    padding-top: 15px;
}

.tech-specs-archive .status-label {
    color: #666666;
}

.tech-specs-archive .status-value {
    color: #00F0FF;
    font-weight: bold;
}

.tech-specs-archive .tech-console-display {
    background: #1A1A1D;
    border: 2px solid #2A2A2E;
    border-radius: 8px;
    overflow: hidden;
}

.tech-specs-archive .display-header {
    background: #2A2A2E;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-specs-archive .display-header .dots {
    display: flex;
    gap: 6px;
}

.tech-specs-archive .display-header .dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666666;
}

.tech-specs-archive .display-header .title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: #B0B0B0;
}

.tech-specs-archive .display-content {
    padding: 30px;
    background: linear-gradient(rgba(13, 13, 15, 0.9), rgba(13, 13, 15, 0.9)), repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(0, 240, 255, 0.03) 2px);
}

.tech-specs-archive .tech-specs-list {
    color: #FFFFFF;
}

.tech-specs-archive .spec-item {
    padding: 10px 0;
    border-bottom: 1px solid #2A2A2E;
    font-size: 0.9rem;
}

.tech-specs-archive .spec-item strong {
    color: #FFD700;
    width: 140px;
    display: inline-block;
}

.tech-specs-archive .tech-button-primary {
    display: inline-block;
    background: #FFD700;
    color: #0D0D0F;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    border-radius: 2px;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #FFD700;
}

.tech-specs-archive .tech-button-primary:hover {
    background: transparent;
    color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* ===== INTERACTIVE DIAGNOSTICS ===== */
.diag-console {
    background: #0a0a0c;
    border: 2px solid #2A2A2E;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    font-family: 'Courier New', Courier, monospace;
}

.diag-console::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 10;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 0 100%, 0 0; }
}

.diag-header {
    background: #1a1a1d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #2A2A2E;
}

.diag-header .dots {
    display: flex;
    gap: 6px;
}

.diag-header .dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
}

.diag-header .dots span:first-child { background: #ff5f56; }
.diag-header .dots span:nth-child(2) { background: #ffbd2e; }
.diag-header .dots span:last-child { background: #27c93f; }

.diag-header .title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: #B0B0B0;
    letter-spacing: 1px;
}

.diag-body {
    padding: 24px;
    background: #0a0a0c;
    position: relative;
}

.diag-specs {
    margin-bottom: 20px;
}

.diag-spec-row {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #00ff41;
    padding: 6px 0;
    border-bottom: 1px dotted #1a1a1d;
}

.diag-spec-row strong {
    color: #FFD700;
    display: inline-block;
    width: 130px;
}

.diag-terminal {
    background: #000;
    border: 1px solid #1a1a1d;
    border-radius: 2px;
    padding: 16px;
    min-height: 180px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.diag-terminal .term-line {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #00ff41;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.diag-terminal .term-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.diag-terminal .term-line.status-ok { color: #00ff41; }
.diag-terminal .term-line.status-warn { color: #ffbd2e; }
.diag-terminal .term-line.status-err { color: #ff5f56; }

.diag-terminal .term-line .status-badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 8px;
}

.diag-terminal .term-line.status-ok .status-badge {
    background: rgba(0, 255, 65, 0.15);
    color: #00ff41;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.diag-terminal .term-line.status-warn .status-badge {
    background: rgba(255, 189, 46, 0.15);
    color: #ffbd2e;
    border: 1px solid rgba(255, 189, 46, 0.3);
}

.diag-terminal .term-line.status-err .status-badge {
    background: rgba(255, 95, 86, 0.15);
    color: #ff5f56;
    border: 1px solid rgba(255, 95, 86, 0.3);
}

.diag-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: #00ff41;
    animation: cursorBlink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 4px;
}

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

.diag-result {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 2px;
    margin-bottom: 16px;
    display: none;
    align-items: center;
    gap: 10px;
}

.diag-result.result-stable {
    background: rgba(0, 255, 65, 0.08);
    border: 1px solid rgba(0, 255, 65, 0.3);
    color: #00ff41;
}

.diag-result.result-reinsert {
    background: rgba(255, 189, 46, 0.08);
    border: 1px solid rgba(255, 189, 46, 0.3);
    color: #ffbd2e;
}

.diag-result.visible {
    display: flex;
}

.diag-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.diag-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 2px;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.diag-btn-primary {
    background: #FFD700;
    color: #0D0D0F;
    border-color: #FFD700;
}

.diag-btn-primary:hover {
    background: transparent;
    color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.diag-btn-outline {
    color: #00F0FF;
    border-color: #00F0FF;
    background: transparent;
}

.diag-btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.diag-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Schematics Modal */
.diag-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.diag-modal-overlay.active {
    display: flex;
}

.diag-modal {
    background: #0a0a0c;
    border: 2px solid #2A2A2E;
    border-radius: 4px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.diag-modal-header {
    background: #1a1a1d;
    padding: 12px 20px;
    border-bottom: 1px solid #2A2A2E;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.diag-modal-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #FFD700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diag-modal-close {
    background: none;
    border: none;
    color: #B0B0B0;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: all 0.2s;
}

.diag-modal-close:hover {
    background: rgba(255, 95, 86, 0.15);
    color: #ff5f56;
}

.diag-modal-body {
    padding: 24px;
}

.schematic-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #000;
    border: 1px solid #1a1a1d;
    border-radius: 4px;
}

.schematic-part {
    text-align: center;
    padding: 12px 24px;
    border: 1px solid;
    border-radius: 2px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    width: 100%;
    max-width: 280px;
}

.schematic-part.shell {
    border-color: #FFD700;
    color: #FFD700;
    background: rgba(255, 215, 0, 0.05);
}

.schematic-part.pins {
    border-color: #00F0FF;
    color: #00F0FF;
    background: rgba(0, 240, 255, 0.05);
    position: relative;
}

.schematic-part.pins::before,
.schematic-part.pins::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 16px;
    background: #2A2A2E;
    left: 50%;
}

.schematic-part.pins::before { top: -16px; }
.schematic-part.pins::after { bottom: -16px; }

.schematic-part.board {
    border-color: #00ff41;
    color: #00ff41;
    background: rgba(0, 255, 65, 0.05);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schematic-label {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.65rem;
    color: #666;
    margin-top: 4px;
}

.schematic-connector {
    width: 2px;
    height: 16px;
    background: #2A2A2E;
}

@media (max-width: 768px) {
    .diag-body { padding: 16px; }
    .diag-spec-row { font-size: 0.78rem; }
    .diag-terminal { min-height: 140px; padding: 12px; }
    .diag-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .tech-specs-archive .tech-specs-heading {
        font-size: 1.5rem;
    }

    .tech-specs-archive .spec-item strong {
        display: block;
        margin-bottom: 4px;
    }
}

/* ===== community-exchange ===== */
.community-exchange-block {
    background-color: #0D0D0F;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.community-exchange-block h2,
.community-exchange-block h3,
.community-exchange-block h4 {
    font-family: 'Orbitron', sans-serif;
    color: #FFD700;
    letter-spacing: 2px;
}

.community-exchange-block .content-panel {
    background: rgba(26, 26, 29, 0.5);
    border-radius: 4px;
    border-left: 2px solid #00F0FF;
}

.community-exchange-block .newsletter-card {
    background: #151518;
    border: 1px solid #2A2A2E;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.community-exchange-block .btn-primary {
    background-color: #FFD700 !important;
    color: #0D0D0F !important;
    border: none;
    border-radius: 2px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-exchange-block .btn-primary:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.community-exchange-block .btn-outline-warning {
    color: #FFD700;
    border-color: #FFD700;
    border-radius: 2px;
}

.community-exchange-block .btn-outline-warning:hover {
    background-color: #FFD700;
    color: #0D0D0F;
}

.community-exchange-block .visual-container {
    position: relative;
}

.community-exchange-block .image-frame {
    position: relative;
    padding: 10px;
    background: #1A1A1D;
    border: 1px solid #2A2A2E;
}

.community-exchange-block .image-frame img {
    width: 100%;
    height: auto;
    filter: grayscale(20%);
    transition: 0.5s ease;
}

.community-exchange-block .image-frame:hover img {
    filter: grayscale(0%);
}

.community-exchange-block .scanline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
}

.community-exchange-block .history-card {
    background: #151518;
    border: 1px solid #2A2A2E;
    transition: border-color 0.3s ease;
}

.community-exchange-block .history-card:hover {
    border-color: #00F0FF;
}

.community-exchange-block .card-img-top {
    height: 180px;
    overflow: hidden;
}

.community-exchange-block .form-outline .form-control {
    color: #FFFFFF;
    background: #0D0D0F;
    border-color: #2A2A2E;
}

.community-exchange-block .form-outline .form-label {
    color: #B0B0B0;
}

.community-exchange-block .form-outline .form-control:focus~.form-label {
    color: #FFD700;
}

/* ===== footer ===== */
.footer-block {
    background-color: #0D0D0F;
    padding: 80px 0 40px;
    border-top: 1px solid #2A2A2E;
    position: relative;
    overflow: hidden;
}

.footer-block .footer-logo {
    max-width: 50px;
    height: auto;
    object-fit: cover;
}

.footer-block .footer-description {
    color: #B0B0B0;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-block .footer-section-title {
    font-family: 'Orbitron', sans-serif;
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-block .footer-nav-link {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-block .footer-nav-link:hover {
    color: #00F0FF;
    padding-left: 5px;
}

.footer-block .footer-nav-list li {
    margin-bottom: 0.75rem;
}

.footer-block .contact-detail {
    color: #B0B0B0;
    font-size: 0.95rem;
}

.footer-block .contact-detail i {
    color: #FFD700;
    font-size: 1.2rem;
}

.footer-block .contact-link {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-block .contact-link:hover {
    color: #FFD700;
}

.footer-block .social-share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1A1A1D;
    border: 1px solid #2A2A2E;
    color: #FFFFFF;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-block .social-share-btn:hover {
    background: #FFD700;
    color: #0D0D0F;
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.footer-block .footer-bottom-bar {
    border-top: 1px solid #2A2A2E !important;
}

.footer-block .copyright-info {
    color: #666666;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
}

.footer-block .technical-metadata {
    color: #444444;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .footer-block {
        padding: 60px 0 30px;
    }

    .footer-block .footer-section-title {
        margin-top: 1.5rem;
    }

    .footer-block .footer-description {
        max-width: 100%;
    }
}

/* ===== PAGE: privacy ===== */
.policy-content { padding: 2rem; max-width: 900px; margin: 0 auto; color: #FFFFFF; font-family: 'Inter', sans-serif; line-height: 1.8; background: #151518; border: 1px solid #2A2A2E; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); } .policy-content h2 { font-family: 'Orbitron', sans-serif; color: #FFD700; text-transform: uppercase; letter-spacing: 2px; margin-top: 2.5rem; margin-bottom: 1.25rem; font-size: 1.5rem; border-left: 4px solid #00F0FF; padding-left: 1rem; } .policy-content p { margin-bottom: 1.25rem; color: #B0B0B0; font-size: 1rem; } .policy-content ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; } .policy-content ul li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; color: #FFFFFF; } .policy-content ul li::before { content: '>'; position: absolute; left: 0; color: #00F0FF; font-weight: bold; } .policy-content strong { color: #FFD700; } .policy-content a { color: #00F0FF; text-decoration: none; transition: 0.3s ease; } .policy-content a:hover { color: #FFD700; text-shadow: 0 0 8px rgba(255, 215, 0, 0.4); } @media (max-width: 768px) { .policy-content { padding: 1.5rem; } .policy-content h2 { font-size: 1.1rem; } .policy-content p { font-size: 0.95rem; } }

/* ===== PAGE: terms ===== */
.policy-content .itc-terms-section { padding: 2rem 0; color: #FFFFFF; font-family: 'Inter', sans-serif; }.policy-content .itc-terms-article { max-width: 900px; margin: 0 auto; }.policy-content .itc-terms-heading { font-family: 'Orbitron', sans-serif; color: #FFD700; font-size: 1.5rem; letter-spacing: 1px; margin-top: 2.5rem; margin-bottom: 1.25rem; text-transform: uppercase; border-left: 4px solid #00F0FF; padding-left: 1rem; }.policy-content .itc-terms-text { line-height: 1.8; color: #B0B0B0; margin-bottom: 1.5rem; font-size: 1rem; }.policy-content .itc-terms-list { list-style: none; padding-left: 0; margin-bottom: 2rem; }.policy-content .itc-terms-list-item { display: flex; align-items: flex-start; gap: 12px; color: #B0B0B0; margin-bottom: 0.75rem; line-height: 1.6; }.policy-content .itc-terms-list-item::before { content: none; }
.policy-content .itc-terms-list-item { padding-left: 0; }
.policy-content .itc-terms-list-item i { color: #00F0FF; font-size: 1.2rem; margin-top: 2px; }.policy-content .itc-terms-link { color: #FFD700; text-decoration: none; transition: color 0.3s ease; border-bottom: 1px solid transparent; }.policy-content .itc-terms-link:hover { color: #00F0FF; border-bottom: 1px solid #00F0FF; }@media (max-width: 768px) { .policy-content .itc-terms-heading { font-size: 1.2rem; } .policy-content .itc-terms-text { font-size: 0.95rem; } }

/* ===== PAGE: disclaimer ===== */
.policy-container { background-color: #0D0D0F; color: #FFFFFF; padding: 4rem 1rem; min-height: 80vh; }.policy-content { max-width: 900px; margin: 0 auto; line-height: 1.8; font-family: 'Inter', sans-serif; color: #B0B0B0; }.disclaimer-block h2 { font-family: 'Orbitron', sans-serif; color: #FFD700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 2rem; border-left: 4px solid #FFD700; padding-left: 1rem; line-height: 1.2; font-size: clamp(24px, 5vw, 36px); }.disclaimer-block h3 { font-family: 'Orbitron', sans-serif; color: #00F0FF; text-transform: uppercase; letter-spacing: 1px; margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 1px solid #2A2A2E; padding-bottom: 0.5rem; font-size: clamp(18px, 3vw, 22px); }.disclaimer-block p { margin-bottom: 1.5rem; text-align: justify; hyphens: auto; font-weight: 300; }.disclaimer-block ul { margin-bottom: 1.5rem; padding-left: 1.2rem; list-style: none; }.disclaimer-block li { position: relative; margin-bottom: 0.75rem; padding-left: 1.5rem; }.disclaimer-block li::before { content: '>'; position: absolute; left: 0; color: #FFD700; font-family: 'Orbitron', sans-serif; font-weight: bold; }.disclaimer-block a { color: #FFD700; text-decoration: none; transition: color 0.3s ease; border-bottom: 1px dashed rgba(255, 215, 0, 0.4); }.disclaimer-block a:hover { color: #00F0FF; border-bottom-color: #00F0FF; }@media (max-width: 768px) { .policy-container { padding: 2rem 0.5rem; } .disclaimer-block h2 { font-size: 18px; } .disclaimer-block h3 { font-size: 16px; } .disclaimer-block p, .disclaimer-block li { font-size: 14px; line-height: 1.6; } }

/* ===== PAGE: cookies ===== */
.policy-container {
  padding: 60px 0;
  background: #0D0D0F;
}
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: #151518;
  border: 1px solid #2A2A2E;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.policy-content h2 {
  font-family: 'Orbitron', sans-serif;
  color: #FFD700 !important;
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
  border-left: 4px solid #FFD700;
  padding-left: 15px;
}
.policy-content h3 {
  font-family: 'Orbitron', sans-serif;
  color: #00F0FF !important;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-top: 30px;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.policy-content p {
  font-family: 'Inter', sans-serif;
  color: #B0B0B0;
  line-height: 1.8;
  margin-bottom: 20px;
}
.policy-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.policy-content ul li {
  color: #B0B0B0;
  padding-left: 25px;
  position: relative;
  margin-bottom: 12px;
}
.policy-content ul li::before {
  content: '\eb7c';
  font-family: 'remixicon';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 16px;
}
.policy-content strong {
  color: #FFFFFF;
}
@media (max-width: 767px) {
  .policy-container {
    padding: 30px 15px;
  }
  .policy-content {
    padding: 24px;
  }
  .policy-content h2 {
    font-size: 18px;
  }
  .policy-content h3 {
    font-size: 16px;
  }
  .policy-content p, .policy-content ul li {
    font-size: 14px;
    hyphens: auto;
  }
}

/* ===== PAGE: about ===== */
.about-museum-section { background-color: #0D0D0F; } .about-content-card { background: #151518; border-left: 4px solid #FFD700; border-radius: 4px; } .about-museum-section .section-tag { font-family: 'Orbitron', sans-serif; color: #00F0FF; font-size: 0.8rem; letter-spacing: 2px; } .about-museum-section .h1-display { font-family: 'Orbitron', sans-serif; color: #FFFFFF; text-transform: uppercase; letter-spacing: 1px; } .info-box { background: #1A1A1D; border: 1px solid #2A2A2E; transition: transform 0.3s ease, border-color 0.3s ease; } .info-box:hover { transform: translateY(-5px); border-color: #FFD700; }
.info-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
} .bg-surface { background-color: #1A1A1D; } .terminal-card { background: #0D0D0F; border: 1px solid #2A2A2E; border-top: 30px solid #2A2A2E; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.5); } .status-dot { height: 10px; width: 10px; background-color: #FFD700; border-radius: 50%; display: inline-block; } .terminal-title { font-family: 'Orbitron', sans-serif; font-size: 0.75rem; color: #B0B0B0; } .form-label-custom { color: #00F0FF; font-family: 'Orbitron', sans-serif; font-size: 0.7rem; margin-bottom: 8px; display: block; letter-spacing: 1px; } .form-control-terminal { background: #151518; border: 1px solid #2A2A2E; color: #FFFFFF; font-family: 'Inter', sans-serif; padding: 12px; border-radius: 2px; } .form-control-terminal:focus { background: #1A1A1D; border-color: #FFD700; color: #FFFFFF; box-shadow: 0 0 10px rgba(255, 215, 0, 0.1); outline: none; } .form-control-terminal::placeholder { color: #666666; font-style: italic; } .btn-primary-custom { background: #FFD700; color: #0D0D0F; border: none; font-family: 'Orbitron', sans-serif; font-weight: 700; border-radius: 2px; text-transform: uppercase; transition: all 0.3s ease; } .btn-primary-custom:hover { background: #FFFFFF; box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); transform: scale(1.02); } .about-image-frame img { border: 1px solid #2A2A2E; object-fit: cover; aspect-ratio: 16/10; }

/* ===== PAGE: hardware ===== */
.itc-hardware-catalog {
  background-color: #0D0D0F;
  font-family: 'Inter', sans-serif;
}

.itc-hardware-catalog .itc-section-title {
  font-family: 'Orbitron', sans-serif;
  color: #FFD700;
  letter-spacing: 2px;
}

.itc-hardware-catalog .itc-search-box {
  max-width: 400px;
  border: 1px solid #2A2A2E;
}

.itc-hardware-catalog .itc-search-box .form-control:focus {
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
  border-color: #FFD700;
}

.itc-hardware-catalog .itc-card {
  background: #151518;
  border: 1px solid #2A2A2E;
  border-radius: 4px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.itc-hardware-catalog .itc-card:hover {
  border-color: #00F0FF;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.itc-hardware-catalog .itc-card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.itc-hardware-catalog .itc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.5s ease;
}

.itc-hardware-catalog .itc-card:hover .itc-card-img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.itc-hardware-catalog .itc-card-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
}

.itc-hardware-catalog .itc-card-title {
  font-family: 'Orbitron', sans-serif;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.itc-hardware-catalog .itc-card-meta {
  font-size: 0.8rem;
  color: #666666;
}

.itc-hardware-catalog .itc-meta-item i {
  color: #00F0FF;
  margin-right: 5px;
}

.itc-hardware-catalog .itc-btn-primary {
  background-color: #FFD700;
  color: #0D0D0F;
  padding: 10px 20px;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 2px;
  transition: 0.3s ease;
  border: none;
  display: inline-block;
}

.itc-hardware-catalog .itc-btn-primary:hover {
  background-color: #FFFFFF;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.itc-hardware-catalog .itc-comments-count {
  font-size: 0.85rem;
  font-weight: 600;
}

.itc-hardware-catalog .dropdown-toggle::after {
  vertical-align: middle;
}

@media (max-width: 768px) {
  .itc-hardware-catalog .itc-section-title {
    font-size: 1.5rem;
  }
  .itc-hardware-catalog .itc-card-img-wrapper {
    height: 180px;
  }
}

/* ===== PAGE: history ===== */
.history-archive { background-color: #0D0D0F; color: #FFFFFF; font-family: 'Inter', sans-serif; }.history-archive .archive-main-title { font-family: 'Orbitron', sans-serif; color: #FFD700; text-transform: uppercase; letter-spacing: 2px; }.history-archive .archive-subtitle { color: #B0B0B0; font-size: 1.1rem; }.history-archive .archive-divider { width: 60px; height: 3px; background-color: #00F0FF; margin-bottom: 2rem; }.history-archive .archive-card { background-color: #151518; border: 1px solid #2A2A2E; border-radius: 4px; overflow: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; display: flex; flex-direction: column; }.history-archive .archive-card:hover { border-color: #FFD700; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }.history-archive .archive-card-media { height: 220px; overflow: hidden; }.history-archive .archive-card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter 0.5s ease; }.history-archive .archive-card:hover .archive-card-media img { filter: grayscale(0%); }.history-archive .archive-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }.history-archive .archive-date { font-family: 'Orbitron', sans-serif; color: #666666; font-size: 0.8rem; margin-bottom: 0.5rem; display: block; }.history-archive .archive-item-title { color: #FFFFFF; font-family: 'Orbitron', sans-serif; margin-bottom: 1rem; line-height: 1.3; }.history-archive .archive-item-text { color: #B0B0B0; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }.history-archive .archive-btn-link, .history-archive .archive-btn-link button { background-color: #FFD700; color: #0D0D0F; padding: 10px 20px; text-decoration: none; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 0.8rem; border-radius: 2px; transition: 0.3s ease; border: none; display: inline-block; margin-top: auto; text-transform: uppercase; }.history-archive .archive-btn-link:hover, .history-archive .archive-btn-link button:hover { cursor: pointer; outline: none; } .history-archive .archive-btn-link:active, .history-archive .archive-btn-link button:active { outline: none; } .history-archive .archive-btn-link:hover, .history-archive .archive-btn-link button:hover { background-color: #FFFFFF; color: #0D0D0F; box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }.history-archive .history-info-block { background: linear-gradient(135deg, #1A1A1D 0%, #0D0D0F 100%); border: 1px solid #2A2A2E; border-top: 4px solid #FFD700; }.history-archive h3 { font-family: 'Orbitron', sans-serif; color: #00F0FF; }

/* ===== PAGE: library ===== */
.library-catalog-section { background-color: #0D0D0F; color: #FFFFFF; font-family: 'Inter', sans-serif; }
.library-catalog-section__title { color: #FFD700; font-family: 'Orbitron', sans-serif; letter-spacing: 2px; font-size: 1.75rem; }
.library-catalog-section__divider { height: 2px; width: 60px; background-color: #00F0FF; margin-bottom: 1.5rem; }
.library-catalog-section__card { background: #151518; border: 1px solid #2A2A2E; border-radius: 4px; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; position: relative; display: flex; flex-direction: column; }
.library-catalog-section__card:hover { transform: translateY(-5px); border-color: #00F0FF; box-shadow: 0 10px 20px rgba(0, 240, 255, 0.1); }
.library-catalog-section__img-wrapper { height: 200px; overflow: hidden; position: relative; }
.img-fluid-custom { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter 0.5s ease; }
.library-catalog-section__card:hover .img-fluid-custom { filter: grayscale(0%); }
.library-catalog-section__content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.library-catalog-section__date { color: #666666; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.library-catalog-section__card-title { font-family: 'Orbitron', sans-serif; color: #FFFFFF; font-size: 1.1rem; margin-bottom: 1rem; text-transform: uppercase; }
.library-catalog-section__text { color: #B0B0B0; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.library-catalog-section__link { color: #FFD700; text-decoration: none; font-weight: 600; font-size: 0.9rem; margin-top: auto; display: inline-flex; align-items: center; transition: color 0.3s ease; gap: 8px; text-transform: uppercase; }
.library-catalog-section__link:hover { color: #00F0FF; }
.btn-primary { background-color: #FFD700 !important; color: #0D0D0F !important; border-radius: 2px; font-weight: 700; border: none; font-family: 'Orbitron', sans-serif; }
.btn-primary:hover { background-color: #00F0FF !important; }

.comment-container {
    font-family: 'Inter', sans-serif;
}

.comment-card {
    background: #151518;
    border: 1px solid #2A2A2E;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #E50914);
    color: #0D0D0F;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid #2A2A2E;
}

.comment-author {
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.comment-meta {
    color: #666666;
    font-size: 0.75rem;
}

.comment-text {
    color: #FFFFFF;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-comment-action {
    background: transparent;
    border: none;
    color: #B0B0B0;
    font-size: 0.8rem;
    padding: 0;
    transition: color 0.3s ease;
}

.btn-comment-action:hover {
    color: #00F0FF;
}

.comment-reply-wrapper {
    border-left: 2px solid #2A2A2E;
    padding-left: 1rem;
}

.reply-card {
    background: #1A1A1D;
    border-color: #2A2A2E;
}

.avatar-reply {
    width: 36px;
    height: 36px;
    font-size: 12px;
    background: #00F0FF;
    color: #0D0D0F;
}

.text-accent {
    color: #00F0FF;
    font-weight: 600;
    margin-right: 4px;
}


/* ===== PAGE TEMPLATE: hardware ===== */
.itc-detail-page {
    background-color: #0D0D0F;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.itc-detail-page .hero-block {
    height: 400px;
    border-bottom: 2px solid #2A2A2E;
}

.itc-detail-page .hero-overlay {
    background: linear-gradient(0deg, rgba(13, 13, 15, 1) 0%, rgba(13, 13, 15, 0.4) 100%);
    z-index: 1;
}

.itc-detail-page .hero-scanlines {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 3px 100%;
    z-index: 2;
}

.itc-detail-page .hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: #FFD700;
    letter-spacing: 2px;
}

.itc-detail-page .hero-subtitle {
    color: #B0B0B0;
    font-size: 1.1rem;
    max-width: 800px;
}

.itc-detail-page .text-gold {
    color: #FFD700 !important;
}

.itc-detail-page .text-cyan {
    color: #00F0FF !important;
}

.itc-detail-page .text-accent {
    color: #FFD700 !important;
}

.itc-detail-page .bg-card {
    background-color: #151518;
}

.itc-detail-page .article-container {
    background-color: #151518;
    border: 1px solid #2A2A2E;
    border-radius: 4px;
}

.itc-detail-page .image-frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 215, 0, 0.2);
    pointer-events: none;
}

.itc-detail-page .spec-card {
    background: #1A1A1D;
    border: 1px solid #2A2A2E;
    border-radius: 2px;
    font-size: 0.85rem;
    font-family: 'Orbitron', sans-serif;
}

.itc-detail-page .spec-label {
    color: #666666;
}

.itc-detail-page .hover-shift {
    transition: all 0.3s ease;
}

.itc-detail-page .hover-shift:hover {
    transform: translateX(5px);
    background: rgba(255, 215, 0, 0.05);
}

.itc-detail-page .itc-form-field .form-control {
    background: #0D0D0F;
    border: 1px solid #2A2A2E;
    border-radius: 2px;
}

.itc-detail-page .itc-form-field .form-control:focus {
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.itc-detail-page .comment-avatar {
    width: 48px;
    height: 48px;
    background: #FFD700;
    color: #0D0D0F;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-radius: 4px;
    font-size: 1.2rem;
}

.itc-detail-page .avatar-reply {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    background: #00F0FF;
}

.itc-detail-page .comment-card {
    background: #1A1A1D;
    border: 1px solid #2A2A2E;
    border-radius: 4px;
}

.itc-detail-page .comment-author {
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
}

.itc-detail-page .comment-meta {
    font-size: 0.75rem;
    color: #666666;
}

.itc-detail-page .comment-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #B0B0B0;
}

.itc-detail-page .btn-comment-action {
    background: none;
    border: none;
    color: #666666;
    font-size: 0.8rem;
    padding: 0;
    transition: color 0.3s ease;
}

.itc-detail-page .btn-comment-action:hover,
.itc-detail-page .btn-comment-action.active {
    color: #FFD700;
}

@media (max-width: 768px) {
    .itc-detail-page .hero-block {
        height: auto;
    }

    .itc-detail-page .hero-title {
        font-size: 1.5rem !important;
    }

    .itc-detail-page .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .itc-detail-page .comment-reply-wrapper {
        margin-left: 1.5rem !important;
    }
}

/* ===== PAGE TEMPLATE: history ===== */
.history-detail-block {
    background-color: #0D0D0F;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.history-detail-block .hero-block {
    background: #1A1A1D;
    border-bottom: 2px solid #2A2A2E;
}

.history-detail-block .hero-overlay {
    background: linear-gradient(180deg, rgba(26, 26, 29, 0.4) 0%, rgba(13, 13, 15, 1) 100%);
}

.history-detail-block .hero-scanlines {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 1;
}

.history-detail-block .detail-meta-tag {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #FFD700;
    padding: 6px 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: #FFD700;
    border-radius: 2px;
    letter-spacing: 1px;
}

.history-detail-block .detail-main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: #FFFFFF;
    letter-spacing: 2px;
    line-height: 1.2;
}

.history-detail-block .detail-lead-text {
    font-size: 1.1rem;
    color: #B0B0B0;
    max-width: 800px;
}

.history-detail-block .detail-main-img {
    border: 1px solid #2A2A2E;
    border-radius: 4px;
    width: 100%;
    object-fit: cover;
    max-height: 500px;
}

.history-detail-block .detail-rich-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #D1D1D1;
}

.history-detail-block .detail-rich-text h2,
.history-detail-block .detail-rich-text h3 {
    font-family: 'Orbitron', sans-serif;
    color: #FFD700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.history-detail-block .detail-rich-text p {
    margin-bottom: 1.5rem;
}

.history-detail-block .detail-tag {
    background: #1A1A1D;
    border: 1px solid #2A2A2E;
    color: #666666;
    padding: 4px 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.history-detail-block .detail-tag:hover {
    border-color: #00F0FF;
    color: #00F0FF;
}

.history-detail-block .sidebar-card {
    background: #151518;
    border: 1px solid #2A2A2E;
    border-radius: 4px;
}

.history-detail-block .sidebar-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #FFD700;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #2A2A2E;
    padding-bottom: 10px;
}

.history-detail-block .spec-item {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.history-detail-block .spec-label {
    font-size: 0.75rem;
    color: #666666;
    text-transform: uppercase;
}

.history-detail-block .spec-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
}

.history-detail-block .sidebar-links a {
    color: #B0B0B0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.history-detail-block .sidebar-links a:hover {
    color: #FFD700;
}

.history-detail-block .comment-card {
    background: #1A1A1D;
    border: 1px solid #2A2A2E;
    border-radius: 4px;
}

.history-detail-block .comment-avatar {
    width: 45px;
    height: 45px;
    background: #FFD700;
    color: #0D0D0F;
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.history-detail-block .btn-comment-action {
    background: none;
    border: none;
    color: #666666;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color 0.3s ease;
}

.history-detail-block .btn-comment-action.active,
.history-detail-block .btn-comment-action:hover {
    color: #00F0FF;
}

.history-detail-block .detail-input {
    background: #1A1A1D;
    border: 1px solid #2A2A2E;
    color: #FFFFFF;
    border-radius: 2px;
}

.history-detail-block .detail-input:focus {
    background: #1A1A1D;
    border-color: #FFD700;
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.history-detail-block .detail-submit-btn {
    background-color: #FFD700;
    color: #0D0D0F;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-radius: 2px;
    padding: 10px 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.history-detail-block .detail-submit-btn:hover {
    background-color: #e6c200;
}

.history-detail-block .detail-status-msg {
    font-size: 0.85rem;
    color: #00F0FF;
    padding: 10px;
    border: 1px solid #00F0FF;
    background: rgba(0, 240, 255, 0.05);
}

.history-detail-block .text-accent {
    color: #00F0FF !important;
}

@media (max-width: 767px) {
    .history-detail-block .detail-main-title {
        font-size: 18px !important;
    }

    .history-detail-block .detail-lead-text {
        font-size: 14px !important;
    }

    .history-detail-block .sidebar-card {
        margin-top: 1rem;
    }
}

/* ===== PAGE TEMPLATE: library ===== */
.library-detail-page {
    background-color: #0D0D0F;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.library-detail-page .hero-detail {
    min-height: 50vh;
    padding: 100px 0 60px;
}

.library-detail-page .hero-img-bg {
    object-fit: cover;
    filter: brightness(0.3) grayscale(0.5);
}

.library-detail-page .hero-overlay {
    background: linear-gradient(0deg, #0D0D0F 0%, rgba(13, 13, 15, 0.4) 100%);
}

.library-detail-page .hero-scanlines {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 3px 100%;
    z-index: 1;
}

.library-detail-page .breadcrumb-item,
.library-detail-page .breadcrumb-item a {
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.library-detail-page .breadcrumb-item.active {
    color: #B0B0B0;
}

.library-detail-page .detail-badge {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid #FFD700;
    color: #FFD700;
    padding: 5px 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 1px;
    border-radius: 2px;
}

.library-detail-page .detail-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: #FFFFFF;
    font-weight: 700;
    text-transform: uppercase;
}

.library-detail-page .detail-subtitle {
    font-size: 1.1rem;
    color: #B0B0B0;
    line-height: 1.6;
    max-width: 700px;
}

.library-detail-page .meta-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: #666666;
    margin-right: 5px;
}

.library-detail-page .meta-value {
    color: #00F0FF;
    font-weight: 600;
    font-size: 0.85rem;
}

.library-detail-page .article-text-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #D1D1D1;
}

.library-detail-page .article-text-body p {
    margin-bottom: 1.5rem;
}

.library-detail-page .share-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: #FFD700;
}

.library-detail-page .share-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2A2A2E;
    color: #FFFFFF;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.library-detail-page .share-btn:hover {
    background: #00F0FF;
    border-color: #00F0FF;
    color: #0D0D0F;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}


.library-detail-page .sidebar-block {
    background: #151518;
    border: 1px solid #2A2A2E;
    padding: 24px;
    border-radius: 4px;
}

.library-detail-page .sidebar-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #FFD700;
    margin-bottom: 20px;
    border-bottom: 1px solid #2A2A2E;
    padding-bottom: 10px;
}

.library-detail-page .specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.library-detail-page .specs-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #2A2A2E;
    font-size: 0.85rem;
}

.library-detail-page .spec-name {
    color: #666666;
    text-transform: uppercase;
}

.library-detail-page .spec-val {
    color: #FFFFFF;
}

.library-detail-page .related-thumb {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border: 1px solid #2A2A2E;
}

.library-detail-page .related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.library-detail-page .related-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #FFFFFF;
    margin: 0;
    transition: color 0.3s ease;
}

.library-detail-page .related-item {
    text-decoration: none;
}

.library-detail-page .related-item:hover .related-name {
    color: #00F0FF;
}

.library-detail-page .related-date {
    font-size: 0.7rem;
    color: #666666;
}

.library-detail-page .sidebar-banner {
    background: linear-gradient(135deg, #1A1A1D 0%, #0D0D0F 100%);
    border: 1px solid #FFD700;
    border-radius: 4px;
}

.library-detail-page .banner-title {
    font-family: 'Orbitron', sans-serif;
    color: #FFD700;
    font-size: 1rem;
}

.library-detail-page .banner-text {
    font-size: 0.85rem;
    color: #B0B0B0;
}

.library-detail-page .btn-primary-custom {
    background: #FFD700;
    color: #0D0D0F;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-radius: 2px;
    transition: 0.3s;
}

.library-detail-page .btn-outline-custom {
    border: 1px solid #FFD700;
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-radius: 2px;
}


.library-detail-page .comment-card {
    background: #151518;
    border: 1px solid #2A2A2E;
    border-radius: 4px;
}

.library-detail-page .comment-avatar {
    width: 40px;
    height: 40px;
    background: #2A2A2E;
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
}

.library-detail-page .comment-author {
    font-family: 'Orbitron', sans-serif;
    color: #FFFFFF;
    font-size: 0.9rem;
}

.library-detail-page .comment-meta {
    font-size: 0.75rem;
    color: #666666;
}

.library-detail-page .comment-text {
    font-size: 0.9rem;
    color: #B0B0B0;
}

.library-detail-page .btn-comment-action {
    background: none;
    border: none;
    color: #666666;
    font-size: 0.8rem;
    padding: 0;
    transition: color 0.3s ease;
}

.library-detail-page .btn-comment-action:hover {
    color: #00F0FF;
}

.library-detail-page .text-accent {
    color: #00F0FF;
}

.library-detail-page .comment-form-box {
    background: #151518;
    border: 1px solid #2A2A2E;
    border-radius: 4px;
}

.library-detail-page .form-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #FFD700;
}

.library-detail-page .form-control {
    background: #0D0D0F;
    border: 1px solid #2A2A2E;
    color: #FFFFFF;
}

.library-detail-page .form-control:focus {
    background: #0D0D0F;
    border-color: #00F0FF;
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.library-detail-page .form-label {
    color: #666666;
    font-size: 0.8rem;
}

.library-detail-page .sidebar-sticky {
    position: sticky;
    top: 100px;
}

@media (max-width: 991.98px) {
    .library-detail-page .sidebar-sticky {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .library-detail-page .detail-title {
        font-size: 18px !important;
    }

    .library-detail-page .detail-subtitle {
        font-size: 14px !important;
    }

    .library-detail-page .article-meta {
        flex-direction: column;
        gap: 10px !important;
    }

    .library-detail-page .comment-reply-wrapper {
        margin-left: 1.5rem !important;
    }
}