/* Hero Section */
.hero {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Project Cards */
.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-base);
}

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

.project-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.project-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.project-card-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    flex: 1;
    margin-bottom: var(--space-md);
}

.project-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

/* Project Detail */
.project-hero {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    flex-direction: column;
}

.project-icon-large {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background-color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
    overflow: hidden;
}

.project-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info h1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.project-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.project-overview {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
}

.project-overview h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

/* Changelog Content Styling */
.changelog-content {
    line-height: 1.8;
}

.changelog-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: var(--space-lg) 0 var(--space-sm);
}

.changelog-content h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin: var(--space-md) 0 var(--space-sm);
}

.changelog-content ul,
.changelog-content ol {
    margin: var(--space-sm) 0;
    padding-left: var(--space-xl);
}

.changelog-content ul { list-style-type: disc; }
.changelog-content ol { list-style-type: decimal; }

.changelog-content li {
    margin-bottom: var(--space-xs);
}

.changelog-content p {
    margin-bottom: var(--space-md);
}

.changelog-content code {
    background-color: var(--color-bg);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
}

.changelog-content blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space-md);
    margin: var(--space-md) 0;
    color: var(--color-text-light);
    font-style: italic;
}

/* Version Detail Page */
.version-header {
    margin-bottom: var(--space-xl);
}

.version-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.version-meta {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

@media (min-width: 640px) {
    .project-hero {
        flex-direction: row;
        align-items: center;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }
}
