:root {
    /* Google Material Dark Palette */
    --bg-body: #202124;
    --bg-surface: #303134;
    --bg-surface-hover: #3c4043;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --accent-blue: #8ab4f8;
    --border-subtle: #5f6368;
    --shadow-elevation: 0 4px 6px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    line-height: 1.6;
}

/* Layout Wrappers */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-brand {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
}

.main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #fff, #9aa0a6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* The "Fake Search" Button - Material Design Style */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #202124;
    /* Dark text on bright button for contrast */
}

.btn-primary:hover {
    background-color: #aecbfa;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--accent-blue);
}

.btn-secondary:hover {
    background-color: rgba(138, 180, 248, 0.08);
}

/* Grid Section */
.grid-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
    display: inline-block;
}

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

/* Cards */
.card {
    background-color: var(--bg-surface);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-surface-hover);
    box-shadow: var(--shadow-elevation);
    border-color: var(--border-subtle);
}

.card h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
    /* Pushes link to bottom */
    margin-bottom: 20px;
}

.card-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--bg-surface);
    margin-top: 60px;
}

/* Mobile Tweaks */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 15px 20px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}