.path-info {
    font-size: 1em;
    margin-bottom: 15px;
    color: #c0c0d0;
    background: rgba(255, 111, 97, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.path-info strong {
    color: var(--primary-accent);
}

.nav-buttons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.traffic-row {
    margin: 1px 0;
    line-height: 1.25;
}

.traffic-main {
    font-weight: 600;
}

.traffic-mirror {
    opacity: 0.75;
}

.traffic-sep {
    margin: 0 4px;
}

.nav-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-accent);
    color: #1e1e2f;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    margin: 5px;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 111, 97, 0.3);
}

.nav-btn:hover {
    background: #ffffff;
    transform: scale(1.05);
}

.nav-btn::before {
    font-size: 1.2em;
    margin-right: 5px;
    color: var(--secondary-accent);
    transition: transform 0.2s ease;
}

.nav-btn:hover::before {
    transform: translateY(-2px);
}

.item {
    background: linear-gradient(135deg, rgba(50, 50, 70, 0.8), rgba(40, 40, 60, 0.9));
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    animation: slideUp 0.5s ease-out forwards;
    opacity: 0;
    display: block;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.item:nth-child(1) { animation-delay: 0.1s; }
.item:nth-child(2) { animation-delay: 0.2s; }
.item:nth-child(3) { animation-delay: 0.3s; }
.item:nth-child(4) { animation-delay: 0.4s; }

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 111, 97, 0.4);
    background: linear-gradient(135deg, rgba(70, 70, 90, 0.8), rgba(60, 60, 80, 0.9));
}

.item .item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #e0e0e0;
}

.item .item-content > span {
    font-weight: 600;
    font-size: 1.25em;
    margin-left: -10px;
    margin-bottom: 10px;
}

.item .item-content > span:hover {
    color: var(--primary-accent);
}

.item .file-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    color: #c0c0d0;
    font-size: 0.9em;
}

.item .file-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 111, 97, 0.1);
    padding: 5px 10px;
    border-radius: 10px;
}

.item .file-info span strong {
    color: var(--primary-accent);
    font-weight: 600;
}

.stat-card {
    background: linear-gradient(135deg, rgba(50, 50, 70, 0.8), rgba(40, 40, 60, 0.9));
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    animation: slideUp 0.5s ease-out forwards;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 111, 97, 0.4);
    background: linear-gradient(135deg, rgba(70, 70, 90, 0.8), rgba(60, 60, 80, 0.9));
}

.stat-card h2 {
    font-size: 1.2em;
    color: var(--primary-accent);
    word-break: break-word;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.5em;
    color: #e0e0e0;
}

.stat-card p span {
    font-size: 0.8em;
    color: #c0c0d0;
}

.stats-summary {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1em;
    color: #c0c0d0;
}

.stats-summary .all-stats-link {
    font-size: 0.9em;
    color: var(--primary-accent);
    text-decoration: none;
    margin-left: 10px;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    text-shadow: 0 0 5px rgba(255, 111, 97, 0.3);
}

.stats-summary .all-stats-link:hover {
    color: #ffffff;
    text-decoration: underline;
    background: rgba(255, 111, 97, 0.2);
}

.pagination {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    padding: 8px 16px;
    background: var(--primary-accent);
    color: #1e1e2f;
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.3s ease;
    min-width: 80px;
    text-align: center;
}

.pagination a:hover {
    background: #ffffff;
}

.pagination span {
    padding: 8px 16px;
    color: #c0c0d0;
}

.support-section {
    margin: 10px 0;
}

.support-title {
    font-size: 1em;
    font-weight: 600;
    color: var(--primary-accent);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.support-btn {
    display: inline-flex;              /* statt inline-block, damit Icon+Text zentriert */
    align-items: center;
    justify-content: center;
    gap: 8px;                          /* Abstand zwischen Icon & Text */
    padding: 10px 20px;
    background: var(--primary-accent);
    color: #1e1e2f !important;
    text-decoration: none !important;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
    border: 2px solid transparent;
    text-shadow: 0 0 5px rgba(255, 111, 97, 0.3);
}

.support-btn:hover {
    background: #ffffff;
    transform: scale(1.05);
    border-color: var(--primary-accent);
}

.support-btn img.btn-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.support-btn::before {
    transition: transform 0.2s ease;
}

.support-btn:hover::before {
    transform: translateY(-2px);
}

.disclaimer, .contact {
    margin-top: 10px;
}

.contact a {
    color: var(--primary-accent);
    text-decoration: none;
    text-shadow: 0 0 5px rgba(255, 111, 97, 0.3);
}

.contact a:hover {
    color: #ffffff;
}

.orangefox-link {
  color: #ff6f3c; /* OrangeFox-ähnlich */
  text-decoration: underline;
}

.orangefox-link:hover {
  color: #00e29b; /* Donation-Grün beim Hover */
  text-decoration: underline;
}

.support-links {
    text-align: center;
    margin: 10px 0;
}

.impressum-link {
    text-align: center;
    font-size: 0.85em;
    margin-top: 10px;
}

.footer a {
    color: #00c896;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #00e0aa;
}

.donation-note a,
.contact a {
    color: #00c896;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.donation-note a:hover,
.contact a:hover {
    color: #00e0aa;
}

#.donation-note {
#    font-size: 1.35em;
#}

.donation-note {
    font-size: 1.35rem; /* Desktop */
    line-height: 1.6;
}

/* Mobile Fix */
@media (max-width: 600px) {
    .nav-btn { padding: 8px 15px; font-size: 0.9em; }
    .support-links { gap: 10px; }
    .support-btn { padding: 8px 15px; font-size: 0.9em; }
    .support-title { font-size: 0.9em; }
    .pagination a, .pagination span { padding: 6px 12px; font-size: 0.8em; }
    .stats-summary { font-size: 0.9em; }
    .stats-summary .all-stats-link { font-size: 0.8em; padding: 3px 8px; }

    .donation-note {
        font-size: 1.35rem; /* deutlich größer */
        line-height: 1.8;
        text-align: center;
        padding: 0 10px;
    }
}

/* Impressum-Link bleibt wie gehabt */
.impressum-link a {
    color: #888;
    text-decoration: none;
}
.impressum-link a:hover {
    color: #aaa;
}

.support-links-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px; /* <- Abstand zwischen Button und Spendentext */
}

/* nur rot + scale-pulse, kein Glow */
.blink-red {
  color: #ff1a1a;        /* konstant rot */
  font-weight: 700;
  display: inline-block; /* nötig, damit transform sauber greift */
  will-change: transform;
  animation: scalePulse 2.4s ease-in-out infinite;
}

@keyframes scalePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); } /* Stärke des Pulses */
}

