.opensource-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
}

.repo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 60px !important;
    padding-top: 40px;
    padding-bottom: 60px;
}

.repo-card {
    background: white;
    border-radius: 16px;
    padding: 40px !important;
    box-sizing: border-box; /* Kunci agar padding tidak bikin ukuran melebar */
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    text-decoration: none !important; /* Menghilangkan garis bawah/underline */
    color: inherit;
}

.repo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-decoration: none !important;
}

.night-mode .repo-card {
    background: #444;
    border-color: #555;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.repo-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #007bff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.night-mode .repo-name {
    color: #58a6ff;
}

.repo-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    opacity: 0.9;
}

.repo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: auto; /* Mendorong footer agar selalu rata di bawah kartu */
}

.repo-lang {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.repo-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- EXPLORE MORE BUTTON --- */
.explore-more-container {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 20px;
}

.explore-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #007bff;
    color: white;
    padding: 14px 32px;
    border-radius: 50px; /* Bentuk kapsul yang modern */
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none !important; /* Mencegah munculnya garis bawah (underline) */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-more-btn:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    text-decoration: none !important;
}

/* Penyesuaian warna jika masuk mode gelap */
.night-mode .explore-more-btn {
    background-color: #58a6ff;
    color: #0d1117;
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.2);
}

.night-mode .explore-more-btn:hover {
    background-color: #79c0ff;
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.3);
}
