/* ============================================
   Haupt-CSS-Datei
   ============================================ */

/* Basis-Reset und Box-Sizing */
html, body, #main {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: inherit;
}

h1, h2, h3, h4, h5, h6, p, figure {
    margin: 0;
}

body, input, textarea, select, button {
    font-size: 12px;
    font-family: sans-serif;
}

/* CSS-Variablen (Farben, etc.) */
:root {
    --color-primary: rgb(59, 130, 246);
    --color-primary-light: rgb(96, 165, 250);
    --color-white: rgb(255, 255, 255);
    --color-white-50: rgba(255, 255, 255, .5);
    --color-black: rgb(0, 0, 0);
    --color-black-overlay: rgba(0, 0, 0, .5);
    --color-border: rgba(255, 255, 255, .08);
    --color-background-light: rgba(255, 255, 255, .04);
    --color-background-dark: rgb(9, 9, 11);
}

body {
    background: var(--color-background-dark);
    color: var(--color-white);
    padding-top: 70px; /* Platz für fixierten Header */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero-Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px;
    position: relative;
}

.hero-video-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    mask: radial-gradient(50% 50% at 50% 50%, #000000 64.41%, rgba(0,0,0,0) 100%);
    -webkit-mask: radial-gradient(50% 50% at 50% 50%, #000000 64.41%, rgba(0,0,0,0) 100%);
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 5;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    background-color: var(--color-black-overlay);
    border: 1px solid var(--color-border);
    border-radius: 40px;
    padding: 80px;
    max-width: 640px;
    width: 100%;
    box-shadow: 0 21px 100px #000;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border-radius: 40px;
    background: linear-gradient(254deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 24px;
}

.hero-badge-label {
    padding: 2px 8px;
    background-color: var(--color-primary);
    border-radius: 80px;
    font-size: 10px;
    font-weight: 500;
    color: var(--color-white);
    font-family: "Geist", sans-serif;
    white-space: nowrap;
}

.hero-badge-text {
    font-size: 12px;
    font-weight: 500;
    font-family: "Geist", sans-serif;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1em;
    letter-spacing: -1px;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 12px;
}

.hero-description {
    font-family: "Geist", sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: var(--color-white-50);
    text-align: center;
    margin-bottom: 24px;
}

/* Formular */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.form-input-wrapper {
    position: relative;
    background: var(--color-background-light);
    border: 1px solid var(--color-border);
    border-radius: 80px;
    overflow: hidden;
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 20px;
    background: transparent;
    border: none;
    font-family: "Geist", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
    outline: none;
}

.form-input::placeholder {
    color: var(--color-white-50);
}

.form-input:focus {
    border-color: #0099ff;
}

.btn {
    padding: 12px 40px;
    height: 48px;
    border-radius: 800px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "Geist", sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-white);
    color: var(--color-black);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: var(--color-background-light);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.btn:focus {
    outline: 2px solid #0099ff;
    outline-offset: 2px;
}

/* Content-Section */
.content-section {
    padding: 160px 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.content-container {
    max-width: 640px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.content-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.content-title {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: -1px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.content-description {
    font-family: "Geist", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-white-50);
}

.content-description a {
    color: var(--color-white-50);
    text-decoration: none;
    transition: color 0.4s ease;
}

.content-description a:hover {
    color: var(--color-white);
}

.content-image {
    max-width: 800px;
    width: 100%;
    aspect-ratio: 1.076 / 1;
    position: relative;
    overflow: visible;
    mask: linear-gradient(180deg, #000000 0%, rgba(0,0,0,0) 100%);
    -webkit-mask: linear-gradient(180deg, #000000 0%, rgba(0,0,0,0) 100%);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.social-link svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Formular-Fokus-Effekte */
.form-input-wrapper:focus-within {
    border-color: #0099ff;
}

.form-input-wrapper:focus-within::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid #0099ff;
    border-radius: 80px;
    pointer-events: none;
}

/* Link-Styles */
a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   SCROLL-TO-TOP BUTTON
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.9);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: rgba(59, 130, 246, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    transform: rotate(-90deg);
}

/* Responsive Design */
@media (max-width: 809px) {
    .hero-section {
        padding: 24px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 40px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
        line-height: 26px;
    }
    
    .hero-video-container {
        mask: radial-gradient(50% 50% at 50% 50%, #000000 45.73%, rgba(0,0,0,0) 100%);
        -webkit-mask: radial-gradient(50% 50% at 50% 50%, #000000 45.73%, rgba(0,0,0,0) 100%);
    }
    
    .content-section {
        padding: 40px 40px 0;
        gap: 40px;
    }
    
    .content-image {
        height: 288px;
    }
    
    .content-title {
        font-size: 24px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 810px) and (max-width: 1199px) {
    .container {
        width: 810px;
    }
    
    .content-image {
        height: 679px;
    }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
}

.logo span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-white-50);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-family: "Geist", sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-link {
    color: var(--color-white-50);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.lang-link:hover,
.lang-link.active {
    color: var(--color-white);
}

.lang-separator {
    color: var(--color-white-50);
    user-select: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

/* ============================================
   BANNER / SLIDESHOW
   ============================================ */
.banner-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
    overflow: hidden;
    margin-top: 0;
}

/* Video-Hintergrund */
.banner-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.banner-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

.banner-video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Overlay für bessere Lesbarkeit */
.banner-video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
    z-index: 3;
}

.banner-content {
    text-align: center;
    color: var(--color-white);
    padding: 2rem 3rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-family: "Geist", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-white-50);
}

.banner-title {
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
}

.banner-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.banner-prev,
.banner-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--color-white);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.banner-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--color-white);
    width: 32px;
    border-radius: 6px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.about-section,
.service-section,
.account-section,
.server-section,
.github-section {
    padding: 80px 40px;
    background: var(--color-background-dark);
}

.server-section {
    padding: 50px 40px;
}

.github-section {
    padding: 80px 40px;
}

/* Kompakteres Layout für Server-Section */
.server-section .section-header {
    margin-bottom: 2.5rem;
}

.server-section {
    background: rgba(0, 0, 0, 0.3);
}

/* Server-Statistiken Styles */
.server-stats-container {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.server-stats-subtitle {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--color-border);
}

.server-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.server-chart-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 15px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.server-chart-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.server-chart-card canvas {
    width: 120px !important;
    height: 120px !important;
    max-width: 100%;
    margin: 0 auto;
}

.server-chart-info {
    margin-top: 0.8rem;
    width: 100%;
}

.server-chart-name {
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.6rem;
}

.server-chart-details {
    font-family: "Geist", sans-serif;
    font-size: 0.75rem;
    color: var(--color-white-50);
    line-height: 1.5;
}

.server-chart-details div {
    margin-bottom: 0.2rem;
}

.server-stats-loading,
.server-stats-error {
    text-align: center;
    padding: 1.5rem;
    font-family: "Geist", sans-serif;
    color: var(--color-white-50);
    font-size: 0.9rem;
    grid-column: 1 / -1;
}

.server-stats-error {
    color: #ff6b6b;
}

.no-data {
    text-align: center;
    padding: 1.5rem;
    font-family: "Geist", sans-serif;
    color: var(--color-white-50);
    grid-column: 1 / -1;
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.section-description {
    font-family: "Geist", sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-white-50);
    max-width: 800px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Spezielle Ausrichtung: 4. Karte in der About-Section auf Desktop mittig */
@media (min-width: 1024px) {
    .about-section .services-grid .service-card:nth-child(4) {
        grid-column: 1 / -1;        /* nimmt die gesamte Zeile ein */
        justify-self: center;       /* zentriert im Grid */
        max-width: 420px;           /* begrenzt Breite für schöne Darstellung */
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-header {
    text-align: center;
    margin-bottom: 1rem;
}

.service-subtitle {
    font-family: "Geist", sans-serif;
    font-size: 0.9rem;
    color: var(--color-white-50);
    margin-bottom: 0.5rem;
}

.service-title {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}

.service-description {
    font-family: "Geist", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-white-50);
    margin: 0;
}

/* Service Portal List */
.service-portal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-portal-list li {
    margin-bottom: 0.5rem;
}

.service-portal-list a {
    display: block;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-white);
    text-decoration: none;
    font-family: "Geist", sans-serif;
    transition: all 0.3s ease;
}

.service-portal-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateX(5px);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid var(--color-border);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-container .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.footer-container .social-link {
    color: var(--color-white);
    text-decoration: none;
    font-family: "Geist", sans-serif;
    transition: color 0.3s ease;
}

.footer-container .social-link:hover {
    color: var(--color-primary);
}

.copyright {
    font-family: "Geist", sans-serif;
    font-size: 0.9rem;
    color: var(--color-white-50);
}

/* ============================================
   RESPONSIVE DESIGN - Erweiterte Styles
   ============================================ */
@media (max-width: 809px) {
    .main-header {
        padding: 0.5rem 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(9, 9, 11, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-top: 1px solid var(--color-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .language-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 1rem;
        margin-top: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section,
    .service-section,
    .account-section,
    .server-section,
    .github-section {
        padding: 60px 20px;
    }
    
    .banner-controls {
        padding: 0 1rem;
    }
    
    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

/* ============================================
   GITHUB REPOSITORIES - Styles
   ============================================ */
.github-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.github-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1rem;
    font-family: "Geist", sans-serif;
    transition: color 0.3s ease;
}

.github-profile-link:hover {
    color: var(--color-primary-hover);
}

.github-profile-link svg {
    width: 16px;
    height: 16px;
}

.github-repos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.github-repo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.github-repo-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.github-repo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.github-repo-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: "Geist", sans-serif;
    flex: 1;
}

.github-repo-name a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.github-repo-name a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.github-repo-fork-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--color-white-50);
    font-family: "Geist", sans-serif;
    white-space: nowrap;
}

.github-repo-description {
    font-size: 0.875rem;
    color: var(--color-white-70);
    line-height: 1.5;
    margin: 0 0 1rem 0;
    font-family: "Geist", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.github-repo-footer {
    margin-top: auto;
}

.github-repo-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--color-white-50);
    font-family: "Geist", sans-serif;
}

.github-repo-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-white-50);
    text-decoration: none;
    transition: color 0.3s ease;
}

.github-repo-stat:hover {
    color: var(--color-primary);
}

.github-language-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    vertical-align: middle;
}

.github-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    fill: currentColor;
}

.github-loading,
.github-empty,
.github-error {
    text-align: center;
    padding: 2rem;
    color: var(--color-white-50);
    font-family: "Geist", sans-serif;
}

.github-error {
    color: #ff6b6b;
}

/* Responsive GitHub Repos */
@media (max-width: 768px) {
    .github-repos-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .github-repo-card {
        padding: 1rem;
    }
    
    .github-repo-stats {
        gap: 0.75rem;
        font-size: 0.75rem;
    }
}

