:root {
    --bg-color: #0a0a0f;
    --card-bg: #151520;
    --text-color: #e0e0e0;
    --accent-color: #3a7bd5;
    --hover-color: #4d8df5;
    --border-color: #252535;
    --divider-color: #2a2a3a;
    --max-width: 600px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.5;
}

.container {
    max-width: var(--max-width);
    width: 100%;
    margin: 40px auto;
}

.profile {
    text-align: center;
    margin-bottom: 30px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.bio {
    color: #a0a0b0;
    font-size: 15px;
    margin-bottom: 25px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.links-section {
    width: 100%;
}

.section-title {
    color: var(--accent-color);
    font-size: 18px;
    margin: 20px 0 10px 0;
    text-align: center;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.link {
    background-color: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.25s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: var(--max-width);
}

.link i {
    width: 20px;
    text-align: center;
}

.link:hover {
    transform: translateY(-2px);
    background-color: #1a1a2a;
    border-color: var(--accent-color);
    box-shadow: 0 6px 16px rgba(58, 123, 213, 0.2);
}

/* Social Media Button Colors */
.link.facebook {
    background-color: #1877f2;
    border-color: #1877f2;
}
.link.facebook:hover {
    background-color: #166fe5;
}

.link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #bc1888;
}

.link.youtube {
    background-color: #ff0000;
    border-color: #ff0000;
}
.link.youtube:hover {
    background-color: #e60000;
}

.link.patreon {
    background-color: #ff424d;
    border-color: #ff424d;
}
.link.patreon:hover {
    background-color: #e63943;
}

.link.tiktok {
    background-color: #000000;
    border-color: #25f4ee;
    border-width: 1px;
    position: relative;
    overflow: hidden;
}
.link.tiktok::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 244, 238, 0.2), transparent);
    transition: 0.5s;
}
.link.tiktok:hover::before {
    left: 100%;
}

/* Roblox Button Colors */
.link.roblox {
    background-color: #00a2ff;
    border-color: #00a2ff;
}
.link.roblox:hover {
    background-color: #008fd9;
}

.link.roblox-group {
    background-color: #ec912d;
    border-color: #ec912d;
}
.link.roblox-group:hover {
    background-color: #d98225;
}

.link.roblox-profile {
    background-color: #1b9c85;
    border-color: #1b9c85;
}
.link.roblox-profile:hover {
    background-color: #168a74;
}

/* Discord Button Color */
.link.discord {
    background-color: #5865f2;
    border-color: #5865f2;
}
.link.discord:hover {
    background-color: #4752c4;
}

/* Wiki Button Color */
.link.wiki {
    background-color: #8a2be2;
    border-color: #8a2be2;
}
.link.wiki:hover {
    background-color: #7b26d1;
}

/* Workshop Button Styles */
.link.steam {
    background-color: #1b2838;
    border-color: #171a21;
}

.link.steam:hover {
    background-color: #1b2838;
    border-color: #66c0f4;
}

.link.modio {
    background-color: #069aad;
    border-color: #00c4ff;
    background: linear-gradient(135deg, #069aad 0%, #c37400 100%);
}

.link.modio:hover {
    border-color: #00e5ff;
    box-shadow: 0 0 10px rgba(0, 196, 255, 0.5);
}

/* Collapsible Section Styles */
.collapsible-section {
    margin-bottom: 20px;
    width: 100%;
}

.collapsible-title {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-size: 18px;
    margin: 20px 0 10px 0;
    transition: all 0.2s ease;
}

.collapsible-content {
    display: none;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
}

.collapsible-content.active {
    display: flex;
    max-height: 500px; /* Ausreichend hoch für den Inhalt */
    opacity: 1;
}

.collapsible-title:hover {
    color: var(--accent-color);
}

.collapsible-title i {
    transition: transform 0.3s;
}

.collapsible-title.active i {
    transform: rotate(180deg);
}

.status-badge {
    display: inline-block;
    background-color: #1a2e3a;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.incident-count {
    color: #a0a0b0;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

.status-link {
    background-color: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.25s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.status-link {
    background-color: #f39c12; /* Orange */
    border-color: #f39c12;
    color: #fff; /* Weißer Text für bessere Lesbarkeit */
}

.status-link:hover {
    background-color: #e67e22; /* Dunkleres Orange */
    border-color: #e67e22;
}

.status-link i {
    margin-right: 10px;
}

.divider {
    height: 1px;
    background-color: var(--divider-color);
    margin: 20px 0;
    width: 100%;
}

.website-link {
    background-color: #1b9c85; /* Türkis/Teal */
    border-color: #1b9c85;
    margin-top: 15px;
}

.website-link:hover {
    background-color: #168a74;
    border-color: #168a74;
}

/* Anpassung für beide Buttons */
.profile .status-link {
    margin-top: 10px; /* Gleichmäßiger Abstand */
}

footer {
    margin-top: 40px;
    color: #707080;
    font-size: 13px;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--divider-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-links a {
    color: #a0a0b0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links span {
    color: #a0a0b0;
}

.status-badge {
    display: inline-block;
    background-color: #1a2e3a;
    color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.status-badge:hover {
    background-color: #1e3645;
}

.incident-count {
    color: #a0a0b0;
    font-size: 12px;
    margin-top: 5px;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
        box-sizing: border-box;
    }

    .link, .status-link {
        width: calc(100% - 40px); /* 100% minus 20px Padding auf jeder Seite */
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .links {
        gap: 10px;
    }
}