:root {
    --primary-accent: #ff6f61;
    --secondary-accent: #61aaff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #1e1e2f, #2a2a4a);
    color: #e0e0e0;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

h1 {
    font-size: 2.5em;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--primary-accent);
    text-shadow: 0 0 5px rgba(255, 111, 97, 0.3);
    animation: fadeIn 1s ease-in;
}

.container {
    width: 100%;
    max-width: 1200px;
    background: rgba(40, 40, 60, 0.9);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.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;
}

.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);
}

.file-list, .stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.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.2em;
    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;
}

.footer {
    margin-top: 20px;
    padding: 15px;
    background: rgba(40, 40, 60, 0.9);
    border-radius: 10px;
    text-align: center;
    font-size: 0.9em;
    color: #c0c0d0;
    border-top: 1px solid rgba(255, 111, 97, 0.2);
}

.footer p {
    margin-bottom: 10px;
}

.footer .important-info {
    font-size: 1.1em;
    color: var(--primary-accent);
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 111, 97, 0.5);
    margin-bottom: 15px;
}


.footer .edl-info {
    font-size: 2.1em;
    color: var(--primary-accent);
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 111, 97, 0.5);
    margin-bottom: 15px;
}


.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-block;
    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::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;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    body { padding: 10px; }
    h1 { font-size: 1.5em; }
    .container { padding: 10px; }
    .file-list, .stats-container { grid-template-columns: 1fr; gap: 10px; }
    .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; }
    .item { padding: 15px; }
    .footer .important-info { font-size: 1em; }
    .footer .edl-info { font-size: 1em; }
}

@media (max-width: 600px) and (orientation: landscape) {
    .file-list, .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
}

/* Styling für den Scroll-Effekt */
#log-display {
    width: 100%;
    max-width: 1200px;
    height: 150px; /* Höhe des Bereichs */
    background: rgba(40, 40, 60, 0.9); /* Angepasst an Container- und Footer-Farbe */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-top: 20px; /* Abstand zum Footer */
}

#log-display canvas {
    width: 100%;
    height: 100%;
}



.md5-container {
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.md5-back {
    display: inline-block;
    background-color: #ff5e5e;
    color: #000;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 30px;
    transition: background-color 0.3s ease;
}

.md5-back:hover {
    background-color: #ff3c3c;
}

.md5-header {
    font-size: 36px;
    font-weight: 800;
    color: #ff5e5e;
    margin-bottom: 40px;
}

.md5-entry {
    background-color: #1e1e1e;
    padding: 16px 20px;
    margin-bottom: 25px;
    border-left: 5px solid #ff5e5e;
    line-height: 1.7;
    font-size: 17px;
    word-break: break-word;
}

.md5-entry code {
    display: block;
    font-size: 15px;
    margin-top: 8px;
    color: #aaa;
}

.zip-browser {
    max-width: 900px;
    margin: auto;
    background-color: #1a1a2e;
    padding: 30px;
    border-radius: 12px;
    color: #ffffff;
}

.zip-browser h1 {
    text-align: center;
    font-size: 1.8em;
    color: #ff4c4c;
    margin-bottom: 20px;
}

.zip-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zip-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #252540;
    margin-bottom: 6px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.2s ease;
    font-family: "Segoe UI", sans-serif;
    font-size: 15px;
}

.zip-list li:hover {
    background: #2e2e50;
}

.zip-list li a {
    text-decoration: none;
    color: #4ea6ff;
    font-weight: bold;
}

.zip-list li a:hover {
    text-decoration: underline;
}

.zip-dir {
    color: #f0c674;
}

.zip-file {
    color: #c8c8c8;
}

.zip-subfolder {
    margin-left: 20px;
    padding-left: 10px;
    border-left: 2px solid #444;
}

.folder-header {
    cursor: pointer;
    font-weight: bold;
    color: #f0c674;
    margin-bottom: 5px;
}
.folder-header:hover {
    text-decoration: underline;
}

body.zip-viewer-page {
    display: block;
    padding: 30px;
}



.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.2em;
}


/* 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 */
}


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

.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); }
}


