:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(22, 29, 49, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-glow: rgba(0, 255, 170, 0.15);
    
    --color-github: #24292e;
    --color-modrinth: #16773e;
    --color-tools: #3b82f6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    background-image: 
        radial-gradient(circle at 50% 15%, var(--accent-glow), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05), transparent 50%);
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffaa, #3b82f6);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #0b0f19;
    box-shadow: 0 8px 24px rgba(0, 255, 170, 0.2);
    object-fit: cover;
    overflow: hidden;
}

.profile h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.profile p {
    color: var(--text-muted);
    font-size: 14px;
}

.section-container {
    width: 100%;
    margin-bottom: 24px;
}

.section-title {
    width: 100%;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin: 24px 0 12px 4px;
    font-weight: 600;
}

.links-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    width: 100%;
    padding: 16px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: transparent;
    transition: background 0.2s;
}

.btn-github:hover::before { background: #fff; }
.btn-modrinth:hover::before { background: #1bd96a; }
.btn-tool:hover::before { background: var(--color-tools); }

.btn-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.btn-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-title {
    font-size: 16px;
    font-weight: 600;
}

.btn-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.btn-arrow {
    margin-left: auto;
    color: var(--text-muted);
    opacity: 0.5;
    transition: transform 0.2s;
}

.btn:hover .btn-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.btn-discord:hover::before { 
    background: #5865f2; /* Deine Wunschfarbe */
}

.btn-curseforge:hover::before { 
    background: #f16436; 
}


/* --- BUY ME A COFFEE BOX --- */
.donation-box {
    width: 100%;
    background: rgba(255, 221, 0, 0.03);
    border: 1px dashed rgba(255, 221, 0, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(255, 221, 0, 0.02);
}

/* Richtet den Kasten ab Tablet/Desktop horizontal aus */
@media (min-width: 440px) {
    .donation-box {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.donation-content {
    display: flex;
    flex-direction: column;
}

.donation-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFDD00;
    letter-spacing: -0.3px;
}

.donation-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Der auffällige gelbe Button */
.bmc-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFDD00;
    color: #0b0f19;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(255, 221, 0, 0.2);
    flex-shrink: 0;
}

.bmc-button:hover {
    transform: translateY(-2px);
    background: #ffe53b;
    box-shadow: 0 6px 20px rgba(255, 221, 0, 0.4);
}

.bmc-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bmc-icon svg {
    width: 100%;
    height: 100%;
}
