/*
 * Fakes Lounge Unified Stylesheet
 * Version: 1.1
 * Description: Combined and refactored styles from main.css, styles.css, and inline HTML styles.
 * Version 1.1 incorporates styles from index.css for homepage-specific components.
 * Units have been converted to rem for better responsiveness.
 */

/* ========================================================================== */
/* Global Styles & Root Configuration */
/* ========================================================================== */

:root {
    --brand-purple: #4b0082;
    --brand-gold: #C8A000;
    --background-dark: #000;
    --background-light: #1a1a1a;
    --text-light: #fff;
    --text-dark: #000;
    --border-radius-sm: 0.3125rem; /* 5px */
    --border-radius-md: 0.625rem; /* 10px */
}

html {
    font-size: 100%; /* Base for rem units, typically 16px */
}

body {
    font-family: 'League Spartan Bold', Arial, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: var(--background-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-purple) var(--background-dark);
}

    body::-webkit-scrollbar {
        width: 0.75rem; /* 12px */
    }

    body::-webkit-scrollbar-track {
        background: var(--background-dark);
    }

    body::-webkit-scrollbar-thumb {
        background-color: var(--brand-purple);
        border-radius: 0.625rem; /* 10px */
        border: 3px solid var(--background-dark);
    }

/* ========================================================================== */
/* Top Strip & Navigation */
/* ========================================================================== */

.top-strip {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--background-dark);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-bottom: 0.3125rem solid var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0; /* Adjusted padding */
}

    .top-strip h1 {
        margin: 0;
        font-size: 3.75rem; /* 60px */
        padding-left: 1.25rem; /* Added padding */
    }

        .top-strip h1 a {
            text-decoration: none;
            color: var(--brand-purple);
        }

.nav-buttons {
    display: flex;
    gap: 1.25rem; /* 20px */
    align-items: center;
    margin-left: auto;
    padding-right: 1.25rem; /* Added padding */
}

.nav-button {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 0.9375rem 3.125rem; /* 15px 50px */
    font-size: 1.25rem; /* 20px */
    font-weight: bold;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
    border: 3px solid var(--brand-purple);
}

    .nav-button:hover {
        color: var(--brand-purple);
    }

/* ========================================================================== */
/* Announcement Bar (from index.css) */
/* ========================================================================== */

.announcement-bar {
    background-color: var(--brand-purple);
    color: var(--text-light);
    text-align: center;
    font-size: 1rem; /* 16px */
    padding: 0.625rem 0; /* 10px */
    position: sticky;
    top: 3.125rem; /* 50px */
    width: 102%;
    z-index: 999;
}

    .announcement-bar p {
        margin: 0;
    }

/* ========================================================================== */
/* Action Buttons & Filters */
/* ========================================================================== */

.action-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 75rem; /* 1200px */
    margin: 0.3125rem auto; /* 5px */
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3125rem; /* 5px */
    margin: 0.3125rem 0;
    width: 100%;
}

.btn {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 0.875rem 1.75rem; /* 14px 28px */
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
    border: 3px solid var(--brand-purple);
    border-radius: 0.375rem; /* 6px */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.2s;
    margin: 0.25rem; /* 4px */
    text-decoration: none;
    box-shadow: 0 0.125rem 0.25rem rgba(75, 0, 130, 0.3);
}

    .btn:hover {
        color: var(--brand-purple);
        box-shadow: 0 0.25rem 0.5rem rgba(75, 0, 130, 0.5);
    }

.filter-options select {
    background-color: var(--background-dark);
    color: var(--text-light);
    border: 2px solid var(--brand-purple);
    padding: 0.3125rem 0.625rem; /* 5px 10px */
    font-size: 1.125rem; /* 18px */
    font-weight: bold;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    text-align: center;
}

/* ========================================================================== */
/* Homepage Components (from index.css) */
/* ========================================================================== */

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.image-strip-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 15.625rem; /* 250px */
    border: 2px solid var(--brand-purple);
    background: #111;
    touch-action: pan-y;
}

