:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --text-color: #f5f5f5;
    --text-muted: #cccccc;
    --background-dark: #0d1117;
    --border-color: #30363d;
    --code-bg: #161b22;
    --audio-recording-bg-color: #f5f5f5;
    --audio-recording-border-color: #cccccc;
    --audio-recording-hover-bg-color: #e0e0e0;
    --audio-recording-hover-border-color: #d0d0d0;
    --audio-recording-glow-color: #e94560;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--primary-color) 100%);
    min-height: 100vh;
    position: relative;
}

/* Static overlay for vintage feel */
.static-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, transparent 20%, rgba(255,255,255,0.01) 21%, rgba(255,255,255,0.01) 34%, transparent 35%, transparent),
        linear-gradient(0deg, rgba(255,255,255,0.005) 50%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: staticFlicker 0.15s infinite linear alternate;
}

@keyframes staticFlicker {
    0% { opacity: 0.8; }
    100% { opacity: 0.9; }
}

/* Header */
.main-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    display: flex;
    flex-direction: column;
}

.title-main {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

.title-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 1px;
    margin-left: 2px;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--highlight-color);
    text-shadow: 0 0 5px rgba(233, 69, 96, 0.5);
}

.nav-link.hidden-link {
    opacity: 0.3;
    font-style: italic;
}

.nav-link.hidden-link:hover {
    opacity: 1;
    color: var(--highlight-color);
}

/* Main content */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.content-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(22, 33, 62, 0.3);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--highlight-color), transparent);
    margin: 1rem auto;
}

/* Hero section */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(15, 52, 96, 0.2);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.portrait-container {
    position: relative;
}

.main-portrait {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    border: 3px solid var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.main-portrait:hover {
    border-color: var(--highlight-color);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
    transform: scale(1.02);
}

.portrait-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.hero-text {
    text-align: left;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.quote-block {
    background: rgba(15, 52, 96, 0.4);
    padding: 2rem;
    border-left: 4px solid var(--highlight-color);
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
}

.quote-block blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.quote-block cite {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Biography section */
.biography-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.bio-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.clickable-name {
    color: var(--highlight-color);
    cursor: pointer;
    text-decoration: underline dotted;
    transition: all 0.3s ease;
}

.clickable-name:hover {
    text-shadow: 0 0 5px rgba(233, 69, 96, 0.5);
}

.hidden-info {
    display: none;
    background: var(--code-bg);
    padding: 1.5rem;
    border-radius: 5px;
    border-left: 3px solid var(--highlight-color);
    margin: 1.5rem 0;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    color: var(--text-muted);
}

.hidden-info h5 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Crimson Text', serif;
}

.hidden-info p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.hidden-info p:last-child {
    margin-bottom: 0;
}

.hidden-info#rabinowitz-info {
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
}

.hidden-info.revealed {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lab-image {
    text-align: center;
}

.lab-photo {
    width: 100%;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.lab-photo:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Morse code styling */
.morse-code {
    font-family: 'Courier Prime', monospace;
    color: var(--highlight-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.morse-code:hover {
    text-shadow: 0 0 5px rgba(233, 69, 96, 0.8);
}

/* Program notes download link */
.program-notes-download {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.program-notes-download:hover {
    background: rgba(233, 69, 96, 0.2);
    border-color: rgba(233, 69, 96, 0.5);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.2);
}

/* Score and parts download link */
.score-parts-download {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(15, 52, 96, 0.2);
    border: 1px solid rgba(15, 52, 96, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.score-parts-download:hover {
    background: rgba(15, 52, 96, 0.3);
    border-color: rgba(15, 52, 96, 0.7);
    box-shadow: 0 0 10px rgba(15, 52, 96, 0.3);
}

/* Audio recording download link */
.audio-recording-download {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--audio-recording-bg-color);
    border: 1px solid var(--audio-recording-border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.audio-recording-download:hover {
    background: var(--audio-recording-hover-bg-color);
    border-color: var(--audio-recording-hover-border-color);
    box-shadow: 0 0 10px var(--audio-recording-glow-color);
}

.download-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.download-link:hover {
    color: var(--highlight-color);
    transform: translateX(5px);
}

.download-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.download-text {
    font-weight: 600;
    font-size: 1rem;
}

.download-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-left: auto;
}

/* Audio activation notice */
.audio-activation-notice {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.15) 0%, rgba(15, 52, 96, 0.2) 100%);
    border: 2px solid rgba(233, 69, 96, 0.4);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.activation-warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.activation-warning p {
    margin: 0;
    color: var(--text-color);
}

.activation-warning p:first-child {
    font-size: 1.2rem;
    color: var(--highlight-color);
}

.start-audio-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--highlight-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.start-audio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.start-audio-btn:disabled {
    background: linear-gradient(135deg, #666666 0%, #555555 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.audio-activation-notice.hidden {
    display: none;
}

/* Community Investigation Enhanced Styling */
.investigation-section {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.3) 0%, rgba(233, 69, 96, 0.1) 100%);
    border: 2px solid rgba(15, 52, 96, 0.4);
    position: relative;
    overflow: hidden;
}

.investigation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--highlight-color), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.investigation-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(233, 69, 96, 0.1));
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.2);
    position: relative;
}

.investigation-intro::before {
    content: '🔍 ACTIVE INVESTIGATION';
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary-color);
    color: var(--highlight-color);
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
    border: 1px solid var(--highlight-color);
}

