/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Banner Styles */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.banner-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Content Section */
.content {
    margin-top: 40px;
}

.explainer {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.explainer h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.explainer p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Themes Grid */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Theme Card */
.theme-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.theme-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.theme-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-card:hover .theme-card-overlay {
    opacity: 1;
}

.view-demo-btn {
    background: white;
    color: #667eea;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.view-demo-btn:hover {
    transform: scale(1.05);
}

.theme-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.theme-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.theme-description {
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.6;
}

.theme-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.download-count {
    color: #888;
    font-size: 0.9rem;
}

.download-count strong {
    color: #667eea;
    font-weight: 600;
}

.download-btn {
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #5568d3;
}

/* No Themes Message */
.no-themes {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    color: #666;
}

.no-themes p {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .themes-grid {
        grid-template-columns: 1fr;
    }
    
    .theme-card-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .download-btn {
        text-align: center;
    }
}

