* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

.tutorial-container {
    width: 1440px;
    height: 1024px;
    position: relative;
    background-color: #FFFFFF;
    margin: 0 auto;
}

.step-card {
    width: 1440px;
    height: 1024px;
    position: relative;
    background-color: #FFFFFF;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Step Header */
.step-header {
    position: absolute;
    top: 38px;
    left: 64px;
}

/* Right-align step-header for steps 2, 4, and 6 */
[data-step="2"] .step-header,
[data-step="4"] .step-header,
[data-step="6"] .step-header {
    left: auto;
    right: 64px;
}

.step-number {
    font-size: 96px;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1;
    margin: 0;
    font-family: 'Limelight', serif;
}

/* Step Content - Image Section */
.step-content {
    position: absolute;
    top: 192px;
    left: 270px;
    width: 908px;
    height: 484px;
}

.image-section {
    position: relative;
    width: 908px;
    height: 484px;
    background-color: #EDE0D4;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-right: 0;
}

.ingredient-tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #A2B19F;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 0;
    font-size: 18px;
    font-weight: 600;
    z-index: 10;
    width: 384px;
    height: 77px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Right-align ingredient tag for steps 2, 4, and 6 */
[data-step="2"] .ingredient-tag,
[data-step="4"] .ingredient-tag,
[data-step="6"] .ingredient-tag {
    left: auto;
    right: 0;
}

.step-image {
    width: 565px;
    height: 393px;
    object-fit: contain;
    align-items: center;
}

/* Step Instruction */
.step-instruction {
    position: absolute;
    top: 696px;
    left: 50%;
    transform: translateX(-50%);
    width: 985px;
    height: 133px;
    font-size: 96px;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Limelight', serif;
}


/* Button Group */
.button-group {
    position: absolute;
    top: 870px;
    left: 64px;
    right: 64px;
    display: flex;
    justify-content: space-between;
    gap: 804px;
}

.btn {
    width: 307px;
    height: 91px;
    padding: 0;
    font-size: 25px;
    font-weight: 500;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back {
    background-color: #EDE0D4;
    color: #2b2b2b;
}

.btn-back:hover {
    background-color: #A2B19F;
    color: #FFFFFF;
}

.btn-next {
    background-color: #A3B18A;
    color: #FFFFFF;
}

.btn-next:hover:not(:disabled) {
    background-color: #A2B19F;
    box-shadow: 0 4px 12px rgba(163, 177, 138, 0.3);
}

.btn-next:disabled {
    background-color: #A2B19F;
    color: #FFFFFF;
    opacity: 0.5;
    cursor: not-allowed;
}
