.github-repo-card {
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.github-repo-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(
        45deg,
        #2ea043 0%,
        #3fb950 25%,
        #58a6ff 50%,
        #79c0ff 75%,
        #2ea043 100%
    );
    background-size: 200% 200%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    animation: breathe 4s ease-in-out infinite,
               gradient 8s linear infinite;
    box-shadow: 0 0 15px rgba(46, 160, 67, 0.15);
    transition: all 0.3s ease;
}

@keyframes breathe {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.github-repo-card:hover::before {
    animation: gradient 8s linear infinite;
    opacity: 1;
    box-shadow: 0 0 20px rgba(46, 160, 67, 0.25);
}

.github-repo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.github-repo-card .repo-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
}

.github-repo-card .repo-owner {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.github-repo-card .owner-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid #e1e4e8;
}

.github-repo-card .owner-name {
    color: #586069;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.github-repo-card .owner-name:hover {
    color: #0366d6;
    text-decoration: underline;
}

.github-repo-card .repo-name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.github-repo-card .repo-name a {
    color: #0366d6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.github-repo-card .repo-name a:hover {
    color: #035fc7;
    text-decoration: underline;
}

.github-repo-card .repo-description {
    color: #586069;
    font-size: 15px;
    line-height: 1.5;
    margin: 12px 0;
    padding: 0 4px;
}

.github-repo-card .repo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.github-repo-card .stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eaecef;
    flex-wrap: wrap;
    gap: 12px;
}

.github-repo-card .repo-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #586069;
    align-items: center;
}

.github-repo-card .repo-stats span {
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.github-repo-card .repo-stats span:hover {
    color: #24292e;
}

.github-repo-card .lang-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 6px;
    border: 2px solid transparent;
    transition: transform 0.2s ease;
}

.github-repo-card .repo-stats span:hover .lang-color {
    transform: scale(1.2);
}

.github-repo-card .repo-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 120px;
}

.github-repo-card .download-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #2ea043;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.github-repo-card .download-button:hover {
    background: #238636;
    color: #ffffff !important;
    text-decoration: none !important;
}

.github-repo-card .download-button svg {
    margin-right: 4px;
}

@media (max-width: 600px) {
    .github-repo-card {
        flex-direction: column;
    }
    
    .github-repo-card .repo-actions {
        flex-direction: row;
        justify-content: flex-start;
    }

    .github-repo-card .stats-container {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 8px;
    }
    
    .github-repo-card .repo-stats {
        flex: 1;
        justify-content: flex-start;
        gap: 12px;
    }
    
    .github-repo-card .download-button {
        flex: 0 0 auto;
        margin-left: auto;
    }
    
    @media (max-width: 400px) {
        .github-repo-card .repo-stats {
            gap: 8px;
        }
        
        .github-repo-card .language {
            display: none;
        }
    }

    .github-repo-card .repo-header {
        margin-bottom: 12px;
    }

    .github-repo-card .repo-name {
        font-size: 18px;
    }
}

@media (prefers-color-scheme: dark) {
    .github-repo-card {
        background: #21262d;
        border-color: #30363d;
    }

    .github-repo-card .repo-name a {
        color: #58a6ff;
    }

    .github-repo-card .repo-description {
        color: #8b949e;
    }

    .github-repo-card .repo-stats {
        color: #8b949e;
        border-top-color: #30363d;
    }

    .github-repo-card .repo-stats span:hover {
        color: #c9d1d9;
    }

    .github-repo-card .download-button {
        background-color: #238636;
    }
    
    .github-repo-card .download-button:hover {
        background-color: #2ea043;
    }

    .github-repo-card .stats-container {
        border-top-color: #30363d;
    }

    .github-repo-card .owner-avatar {
        border-color: #30363d;
    }

    .github-repo-card .owner-name {
        color: #8b949e;
    }
    
    .github-repo-card .owner-name:hover {
        color: #58a6ff;
    }

    .github-repo-card::before {
        background: linear-gradient(
            45deg,
            #238636 0%,
            #2ea043 25%,
            #1f6feb 50%,
            #388bfd 75%,
            #238636 100%
        );
        box-shadow: 0 0 15px rgba(35, 134, 54, 0.2);
    }
    
    .github-repo-card:hover::before {
        box-shadow: 0 0 20px rgba(35, 134, 54, 0.3);
    }
} 

.github-repo-card a {
    text-decoration: none;
    pointer-events: all !important;
}

.repo-owner .owner-name {
    color: #24292f !important;
    font-size: 14px;
    text-decoration: none !important;
    display: inline-block;
    pointer-events: all !important;
}

.repo-owner .owner-name:hover {
    color: #0969da !important;
    text-decoration: underline !important;
}

.repo-name a {
    color: #0969da !important;
    font-size: 16px;
    text-decoration: none !important;
    display: inline-block;
    pointer-events: all !important;
}

.repo-name a:hover {
    text-decoration: underline !important;
}

.repo-header,
.repo-owner,
.repo-name {
    pointer-events: none;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #2ea043;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.download-button:hover {
    background: #238636;
    color: #ffffff !important;
    text-decoration: none !important;
}

.repo-owner a,
.repo-name a,
.download-button {
    display: inline-block;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #2ea043;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 14px;
    transition: background-color 0.2s;
    border: none;
    position: relative;
    z-index: 3;
}

.download-button:hover {
    background: #238636;
    color: #ffffff !important;
    text-decoration: none !important;
}

.repo-name a {
    color: #0366d6 !important;
    text-decoration: none;
}

.repo-name a:hover {
    text-decoration: underline !important;
}

.owner-name {
    color: #586069 !important;
    text-decoration: none;
}

.owner-name:hover {
    color: #0366d6 !important;
    text-decoration: underline !important;
} 