#imageStrip3Container {
    border: 2px solid var(--brand-gold);
}

.image-strip {
    display: flex;
    position: absolute;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    animation: scroll 40s linear infinite;
}

    .image-strip.paused {
        animation-play-state: paused;
    }

    .image-strip img {
        height: 15.625rem; /* 250px */
        margin-right: 0.625rem; /* 10px */
        object-fit: cover;
        border: 1px solid var(--brand-purple);
        flex-shrink: 0;
        user-select: none;
        pointer-events: auto;
    }

#imageStrip3 img {
    border: 1px solid var(--brand-gold);
}

.categories-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category {
    position: relative;
    z-index: 1;
}

#counter {
    font-family: Arial, sans-serif;
    font-size: 1.375rem; /* 22px */
    padding-top: 1.875rem; /* 30px */
    color: var(--text-light);
}

#count {
    font-weight: bold;
    color: var(--brand-gold);
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    color: var(--text-light);
    padding: 1.25rem 0 2.5rem 0; /* 20px 0 40px 0 */
    gap: 0.9375rem; /* 15px */
    text-align: center;
}

.stats-item {
    display: flex;
    flex-direction: column;
    background: #111;
    padding: 0.625rem 0.9375rem; /* 10px 15px */
    border: 2px solid var(--brand-purple);
    border-radius: var(--border-radius-sm); /* 5px */
    min-width: 6.25rem; /* 100px */
}

.stats-number {
    font-size: 1.375rem; /* 22px */
    font-weight: bold;
    color: var(--brand-gold);
}

.stats-label {
    font-size: 1rem; /* 16px */
    color: var(--text-light);
}

.stats-divider {
    font-size: 1.5rem; /* 24px */
    color: var(--brand-purple);
}

.stats-item button {
    margin-top: 0.3125rem; /* 5px */
    padding: 0.3125rem 0.625rem; /* 5px 10px */
    font-size: 0.875rem; /* 14px */
    border-radius: var(--border-radius-sm); /* 5px */
}

/* Generic button styles from index.css */
button {
    background-color: var(--background-dark);
    color: var(--text-light);
    border: 2px solid var(--brand-purple);
    font-size: 1rem; /* 16px */
    padding-top: 0.625rem; /* 10px */
    cursor: pointer;
}

    button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.footer-button {
    padding: 0.625rem 1.5625rem; /* 10px 25px */
    margin: 0.625rem; /* 10px */
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: var(--border-radius-sm); /* 5px */
    display: flex;
    flex-wrap: wrap;
}

.political-corner-button {
    background-color: var(--brand-purple);
    color: var(--text-light);
    font-size: 1.125rem; /* 18px */
}

/* ========================================================================== */
/* Gallery */
/* ========================================================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.625rem, 1fr)); /* 250px */
    gap: 1.875rem; /* 30px */
    padding: 1.25rem; /* 20px */
    width: 97%;
    max-width: 100%;
    margin: 0.625rem auto 3.125rem auto; /* 10px auto 50px auto */
}

