/* ========================================
   Ricardo Gaytan Villaseñor Portfolio
   Aesthetic: Adham Dannaway x Teenage Engineering
   ======================================== */

:root {
    --color-bg: #ffffff;
    --color-bg-dark: #121212;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-accent: #FF4B4B;
    /* Industrial Red */
    --color-border: #e5e5e5;
    --font-main: 'Poppins', -apple-system, sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 64px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -1.5px;
    font-family: var(--font-mono);
    padding-top: 15px;
    /* Lowered presence */
    text-transform: uppercase;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: lowercase;
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-social {
    display: flex;
    gap: 20px;
}

.nav-social a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    display: flex;
    height: 100vh;
    min-height: 800px;
    position: relative;
    background: #fff;
}

.hero-pillar {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-decoration: none;
    color: inherit;
    z-index: 5;
    padding: 0 40px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.hero-pillar:hover {
    background: rgba(0, 0, 0, 0.02);
}

.hero-pillar:not(:last-child) {
    border-right: 1px solid var(--color-border);
}

/* Adjusting the center face container to be less intrusive with 3 pillars */
/* Hero Face Container */
.hero-face-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.hero-face {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: #fff;
    position: relative;
}

.hero-face-inner {
    width: 100%;
    height: 100%;
    background: url('../images/hero-quad.png') no-repeat center center;
    background-size: cover;
    transition: var(--transition);
}

.status-code {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-accent);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.04;
    pointer-events: none;
    transition: var(--transition);
}

.hero-half:hover .hero-bg {
    opacity: 0.08;
}

.hero-bg-trader {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><text x="20" y="50" fill="%23333" font-family="monospace" font-size="10">BTC/USD 67,432.50</text></svg>');
}

.hero-bg-consultant {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><text x="20" y="50" fill="%23333" font-family="monospace" font-size="10">Applied Fluency Protocol...</text></svg>');
}

.hero-bg-coder {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><text x="20" y="50" fill="%23333" font-family="monospace" font-size="10">def execute_trade():</text></svg>');
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.9;
    margin-bottom: 16px;
    color: var(--color-text);
    text-transform: uppercase;
}

.hero-desc {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 300px;
    line-height: 1.6;
}

/* ========================================
   Portals & Face
   ======================================== */
/* Portals & Tooltips */
.protocol-tooltip {
    animation: fadeIn 2s infinite alternate;
}

.protocol-tooltip {
    animation: fadeIn 2s infinite alternate;
}

@keyframes fadeIn {
    from {
        opacity: 0.2;
    }

    to {
        opacity: 0.8;
    }
}

/* ========================================
   Language Bar
   ======================================== */
.language-bar {
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: #fafafa;
}

.lang-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.lang-btn {
    background: none;
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 10px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-text-light);
}

.lang-btn.active {
    background: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}


/* ========================================
   Terminal / About Style
   ======================================== */
.terminal-box {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 40px;
    position: relative;
}

.terminal-header {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-accent);
    margin-bottom: 32px;
}

.lang-content p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    max-width: 800px;
}

.stack-text {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-text-light);
    padding-top: 20px;
    border-top: 1px dashed var(--color-border);
}

/* ========================================
   History / Expanders
   ======================================== */
.divider {
    font-family: var(--font-mono);
    font-size: 10px;
    text-align: center;
    padding: 40px 0;
    color: var(--color-border);
    letter-spacing: 4px;
}

.history-grid {
    max-width: 900px;
    margin: 0 auto;
}

.expander {
    margin-bottom: 12px;
    border: 1px solid var(--color-border);
}