/* Rücksicht auf reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  .blink-red { animation: none; }
}

/* dezenter 14d-Chip – beeinflusst kein Layout */
.badge-14d{
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  margin-left: 8px;   /* sitzt neben dem Ordnernamen/Downloads */
}

/* File-Info immer in EINER Zeile halten */
.file-list .file-info{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;      /* wichtig: kein Zeilenumbruch */
  white-space: nowrap;    /* verhindert Umbruch innerhalb der Badges */
}

/* Alle Info-Badges als Inline-Flex, damit sie nicht umbrechen */
.file-list .file-info > span{
  display: inline-flex;
  align-items: center;
}

/* Der 14d-Chip braucht dann keinen extra Margin-Shift */
.file-list .file-info .badge-14d{
  margin-left: 0;
}

/* Nur Ordner-Karten anvisieren – NICHT Dateien */
.file-list a.folder-badge {
  position: relative;
}

/* Mehrere Badges (1d, 7d, 30d, all) nebeneinander unter dem Titel */
.file-list a.folder-badge {
  position: relative;
}

/* Container für alle Badges */
.file-list a.folder-badge .item-content{
  position: relative;
  padding-bottom: 26px;   /* Platz für die Badges unter dem Titel */
}

/* Grundstyle + Position für die Badges */
.file-list a.folder-badge .badge-14d{
  position: absolute;
  bottom: -23px;           /* statt -20px: sitzt direkt unter dem Titel */
  font-size: 10px;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.75);
  white-space: nowrap;
  pointer-events: none;
}

/* horizontale Verschiebung der einzelnen Badges */
.file-list a.folder-badge .badge-14d:nth-of-type(2){ left: 0px; }    /* 1d */
.file-list a.folder-badge .badge-14d:nth-of-type(3){ left: 65px; }   /* 7d */
.file-list a.folder-badge .badge-14d:nth-of-type(4){ left: 140px; }  /* 30d */
.file-list a.folder-badge .badge-14d:nth-of-type(5){ left: 215px; }  /* all */

/* Datei-Badges bleiben unverändert (optional, falls vorhanden) */
.file-list .file-info .badge-14d{
  font-size: 11px;
  padding: 3px 6px;
}

.wiggle-beer {
    display: inline-block;
    font-size: 2.0em; /* schön groß */
    transition: transform 0.3s ease;
    vertical-align: middle;
    margin-right: 0px;
}

.wiggling {
    animation: beerWiggle 0.6s ease;
}

@keyframes beerWiggle {
    0%   { transform: rotate(0deg); }
    20%  { transform: rotate(-18deg); }
    40%  { transform: rotate(18deg); }
    60%  { transform: rotate(-12deg); }
    80%  { transform: rotate(12deg); }
    100% { transform: rotate(0deg); }
}

.info-box {
    max-width: 900px;          /* nicht zu breit */
    margin: 20px auto;         /* oben/unten Abstand, zentriert */
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05); /* halbtransparenter Hintergrund */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;        /* Text mittig */
    font-size: 15px;
    line-height: 1.5;
}

.info-box p {
    font-size: 1.15em; /* etwas größer als normal */
    line-height: 1.4;
    font-weight: 500;
}

/* =============================
   Changelog-Button in ROM-Karten
   (war vorher in styles.css; wird von templates/main.php genutzt)
   ============================= */

.item-wrapper {
    position: relative;
    display: block;
    animation: slideUp 0.9s ease-out forwards;
    opacity: 0;
}

/* Standard: kein Extra-Platz */
.item-wrapper .item {
    display: block;
    position: relative;
    padding-bottom: 1rem;
}

/* Nur bei Karten mit Changelog */
.item-wrapper.has-changelog .item {
    padding-bottom: 3rem;
}

/* Changelog-Button unten rechts „in“ der Karte */
.btn-changelog {
    position: absolute;
    left: 130px;
    bottom: 6px;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    background: #3a8faf;
    color: #0c1a21;
    font-weight: 600;
}

.btn-changelog:hover {
    filter: brightness(1.1);
}