.gallery-item {
    position: relative;
    border: 2px solid var(--brand-purple);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 0 0.9375rem rgba(75, 0, 130, 0.5); /* 15px */
    padding: 0.625rem; /* 10px */
    text-align: center;
    height: 23.125rem; /* 370px */
}

    .gallery-item:hover {
        transform: scale(1.05);
        box-shadow: 0 0 1.25rem var(--brand-purple); /* 20px */
    }

    .gallery-item img {
        width: 100%;
        height: 17.5rem; /* 280px */
        display: block;
        border-radius: var(--border-radius-sm);
        object-fit: cover;
        padding-bottom: 0.3125rem; /* 5px */
    }

    .gallery-item .username {
        display: block;
        font-size: 1rem; /* 16px */
        margin-bottom: 0.3125rem; /* 5px */
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .gallery-item.member-upload {
        border-color: var(--brand-gold);
        box-shadow: 0 0 0.9375rem rgba(200, 160, 0, 0.5); /* 15px */
    }

        .gallery-item.member-upload:hover {
            box-shadow: 0 0 1.25rem var(--brand-gold); /* 20px */
        }

    /* Video Specific Styles */
    .gallery-item.video {
        position: relative;
    }

        .gallery-item.video .thumbnail-wrapper {
            position: relative;
            display: inline-block;
        }

        .gallery-item.video .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 3.125rem; /* 50px */
            height: 3.125rem; /* 50px */
            background: rgba(0, 0, 0, 0.6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: background 0.3s;
        }

            .gallery-item.video .play-button:hover {
                background: rgba(0, 0, 0, 0.8);
            }

            .gallery-item.video .play-button::before {
                content: '';
                display: block;
                width: 0;
                height: 0;
                border-left: 1.25rem solid var(--text-light); /* 20px */
                border-top: 0.75rem solid transparent; /* 12px */
                border-bottom: 0.75rem solid transparent; /* 12px */
                margin-left: 0.25rem; /* 4px */
            }


/* ========================================================================== */
/* Lightbox & Popups */
/* ========================================================================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 10;
    animation: fadeIn 0.4s ease;
}

.lightbox-img {
    max-width: 80%;
    max-height: 80%;
    border: 4px solid var(--brand-purple);
    border-radius: var(--border-radius-md);
    box-shadow: 0 0 1.875rem var(--brand-purple); /* 30px */
    margin-top: 3.75rem; /* 60px */
}

.lightbox-info {
    position: absolute;
    bottom: 1.25rem; /* 20px */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.7);
    padding: 0.625rem 1.25rem; /* 10px 20px */
    border-radius: var(--border-radius-sm);
    width: 80%;
    max-width: 31.25rem; /* 500px */
}

    .lightbox-info .username {
        font-weight: bold;
        margin-right: 0.3125rem; /* 5px */
    }

#lightbox-description {
    margin: 0 0 0.625rem 0; /* 10px */
    font-size: 1rem; /* 16px */
    max-height: 6.25rem; /* 100px */
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 1.25rem; /* 20px */
    right: 1.25rem; /* 20px */
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

    .close:hover {
        color: var(--brand-purple);
    }

/* Upload Overlay */
.upload-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 20;
}

    .upload-overlay.show {
        display: flex;
    }

    .upload-overlay .overlay-content {
        background: var(--background-light);
        padding: 1.5625rem; /* 25px */
        border: 3px solid var(--brand-purple);
        border-radius: var(--border-radius-md);
        max-width: 31.25rem; /* 500px */
        width: 90%;
        box-sizing: border-box;
        text-align: center;
        box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.4); /* 4px 10px */
    }

    .upload-overlay h2 {
        color: var(--brand-purple);
        margin-top: 0;
        font-size: 1.75rem; /* 28px */
        text-shadow: 1px 1px 2px rgba(75, 0, 130, 0.5);
    }

    .upload-overlay input[type="file"],
    .upload-overlay input[type="text"],
    .upload-overlay textarea {
        display: block;
        width: 100%;
        margin-bottom: 0.9375rem; /* 15px */
        background: var(--background-dark);
        color: var(--text-light);
        border: 2px solid var(--brand-purple);
        border-radius: var(--border-radius-sm);
        padding: 0.625rem; /* 10px */
        box-sizing: border-box;
    }

    .upload-overlay textarea {
        height: 6.25rem; /* 100px */
        resize: vertical;
    }

/* Comment & Info Popups */
.comment-popup,
.info-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 20;
    animation: fadeIn 0.4s ease;
}

    .comment-popup.show,
    .info-popup.show {
        display: flex;
    }