.expander summary {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expander summary::-webkit-details-marker {
    display: none;
}

.expander-content {
    padding: 0 40px 32px 64px;
}

.expander-content ul {
    list-style: square;
    color: var(--color-text-light);
}

.expander-content li {
    margin-bottom: 12px;
}

/* ========================================
   Builds Section
   ======================================== */
.section-dark {
    background: var(--color-bg-dark);
    color: #fff;
}

.section-dark .section-title {
    color: #fff;
}

.main-nexus-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.projects-column {
    flex: 2.8;
}

.intel-column {
    flex: 1.2;
    position: sticky;
    top: 120px;
}

.builds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.build-card {
    padding: 40px;
    background: #1a1a1a;
    border: 1px solid #333;
}

.build-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.build-id {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 8px;
    background: #333;
    color: var(--color-accent);
}

.build-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.build-card .stack {
    margin-top: 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #666;
}

/* ========================================
   Machine Status Footer
   ======================================== */
.status-footer {
    background: #fdfdfd;
    padding: 64px 0 20px 0;
    border-top: 1px solid var(--color-border);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.status-col {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--color-text-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.status-val {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
}

.live-feed {
    text-align: center;
    margin-top: 60px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-accent);
    font-weight: 700;
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* ========================================
   Responsive - PREMIUM MOBILE OVERHAUL
   ======================================== */
@media (max-width: 1100px) {
    .nav {
        padding: 24px 32px;
    }

    .hero-face {
        width: 400px;
        height: 400px;
    }

    .hero-left {
        padding-right: 260px;
    }

    .hero-right {
        padding-left: 260px;
    }

    .hero-title {
        font-size: 64px;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 1200px) {
    .main-nexus-wrapper {
        flex-direction: column;
    }

    .intel-column {
        position: static;
        width: 100%;
        margin-top: 40px;
    }

    .builds-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 24px;
        align-items: center;
    }

    .nav-logo {
        font-size: 1.1rem;
        padding-top: 0;
    }

    .builds-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 20px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .menu-toggle span {
        width: 100%;
        height: 2px;
        background-color: var(--color-text);
        transition: var(--transition);
        transform-origin: left;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-social {
        display: none;
        /* Hide on small mobile to avoid clutter, or add inside links */
    }

    .nav-social.active {
        display: flex;
        position: fixed;
        bottom: 40px;
        right: 15%;
        /* Centered somewhat under the links */
        z-index: 1000;
    }

    .hero {
        flex-direction: column;
        height: auto;
        min-height: 0;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-pillar {
        padding: 40px 24px;
        justify-content: center;
        text-align: center;
        flex: none;
        width: 100%;
    }

    .hero-pillar:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .hero-face-container {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 40px auto;
        order: -1;
    }

    .hero-face {
        width: 280px;
        height: 280px;
    }

    .hero-title {
        font-size: 48px;
        margin-bottom: 12px;
        letter-spacing: -2px;
    }

    .hero-desc {
        margin: 0 auto;
        max-width: 100%;
    }

    .terminal-box {
        padding: 24px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .status-footer {
        padding: 40px 0;
    }

    .live-feed {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .hero-face {
        width: 200px;
        height: 200px;
    }

    .hero-title {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .nav-logo {
        font-size: 0.8rem;
    }

    .build-card {
        padding: 24px;
    }

    #contact div {
        flex-direction: column;
        width: 100%;
    }

    #contact .btn {
        width: 100%;
        text-align: center;
    }
}

/* NEXUS_INTEL_LOGS Styling */
.intel-column {
    position: sticky;
    top: 100px;
}

#intel-logs {
    background: #000;
    border-top: 1px solid rgba(255, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

.intel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 0, 0, 0.05);
    padding: 8px 16px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 2px;
}

.status-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff3333;
    letter-spacing: 2px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
}

/* ========================================
   Terminal / Intel Feed Logic 
   ======================================== */
.intel-terminal {
    position: relative;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 2px solid #ff0000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    overflow: hidden;
    height: 600px;
}

.terminal-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.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
}

.terminal-content {
    padding: 32px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.8;
    color: #aaa;
    overflow-y: auto;
    height: 100%;
}

/* ========================================
   Intel Feed - Semantic <details>/<summary> 
   ======================================== */
.intel-item {
    border-bottom: 1px solid rgba(255, 75, 75, 0.15);
    padding: 12px 0;
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
}

.intel-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-family: var(--font-mono);
}

.intel-item summary::-webkit-details-marker {
    display: none;
}

.intel-item summary strong {
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.intel-item summary .date {
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 1px;
}

.intel-item[open] summary {
    color: var(--color-accent);
}

.intel-content {
    padding: 15px 0 10px 15px;
    border-left: 2px solid var(--color-accent);
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #bbb;
}

.intel-content p {
    margin: 0 0 12px 0;
}

.intel-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 75, 75, 0.2);
}

.source-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--color-accent);
    padding: 6px 12px;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.source-link:hover {
    background: var(--color-accent);
    color: #000;
}