.investigation-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-style: italic;
}

.investigation-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 1rem;
}

.submit-finding-btn,
.analyze-patterns-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--highlight-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-finding-btn:hover,
.analyze-patterns-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.ai-analyzer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.analyzer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.status-indicator {
    color: var(--highlight-color);
    animation: pulse 2s infinite;
}

.findings-feed {
    min-height: 300px;
}

.feed-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
    font-size: 1.2em;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.finding-item {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(15, 52, 96, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.finding-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.finding-item:hover {
    border-color: var(--highlight-color);
    box-shadow: 0 0 25px rgba(233, 69, 96, 0.3);
    transform: translateY(-2px);
}

.finding-item:hover::before {
    transform: translateX(100%);
}

.finding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.finding-title {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

.evidence-type {
    background: var(--highlight-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.finding-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Courier Prime', monospace;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.finding-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ai-analysis {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.15), rgba(15, 52, 96, 0.15));
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    margin-bottom: 1rem;
    position: relative;
}

.ai-analysis::before {
    content: '🧠 CLASSIFIED';
    position: absolute;
    top: -8px;
    right: 15px;
    background: var(--highlight-color);
    color: white;
    padding: 0.2rem 0.6rem;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
}

.ai-analysis h5 {
    color: var(--highlight-color);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier Prime', monospace;
}

.ai-analysis p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-color);
}

.credibility-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credibility-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Courier Prime', monospace;
}

.score-value {
    color: var(--highlight-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.vote-buttons {
    display: flex;
    gap: 0.5rem;
}

.vote-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vote-btn:hover {
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    color: white;
    border-color: var(--highlight-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(233, 69, 96, 0.3);
}

.vote-btn.voted {
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    color: white;
    border-color: var(--highlight-color);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

.submit-finding-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
}

.submit-finding-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 2% auto;
    padding: 2rem;
    border: 2px solid var(--highlight-color);
    border-radius: 12px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 40px rgba(233, 69, 96, 0.4);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.submission-warning {
    font-family: 'Courier Prime', monospace;
    animation: pulse 3s infinite;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--highlight-color);
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.4);
    outline: none;
    background: rgba(233, 69, 96, 0.05);
}

.form-input,
.form-textarea,
.form-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
    color: var(--text-color);
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--highlight-color);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
    outline: none;
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.form-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.form-btn-primary {
    background: var(--highlight-color);
    color: white;
}

.form-btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.form-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.form-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-color);
}

/* Featured work section */
.featured-work {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.3) 0%, rgba(26, 26, 46, 0.3) 100%);
    border: 2px solid var(--accent-color);
}

.work-analysis {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.analysis-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.composition-image {
    width: 100%;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.work-details h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.deconstruction-process {
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 10px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--highlight-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h5 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Audio samples */
.audio-samples {
    background: rgba(0,0,0,0.2);
    padding: 2rem;
    border-radius: 10px;
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sample-item {
    background: var(--code-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.sample-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.play-btn {
    width: 40px;
    height: 40px;
    background: var(--highlight-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.sample-title {
    font-family: 'Courier Prime', monospace;
    color: var(--text-color);
    font-weight: bold;
}

.sample-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Mystery section */
.mystery-section {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(26, 26, 46, 0.3) 100%);
    border: 2px solid rgba(233, 69, 96, 0.3);
}

.conspiracy-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.evidence-list {
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 8px;
    list-style: none;
}

.evidence-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.evidence-list li:before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--highlight-color);
}

.evidence-list li:last-child {
    border-bottom: none;
}

.mystery-portrait {
    width: 100%;
    border-radius: 10px;
    border: 2px solid var(--highlight-color);
    filter: contrast(1.2) saturate(0.8);
}

.encoded-text {
    font-family: 'Courier Prime', monospace;
    background: var(--code-bg);
    padding: 1rem;
    border-radius: 5px;
    color: var(--highlight-color);
    cursor: pointer;
    transition: all 0.3s ease;
    word-break: break-all;
}

.encoded-text:hover {
    background: rgba(233, 69, 96, 0.1);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

.spectral-analysis {
    text-align: center;
    margin-top: 2rem;
}

.spectral-image {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.spectral-image:hover {
    border-color: var(--highlight-color);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.technical-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Courier Prime', monospace;
}

/* Theory dropdown styling */
.theory-23-dropdown {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(15, 52, 96, 0.2) 100%);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 10px;
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
}

.theory-dropdown-toggle {
    width: 100%;
    background: rgba(233, 69, 96, 0.15);
    border: none;
    padding: 1.5rem 2rem;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-align: left;
}

.theory-dropdown-toggle:hover {
    background: rgba(233, 69, 96, 0.25);
    color: var(--highlight-color);
}

.dropdown-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--highlight-color);
}

.theory-dropdown-toggle.expanded .dropdown-icon {
    transform: rotate(180deg);
}

.theory-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: rgba(0, 0, 0, 0.1);
}

.theory-dropdown-content.expanded {
    max-height: 2000px;
}

.theory-dropdown-content .theory-content {
    padding: 2rem;
}

/* Evidence dropdowns styling */
.evidence-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.evidence-dropdown {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(15, 52, 96, 0.2) 100%);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.evidence-dropdown:hover {
    border-color: rgba(233, 69, 96, 0.5);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.2);
}

.evidence-dropdown-toggle {
    width: 100%;
    background: rgba(233, 69, 96, 0.15);
    border: none;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-align: left;
}

.evidence-dropdown-toggle:hover {
    background: rgba(233, 69, 96, 0.25);
    color: var(--highlight-color);
}

.evidence-dropdown-toggle.expanded {
    background: rgba(233, 69, 96, 0.3);
    color: var(--highlight-color);
}

.evidence-dropdown-toggle .dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--highlight-color);
}

