*{
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden; /* Mobile overflow fix */
}

/* VIDEO BACKGROUND */
#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Full screen cover */
    z-index: -1; /* Content ke peeche */
}

/* SECTION */
.section-1{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 80px;
    z-index: 1; /* Video ke upar */
    padding: 20px; /* Mobile ke liye safe padding */
    text-align: center;
}

/* QUIZ LOGO */
.quiz-logo{
    display: block;
    max-width: 500px;
    margin-top: 70px;
    width: 80%;
}

/* START BUTTON */
.start-now-img-box{
    position: relative;
    width: 240px;
    height: 60px;
    margin-top: 20px;
    cursor: pointer;
}

.rectangle-img-start-now {
    width: 100%;
    height: 100%;
}

.start-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    pointer-events: none;
    white-space: nowrap;
}

/* FOOTER */
.made-with{
    margin-top: 70px;
    color: black; /* better visibility */
    font-family: inherit;
    font-weight: 600;
}

/* MEDIA QUERY FOR MOBILE */
@media(max-width:700px){
    body{
        align-items: flex-start;
    }

    .section-1{
        padding: 15px 20px;
        margin-bottom: 50px;
    }

    .quiz-logo{
        max-width: 300px;
        margin-top: 190px;
    }

    .start-now-img-box{
        width: 160px;
        height: 45px;
        margin-top: 100px;
    }

    .start-text{
        font-size: 1rem;
    }

    footer{
        margin-top: 110px;
        font-size: 0.8rem;
        color: black

    }

    /* Mobile video tweak: thoda height stretch */
    #bgVideo {
        height: auto;
        min-height: 100%;
        width: 100%;
    }
}