.loading-placeholder {
    color: #555;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================
   Tactical Contact Section
   ======================================== */
.contact-tactical {
    background: #0a0a0a;
    padding: 80px 0;
    border-top: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
}

.contact-card {
    background: rgba(255, 0, 0, 0.03);
    border: 1px solid rgba(255, 0, 0, 0.2);
    padding: 60px 40px;
    border-radius: 4px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.1);
}

.contact-title {
    font-size: 2.5rem !important;
    letter-spacing: 4px;
    color: var(--color-accent) !important;
    text-transform: uppercase;
}

.contact-tactical .contact-text {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-tactical {
    background: transparent;
    color: #fff;
    border: 2px solid var(--color-accent);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 16px 32px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-tactical:hover {
    background: var(--color-accent);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 75, 75, 0.5);
}

@media (max-width: 768px) {
    .contact-card {
        padding: 40px 24px;
    }

    .contact-title {
        font-size: 1.8rem !important;
    }

    .btn-tactical {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   Modal / Floating Tile
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #0a0a0a;
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 60px rgba(255, 75, 75, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-accent);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-content h2 {
    font-family: var(--font-mono);
    color: var(--color-accent);
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 75, 75, 0.2);
    padding-bottom: 15px;
}

.modal-body {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
}

.modal-body h4 {
    color: #fff;
    margin: 20px 0 10px 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-body ul {
    list-style: none;
    padding: 0;
}

.modal-body li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.modal-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.modal-stack {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 75, 75, 0.2);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-accent);
}

.modal-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
    border: 1px solid rgba(255, 75, 75, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* More Button */
.btn-more {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 6px 12px;
    margin-top: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-more:hover {
    background: var(--color-accent);
    color: #000;
}

/* ========================================
   Tactical Expansion Styles
   ======================================== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mt-40 {
    margin-top: 40px;
}

/* Specialization Cards */
.spec-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 4px;
    transition: var(--transition);
}

.spec-card:hover {
    border-color: var(--color-accent);
    background: rgba(255, 75, 75, 0.05);
}

.spec-tag {
    font-family: var(--font-mono);
    color: var(--color-accent);
    font-size: 0.7rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.spec-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.section-dark .spec-card h3 {
    color: #fff;
}

.section-dark .spec-card p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Solutions Module (Command Line Style) */
.solution-package {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.solution-package.primary {
    border-left: 4px solid var(--color-accent);
    background: #1e1e1e;
}

.sol-header {
    display: flex;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    margin-bottom: 15px;
}

.sol-cmd {
    color: var(--color-accent);
}

.sol-method {
    color: #888;
}

.solution-package h3,
.solution-package h4 {
    color: #fff;
    margin-bottom: 10px;
}

.solution-package p {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.btn-sol {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-accent);
    color: #000;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 2px;
    transition: var(--transition);
}

.btn-sol:hover {
    filter: brightness(1.2);
    transform: translateX(5px);
}

/* Credential Bar */
.credential-section {
    background: #000;
    border-top: 1px solid #222;
    padding: 15px 0;
}

.credential-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: start;
}

.cred-item {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.cred-status {
    color: #555;
    margin-right: 5px;
}

.cred-val {
    color: var(--color-accent);
}

.top-intel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.top-intel-header .btn-tactical {
    color: var(--color-accent);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

}