/* Releases Page Styles */

.releases-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
}

.releases-header h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

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

.releases-section {
    padding: 4rem 0;
}

.releases-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.release-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.release-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.15);
}

.release-header {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), transparent);
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.release-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.release-codename {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.release-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.release-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.release-badge {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.release-badge.major {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.release-badge.update {
    background: linear-gradient(135deg, #ff6600, #cc5200);
    color: white;
}

.release-badge.bugfix {
    background: linear-gradient(135deg, #00cc66, #009944);
    color: white;
}

.release-content {
    padding: 2rem;
}

.release-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.release-section:last-of-type {
    border-bottom: none;
}

.release-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.release-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.release-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.release-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.release-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.release-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.release-download {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .releases-header {
        padding: 8rem 1rem 3rem;
    }
    
    .releases-header h1 {
        font-size: 2.5rem;
    }
    
    .release-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .release-info h2 {
        font-size: 1.5rem;
    }
    
    .release-content {
        padding: 1.5rem;
    }
    
    .release-section h3 {
        font-size: 1.25rem;
    }
    
    .release-download {
        flex-direction: column;
    }
    
    .release-download .btn {
        width: 100%;
        justify-content: center;
    }
}
