/* =========================================
 * GLOBAL STYLES                           *
 * ========================================= */
body {
    background-color: #000;
    background-image: url('calauditlogo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 40px;
    margin: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

a {
    color: #44ccff;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 0.9rem;
}

a:hover {
    text-decoration: underline;
    color: #fff;
}

h1 {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    font-weight: bold;
    color: #ff4444;
    border-bottom: 2px solid #ff4444;
    padding-bottom: 10px;
}

h2 {
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-top: 20px;
    border-bottom: 1px solid #222;
    border-left: 4px solid #ff4444;
    padding-left: 15px;
    padding-bottom: 15px;
    background: #111;
    color: #fff;
}

.vault-container > h2 {
    margin-top: 50px;
}

.audit-box h2 {
    margin-top: 15px;
}

.text-default {
    color: #ffbf00 !important; /* Amber */
}

.text-deadquarters {
    color: #777 !important; /* Tombstone Gray */
}

.text-conlan {
    color: #90ee90 !important; /* Light Green */
}

.text-warfare {
    color: #ff4444 !important; /* Red */
}

.text-telecom {
    color: #00ff00 !important; /* Green */
}

.title-default {
    color: #ffbf00 !important;
    border-left-color: #ffbf00 !important;
}

.title-deadquarters {
    color: #777 !important;
    border-left-color: #777 !important;
}

.title-conlan {
    color: #90ee90 !important;
    border-left-color: #90ee90 !important;
}

h3 {
    font-size: 1rem;
    color: #bbb;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

p {
    color: #bbb;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 40px;
}

/* =========================================
 * LAYOUT & CONTAINERS                     *
 * ========================================= */
.header {
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.subtitle {
    font-style: italic;
    color: #bbb;
    margin-top: 5px;
    font-size: 1.1rem;
}

.vault-container {
    max-width: 1000px;
    margin: auto;
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.footer {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
}

.footer p {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.footer .rig-notice {
    color: #555;
    font-size: 0.8em;
    margin-top: 0;
}

/* =========================================
 * AUDIT BOXES & BADGES                    *
 * ========================================= */
.audit-box {
    border: 1px solid #333;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    background: rgba(0, 0, 0, 0.7);
}

.warfare {
    border-color: #ff4444;
}

.telecom {
    border-color: #00ff00;
}

.telecom h2 {
    border-left-color: #00ff00;
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid currentColor;
    padding: 2px 10px;
    font-size: 0.55rem;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.status-tag {
    font-size: 0.45rem;
    background: #222;
    padding: 1px 4px;
    color: #ff4444;
    margin-left: 10px;
    border: 1px solid #ff4444;
}

/* =========================================
 * TABLES                                  *
 * ========================================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.85rem;
}

th {
    text-align: left;
    color: #666;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    padding: 10px;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

td {
    padding: 15px 10px;
    border-bottom: 1px solid #111;
    vertical-align: top;
    line-height: 1.5;
}

.date {
    color: #ff4444;
    font-weight: bold;
    width: 120px;
}

.audit-note {
    color: #00ff00;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-left: 2px solid #00ff00;
    margin-bottom: 30px;
}

.evidence-link {
    color: #44ccff;
    text-decoration: none;
    font-weight: bold;
    display: inline;
}

/* =========================================
 * MANIFESTO & SPECIAL CONTAINERS          *
 * ========================================= */
.manifesto-container {
    border: 2px solid #00ff00;
    padding: 25px;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.1);
}

.manifesto-container h1 {
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    border-bottom: none;
}

.manifesto-container h3 {
    color: #cccccc;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.manifesto-container h4 {
    color: #00ff00;
    margin-top: 20px;
}

.manifesto-container p {
    color: #eaeaea;
    line-height: 1.6;
    font-size: 1.1em;
    font-style: normal;
    margin-bottom: 20px;
}

.manifesto-container ul {
    color: #eaeaea;
    line-height: 1.6;
}

.manifesto-highlight {
    color: #00ff00;
    line-height: 1.6;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin: 25px 0;
}

.manifesto-quote {
    color: #eaeaea;
    line-height: 1.6;
    font-size: 1.1em;
    border-left: 4px solid #ff4444;
    padding-left: 15px;
    margin-top: 20px;
    font-weight: bold;
}

.manifesto-container .manifesto-footer {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    margin-top: 30px;
}

/* =========================================
 * EVIDENCE GALLERY & GRIDS                *
 * ========================================= */
.evidence-gallery {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.evidence-item-box {
    border: 2px solid #333;
    padding: 5px;
    background: rgba(0, 0, 0, 0.7);
}

.evidence-item-box img {
    width: 100%;
    display: block;
}

.evidence-caption {
    color: #bbb;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 5px;
}

.evidence-caption.highlight {
    color: #ff4444;
    font-weight: bold;
}

.evidence-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .evidence-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.evidence-item {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    border: 1px solid #444;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
}

.btn:hover {
    background: #222;
    border-color: #666;
}

/* =========================================
 * AFFIDAVIT SECTION (MODERN SERIF)        *
 * ========================================= */
.affidavit-box {
    border: 2px solid #ff4444;
    padding: 30px;
    margin: 40px 0;
    background: rgba(0, 0, 0, 0.7);
    font-size: 1.05em;
    line-height: 1.6;
    color: #ddd;
    position: relative;
}

.verified-stamp {
    position: absolute;
    top: 15px;
    right: 15px;
    border: 2px solid #ff4444;
    color: #ff4444;
    padding: 2px 8px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
}

.affidavit-header {
    color: #ff4444;
    border-bottom: 1px solid #444;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 1.6rem;
    font-weight: bold;
}

.signature {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px dashed #333;
    color: #ff4444;
    font-style: italic;
}

/* =========================================
 * DISCLAIMERS & ALERTS                    *
 * ========================================= */
.ledger-item {
    margin-bottom: 25px;
}

.ledger-item strong {
    color: #fff;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.forensic-disclaimer {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #333;
    padding: 40px;
    margin-top: 60px;
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.7;
    border-top: 5px solid #ff4444;
    position: relative;
}

.forensic-disclaimer h4 {
    color: #ff4444;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.independence-alert {
    background: rgba(26, 0, 0, 0.7);
    border: 1px solid #ff4444;
    padding: 20px;
    color: #eee;
    font-weight: bold;
    margin: 25px 0;
}

.bond-statement {
    font-style: italic;
    color: #ff4444;
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.back-btn {
    display: inline-block;
    margin-bottom: 30px;
    color: #aaa;
    text-decoration: none;
    border: 1px solid #333;
    padding: 5px 10px;
    font-size: 0.8rem;
}

.back-btn:hover {
    background: #222;
    color: #fff;
    text-decoration: none;
}

.hash-block {
    font-family: monospace;
    font-size: 0.8em;
    color: #bbb;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    overflow-x: auto;
    white-space: pre-wrap;
    border: 1px dashed #333;
}

/* =========================================
 * AUDIO & TRANSCRIPT                      *
 * ========================================= */
.physical-evidence {
    margin: 25px 0;
    border: 2px solid #00aaff;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
}

.evidence-step {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.evidence-step strong {
    color: #bbb;
    display: block;
    font-size: 1.1rem;
}

.evidence-step p {
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 10px;
}

.transcript-box {
    margin-top: 10px;
    font-family: monospace;
    font-size: 0.85em;
    color: #ccc;
    line-height: 1.4;
}

/* =========================================
 * MOBILE RESPONSIVENESS                   *
 * ========================================= */
@media (max-width: 600px) {
    .columns {
        grid-template-columns: 1fr;
    }

    body {
        padding: 20px;
    }
}