.comment-container,
.info-container {
    background: var(--background-dark);
    padding: 1.25rem; /* 20px */
    border: 3px solid var(--brand-purple);
    border-radius: var(--border-radius-md);
    max-width: 31.25rem; /* 500px */
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.4); /* 4px 10px */
}

    .comment-container h3,
    .info-container h3 {
        color: var(--brand-purple);
        margin-top: 0;
        font-size: 1.5rem; /* 24px */
    }

.comment-list {
    max-height: 18.75rem; /* 300px */
    overflow-y: auto;
    margin-bottom: 0.9375rem; /* 15px */
}

.comment {
    background: var(--background-dark);
    width: 90%;
    padding: 0.625rem; /* 10px */
    margin: 0.3125rem 0; /* 5px */
    border: 1px solid var(--brand-purple);
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
}

.comment-form textarea {
    width: 90%;
    height: 5rem; /* 80px */
    background: var(--background-dark);
    color: var(--text-light);
    border: 2px solid var(--brand-purple);
    border-radius: var(--border-radius-sm);
    padding: 0.625rem; /* 10px */
    resize: vertical;
    margin-bottom: 0.625rem; /* 10px */
}

.info-list {
    color: var(--text-light);
    font-size: 1rem; /* 16px */
}

.info-item {
    margin: 0.625rem 0; /* 10px */
}

.info-label {
    font-weight: bold;
    color: var(--brand-gold);
}


/* Drop Zone */
.drop-zone {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50rem; /* 800px */
    height: 50rem; /* 800px */
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: var(--text-light);
    font-size: 1.5625rem; /* 25px */
    font-weight: bold;
    text-align: center;
    border: 3px dashed var(--brand-gold);
    border-radius: var(--border-radius-md);
}

    .drop-zone.active {
        display: flex;
    }

    .drop-zone p {
        margin: 0;
        padding: 0.9375rem; /* 15px */
    }

/* ========================================================================== */
/* Component-like Buttons (Like, Comment, Info) */
/* ========================================================================== */

.like-button,
.comment-button,
.info-button {
    background-color: transparent !important;
    border: 2px solid var(--brand-purple) !important;
    color: var(--text-light) !important;
    font-size: 0.875rem; /* 14px */
    padding: 0.5rem 1rem; /* 8px 16px */
    border-radius: 1.25rem; /* 20px */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.like-comment {
    padding: 0.3125rem 0; /* 5px */
}

.comment-button {
    margin-left: 0.625rem; /* 10px */
}

    .like-button:hover:not(:disabled),
    .comment-button:hover:not(:disabled),
    .info-button:hover:not(:disabled) {
        background-color: var(--brand-purple) !important;
        color: var(--text-light) !important;
    }

    .like-button:disabled,
    .comment-button:disabled,
    .info-button:disabled {
        background-color: #000 !important;
        color: #ccc !important;
        cursor: not-allowed;
        opacity: 0.5;
    }

.gallery-item.member-upload .like-button,
.gallery-item.member-upload .comment-button {
    border-color: var(--brand-gold) !important;
}

    .gallery-item.member-upload .like-button:hover:not(:disabled),
    .gallery-item.member-upload .comment-button:hover:not(:disabled) {
        background-color: var(--brand-gold) !important;
        color: var(--text-dark) !important;
    }

/* ========================================================================== */
/* Pagination */
/* ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem; /* 10px */
    margin: 1.25rem 0; /* 20px */
}

.page-button {
    background-color: var(--background-dark);
    color: var(--text-light);
    border: 2px solid var(--brand-purple);
    padding: 0.5rem 1rem; /* 8px 16px */
    font-size: 1rem; /* 16px */
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.3s, color 0.3s;
}

    .page-button:hover:not(:disabled) {
        background-color: var(--brand-purple);
        color: var(--text-light);
    }

    .page-button.active {
        background-color: var(--brand-purple);
        color: var(--text-light);
        font-weight: bold;
    }

    .page-button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* ========================================================================== */
/* Miscellaneous */
/* ========================================================================== */

