* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #0a0a0a;
    color: white;
    font-family: monospace;
}

.container {
    display: flex;
    height: 100vh;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 10%;
    border-bottom: 1px solid #222;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
}

.hero {
    text-align: center;
    padding: 120px 20px;
    animation: fadeIn 1s ease;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    color: #aaa;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    background: #222;
    color: #ddd;
    border: 1px solid #555;
    padding: 10px 18px;
    text-decoration: none;
}

.btn:hover {
    background: #333;
}

.secondary {
    background: #222;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;
    padding: 80px 10%;
}

.card {
    background: #111;
    border: 1px solid #222;
    padding: 30px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
}

.diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.box {
    background: #111;
    padding: 20px 40px;
    border: 1px solid #2563eb;
}

#repo-browser {
    width: 25%;

    overflow-y: auto;

    border-right: 1px solid #222;

    background: #111;
}

.repo-item {
    padding: 12px;
    cursor: pointer;

    border-bottom: 1px solid #1c1c1c;
}

.repo-item:hover {
    background: #1b1b1b;
}

#code-viewer-container {
    width: 50%;

    overflow: auto;

    padding: 20px;

    background: #0a0a0a;
}

#code-viewer {
    margin: 0;
}

.main-view {
    width: 70%;
    display: flex;
    flex-direction: column;
}

#commit-panel {
    width: 25%;

    overflow-y: auto;

    border-left: 1px solid #222;

    background: #111;

    padding: 20px;
}

.commit {
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #222;
    background: #0d0d0d
}

.commit:hover {
    border-color: #4f8cff;
}

.commit-message {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.commit-info {
    color: #888;
    font-size: 0.8rem;
}

.contributors-section {
    padding: 80px 10%;
}

.contributors-section h2 {
    margin-bottom: 30px;
}

#contributors {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;
}

.contributor-card {
    background: #111;

    border: 1px solid #222;

    padding: 25px;

    text-align: center;

    transition: 0.2s;
}

.contributor-card:hover {
    transform: translateY(-4px);

    border-color: #4f8cff;
}

.contributor-card img {
    width: 90px;
    height: 90px;

    margin-bottom: 15px;

    border: 2px solid #4f8cff;
}

.contributor-name {
    font-size: 1.1rem;

    margin-bottom: 8px;
}

.contributions {
    color: #888;
    margin-bottom: 15px;
}

.profile-btn {
    display: inline-block;

    padding: 10px 18px;

    background: #4f8cff;

    color: white;

    text-decoration: none;
}

.stats-section {
    padding: 80px 10%;
}

.stats-section h2 {
    margin-bottom: 30px;
}

#stats-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;
}

.stat-card {
    background: #111;

    border: 1px solid #222;

    padding: 30px;

    text-align: center;

    transition: 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);

    border-color: #4f8cff;
}

.stat-number {
    font-size: 2rem;

    color: #4f8cff;

    margin-bottom: 10px;
}

.stat-label {
    color: #aaa;
}

.activity-section {
    padding: 80px 10%;
}

.activity-section h2 {
    margin-bottom: 30px;
}

#activity-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-card {
    background: #111;
    border: 1px solid #222;
    padding: 20px;
    transition: 0.2s;
}

.activity-card:hover {
    border-color: #4f8cff;
    transform: translateY(-3px);
}

.activity-type {
    color: #4f8cff;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.activity-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.activity-meta {
    color: #888;
    font-size: 0.85rem;
}

.progress-section {
    padding: 80px 10%;
}

.progress-card {
    background: #111;

    border: 1px solid #222;

    padding: 30px;

    max-width: 700px;
}

#version-text {
    font-size: 1.4rem;

    margin-bottom: 20px;

    color: #4f8cff;
}

#progress-bar {
    border: 1px solid #666;
    background: #111;
    height: 20px;
}

#progress-fill {
    background: #888;
    animation: none;
}

#progress-percent {
    font-size: 1.1rem;

    margin-bottom: 10px;
}

#build-status {
    color: #888;
}

.download-btn {
    display: inline-block;

    padding: 14px 28px;

    background: #4f8cff;

    color: white;

    text-decoration: none;

    transition: 0.2s;
}

.download-btn:hover {
    transform: translateY(-3px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveStripes {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 40px 0;
    }
}