:root {
    --primary: #FF4C3B;        /* Red-Orange button and accent color */
    --primary-dark: #CC3C30;   /* Darker red for hover/focus */
    --dark: #1B1B1B;           /* Background behind content */
    --darker: #111111;         /* Main page background */
    --light: #FFFFFF;          /* Main text color (white) */
    --gray: #B0B0B0;           /* Lighter gray for outlines or text */
    --success: #23A559;        /* Keep success green as-is */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--darker);
    color: var(--light);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.container {
    background-color: var(--dark);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
}

header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.progress-steps {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.completed {
    opacity: 1;
}

.step-number {
    background-color: var(--dark);
    border: 2px solid var(--gray);
    color: var(--gray);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step.completed .step-number {
    background-color: var(--success);
    border-color: var(--success);
    color: white;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.step-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.step-details {
    padding: 0 2rem;
    margin-bottom: 2rem;
    min-height: 300px;
}

.detail {
    transition: all 0.3s ease;
}

.detail.hidden {
    display: none;
}

.gif-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gif-container img {
    width: 100%;
    display: block;
}

.navigation {
    display: flex;
    justify-content: space-between;
    padding: 0 2rem 2rem;
}

.nav-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-btn:disabled {
    background-color: var(--gray);
    cursor: not-allowed;
    transform: none;
}

footer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    text-align: center;
}

footer p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.discord-btn {
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.discord-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.discord-btn img {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .container {
        border-radius: 8px;
    }
    
    header {
        padding: 1.5rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .progress-steps, .step-details, .navigation {
        padding: 1.5rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
}
