/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #1a1a2e;
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0b0;
    --accent-gold: #d4af37;
    --accent-red: #8b0000;
    --border-color: #333344;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #151520 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    background-attachment: fixed;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 3rem;
}

.case-number {
    font-family: 'Special Elite', monospace;
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: 'Special Elite', monospace;
    font-size: 1.125rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

/* Main Content */
.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 0;
}

/* Case File Card */
.case-file {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    max-width: 900px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.stamp {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: 'Special Elite', monospace;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-red);
    border: 4px solid var(--accent-red);
    padding: 0.5rem 1.5rem;
    transform: rotate(-12deg);
    opacity: 0.7;
    letter-spacing: 3px;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.message p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.resource-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.resource-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.resource-card h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Button */
.btn {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.938rem;
}

.btn:hover {
    background: #f0c847;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

/* Note Section */
.note {
    background: rgba(139,0,0,0.1);
    border-left: 3px solid var(--accent-red);
    padding: 1.5rem;
    margin-top: 3rem;
}

.fine-print {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #f0c847;
}

.footer .year {
    margin-top: 0.5rem;
    color: #666677;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .case-file {
        padding: 2rem 1.5rem;
    }

    .stamp {
        font-size: 1.5rem;
        padding: 0.4rem 1rem;
        top: 1rem;
        right: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .resource-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .resource-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
    }

    .case-file {
        padding: 1.5rem 1rem;
    }

    .stamp {
        font-size: 1.25rem;
        padding: 0.3rem 0.8rem;
    }
}