.evidence-dropdown-toggle.expanded .dropdown-icon {
    transform: rotate(180deg);
}

.evidence-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.1);
}

.evidence-dropdown-content.expanded {
    max-height: 1500px;
}

.evidence-content {
    padding: 1.5rem;
}

.evidence-content h5 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--highlight-color);
    padding-bottom: 0.5rem;
}

.evidence-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.evidence-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.evidence-content li:before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--highlight-color);
    font-size: 0.8rem;
}

.evidence-content li:last-child {
    border-bottom: none;
}

/* Photo evidence gallery */
.photo-evidence-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
}

.photo-evidence-item {
    text-align: center;
}

.photo-evidence-item img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: all 0.3s ease;
}

.photo-evidence-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.4);
}

.photo-evidence-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Specialized content styling */
.wordplay-analysis {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.wordplay-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
}

.wordplay-item:last-child {
    border-bottom: none;
}

.methodology-comparison {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.method-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.method-item:last-child {
    border-bottom: none;
}

.method-item strong {
    color: var(--highlight-color);
}

.anomaly-list {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.anomaly-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.anomaly-item:last-child {
    border-bottom: none;
}

.anomaly-item strong {
    color: var(--highlight-color);
}

/* Research section */
.research-notes {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.note-item {
    background: var(--code-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.note-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.note-item p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.note-metadata {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-family: 'Courier Prime', monospace;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    border-top: 2px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.easter-egg-counter {
    color: var(--highlight-color);
    cursor: pointer;
    font-weight: bold;
}

.morse-footer {
    font-family: 'Courier Prime', monospace;
    color: var(--accent-color);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* Secret modal */
.secret-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 5% auto;
    padding: 2rem;
    border: 2px solid var(--highlight-color);
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    position: relative;
    box-shadow: 0 0 30px rgba(233, 69, 96, 0.3);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--highlight-color) var(--secondary-color);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--highlight-color);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(233, 69, 96, 0.8);
}

.close-modal {
    color: var(--text-muted);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close-modal:hover {
    color: var(--highlight-color);
}

.modal-body {
    margin-top: 2rem;
    color: var(--text-color);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.info-popup-content h3 {
    font-size: 1.5rem;
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.info-popup-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Clickable secrets */
.clickable-secret {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-secret:hover {
    text-shadow: 0 0 5px rgba(233, 69, 96, 0.5);
}

.parody-image-container {
    margin: 1.5rem 0;
    text-align: center;
}

.parody-image {
    max-width: 100%;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.parody-caption {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .biography-grid,
    .conspiracy-grid,
    .analysis-header {
        grid-template-columns: 1fr;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .protocol-item {
        flex-direction: column;
        text-align: center;
    }
    
    .protocol-number {
        align-self: center;
    }
}

/* Enhanced mobile responsiveness for investigation section */
@media (max-width: 768px) {
    .investigation-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .submit-finding-btn,
    .analyze-patterns-btn {
        width: 100%;
        justify-content: center;
    }
    
    .ai-analyzer {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .finding-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .credibility-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .vote-buttons {
        align-self: stretch;
    }
    
    .vote-btn {
        flex: 1;
    }
    
    .submit-finding-content {
        margin: 5% auto;
        width: 95%;
        max-height: 85vh;
    }
}

/* Animations */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(233, 69, 96, 0.3); }
    50% { box-shadow: 0 0 20px rgba(233, 69, 96, 0.6); }
    100% { box-shadow: 0 0 5px rgba(233, 69, 96, 0.3); }
}

.glow {
    animation: glow 3s infinite;
}