/* 
   GSocial Main Stylesheet
   Consolidated from multiple pages
*/

/* Base Styles */
body {
    font-family: 'Outfit', sans-serif;
    background-color: #030303;
    /* Deepest black */
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background-color: #3b82f6;
    color: white;
    /* <-- deine Wunschfarbe */
}

/* Firefox */
::-moz-selection {
    background-color: #3b82f6;
    color: white;
    /* gleiche Farbe */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    border: 2px solid #030303;
    /* Creates padding effect */
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Starry Background Animation */
.stars {
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50px 160px, #ddd, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: stars 100s linear infinite;
    opacity: 0.3;
}

@keyframes stars {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-1000px);
    }
}

/* Text Utilities */
.text-gradient {
    background: linear-gradient(to right, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: #3b82f6;
}

/* Feature Cards & Interactive Elements */
.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.post-card:hover h3 {
    color: #60a5fa;
}

/* Legal & Documentation Prose Styling */
.legal-prose h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-prose h3 {
    color: #e5e7eb;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-prose p {
    margin-bottom: 1rem;
    color: #9ca3af;
    font-size: 0.95rem;
}

.legal-prose ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Rich Text / Blog Article Styling */
.prose {
    color: #d1d5db;
    max-width: 65ch;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.125rem;
}

.prose h2 {
    color: #fff;
    font-weight: 700;
    margin-top: 2.5em;
    margin-bottom: 1em;
    font-size: 1.75rem;
    letter-spacing: -0.025em;
}

.prose h3 {
    color: #fff;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-size: 1.4rem;
}

.prose p {
    margin-bottom: 1.5em;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
    color: #9ca3af;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose blockquote {
    border-left: 3px solid #3b82f6;
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: italic;
    color: #cbd5e1;
    font-size: 1.25rem;
}

#bg {
    position: fixed;
    inset: 0;
    z-index: -1;
}