:root {
    --bg-color: #0f0f13;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #e2e2e7;
    --text-secondary: #a0a0b0;
    --accent-color: #4a90e2;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: "Inter", sans-serif;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
    animation: fadeIn 0.8s ease-out;
}

.hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero img {
    filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.2));
    margin-bottom: 24px;
}

h1 {
    font-size: 3.5rem;
    margin: 0;
    background: linear-gradient(135deg, #fff 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s;
    backdrop-filter: blur(8px);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.card h3 {
    margin: 0 0 10px 0;
    color: var(--accent-color);
}

.cta-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.gitea-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #357abd 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gitea-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
    filter: brightness(1.1);
}

.hint {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.8;
}

/* Tech Stack Footer Area */
.footer-info {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
    text-align: center;
}

.footer-info h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    opacity: 0.8;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tech-tags span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 8px 18px;
    border-radius: 10px;
    font-family: "JetBrains Mono", monospace;
    /* Falls verfügbar, sonst sans-serif */
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: var(--text-secondary);
}

/* Spezial-Stil für dein Crate im Tech-Stack */
.tech-tags .highlight-tag {
    background: rgba(123, 44, 191, 0.15);
    border-color: rgba(157, 78, 221, 0.4);
    color: #9d4edd;
    font-weight: 600;
}

.tech-tags .highlight-tag:hover {
    background: rgba(123, 44, 191, 0.25);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge-Hervorhebung */
.badge-special {
    background-color: #7b2cbf;
    /* Nostr-Violett */
    color: white;
    font-weight: bold;
}

/* Die neue Crate-Sektion */
.crate-feature {
    background: rgba(123, 44, 191, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(123, 44, 191, 0.3);
    text-align: center;
}

.crate-feature h2 {
    color: #9d4edd;
    margin-top: 0;
}

.secondary-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    color: #9d4edd;
    border: 1px solid #9d4edd;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s;
}

.secondary-button:hover {
    background: #9d4edd;
    color: white;
}

/* Text-Highlight im Footer */
.highlight-text {
    font-weight: bold;
    color: #9d4edd;
}