body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #1f1f1f;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1050;
}

footer {
    background-color: #1f1f1f;
    padding: 10px;
    text-align: center;
}

main {
    padding: 0;
}

.nav-logo {
    font-size: 1.3em;
    font-weight: bold;
    color: #fff !important;
    text-decoration: none;
    letter-spacing: 1px;
}

.navbar-nav .nav-item {
    position: relative;
    margin-right: 18px;
}

.navbar-nav .nav-item:not(:last-child)::after {
    content: "|";
    color: #555;
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    pointer-events: none;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-size: 1.12em;
    font-weight: 500;
    padding: 0 32px 0 16px;
    height: 64px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #4a90e2 !important;
}

.dropdown-menu {
    background-color: #23272f;
    border-radius: 0 0 6px 6px;
    min-width: 180px;
    width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    padding: 0;
}

.dropdown-item {
    color: #fff;
    padding: 8px 20px;
    font-size: 1em;
    text-align: left;
    background: none;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #181a20;
    color: #4a90e2;
}

/* Hero section */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 60vh;
    height: 60vh;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 16px;
    pointer-events: auto; /* Voeg deze regel toe */
}

.hero-content h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 18px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25em;
    margin-bottom: 28px;
    color: #e0e0e0;
}

.hero-cta {
    display: inline-block;
    background: #4a90e2;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    padding: 14px 38px;
    border-radius: 32px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 12px rgba(74,144,226,0.15);
}

.hero-cta:hover {
    background: #357ab8;
    color: #fff;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Login Popup (Bootstrap modal override) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #232323 !important;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    padding: 38px 28px 28px 28px;
}

.modal-header {
    border: none;
}

.modal-title {
    margin: 0 auto;
    text-align: center;
}

.btn-close {
    filter: invert(1);
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 18px;
    text-align: center;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-content label {
    font-size: 0.95em;
    margin-bottom: 2px;
}

.modal-content input[type="text"],
.modal-content input[type="password"] {
    padding: 8px;
    border: none;
    border-radius: 4px;
    background: #181818;
    color: #fff;
    font-size: 1em;
}

.modal-content button[type="submit"],
.modal-content .btn-primary {
    margin-top: 10px;
    padding: 10px;
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
.modal-content button[type="submit"]:hover,
.modal-content .btn-primary:hover {
    background: #357ab8;
}

/* Section separator */
.section-separator {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: none;
    margin-bottom: -2px;
}

.section-separator svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* News section */
.news-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.news-item {
    background: #23272f;
    border-radius: 8px;
    padding: 24px 22px 18px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.news-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.25em;
    color: #4a90e2;
}

.news-item p {
    margin: 0;
    color: #e0e0e0;
    font-size: 1.05em;
}

.news-title {
    font-size: 2em;
    font-weight: bold;
    margin: 40px 0 24px 0;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
}

/* Games section */
.games-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    justify-items: center;
}

.game-item,
.marketplace-item {
    background: #23272f;
    border-radius: 8px;
    padding: 24px 22px 18px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 220px;
    min-width: 0;
}

.game-item img,
.marketplace-item img {
    width: 100%;
    max-width: 180px;
    border-radius: 6px;
    margin-bottom: 16px;
    object-fit: cover;
}

.game-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.25em;
    color: #4a90e2;
    text-align: center;
}

.game-item p {
    margin: 0;
    color: #e0e0e0;
    font-size: 1.05em;
    text-align: center;
}

.games-title {
    font-size: 2em;
    font-weight: bold;
    margin: 40px 0 24px 0;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
}

/* Marketplace section */
.marketplace-title {
    font-size: 2em;
    font-weight: bold;
    margin: 40px 0 24px 0;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
}

.marketplace-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    justify-items: center;
}

.marketplace-item {
    /* Zorg dat deze class de breedte goed houdt */
    width: 100%;
    max-width: 220px;
    min-width: 0;
    box-sizing: border-box;
}

.marketplace-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.15em;
    color: #4a90e2;
    text-align: center;
}

.marketplace-item p {
    margin: 0;
    color: #e0e0e0;
    font-size: 1em;
    text-align: center;
}

/* Forum styles */
.forum-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.forum-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.forum-search-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 18px auto;
    display: flex;
    gap: 8px;
}

.forum-search-form input[type="text"] {
    background: #23272f;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 1.08em;
    transition: border 0.2s;
}

.forum-search-form input[type="text"]:focus {
    border: 1.5px solid #4a90e2;
    outline: none;
}

.forum-search-form button {
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 1.08em;
    font-weight: 600;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(74,144,226,0.10);
}

.forum-search-form button:hover {
    background: #357ab8;
}

