/* -----------------------------
   Global Base
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #eef2f3, #dfe6e9);
    padding: 20px; /* less vertical padding */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* -----------------------------
   Header
------------------------------ */
h1 {
    text-align: center;
    margin-bottom: 30px; /* compact spacing */
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.5px;
}

/* -----------------------------
   Links
------------------------------ */
a {
    text-decoration: none;
    color: inherit;
}

/* -----------------------------
   Modern Card Container
------------------------------ */
div {
    width: 100%;
    max-width: 750px;
    padding: 12px 16px; /* compact padding */
    margin: 8px auto; /* compact margin */
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.06),
        0 3px 10px rgba(0, 0, 0, 0.03);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

/* -----------------------------
   Hover Motion & UI Behavior
------------------------------ */
div:hover {
    transform: translateY(-2px); /* small lift only */
    background: rgba(255, 255, 255, 0.75);
    box-shadow:
        0 8px 20px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.05);
}

/* -----------------------------
   Directory Style
------------------------------ */
.dir a {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    display: inline-block;
    transition: color 0.2s ease;
}

.dir a:hover {
    color: #2563eb;
}

/* -----------------------------
   File Style
------------------------------ */
.file a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.85;
    color: #374151;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.file a:hover {
    opacity: 1;
    color: #111827;
}

/* -----------------------------
   Responsive Design
------------------------------ */
@media (max-width: 600px) {
    body {
        padding: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    div {
        padding: 10px 12px;
    }

    .dir a {
        font-size: 1.1rem;
    }

    .file a {
        font-size: 0.9rem;
    }
}

/* --------------------------------------------------------------
   Modern Accordion (Year Grouping) – Compact
-------------------------------------------------------------- */
.accordion {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.year {
    margin-bottom: 6px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.year-header {
    padding: 12px 16px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.75);
    transition: background 0.25s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.year-header:hover {
    background: rgba(255, 255, 255, 0.95);
	color: #1d4ed8;
}

.year-header::after {
    content: "▸";
    font-size: 1.3rem;
    transition: transform 0.25s ease;
}

.year.open .year-header::after {
    transform: rotate(90deg);
}

.year-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 16px;
}

.year.open .year-content {
    padding: 8px 16px 12px 16px;
}

.year-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Modern link card inside accordion */
.year-links .dir {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, background 0.25s ease;
}

.year-links .dir:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
}

.year-links .dir a {
    font-size: 1.15rem;
    font-weight: 500;
    color: #0f172a;
}

.year-links .dir:hover a {
    color: #1d4ed8;
}