/* RESET */
* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: system-ui, sans-serif;
    background: #0c0f14;
    color: #eaeaea;
}

/* APP LAYOUT */
.app {
    max-width: 1400px;
    margin: auto;
    padding: 0 16px; /* BELANGRIJK */
}

/* TOPBAR */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20,22,28,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1f2430;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 16px;
}

.logo {
    font-weight: bold;
    font-size: 18px;
    color: #eaeaea;
    text-decoration: none;
}

.logo:hover {
    color: #eaeaea;
}

/* FILTER */
.filter select {
    background: #1a1d24;
    border: 1px solid #2a2f3a;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
}

/* FEED */
.feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
    gap: 14px;
    padding: 14px 0;
}

/* CARD */
.card {
    background: rgba(25,28,35,0.9);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #1f2430;
    transition: 0.2s;
}

/* TOP */
.card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tijd {
    font-size: 13px;
    font-weight: bold;
}

/* TYPE BADGE */
.type {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: bold;
}

/* KLEUREN */
.rood .type { background:#ff4d4d; }
.blauw .type { background:#4D90FE; }
.geel .type { background:#f5c542; color:#000; }
.oranje .type { background:#ffa500; color:#000; }
.grijs .type { background:#666; }

/* INFO */
.info {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* FOOTER */
.card-bottom {
    font-size: 12px;
    color: #a0a0a0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* NIEUWE MELDING ANIMATIE */
.new {
    animation: fadeIn 0.4s ease;
}

.ritten {
    display: block;
    white-space: normal;
}

@keyframes fadeIn {
    from { opacity:0; transform:translateY(-6px); }
    to { opacity:1; transform:translateY(0); }
}


/* FOOTER */
.footer {
    background: rgba(20,22,28,0.95);
    border-top: 1px solid #1f2430;
    margin-top: 0;
    padding: 20px 16px;
    text-align: center;
}

/* tekst */
.footer p {
    font-size: 13px;
    color: #a0a0a0;
    margin-bottom: 8px;
}

/* links container */
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* links */
.footer a {
    color: #4D90FE;
    font-size: 13px;
    text-decoration: none;
    position: relative;
}

/* hover effect */
.footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: #4D90FE;
    transition: 0.2s;
}

.footer a:hover::after {
    width: 100%;
}

/* mobiel */
@media(max-width:768px){
    .footer {
        padding: 16px 10px;
    }

    .footer p {
        font-size: 12px;
    }

    .footer a {
        font-size: 12px;
    }
}

/* MOBILE */
@media(max-width:768px){
    .feed {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .card {
        padding: 10px;
        border-radius: 6px;
    }
}

/* PAGINA CONTENT */
.page-content {
    padding: 14px 0;
}

/* PAGINA TITEL */
.page-title {
    font-size: 28px;
    margin-bottom: 14px;
    color: #fff;
    line-height: 1.2;
}

/* LINKS LOGO */
.logo a {
    color: #fff;
    text-decoration: none;
}

/* CONTENT TEKST */
.page-content .info {
    font-size: 15px;
    line-height: 1.7;
    color: #d6d6d6;
}

/* MOBIEL */
@media(max-width:768px){

    .page-title {
        font-size: 22px;
    }

    .page-content .card {
        padding: 14px;
    }

}

/* PAGE TITLE */
.page-title {
    font-size: 28px;
    margin-bottom: 16px;
    color: #fff;
}

/* FORM */
.contact-form {
    margin-top: 20px;
}

/* GROUP */
.form-group {
    margin-bottom: 16px;
}

/* LABEL */
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #d6d6d6;
}

/* INPUTS */
.form-group input,
.form-group textarea {
    width: 100%;
    background: #14181f;
    border: 1px solid #2a2f3a;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}

/* FOCUS */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #4D90FE;
}

/* TEXTAREA */
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* BUTTON */
.submit-btn {
    background: #4D90FE;
    border: none;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.submit-btn:hover {
    opacity: 0.9;
}

/* SUCCESS */
.success-box {
    background: rgba(40,167,69,0.15);
    border: 1px solid rgba(40,167,69,0.4);
    color: #7dff9b;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* ERROR */
.error-box {
    background: rgba(220,53,69,0.15);
    border: 1px solid rgba(220,53,69,0.4);
    color: #ff9aa2;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* MOBILE */
@media(max-width:768px){

    .page-title {
        font-size: 24px;
    }

    .submit-btn {
        width: 100%;
    }

}

@media(max-width:768px){

    .app {
        padding: 0 10px; /* iets smaller dan 16px */
    }

    .feed {
        padding: 10px 0; /* haalt extra binnenruimte weg */
    }

    .card {
        margin: 0;
        width: 100%;
    }
}


.ad-card {
    background: rgba(255,255,255,0.03);
    border: 1px dashed #444;
}

.ad-center {
    text-align: center;
}

.adblock-warning {
    background: #ff4d4d;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    border-radius: 8px;
    margin: 10px 14px;
}

/* optioneel: ads mooier laten “passen” in feed */
.ad-card .info {
    padding: 10px 0;
}
