/* date of creation: 14th of November, 2025
   created by: Cabbage Sorter */

/* space grotesk font */
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300;
    src: url('/assets/fonts/SpaceGrotesk-Light.woff2') format('woff2'),
         url('/assets/fonts/SpaceGrotesk-Light.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400;
    src: url('/assets/fonts/SpaceGrotesk-Regular.woff2') format('woff2'),
         url('/assets/fonts/SpaceGrotesk-Regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500;
    src: url('/assets/fonts/SpaceGrotesk-Medium.woff2') format('woff2'),
         url('/assets/fonts/SpaceGrotesk-Medium.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600;
    src: url('/assets/fonts/SpaceGrotesk-SemiBold.woff2') format('woff2'),
         url('/assets/fonts/SpaceGrotesk-SemiBold.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 700;
    src: url('/assets/fonts/SpaceGrotesk-Bold.woff2') format('woff2'),
         url('/assets/fonts/SpaceGrotesk-Bold.woff') format('woff');
    font-display: swap;
}

/* color palette from main site */
:root {
    --background: #d8e1dc;
    --backgroundshadow: #a7aeaa;
    --highlightedbackground: #cfd4d7;
    --highlight: #d6bb4e;
    --highlightdesaturated: #c8b25c;
    --bar: #f7f0d9;
    --text: #6c7890;
    --quote: #789922;
}

/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* main container - width determined by header image */
.container {
    display: inline-flex;
    flex-direction: column;
    width: 957px;
    max-width: 100%;
    filter: drop-shadow(8px 8px var(--highlightdesaturated));
}

/* header with background image */
.header {
    line-height: 0;
    display: inline-block;
}

.header img {
    display: block;
    width: 100%;
    height: auto;
}

/* content section */
.content {
    background-color: var(--bar);
    padding: 30px;
    color: var(--text);
    box-sizing: border-box;
    overflow-wrap: break-word;
    align-self: stretch;
}

.content h1 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 600;
    border-left: 8px solid var(--highlightdesaturated);
    padding: 8px;
}

.content h2 {
    font-size: 1.4rem;
    color: var(--text);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content a {
    color: var(--highlight);
    text-decoration: none;
}

.content a:hover {
    color: var(--highlightdesaturated);
    text-decoration: underline;
}

/* fanlisting list */
.category-section {
    margin-bottom: 2rem;
}

.fanlisting-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fanlisting-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--highlightdesaturated);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.fanlisting-list li:last-child {
    border-bottom: none;
}

.fanlisting-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: block;
}

.fanlisting-info {
    flex: 1;
}

.fanlisting-list a {
    font-size: 1.1rem;
    font-weight: 500;
}

.member-count {
    color: var(--text);
    font-size: 0.9rem;
    margin-left: 0.5rem;
    opacity: 0.8;
}

.fanlisting-description {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text);
    opacity: 0.9;
}

/* footer section */
.footer {
    background-color: var(--bar);
    padding: 10px 30px;
    color: var(--text);
    font-size: 0.75rem;
    line-height: 1.5;
    border-top: 1px solid var(--highlightdesaturated);
    box-sizing: border-box;
    align-self: stretch;
}

.footer a {
    color: var(--highlight);
    text-decoration: none;
}

.footer a:hover {
    color: var(--highlightdesaturated);
    text-decoration: underline;
}

/* responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .content {
        padding: 20px;
    }
    
    .footer {
        padding: 15px 20px;
        font-size: 0.7rem;
    }
}
