:root {
    --bg: #080909;
    --surface: #080909;
    --surface-muted: #080909;
    --border: rgba(148, 163, 184, 0.25);
    --text-primary: #efe1d1;
    --text-muted: #fbecda;
    --accent: #1ca350;
    --accent-hover: #29b675;
    --shadow: 0 25px 75px rgba(2, 6, 23, 0.55);
    --shadow-lg: 0 35px 100px rgba(2, 6, 23, 0.7);
    font-family: Helvetica, Sans-Serif;
    line-height: 1.6;
    color-scheme: dark;
}

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

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(14, 18, 15, 0.25), transparent 55%), var(--bg);
    color: var(--text-primary);
}

nav {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem clamp(1.5rem, 4vw, 3.5rem);
    background: #080909;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

nav a {
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.resources-page {
    padding-bottom: 4rem;
}

section {
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
    max-width: 1200px;
    margin: 0 auto;
}

.resources-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: clamp(4rem, 8vw, 6rem);
}

.resources-hero h1 {
    font-size: clamp(2.35rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.resources-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.resource-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 35px 100px rgba(2, 6, 23, 0.7);
    border-color: rgba(83, 209, 137, 0.3);
}

.resource-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.resource-header h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    min-width: 200px;
}

.resource-source {
    font-size: 0.85rem;
    color: var(--accent);
    background: rgba(192, 197, 194, 0.15);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(83, 209, 137, 0.3);
    font-weight: 500;
    white-space: nowrap;
}

.resource-summary {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.resource-link:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

footer {
    padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--surface-muted);
}

@media (max-width: 768px) {
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .resource-card {
        padding: 1.5rem;
    }

    .resource-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .resource-header h2 {
        font-size: 1.25rem;
    }
}

