body.how_to_play {
    background: url('/sahtout/img/backgrounds/bg-howto.jpg') no-repeat center center fixed;
    background-size: cover;
}

body {
    font-family: 'Arial', sans-serif;
    background: none; /* No default background; login.css handles login page */
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    color: #fbff00;
    margin-bottom: 1rem;
    font-family: sans-serif;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
}

/* Center the container with a fixed width */
.container.how-to-play {
    width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

/* Responsive design for smaller screens */
@media (max-width: 1400px) {
    .container.how-to-play {
        width: 90%;
        max-width: 1300px;
    }
}

/* Step Container */
.how-to-play .step {
    margin-bottom: 30px;
    padding: 20px;
    border-left: 5px solid #00bfff;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.how-to-play .step:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
    background: rgba(0, 0, 0, 0.6);
}

/* Step Heading */
.how-to-play .step h2 {
    margin-bottom: 10px;
    color: #67ff08;
}

/* Step Button */
.how-to-play .btn {
    display: inline-block;
    background: #00bfff;
    color: white;
    font-size: large;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}

/* Code block inside steps */
pre {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
    color: #0f0;
}

/* Step layout with image and text */
.step-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

/* Image next to step text */
.step-content img {
    width: 150px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

/* Text container next to image */
.step-text {
    flex: 1;
}

#down_img_realm {
    display: flex;
    margin: auto;
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

/* Optional: Buttons for download type */
.download-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-primary {
    background-color: #28a745;
}

.btn-secondary {
    background-color: #6c757d;
}