body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #5c86f6, #af78f8);
    color: #ffffff;
}

.tutorials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, #5c86f6, #af78f8);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.tutorials-container h1 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 2rem;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: #2d3748;
    color: #ffffff;
    border-radius: 20px;
    cursor: pointer;
}

.filter-btn.active {
    background: #007bff;
    color: white;
}

.category-section {
    margin-bottom: 3rem;
    background: #2d3748;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.category-section h2 {
    color: #5c86f6;
    border-bottom: 2px solid #af78f8;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.tutorial-card {
    background: #2d3748;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tutorial-card h3 {
    padding: 1rem;
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .tutorials-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorials-container {
        padding: 1rem;
    }
    
    .category-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
}