/* Modern CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-attachment: fixed;
    color: #e8e8e8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.7;
    animation: fadeIn 0.8s ease-in-out;
}

/* Fade-In-Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
header {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

header h1 {
    font-size: 2.8em;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1.1em;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Navigationsleiste */
nav {
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #e8e8e8;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1em;
    padding: 10px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

nav a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Hauptinhalt */
main {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    flex: 1;
}

.content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    max-width: 900px;
    width: 100%;
    margin: 30px auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

h2 {
    color: #a78bfa;
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

p {
    font-size: 1.1em;
    color: #d1d5db;
    margin-bottom: 18px;
    line-height: 1.8;
}

/* Styling für die Liste der Charaktere */
.character-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
}

.character-list li {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border: 2px solid rgba(167, 139, 250, 0.3);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.character-list li:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border-color: rgba(167, 139, 250, 0.6);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.character-list a {
    text-decoration: none;
    color: #e8e8e8;
    font-size: 1.4em;
    display: block;
    text-align: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.character-list a:hover {
    color: #a78bfa;
}

/* Bildcontainer */
.image-container {
    text-align: center;
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.03);
}

/* Footer */
footer {
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(10px);
    color: #d1d5db;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    width: 100%;
    border-top: 2px solid rgba(102, 126, 234, 0.3);
    margin-top: auto;
}

/* Stil für den Spendenlink */
.spendenlink {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.spendenlink:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Zusätzliche Styling für Content */
.content b {
    color: #a78bfa;
    font-weight: 600;
}

.content i {
    color: #9ca3af;
    font-style: italic;
}

.content a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Listen Styling */
.content ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.content ul li {
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid #667eea;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.content ul li:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    nav a {
        font-size: 0.9em;
        padding: 8px 12px;
        margin: 5px;
    }
    
    .content {
        padding: 25px;
    }
    
    h2 {
        font-size: 1.6em;
    }
    
    .character-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 15px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    nav {
        padding: 10px;
    }
    
    nav a {
        display: block;
        margin: 5px 0;
    }
    
    .content {
        padding: 20px;
    }
}


