/* Base Styles */
body {
    font-family: sans-serif;
    background: linear-gradient(-45deg, #1c1c1c, #0f2027, #1a1a1a, #111);
    background-color: #1c1c1c;
    background-size: 400% 400%;
    animation: mistyFlow 25s ease infinite;
    color: #e6edf3;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

@keyframes mistyFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Container */
.tutorial-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.tutorial-header {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.tutorial-header h1 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tutorial-header p {
    font-size: 1.2rem;
    color: #b0bec5;
    margin: 0;
}

/* Tutorial Steps */
.tutorial-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.step-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 20px;
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}

.step-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #e6edf3;
}

.step-content {
    padding: 30px;
}

/* Resource Items */
.resource-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resource-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.resource-item h3 {
    color: #64b5f6;
    font-size: 1.3rem;
    margin: 0 0 15px 0;
}

.resource-item p {
    color: #b0bec5;
    font-size: 1rem;
    margin: 0 0 20px 0;
}

/* Media */
.resource-media {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.tutorial-gif {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.tutorial-footer {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

.tutorial-footer p {
    color: #b0bec5;
    margin: 0 0 20px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.back-link,
.community-link {
    color: #64b5f6;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(100, 181, 246, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-link:hover,
.community-link:hover {
    background: rgba(100, 181, 246, 0.1);
    border-color: rgba(100, 181, 246, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tutorial-container {
        padding: 15px;
    }
    
    .tutorial-header {
        padding: 30px 20px;
    }
    
    .tutorial-header h1 {
        font-size: 2rem;
    }
    
    .step-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .tutorial-header h1 {
        font-size: 1.8rem;
    }
    
    .tutorial-header p {
        font-size: 1rem;
    }
    
    .step-header h2 {
        font-size: 1.3rem;
    }
}