/* Prevent horizontal scrolling, allow vertical scrolling */
html, body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Cinzel', serif;
    background: #0f0f1f;
    color: #ffffff;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Wrapper for sections */
.giveaway-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 2rem 0;
}

/* HOW IT WORKS SECTION */
.how-it-works {
    width: 80%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
}

.how-it-works h1 {
    font-size: 2.2rem;
    font-family: 'Cinzel', serif;
    color: #e8c547;
    margin-bottom: 1rem;
}

.how-it-works p,
.how-it-works ol {
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    line-height: 1.8;
}

/* ENTER GIVEAWAY SECTION */
.enter-giveaway {
    width: 80%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

/* Headings */
.enter-giveaway h2 {
    font-size: 2rem;
    font-family: 'Cinzel', serif;
    color: #e8c547;
    margin-bottom: 1rem;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Form Elements */
label {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
}

input, select {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background: #1a1a2e;
    color: white;
    outline: none;
}

/* Form Fieldset */
fieldset {
    border: none;
    text-align: left;
    margin-top: 1rem;
}

legend {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between checkbox and text */
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

/* Giveaway Submit Button */
.giveaway-submit {
    background: linear-gradient(90deg, #e8c547, #ffd700);
    color: #0f0f1f;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.giveaway-submit:hover {
    background: linear-gradient(90deg, #ffd700, #ffeb3b);
    transform: scale(1.05);
    box-shadow: 0px 0px 10px #ffeb3b;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .how-it-works, 
    .enter-giveaway {
        width: 90%;
        padding: 1.5rem;
    }

    .how-it-works h1, 
    .enter-giveaway h2 {
        font-size: 1.8rem;
    }

    .how-it-works p, 
    .how-it-works ol,
    label {
        font-size: 1rem;
    }

    input, select {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    .giveaway-submit {
        font-size: 1.2rem;
        padding: 0.8rem;
    }
}
