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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #e0e0e0;
    line-height: 1.7;
}

.jfk-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.back-btn {
    display: inline-block;
    color: #c9a227;
    text-decoration: none;
    font-size: 1em;
    padding: 10px 0;
    transition: color 0.3s;
    font-family: 'Courier New', monospace;
}

.back-btn:hover {
    color: #e6c547;
}

/* Header */
.jfk-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid rgba(201, 162, 39, 0.3);
    margin-bottom: 40px;
}

.jfk-header h1 {
    font-size: 3em;
    color: #c9a227;
    letter-spacing: 6px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    color: #888;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1em;
    color: #aaa;
    font-style: italic;
}

/* Table of Contents */
.toc {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 50px;
}

.toc h3 {
    color: #c9a227;
    margin-bottom: 15px;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.toc ul {
    list-style: none;
    columns: 2;
    column-gap: 30px;
}

.toc li {
    margin-bottom: 10px;
}

.toc a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95em;
}

.toc a:hover {
    color: #c9a227;
}

/* Sections */
.content-section {
    margin-bottom: 60px;
    padding-top: 20px;
}

.content-section h2 {
    font-size: 2em;
    color: #c9a227;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.section-intro {
    font-size: 1.1em;
    color: #bbb;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid #c9a227;
    border-radius: 0 5px 5px 0;
}

/* Cards */
.fact-card,
.story-card,
.tragedy-card,
.speech-card,
.resource-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    transition: border-color 0.3s, transform 0.3s;
}

.fact-card:hover,
.story-card:hover,
.tragedy-card:hover,
.speech-card:hover,
.resource-card:hover {
    border-color: rgba(201, 162, 39, 0.5);
    transform: translateX(5px);
}

.fact-card h3,
.story-card h3,
.tragedy-card h3,
.speech-card h3,
.resource-card h3 {
    color: #e6c547;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.fact-card p,
.story-card p,
.tragedy-card p,
.resource-card p {
    margin-bottom: 15px;
    color: #ccc;
}

cite {
    display: block;
    font-size: 0.85em;
    color: #888;
    font-style: normal;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

cite a {
    color: #7eb8da;
    text-decoration: none;
}

cite a:hover {
    text-decoration: underline;
}

/* Speech Cards */
.speech-context {
    font-style: italic;
    color: #aaa;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 5px;
}

.speech-details {
    padding: 15px 0;
}

.speech-details p {
    margin-bottom: 15px;
}

.speech-details strong {
    color: #c9a227;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    margin: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #c9a227, rgba(201, 162, 39, 0.2));
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #c9a227;
    border-radius: 50%;
    border: 2px solid #1a1a2e;
}

.time {
    display: inline-block;
    font-weight: bold;
    color: #c9a227;
    font-size: 0.95em;
    margin-bottom: 5px;
}

.timeline-item p {
    color: #ccc;
    margin: 0;
}

/* Resource Cards */
.resource-link {
    display: inline-block;
    color: #c9a227;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid #c9a227;
    border-radius: 5px;
    margin-right: 10px;
    margin-top: 10px;
    transition: all 0.3s;
    font-size: 0.9em;
}

.resource-link:hover {
    background: rgba(201, 162, 39, 0.2);
}

/* Info Box */
.info-box {
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}

.info-box h4 {
    color: #c9a227;
    margin-bottom: 10px;
}

.info-box p {
    color: #bbb;
    font-size: 0.95em;
}

/* Footer */
.jfk-footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    margin-top: 60px;
}

.jfk-footer p {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.back-link {
    display: inline-block;
    color: #c9a227;
    text-decoration: none;
    padding: 10px 25px;
    border: 1px solid #c9a227;
    border-radius: 5px;
    margin-top: 20px;
    transition: all 0.3s;
}

.back-link:hover {
    background: rgba(201, 162, 39, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .jfk-header h1 {
        font-size: 2em;
        letter-spacing: 3px;
    }

    .toc ul {
        columns: 1;
    }

    .content-section h2 {
        font-size: 1.5em;
    }

    .fact-card,
    .story-card,
    .tragedy-card,
    .speech-card,
    .resource-card {
        padding: 20px;
    }

    .timeline {
        padding-left: 20px;
    }

    .resource-link {
        display: block;
        text-align: center;
        margin-right: 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(201, 162, 39, 0.4);
    color: #fff;
}
