.generation {
    margin: 2rem auto;
    max-width: 1200px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.generation:hover {
    transform: translateY(-5px);
}

.generation h2 {
    color: #e50914;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e50914;
    padding-bottom: 0.5rem;
}

.generation-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.generation-details {
    color: #333;
    line-height: 1.6;
}

.generation-details p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.generation-details ul {
    list-style: none;
    padding: 0;
}

.generation-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.generation-details li:last-child {
    border-bottom: none;
}

/* Hero section for generations page */
.generations-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/supra-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 3rem;
}

.generations-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .generation {
        padding: 1rem;
        margin: 1rem;
    }
    
    .generation h2 {
        font-size: 1.5rem;
    }
    
    .generations-hero h1 {
        font-size: 2rem;
    }
}

/* Button styles for homepage */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.generations-btn {
    background: #e50914;
    color: white;
    border: 2px solid #e50914;
}

.generations-btn:hover {
    background: transparent;
    color: #e50914;
    transform: translateY(-3px);
}