/* Hollow Design System - joyzon.life */
:root {
    --void-bg: #0a0a0a;
    --wire-color: #ffffff;
    --wire-dim: rgba(255, 255, 255, 0.3);
    --text-main: #e0e0e0;
    --text-mute: #888888;
    --alert-color: #ff3333;
    --highlight: #00ff00; /* Minimal green for "good" status */
    
    --font-main: 'Space Mono', monospace;
    --font-display: 'Wire One', sans-serif;
    
    --transition-sharp: 0.1s cubic-bezier(0, 1, 0, 1);
    --transition-smooth: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: crosshair; /* Custom cursor everywhere */
}

body {
    background-color: var(--void-bg);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Background Effects */
.void-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.vector-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(var(--wire-dim) 1px, transparent 1px),
        linear-gradient(90deg, var(--wire-dim) 1px, transparent 1px);
    background-size: 100px 100px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    opacity: 0.1;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(100px) translateZ(-200px); }
}

/* Header */
.wireframe-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid var(--wire-color);
    backdrop-filter: blur(5px);
}

.schematic-nav {
    padding: 20px 40px;
}

.nav-perimeter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.identity-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--wire-color);
}

.glyph-container {
    width: 50px;
    height: 50px;
    border: 1px solid var(--wire-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    transition: var(--transition-sharp);
}

.identity-link:hover .glyph-container {
    background: var(--wire-color);
    color: var(--void-bg);
}

.text-coordinates {
    display: flex;
    flex-direction: column;
}

.coord-name {
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.coord-type {
    font-size: 10px;
    color: var(--text-mute);
}

.link-array {
    display: flex;
    gap: 30px;
}

.array-item {
    color: var(--text-mute);
    text-decoration: none;
    font-size: 14px;
    position: relative;
    padding: 5px 0;
}

.array-item::before {
    content: '[';
    margin-right: 5px;
    opacity: 0;
    transition: var(--transition-sharp);
}

.array-item::after {
    content: ']';
    margin-left: 5px;
    opacity: 0;
    transition: var(--transition-sharp);
}

.array-item:hover {
    color: var(--wire-color);
}

.array-item:hover::before,
.array-item:hover::after {
    opacity: 1;
}

.signal-button {
    background: transparent;
    border: 1px solid var(--wire-color);
    color: var(--wire-color);
    padding: 10px 25px;
    font-family: var(--font-main);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: var(--transition-sharp);
}

.signal-button:hover {
    background: var(--wire-color);
    color: var(--void-bg);
}

.mobile-toggle-switch {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.switch-line {
    width: 30px;
    height: 1px;
    background: var(--wire-color);
}

/* Hero Section */
.blueprint-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-frame {
    border: 1px solid var(--wire-dim);
    padding: 60px;
    max-width: 1000px;
    text-align: center;
    position: relative;
}

.hero-frame::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 20px; height: 20px;
    border-top: 2px solid var(--wire-color);
    border-left: 2px solid var(--wire-color);
}

.hero-frame::after {
    content: '';
    position: absolute;
    bottom: -1px; right: -1px;
    width: 20px; height: 20px;
    border-bottom: 2px solid var(--wire-color);
    border-right: 2px solid var(--wire-color);
}

.compliance-tag {
    display: inline-block;
    border: 1px solid var(--wire-dim);
    padding: 5px 15px;
    margin-bottom: 30px;
    font-size: 11px;
    color: var(--highlight);
    letter-spacing: 2px;
}

.construct-title {
    font-family: var(--font-display);
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1;
}

.layer-1 {
    display: block;
    font-size: 30px;
    color: var(--text-mute);
    margin-bottom: 10px;
}

.layer-2 {
    display: block;
    font-size: 80px;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--wire-color);
    text-shadow: 0 0 5px var(--wire-color);
}

.data-stream {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-mute);
    font-size: 14px;
}