.active-dot {
    height: 0.5rem; /* 8px */
    width: 0.5rem; /* 8px */
    background-color: #00ff00;
    border-radius: 50%;
    display: inline-block;
    margin-left: 0.375rem; /* 6px */
    vertical-align: middle;
    box-shadow: 0 0 0.3125rem #00ff00; /* 5px */
}

.back-to-top {
    display: none;
    position: fixed;
    bottom: 1.25rem; /* 20px */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 0.75rem 1.875rem; /* 12px 30px */
    border: 2px solid var(--brand-purple);
    border-radius: var(--border-radius-sm);
    font-size: 1.125rem; /* 18px */
    cursor: pointer;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1); /* 4px 6px */
    z-index: 1000;
}

.instructions {
    text-align: center;
    background-color: var(--background-light);
    color: var(--text-light);
    padding: 1.25rem; /* 20px */
    margin: 0.625rem auto; /* 10px */
    border-radius: 0.5rem; /* 8px */
    font-size: 1.1rem;
    border: 2px solid var(--brand-purple);
    width: 95%;
    max-width: 25rem; /* 400px */
}

    .instructions p {
        margin: 0;
        font-weight: bold;
    }

/* ========================================================================== */
/* Animations & Keyframes */
/* ========================================================================== */

/* Heart Animation */
.heart {
    position: absolute;
    font-size: 2.5rem; /* 40px */
    color: #ff69b4;
    pointer-events: none;
    animation: heartFade 1s ease-out forwards;
    z-index: 15;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes heartFade {
    0% {
        opacity: 1;
        transform: scale(0.5);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Added from index.css */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* ========================================================================== */
/* Media Queries for Responsiveness */
/* ========================================================================== */

@media (max-width: 768px) {
    .top-strip {
        padding: 0.625rem 0.3125rem; /* 10px 5px */
        border-bottom-width: 3px;
    }

        .top-strip h1 {
            font-size: 2.8125rem; /* 45px */
            padding-left: 1.875rem; /* 30px */
        }

    .nav-button, .btn {
        padding: 0.625rem 0.9375rem; /* 10px 15px */
        font-size: 1rem; /* 16px */
    }

    .action-buttons {
        gap: 0.25rem; /* 4px */
        margin: 0.25rem 0;
    }

    .btn {
        padding: 0.75rem 1.5rem; /* 12px 24px */
        font-size: 1.125rem; /* 18px */
        margin: 0.1875rem; /* 3px */
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(9.375rem, 1fr)); /* 150px */
        gap: 1.25rem; /* 20px */
        padding: 0.625rem; /* 10px */
    }

    .gallery-item {
        padding: 0.3125rem; /* 5px */
        height: 24.6875rem; /* 395px */
    }

        .gallery-item:hover {
            transform: none;
            box-shadow: 0 0 0.9375rem rgba(75, 0, 130, 0.5); /* 15px */
        }

        .gallery-item img {
            height: 13.125rem; /* 210px */
        }

        .gallery-item .username {
            font-size: 0.875rem; /* 14px */
        }

    .like-comment {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 0; /* 8px */
    }

    .like-button,
    .comment-button,
    .info-button {
        display: block;
        width: 85%;
        max-width: 8.75rem; /* 140px */
        margin: 0.375rem 0; /* 6px */
        padding: 0.625rem 1.25rem; /* 10px 20px */
        font-size: 0.875rem; /* 14px */
        text-align: center;
    }

    .comment-button {
        margin-left: 0;
    }

    .lightbox-buttons {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.625rem; /* 10px */
    }

    #lightbox-like-button,
    #lightbox-comment-button,
    #lightbox-info-button {
        width: auto;
        max-width: none;
        margin: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .upload-overlay .overlay-content {
        padding: 1.25rem; /* 20px */
        width: 95%;
    }

    .upload-overlay h2 {
        font-size: 1.5rem; /* 24px */
    }

    .lightbox-img {
        max-width: 70%;
        max-height: 70%;
    }

    .back-to-top {
        display: block;
    }

    /* Styles merged from index.css for 768px */
    .content-container {
        flex-direction: row;
    }

    #counter {
        font-size: 1.125rem; /* 18px */
    }

    .category {
        display: flex;
        font-weight: bold;
        align-items: center;
        justify-content: center;
        border-radius: var(--border-radius-sm); /* 5px */
        height: 2.5rem; /* 40px */
        width: 40%;
        font-size: 1.25rem; /* 20px */
        text-decoration: none;
        padding: 1.25rem; /* 20px */
        border: 2px solid var(--brand-purple);
        background-color: var(--background-dark);
        color: var(--text-light);
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .categories-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.875rem; /* 30px */
        max-width: 100%;
        text-align: center;
        align-items: center;
        margin-top: 0.625rem; /* 10px */
    }

    .footer {
        background-color: var(--background-dark);
        padding: 1.25rem; /* 20px */
        text-align: center;
        color: var(--text-light);
    }

    .stats-container {
        padding: 0.9375rem 0.625rem 1.875rem 0.625rem; /* 15px 10px 30px 10px */
        gap: 0.625rem; /* 10px */
        flex-direction: row;
    }

    .stats-item {
        padding: 0.5rem 0.625rem; /* 8px 10px */
        min-width: 5rem; /* 80px */
    }

    .stats-number {
        font-size: 1.125rem; /* 18px */
    }

    .stats-label {
        font-size: 0.875rem; /* 14px */
    }

    .stats-divider {
        font-size: 1.25rem; /* 20px */
    }

    .discord-button {
        background-color: var(--background-dark);
        color: var(--text-light);
        border: 2px solid var(--brand-purple);
        font-size: 0.625rem; /* 10px */
        display: flex;
    }

        .discord-button:hover {
            background-color: var(--brand-purple);
            color: var(--text-dark);
            border: 2px solid var(--brand-purple);
        }

    .image-strip-container {
        height: 9.375rem; /* 150px */
        touch-action: pan-y;
    }

    .image-strip img {
        height: 9.375rem; /* 150px */
        margin-right: 0.3125rem; /* 5px */
        object-fit: cover;
    }

    .image-strip {
        animation: scroll 60s linear infinite;
    }
}

@media (max-width: 480px) {
    .top-strip h1 {
        font-size: 2rem; /* 32px */
    }

    .announcement-bar {
        padding: 0.3125rem 0; /* 5px */
    }

    .btn {
        padding: 0.625rem 1.25rem; /* 10px 20px */
        font-size: 1rem; /* 16px */
        margin: 0.125rem; /* 2px */
        border-width: 2px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); /* 120px */
        gap: 0.9375rem; /* 15px */
        padding: 0.3125rem; /* 5px */
    }

    .gallery-item {
        height: 21.5625rem; /* 345px */
    }

        .gallery-item img {
            height: 10.625rem; /* 170px */
        }

    .like-button,
    .comment-button,
    .info-button {
        width: 90%;
        max-width: 7.5rem; /* 120px */
        margin: 0.3125rem 0; /* 5px */
        padding: 0.5rem 1rem; /* 8px 16px */
        font-size: 0.8125rem; /* 13px */
    }

    .upload-overlay h2 {
        font-size: 1.25rem; /* 20px */
    }

    .lightbox-img {
        border-width: 2px;
    }

    /* Styles merged from index.css for 480px */
    .stats-item {
        padding: 0.375rem 0.5rem; /* 6px 8px */
        min-width: 3.75rem; /* 60px */
    }

    .category {
        height: 1.875rem; /* 30px */
        width: 40%;
        font-size: 1.25rem; /* 20px */
        padding: 0.3125rem; /* 5px */
    }

    .stats-number {
        font-size: 1rem; /* 16px */
    }

    .stats-label {
        font-size: 0.75rem; /* 12px */
    }

    .stats-divider {
        font-size: 1.125rem; /* 18px */
    }
}