.forum-topic-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.forum-topic-card {
    background: linear-gradient(120deg, #23272f 80%, #232f3e 100%);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(74,144,226,0.07), 0 1.5px 6px rgba(0,0,0,0.10);
    padding: 28px 28px 18px 28px;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1.5px solid #232f3e;
    position: relative;
}

.forum-topic-card:hover {
    box-shadow: 0 8px 32px rgba(74,144,226,0.13), 0 2px 8px rgba(0,0,0,0.13);
    transform: translateY(-2px) scale(1.01);
    border-color: #4a90e2;
}

.forum-topic-title {
    font-size: 1.35em;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 6px;
    text-decoration: none;
    transition: color 0.2s;
}

.forum-topic-title:hover {
    color: #357ab8;
    text-decoration: underline;
}

.forum-topic-meta {
    font-size: 0.98em;
    color: #b0b8c1;
    margin-bottom: 10px;
}

.forum-topic-desc {
    color: #e0e0e0;
    font-size: 1.08em;
    margin-bottom: 0;
    word-break: break-word;
}

.forum-new-btn {
    display: inline-block;
    background: linear-gradient(90deg, #4a90e2 60%, #357ab8 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 32px;
    padding: 12px 32px;
    font-size: 1.08em;
    margin-bottom: 28px;
    margin-top: 8px;
    box-shadow: 0 2px 12px rgba(74,144,226,0.13);
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.forum-new-btn:hover {
    background: linear-gradient(90deg, #357ab8 60%, #4a90e2 100%);
    color: #fff;
    transform: translateY(-1px) scale(1.03);
}

/* Forum topic detail */
.forum-topic-detail-card {
    background: linear-gradient(120deg, #23272f 80%, #232f3e 100%);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(74,144,226,0.07), 0 1.5px 6px rgba(0,0,0,0.10);
    padding: 32px 32px 18px 32px;
    margin-bottom: 32px;
    border: 1.5px solid #232f3e;
}

.forum-topic-detail-title {
    font-size: 1.7em;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 8px;
}

.forum-topic-detail-meta {
    font-size: 1em;
    color: #b0b8c1;
    margin-bottom: 16px;
}

.forum-topic-detail-desc {
    color: #e0e0e0;
    font-size: 1.13em;
    margin-bottom: 0;
    word-break: break-word;
}

.forum-edit-btn {
    background: #ffc107;
    color: #23272f;
    border: none;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.98em;
    font-weight: 600;
    margin-left: 10px;
    transition: background 0.2s;
    text-decoration: none;
}

.forum-edit-btn:hover {
    background: #e0a800;
    color: #23272f;
}

/* Forum replies */
.forum-replies-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
}

.forum-reply-card {
    background: #232f3e;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(74,144,226,0.06);
    padding: 18px 22px 14px 22px;
    color: #e0e0e0;
    border-left: 4px solid #4a90e2;
}

.forum-reply-meta {
    font-size: 0.97em;
    color: #b0b8c1;
    margin-bottom: 6px;
}

.forum-reply-message {
    font-size: 1.08em;
    color: #fff;
    margin-bottom: 0;
    word-break: break-word;
}

/* Forum reply form */
.forum-reply-form {
    background: #23272f;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(74,144,226,0.06);
    padding: 22px 22px 14px 22px;
    margin-bottom: 32px;
}

.forum-reply-form textarea {
    background: #181a20;
    color: #fff;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 1.08em;
    width: 100%;
    margin-bottom: 12px;
    resize: vertical;
    min-height: 80px;
}

.forum-reply-form button {
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 1.08em;
    font-weight: 600;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(74,144,226,0.10);
}

.forum-reply-form button:hover {
    background: #357ab8;
}

/* NFT Marketplace layout */
.marketplace-container {
    display: flex;
    gap: 32px;
    max-width: 1400px;
    margin: 40px auto 0 auto;
    padding: 0 16px;
}
.marketplace-sidebar {
    width: 260px;
    background: #23272f;
    border-radius: 12px;
    padding: 28px 22px 18px 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    max-height: 700px;
    height: fit-content;
}
.marketplace-sidebar h4 {
    color: #4a90e2;
    font-size: 1.15em;
    margin-bottom: 16px;
}
.marketplace-sidebar label {
    color: #e0e0e0;
    font-size: 1em;
    margin-bottom: 8px;
    display: block;
    cursor: pointer;
}
.marketplace-sidebar .form-check {
    margin-bottom: 8px;
}
.marketplace-nft-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    flex: 1;
}
.marketplace-nft-card {
    background: linear-gradient(120deg, #23272f 80%, #232f3e 100%);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(74, 144, 226, 0.07), 0 1.5px 6px rgba(0, 0, 0, 0.10);
    padding: 22px 18px 14px 18px;
    border: 1.5px solid #232f3e;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    max-width: 220px;
    width: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}
.marketplace-nft-card:hover {
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.13), 0 2px 8px rgba(0, 0, 0, 0.13);
    transform: translateY(-2px) scale(1.01);
    border-color: #4a90e2;
}
.marketplace-nft-card img {
    width: 100%;
    max-width: 180px;
    border-radius: 8px;
    margin-bottom: 14px;
    object-fit: cover;
}
.marketplace-nft-title {
    font-size: 1.15em;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 6px;
    text-align: center;
}
.marketplace-nft-meta {
    font-size: 0.98em;
    color: #b0b8c1;
    margin-bottom: 8px;
    text-align: center;
}
.marketplace-nft-desc {
    color: #e0e0e0;
    font-size: 1em;
    margin-bottom: 0;
    text-align: center;
}
.marketplace-nft-priceqty {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
#marketplaceSearchForm {
    margin-bottom: 18px;
}
#marketplaceSearchInput {
    background: #181a20;
    color: #fff;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 1.08em;
    width: 100%;
    margin-bottom: 8px;
}
@media (max-width: 1200px) {
    .marketplace-nft-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .marketplace-container {
        flex-direction: column;
    }
    .marketplace-sidebar {
        width: 100%;
        margin-bottom: 24px;
    }
    .marketplace-nft-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .marketplace-nft-grid {
        grid-template-columns: 1fr;
    }
}
