/* ===== RESET ===== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html,
body{
width:100%;
height:100%;
overflow:hidden;
background:#000;
font-family:'Inter',sans-serif;
color:#fff;
}

/* ===== MAIN VIDEO WRAPPER ===== */

.video-wrapper{
position:fixed;
inset:0;
display:flex;
justify-content:center;
align-items:center;
overflow:hidden;
background:#000;
}

/* ===== BLURRED BACKGROUND VIDEO ===== */

.video-bg{
position:absolute;
inset:0;
z-index:1;
overflow:hidden;
}

.video-bg video{
width:100%;
height:100%;

object-fit:cover;

transform:scale(1.35);

filter:
    blur(22px)
    brightness(.58)
    saturate(1.2);

}

/* ===== CENTER VIDEO ===== */

.video-main{
position:relative;
z-index:5;

height:100vh;
aspect-ratio:9/16;

overflow:hidden;

background:#000;

box-shadow:
    0 0 60px rgba(0,0,0,.8),
    0 0 25px rgba(255,0,80,.15);

}

/* ===== DESKTOP ===== */

@media(min-width:769px){

.video-main{
    max-width:420px;
    border-radius:28px;
}

}

/* ===== MOBILE ===== */

@media(max-width:768px){

.video-main{
    width:100vw;
    height:100vh;
    border-radius:0;
}

}

/* ===== MAIN VIDEO ===== */

.main-video{
position:absolute;
inset:0;

width:100%;
height:100%;

object-fit:cover;

filter:
    brightness(.72)
    saturate(1.1);

}

/* ===== DARK OVERLAY ===== */

.video-dark{
position:absolute;
inset:0;

z-index:2;

background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,.2),
        rgba(0,0,0,.15),
        rgba(0,0,0,.45),
        rgba(0,0,0,.7)
    );

}

/* ===== QUIZ LAYER ===== */

.container{
position:fixed;
inset:0;

z-index:20;

display:flex;
justify-content:center;
align-items:center;

padding:24px;

pointer-events:none;

}

.row{
width:100%;
display:flex;
justify-content:center;
}

.qSec{
width:100%;
max-width:360px;
}

/* ===== QUIZ CARD ===== */

.q{
width:100%;

pointer-events:auto;

background:transparent;

border:none;

border-radius:0;

padding:0;

text-align:center;

box-shadow:none;

animation:fadeUp .4s ease;

}

/* ===== TEXT ===== */

.q p{
font-size:28px;
line-height:1.25;
font-weight:800;

margin-bottom:24px;

text-shadow:
    0 3px 12px rgba(0,0,0,.9);

color:#fff;

}

/* ===== BUTTONS ===== */

.ctaq{
width:100%;

border:none;

border-radius:999px;

padding:17px 18px;

margin:10px 0;

font-size:16px;
font-weight:800;

text-transform:uppercase;

cursor:pointer;

color:#fff;

transition:.25s ease;

background:
    linear-gradient(
        135deg,
        #ff0050,
        #ff2678
    );

box-shadow:
    0 8px 25px rgba(255,0,80,.35);

}

/* ===== SECOND BUTTON ===== */

.q button:nth-of-type(2){
background:
linear-gradient(
135deg,
#25f4ee,
#00bfff
);

box-shadow:
    0 8px 25px rgba(37,244,238,.25);

}

/* ===== HOVER ===== */

.ctaq:hover{
transform:translateY(-2px) scale(1.02);
}

.ctaq:active{
transform:scale(.97);
}

/* ===== JOIN BUTTON ===== */

#main4 .ctaq{
background:
linear-gradient(
135deg,
#ff0050,
#ff7a00
);

animation:pulse 1.5s infinite;

}



/* ===== ANIMATIONS ===== */

@keyframes fadeUp{

from{
    opacity:0;
    transform:translateY(25px);
}

to{
    opacity:1;
    transform:translateY(0);
}

}

@keyframes pulse{

0%{
    transform:scale(1);
}

50%{
    transform:scale(1.04);
}

100%{
    transform:scale(1);
}

}