body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #1b1b1b;
    color: #dcdcdc;
}

header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: calc(100vw * (425 / 1800));
}

h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #f05454;
    border-bottom: 2px solid #f05454;
    padding-bottom: 10px;
}

h3 {
    margin-bottom: 5px;
    font-size: 1,8rem;
    color: #f05454;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #2d2d2d;
    background-image: -webkit-linear-gradient(top, #4a4a4a 0%, #1f1f1f 2px, #2d2d2d 92px, #2d2d2d 100%);
    background-image: linear-gradient(to bottom, #4a4a4a 0%, #1f1f1f 2px, #2d2d2d 92px, #2d2d2d 100%);
    background-repeat: repeat-x;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

nav a {
    color: #dcdcdc;
    text-decoration: none;
    margin: 0 20px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: #f05454;
    transform: scale(1.1);
}

.content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 25px;
    background: #2a2a2a;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

footer {
    text-align: center;
    padding: 15px 0;
    background-color: #2d2d2d;
    background-image: -webkit-linear-gradient(top, #4a4a4a 0%, #1f1f1f 2px, #2d2d2d 92px, #2d2d2d 100%);
    background-image: linear-gradient(to bottom, #4a4a4a 0%, #1f1f1f 2px, #2d2d2d 92px, #2d2d2d 100%);
    background-repeat: repeat-x;
    color: #999;
    margin-top: 30px;
}

footer a {
    color: #f05454;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    nav a {
        font-size: 1rem;
        margin: 0 10px;
    }

    .content {
        margin: 15px;
        padding: 20px;
    }

    .news-section h2 {
        font-size: 1.5rem;
    }

    .team-member {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-member img {
        margin-bottom: 10px;
    }

    .admin-dashboard {
        margin: 20px;
        padding: 15px;
    }

    .news-table {
        font-size: 0.9rem;
    }
}


/* ===== Releases + Set Gallery (TheManaForge) ===== */

.muted {
    opacity: 0.8;
    font-size: 0.95em;
}

/* Upcoming releases grid */
.releases-section .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 10px;
}

.releases-section .release-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.releases-section .release-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px auto;
}

.releases-section .card.is-clickable {
    cursor: pointer;
}

.releases-section .card.is-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.releases-section .card.is-disabled {
    opacity: 0.65;
    cursor: default;
}

/* Set gallery grid */
.set-gallery-section .grid-container.set-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    padding: 10px;
}

.set-gallery-section .set-thumb {
    width: 100%;
    height: auto;
    cursor: zoom-in;
    border-radius: 5px;
    display: block;
}

.set-gallery-section .set-card-title {
    margin-top: 8px;
    font-size: 0.95em;
    opacity: 0.9;
}

/* Pagination ellipsis (used in set_gallery.php) */
.page-ellipsis {
    display: inline-block;
    margin: 0 5px;
    color: #fff;
}
