/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #3e768c;
    color: #000;
    overflow-x: hidden;
}

.container {
    position: relative;
    width: 100%;
    min-width: 1440px;
    height: 1024px;
    margin: 0 auto;
    background-color: #3e768c;
}

/* Top Bar */
.top-bar {
    position: absolute;
    width: 100%;
    height: 54px;
    left: 0;
    top: 0;
    background-color: #000;
}

/* Title Bar */
.title-bar {
    position: absolute;
    width: 100%;
    height: 80px;
    left: 0;
    top: 54px;
    background-color: #133746;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: white;
    margin: 0;
    text-align: center;
}

/* Step Header */
.step-header {
    position: absolute;
    width: 100%;
    top: 134px;
    left: 0;
    padding: 22px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.step-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: white;
    margin: 0;
}

.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-bar {
    width: 357px;
    height: 19px;
    background-color: #8c7d7d;
    border-radius: 76px;
    overflow: hidden;
}

.progress-fill {
    width: 113px;
    height: 19px;
    background-color: #b9a1a1;
    border-radius: 76px;
}

.step-indicator {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 16px;
    color: white;
    text-align: center;
    margin: 0;
}

/* Content Area */
.content-area {
    position: absolute;
    width: 100%;
    min-height: 720px;
    left: 0;
    top: 216px;
    background-color: #d9d9d9;
    padding: 32px 32px 50px 32px;
}

/* Introduction Text */
.intro-text {
    margin-bottom: 25px;
}

.intro-text p {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    color: #000;
    font-style: italic;
}

/* Grip Section */
.grip-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 140px;
    margin-bottom: 35px;
    padding: 0 45px;
}

.grip-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.image-border {
    background-color: #000;
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-border {
    width: 219px;
    height: 197px;
}

.right-border {
    width: 292px;
    height: 182px;
}

.grip-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.instruction-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 16px;
    color: #000;
    text-align: center;
    max-width: 300px;
}

.left-instruction {
    max-width: 207px;
}

.right-instruction {
    max-width: 388px;
}

/* Warning Banner */
.warning-banner {
    background-color: #820000;
    border-radius: 43px;
    padding: 12px 40px;
    margin: 0 auto 20px;
    max-width: 802px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.warning-icon {
    font-size: 44px;
    line-height: 1;
}

.warning-text {
    font-family: 'Inria Sans', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 20px;
    color: white;
    text-align: center;
    margin: 0;
}

/* Mechanism Description */
.mechanism-description {
    text-align: center;
    margin-bottom: 25px;
}

.mechanism-description p {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    color: #000;
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 23px;
    border-top: 7px solid #000;
    border-bottom: 15px solid #000;
    margin: 15px 0 20px 0;
}

/* Practice Check Announcement */
.practice-check-announcement {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
}

.practice-check-announcement p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: #000;
    margin: 0;
}

/* Navigation Buttons */
.prev-button,
.next-button {
    position: absolute;
    bottom: 60px;
    width: 138px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-button {
    left: 50px;
    background-color: #391e1e;
}

.prev-button:hover {
    background-color: #4d2727;
}

.next-button {
    right: 50px;
    background-color: #000;
}

.next-button:hover {
    background-color: #333;
}

.prev-button span,
.next-button span {
    font-family: 'Roboto Mono', monospace;
    font-size: 24px;
    color: white;
}

/* Responsive */
@media (max-width: 1440px) {
    .container {
        width: 100%;
        height: auto;
        min-height: 100vh;
    }
    
    .top-bar,
    .title-bar,
    .step-header,
    .content-area {
        width: 100%;
    }
}