.init-sequence-btn {
    background: transparent;
    border: none;
    color: var(--wire-color);
    font-family: var(--font-main);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.init-sequence-btn .bracket {
    transition: transform 0.3s ease;
}

.init-sequence-btn:hover .bracket {
    transform: scale(1.5);
}

.metrics-panel {
    display: flex;
    margin-top: 60px;
    gap: 40px;
    border-top: 1px solid var(--wire-dim);
    padding-top: 30px;
}

.metric-unit {
    text-align: center;
}

.unit-value {
    font-size: 32px;
    font-weight: bold;
    color: var(--wire-color);
}

.unit-label {
    font-size: 12px;
    color: var(--text-mute);
    text-transform: uppercase;
}

.panel-divider {
    width: 1px;
    height: 40px;
    background: var(--wire-dim);
}

/* Games Grid */
.archive-grid {
    padding: 100px 20px;
}

.grid-boundary {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-header {
    text-align: center;
    margin-bottom: 60px;
}

.node-title {
    font-size: 40px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.title-underline {
    width: 50px;
    height: 1px;
    background: var(--wire-color);
    margin: 0 auto 20px;
}

.specimen-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.specimen-frame {
    display: block;
    border: 1px solid var(--wire-dim);
    padding: 10px;
    position: relative;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.frame-edge {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.top-left { top: -1px; left: -1px; border-top-color: var(--wire-color); border-left-color: var(--wire-color); }
.bottom-right { bottom: -1px; right: -1px; border-bottom-color: var(--wire-color); border-right-color: var(--wire-color); }

.specimen-frame:hover {
    border-color: var(--wire-color);
}

.priority-marker {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--void-bg);
    border: 1px solid var(--wire-color);
    padding: 2px 10px;
    font-size: 10px;
    text-transform: uppercase;
    z-index: 10;
}

.specimen-visual {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--wire-dim);
}

.specimen-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.3s ease;
}

.specimen-frame:hover img {
    filter: grayscale(0%) contrast(1);
}

.scan-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.specimen-frame:hover .scan-overlay {
    opacity: 1;
}

.scan-text {
    border: 1px solid var(--wire-color);
    padding: 10px 20px;
    color: var(--wire-color);
    text-transform: uppercase;
}

.specimen-data h3 {
    color: var(--wire-color);
    font-size: 20px;
    margin-bottom: 5px;
}

.specimen-data p {
    color: var(--text-mute);
    font-size: 12px;
    margin-bottom: 15px;
}

.status-indicator {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border: 1px solid var(--wire-dim);
    color: var(--text-mute);
}

.hot-signal {
    border-color: var(--alert-color);
    color: var(--alert-color);
}

/* Features */
.hollow-features {
    padding: 100px 20px;
    border-top: 1px solid var(--wire-dim);
    border-bottom: 1px solid var(--wire-dim);
}

.feature-boundary {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.vector-heading {
    font-size: 32px;
    margin-bottom: 20px;
}

.module-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-module {
    padding: 30px;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.module-border {
    position: absolute;
    top: 0; left: 0;
    width: 20px; height: 20px;
    border-top: 1px solid var(--wire-color);
    border-left: 1px solid var(--wire-color);
}

.info-module h3 {
    margin-bottom: 15px;
    color: var(--wire-color);
}

.info-module p {
    color: var(--text-mute);
    font-size: 14px;
}

/* About/Manifesto */
.manifesto-section {
    padding: 100px 20px;
}

.manifesto-boundary {
    max-width: 1200px;
    margin: 0 auto;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.text-block {
    margin-bottom: 60px;
    position: relative;
    padding-left: 50px;
}

.index-marker {
    position: absolute;
    left: 0; top: 0;
    font-size: 24px;
    color: var(--wire-dim);
    font-weight: bold;
}

.text-block h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.visual-column {
    position: relative;
}

.wire-frame-box {
    position: absolute;
    top: -20px; right: -20px;
    width: 100%; height: 100%;
    border: 1px solid var(--wire-color);
    z-index: -1;
}

.visual-column img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    border: 1px solid var(--wire-dim);
}

/* Legal */
.legal-wire {
    padding: 80px 20px;
    background: repeating-linear-gradient(
        45deg,
        var(--void-bg),
        var(--void-bg) 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
}

.legal-boundary {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.header-decoration {
    width: 30px;
    height: 10px;
    border: 1px solid var(--wire-color);
}

.clause-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.clause-item {
    border-left: 1px solid var(--wire-color);
    padding-left: 20px;
}

.clause-id {
    font-size: 12px;
    color: var(--wire-dim);
    margin-bottom: 5px;
}

/* Contact */
.signal-relay {
    padding: 100px 20px;
}

.relay-boundary {
    max-width: 1200px;
    margin: 0 auto;
}

.relay-interface {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 50px;
    border: 1px solid var(--wire-dim);
    padding: 40px;
}

.info-packet {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
}

.packet-icon {
    font-size: 24px;
}

.transmission-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-mute);
}

input, textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--wire-dim);
    padding: 15px;
    color: var(--wire-color);
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--wire-color);
}

.transmit-btn {
    background: var(--wire-color);
    color: var(--void-bg);
    border: none;
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.1s;
}

.transmit-btn:hover {
    transform: scale(0.98);
}

/* Certifications */
.cert-section {
    padding: 50px 20px;
    border-bottom: 1px solid var(--wire-dim);
}

.cert-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-item img {
    height: 40px;
    filter: grayscale(100%) brightness(200%); /* Make them look like white blueprints */
    opacity: 0.7;
    transition: opacity 0.3s;
}

.cert-item:hover img {
    opacity: 1;
}

/* Footer */
.terminal-footer {
    padding: 80px 20px 40px;
    background: #050505;
}

.footer-matrix {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-core {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 500px;
}

.brand-unit {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.unit-icon {
    width: 30px;
    height: 30px;
    border: 1px solid var(--wire-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-mission {
    font-size: 12px;
    color: var(--text-mute);
    line-height: 1.8;
}

.footer-sub {
    flex: 1;
    min-width: 300px;
}

.input-line {
    display: flex;
    margin-top: 20px;
}

.cmd-input {
    border-right: none;
}

.cmd-btn {
    background: transparent;
    border: 1px solid var(--wire-color);
    color: var(--wire-color);
    padding: 0 20px;
    cursor: pointer;
}

.cmd-btn:hover {
    background: var(--wire-color);
    color: var(--void-bg);
}

.separator-line {
    height: 1px;
    background: var(--wire-dim);
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.term-link {
    color: var(--text-mute);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
}

.term-link:hover {
    color: var(--wire-color);
    text-decoration: line-through; /* Strikethrough for hover effect */
}

.footer-end {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-mute);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--wire-dim);
    padding: 2px 10px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
}

/* Modal */
.filter-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-modal {
    background: var(--void-bg);
    border: 1px solid var(--alert-color);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.2);
}

.warning-glyph {
    font-size: 40px;
    margin-bottom: 20px;
}

.scan-line-text {
    color: var(--alert-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.input-matrix {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-affirm {
    background: transparent;
    border: 1px solid var(--wire-color);
    color: var(--wire-color);
    padding: 10px 20px;
    cursor: pointer;
}

.btn-affirm:hover {
    background: var(--wire-color);
    color: var(--void-bg);
}

.btn-deny {
    background: transparent;
    border: 1px solid var(--text-mute);
    color: var(--text-mute);
    padding: 10px 20px;
    cursor: pointer;
}

.btn-deny:hover {
    border-color: var(--alert-color);
    color: var(--alert-color);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .split-layout { grid-template-columns: 1fr; }
    .relay-interface { grid-template-columns: 1fr; }
    .hero-frame { padding: 20px; }
    .mobile-toggle-switch { display: flex; }
    .link-array { display: none; } /* Mobile menu needs implementation if I want it perfect, but kept simple */
}
