.github-connect {
    text-align: center;
    padding: 4rem 0;
}

.github-connect h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.github-connect p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.github-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: #2ea44f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.github-btn:hover {
    background-color: #2c974b;
}

.github-btn i {
    font-size: 1.5rem;
}

.github-repos {
    padding: 2rem 0;
}

.github-repos.hidden {
    display: none;
}

.repo-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.repo-filters input,
.repo-filters select {
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.repo-filters input {
    flex: 1;
}

.repo-filters input:focus,
.repo-filters select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.repo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.repo-card {
    background-color: var(--bg-secondary);
    border-radius: 10px;
    padding: 1.5rem;
}

.repo-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.repo-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    height: 3em;
    overflow: hidden;
}

.repo-stats {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.repo-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.repo-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.repo-visibility {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.repo-visibility.public {
    background-color: rgba(46, 164, 79, 0.1);
    color: #2ea44f;
}

.repo-visibility.private {
    background-color: rgba(248, 81, 73, 0.1);
    color: #f85149;
}

.import-btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.import-btn:hover {
    opacity: 0.9;
}

.top-nav {
    padding: 1.2rem 2rem;
    background: rgba(var(--bg-secondary-rgb), 0.8);
    backdrop-filter: blur(8px);
}

.home-btn {
    text-decoration: none;
    display: inline-block;
}

.home-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: #4a148c;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(74, 20, 140, 0.3),
                0 0 35px rgba(74, 20, 140, 0.2),
                0 0 50px rgba(74, 20, 140, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: glow 2s infinite;
}

.home-icon:hover {
    transform: translateY(-2px);
    background: #6a1b9a;
    box-shadow: 0 0 25px rgba(74, 20, 140, 0.4),
                0 0 45px rgba(74, 20, 140, 0.3),
                0 0 65px rgba(74, 20, 140, 0.2);
    animation: none;
}

.home-icon:active {
    transform: translateY(0);
    background: #4a148c;
    box-shadow: 0 0 20px rgba(74, 20, 140, 0.3),
                0 0 35px rgba(74, 20, 140, 0.2);
}

.home-icon i {
    font-size: 1.1rem;
    color: #e1bee7;
}

.home-icon span {
    color: #e1bee7;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 20px rgba(74, 20, 140, 0.3),
                    0 0 35px rgba(74, 20, 140, 0.2),
                    0 0 50px rgba(74, 20, 140, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(74, 20, 140, 0.4),
                    0 0 45px rgba(74, 20, 140, 0.3),
                    0 0 65px rgba(74, 20, 140, 0.2);
    }
    100% {
        box-shadow: 0 0 20px rgba(74, 20, 140, 0.3),
                    0 0 35px rgba(74, 20, 140, 0.2),
                    0 0 50px rgba(74, 20, 140, 0.1);
    }
}

.github-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin: 1rem 0;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
}

.btn-github {
    text-decoration: none;
    display: inline-block;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #24292e;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-github:hover {
    background: #2c3238;
}

.btn-github i {
    font-size: 1.3rem;
}

.github-btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.github-dashboard {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.welcome-container {
    min-height: 80vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    gap: 2rem;
}

.welcome-container h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
}

.github-btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px;
}

.btn-github {
    background: #2ea44f;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 164, 79, 0.2);
}

.btn-github:hover {
    background: #2c974b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 164, 79, 0.3);
}

.btn-github i {
    font-size: 1.3rem;
}

.btn-github .fa-arrow-right {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-github:hover .fa-arrow-right {
    transform: translateX(4px);
}

/* Auth Overlay Styles */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.auth-content {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: var(--bg-secondary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

.auth-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.auth-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer Styles */
.footer {
    background: var(--bg-secondary);
    padding: 1.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-content a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-content a:hover {
    color: var(--accent-color);
}

.footer-divider {
    color: var(--text-secondary);
    opacity: 0.5;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-info i {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: var(--accent-color);
}

.social-link i {
    font-size: 1rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .github-connect h1 {
        font-size: 2rem;
    }

    .repo-filters {
        flex-direction: column;
    }

    .welcome-container h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-divider {
        display: none;
    }

    .contact-info {
        flex-direction: column;
    }

    .social-links {
        margin-left: 0;
        margin-top: 0.75rem;
    }
}
