/* =======================================================
   PAGINATION - Extra Dark Design, dunklere Buttons, RGB & Animation
======================================================= */

/* -----------------------------
   Grundlayout
----------------------------- */
.pagination {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin: 10px 0;
    gap: 6px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    user-select: none; /* kein Markieren */
    cursor: default;   /* kein Cursorwechsel */
}

/* -----------------------------
   Pagination Links
----------------------------- */
.pagination a {
    display: inline-block;
    padding: 6px 10px;
    min-width: 36px;
    text-align: center;
    background-color: rgb(10, 10, 15);   /* noch dunkler */
    color: rgb(255, 255, 255);           /* weiß */
    border-radius: 5px;
    border: 1px solid rgb(30, 30, 40);  /* dunkle Kontur */
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* Hover-Effekt */
.pagination a:hover {
    background-color: rgb(35, 35, 50);   /* sanfte Aufhellung */
    color: rgb(255, 215, 0);             /* Gelb */
    border-color: rgb(255, 215, 0);
    transform: scale(1.05);              /* leichtes Aufpoppen */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Aktive Seite */
.pagination a.active {
    background-color: rgb(255, 215, 0);  /* Gelb */
    color: rgb(10, 10, 15);              /* sehr dunkler Text */
    border-color: rgb(255, 215, 0);
    font-weight: bold;
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Prev / Next Buttons */
.pagination a.prev,
.pagination a.next {
    background-color: rgb(20, 20, 35);   /* deutlich dunkler */
    color: rgb(255, 255, 255);
}

.pagination a.prev:hover,
.pagination a.next:hover {
    background-color: rgb(40, 40, 60);   /* Aufhellung beim Hover */
    color: rgb(255, 215, 0);
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* -----------------------------
   Dots / Trennzeichen
----------------------------- */
.pagination .dots {
    display: inline-block;
    padding: 6px 10px;
    color: rgb(90, 90, 90);  /* dunkler hellgrau */
    font-weight: bold;
    user-select: none;       /* kein Markieren */
}