/* Base styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #eee;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Header */
header h1 {
    text-align: center;
    color: #00ffd8;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Patch notes list */
.patchnotes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Individual patch note */
.patch-note {
    background-color: #2a2a2a;
    padding: 20px;
    border-left: 5px solid #00d8ff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Hover effect */
.patch-note:hover {
    transform: translateY(-3px);
    background-color: #333;
}

/* Patch note date */
.patch-note .date {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 10px;
}


/* Optional: highlight emojis or important words */
.patch-note .highlight {
    color: #00d8ff;
    font-weight: bold;
}

/* Month container */
details {
    border: 1px solid #333;
    border-radius: 6px;
    margin-bottom: 20px;
    background-color: #222;
}

summary {
    cursor: pointer;
    padding: 10px 15px;
    font-weight: bold;
    background-color: #333;
    border-radius: 6px;
    color: #fff;
}

summary::-webkit-details-marker {
    display: none;
}
.patch-note .content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.patch-note.active .content {
    max-height: 2000px; /* enough to fit most content */
}

.patch-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.patch-month.active .patch-list {
    max-height: 5000px; /* enough to fit all notes in month */
}
.patch-month .patch-list {
    display: none;
}
.patch-month.active .patch-list {
    display: block;
}
/* Make patch notes container expand naturally */
.patch-month {
    overflow: visible; /* so content is not clipped */
}

/* Optional: allow the patch-list to scroll independently if you want a fixed height */
.patch-list {
    max-height: none; /* remove any fixed height */
    overflow: visible;
}
/* Ensure the whole page can scroll */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}