/* --- GRUNDEINSTELLUNGEN --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Keine Scrollbalken */
    background-color: #111;
    color: white;
    perspective: 1000px;
}

/* Canvas für Glühwürmchen */
#fireflyCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Hintergrundbild */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('logo.jpg'); 
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.4);
    z-index: -2;
    transform: scale(1.1);
}

/* --- GLAS KARTE --- */
.container {
    text-align: center;
    max-width: 500px;
    width: 90%;
    padding: 50px; /* Etwas mehr Platz */
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.2s ease-out; 
    transform-style: preserve-3d;
    max-height: 95vh;
    overflow-y: auto; /* Scrollen auf kleinen Handys erlauben */
}

/* Scrollbalken verstecken */
.container::-webkit-scrollbar { width: 0; }

.logo {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: translateZ(20px); 
}

/* --- BUTTONS --- */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateZ(30px);
}

.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: 60px;
}

/* IP Button Logik */
.btn-ip { 
    background: rgba(255,255,255,0.1); 
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-ip:hover { background: rgba(255,255,255,0.2); }

.icon-left {
    position: absolute;
    left: 20px;
    font-size: 1.3rem;
}

.text-swap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-default {
    position: absolute;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.text-hover {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-family: monospace;
}

.btn-ip:hover .text-default { opacity: 0; transform: translateY(-20px); }
.btn-ip:hover .text-hover { opacity: 1; transform: translateY(0); }

/* Andere Buttons */
.btn-discord { background: #5865F2; }
.btn-discord:hover { background: #4752c4; box-shadow: 0 0 15px #5865F2; }

.btn-about { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); }
.btn-about:hover { background: rgba(255,255,255,0.25); }

.btn-donate { background: linear-gradient(45deg, #ff9900, #ff5500); }
.btn-donate:hover { box-shadow: 0 0 20px #ff7700; }

.btn i { margin-right: 10px; }

.donate-note {
    margin-top: 20px;
    font-size: 0.75rem;
    color: #aaa;
    transform: translateZ(10px);
}

.copy-feedback {
    height: 0;
    overflow: hidden;
    color: #4cd137;
    font-weight: bold;
    transition: height 0.3s;
}
.copy-feedback.active { height: 25px; }

/* --- ABOUT PAGE STYLES --- */
.about-container { max-width: 800px; }

.divider {
    height: 2px;
    background: rgba(255,255,255,0.1);
    width: 50%;
    margin: 15px auto;
}

.spacer { margin-top: 60px; /* Viel Platz! */ }

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.feature-tag {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.2s;
}
.feature-tag:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }
.feature-tag i { color: #ffaa00; margin-right: 5px; }

/* Team Grid */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px; /* Mehr Abstand seitlich */
    margin-top: 20px;
    flex-wrap: wrap;
}

.team-card {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 15px;
    width: 180px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}
.team-card:hover { transform: translateY(-5px); background: rgba(0,0,0,0.5); }
.team-card h4 { margin-bottom: 5px; font-size: 1.1rem; }

/* Avatar & Status */
.avatar-container { position: relative; display: inline-block; margin-bottom: 10px; }
.avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.1);
    object-fit: cover;
}
.status-dot {
    position: absolute; bottom: 5px; right: 5px;
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 3px solid #222;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* Status Farben */
.status-dot.online {    
    background-color: #43b581; 
    box-shadow: 0 0 10px #43b581; 
}

.status-dot.idle { 
    background-color: #faa61a; 
    box-shadow: 0 0 10px #faa61a; 
}

.status-dot.dnd { 
    background-color: #f04747; 
    box-shadow: 0 0 10px #f04747; 
}

.status-dot.offline { 
    background-color: #747f8d; 
}
/* Rollen Farben */
.role {
    display: inline-block; padding: 4px 10px;
    border-radius: 8px; font-size: 0.75rem;
    font-weight: bold; text-transform: uppercase;
}
/* Projektleitung (Rot) */
.owner .role { 
    background: linear-gradient(45deg, #d31027, #ea384d); /* Kräftiges Rot */
    box-shadow: 0 0 10px rgba(211, 16, 39, 0.4);
}
.owner .avatar { 
    border-color: #ea384d; 
}

/* Co-Leitung (Orange) */
.co-owner .role { 
    background: linear-gradient(45deg, #ff9900, #ff5500); /* Helles Orange */
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.4);
}
.co-owner .avatar { 
    border-color: #ff9900; 
}

/* Developer (Blau) */
.developer .role { 
    background: linear-gradient(45deg, #00c6ff, #0072ff); /* Technik Blau */
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.4);
}
.developer .avatar { 
    border-color: #00c6ff; 
}

.btn-back {
    display: inline-flex; width: auto; background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 20px; font-size: 0.9rem;
}
.btn-back:hover { background: rgba(255,255,255,0.1); }

/* --- FOOTER STYLES --- */
.site-footer {
    position: fixed; /* Fixiert am unteren Rand */
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    z-index: 10;
    pointer-events: none; /* Klicks gehen durch den Hintergrund durch */
}

.footer-links {
    margin: 5px 0;
    pointer-events: auto; /* Links müssen klickbar sein */
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffaa00; /* Goldene Farbe beim Hover */
}

.disclaimer {
    font-size: 0.7rem;
    opacity: 0.5;
}

/* --- STYLES FÜR TEXT-SEITEN (Regeln, Impressum, Datenschutz) --- */

.text-content {
    text-align: left; /* Text linksbündig statt zentriert */
    max-height: 80vh; /* Maximale Höhe, damit es nicht aus dem Bild läuft */
    overflow-y: auto; /* Scrollbalken wenn der Text zu lang ist */
    padding-right: 15px; /* Abstand zum Scrollbalken */
}

/* Hübscher Scrollbalken */
.text-content::-webkit-scrollbar {
    width: 8px;
}
.text-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.text-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}
.text-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.text-content h2 { margin-top: 0; margin-bottom: 20px; color: #ffaa00; text-align: center; }
.text-content h3 { margin-top: 30px; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 5px; }
.text-content p { margin-bottom: 15px; line-height: 1.6; color: #ddd; }
.text-content ul { margin-bottom: 15px; padding-left: 20px; color: #ddd; }
.text-content li { margin-bottom: 8px; }
.text-content strong { color: white; }

/* Markierungen für die Platzhalter im Impressum */
.placeholder {
    color: #ff5555;
    background: rgba(255, 85, 85, 0.1);
    padding: 0 5px;
    border-radius: 4px;
    font-family: monospace;
}´

/* Style für Developer */
.developer .role { 
    background: linear-gradient(45deg, #00d2ff, #3a7bd5); /* Cooles Cyan/Blau */
    color: white;
}
.developer .avatar {
    border-color: #00d2ff; /* Umrandung passend zur Rolle */
}