
:root{

    --hero-red:#d6001c;
    --hero-dark:#050505;
    --hero-white:#ffffff;

    --hero-radius:30px;

    --hero-speed:.7s;

}

.home-hero{
    

    position:relative;

    width:100%;

    height:100vh;

    overflow:hidden;

    background:#000;

}

.hero-slider{

    width:100%;

    height:100%;

    position:relative;

}


.hero-track{

    width:100%;

    height:100%;

    position:relative;

}

.hero-card{

    position:absolute;

    inset:0;

    opacity:0;

    visibility:hidden;

    transition:

    opacity .8s ease,

    transform 1s ease;

    transform:scale(1.08);

}

.hero-card.active{

    opacity:1;

    visibility:visible;

    transform:scale(1);

    z-index:5;

}

.hero-bg{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;
    

    animation:bgZoom 12s linear infinite alternate;
    

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        rgba(0,0,0,.75),

        rgba(0,0,0,.70)

    ),

    linear-gradient(

        120deg,

        rgba(214,0,28,.25),

        transparent 45%

    );

}

.hero-content{

    position:relative;

    z-index:20;

    max-width:1200px;

    margin:auto;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:0 8%;

    color:white;

}

.hero-subtitle{

    color:var(--hero-red);

    font-weight:700;

    letter-spacing:8px;

    text-transform:uppercase;

    margin-bottom:20px;

}

.hero-content h1{

    font-size:clamp(55px,8vw,120px);

    line-height:1;

    margin-bottom:20px;

}
.hero-content h2{

    font-size:clamp(35px,5vw,70px);

    text-transform:uppercase;

    margin-bottom:25px;

}

.hero-content p{

    width:600px;

    max-width:100%;

    color:#ddd;

    line-height:2;

}

.big-number{

    font-size:180px;

    font-weight:900;

    color:white;

}

.hero-dots{

    position:absolute;

    bottom:70px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    gap:12px;

    z-index:50;

}

.hero-dots span{

    width:14px;

    height:14px;

    border-radius:50%;

    background:#666;

    cursor:pointer;

    transition:.4s;

}

.hero-dots span.active{

    width:48px;

    border-radius:30px;

    background:var(--hero-red);

}

.hero-arrow{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:65px;

    height:65px;

    border:none;

    cursor:pointer;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    color:white;

    font-size:26px;

    backdrop-filter:blur(10px);

    transition:.3s;

    z-index:50;

}

.hero-arrow:hover{

    background:var(--hero-red);

}

.hero-prev{

    left:30px;

}

.hero-next{

    right:30px;

}

@keyframes bgZoom{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.12);

    }

}

.hero-card.active .hero-subtitle{

    animation:fadeUp .8s .2s both;

}

.hero-card.active h1{

    animation:fadeUp .8s .4s both;

}

.hero-card.active h2{

    animation:fadeUp .8s .6s both;

}

.hero-card.active p{

    animation:fadeUp .8s .8s both;

}

.hero-card.active .hero-btn{

    animation:fadeUp .8s 1s both;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:

        translateY(40px);

    }

    to{

        opacity:1;

        transform:

        translateY(0);

    }

}

.hero-card::before{

    content:"";

    position:absolute;

    width:700px;

    height:700px;

    border-radius:50%;

    right:-250px;

    top:-150px;

    background:

    radial-gradient(

        rgba(214,0,28,.22),

        transparent 70%

    );

    filter:blur(80px);

    animation:

    glowMove 10s ease infinite alternate;

}

@keyframes glowMove{

    from{

        transform:

        translateX(0)

        translateY(0);

    }

    to{

        transform:

        translateX(-120px)

        translateY(60px);

    }

}

.hero-content::before{

    content:"";

    position:absolute;

    left:-40px;

    top:50%;

    transform:

    translateY(-50%);

    width:600px;

    height:420px;

    border-radius:35px;

    background:

    linear-gradient(

        rgba(255,255,255,.05),

        rgba(255,255,255,.02)

    );

    border:

    1px solid rgba(255,255,255,.08);

    backdrop-filter:

    blur(18px);

    z-index:-1;

}

.hero-btn{

    margin-top:45px;

    width:max-content;

    padding:

    18px 40px;

    border:none;

    border-radius:60px;

    cursor:pointer;

    color:#fff;

    font-weight:700;

    letter-spacing:3px;

    background:

    linear-gradient(

        135deg,

        #d6001c,

        #ff2948

    );

    transition:.35s;

    box-shadow:

    0 20px 40px

    rgba(214,0,28,.35);

}

.hero-btn:hover{

    transform:

    translateY(-6px);

    box-shadow:

    0 35px 60px

    rgba(214,0,28,.55);

}
.hero-card::after{

    content:"";

    position:absolute;

    inset:0;

    background:

    radial-gradient(

        circle at center,

        transparent,

        rgba(0,0,0,.35)

    );

}

.hero-content.center{

    align-items:center;

    text-align:center;

}

.hero-content.center::before{

    left:50%;

    transform:

    translate(-50%,-50%);

}
.omerta-grid{

    display:grid;

    grid-template-columns:

    repeat(2,220px);

    gap:20px;

    margin-top:40px;

}

.omerta-grid div{

    padding:28px;

    text-align:center;

    border-radius:20px;

    backdrop-filter:

    blur(15px);

    background:

    rgba(255,255,255,.05);

    border:

    1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.omerta-grid div:hover{

    transform:

    translateY(-8px);

    background:

    rgba(214,0,28,.18);

}
.hero-light{

    position:absolute;

    width:350px;

    height:350px;

    border-radius:50%;

    pointer-events:none;

    background:

    radial-gradient(

        rgba(214,0,28,.25),

        transparent 70%

    );

    filter:blur(40px);

    transition:

    .15s linear;

    z-index:4;

}

.hero-counter{

    position:absolute;

    right:60px;

    bottom:45px;

    color:#fff;

    font-size:15px;

    letter-spacing:4px;

    z-index:60;

}

.hero-counter strong{

    color:#d6001c;

    font-size:22px;

}

.hero-progress{

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:4px;

    background:

    rgba(255,255,255,.08);

}

.hero-progress span{

    display:block;

    width:0;

    height:100%;

    background:#d6001c;

    animation:

    progress 6s linear infinite;

}

@keyframes progress{

    from{

        width:0;

    }

    to{

        width:100%;

    }

}

@media(max-width:992px){

.hero-content{

    align-items:center;

    text-align:center;

    padding:40px;

}

.hero-content::before{

    width:100%;

    left:0;

    transform:

    translateY(-50%);

}

.hero-arrow{

    display:none;

}

.omerta-grid{

    grid-template-columns:1fr;

}

.big-number{

    font-size:46px;

}

}

@media(max-width:600px){

.home-hero{

    height:90vh;

}

.hero-content h1{

    font-size:52px;

}

.hero-content h2{

    font-size:34px;

}

.hero-btn{

    width:100%;

}

.hero-content::before{

    display:none;

}

}

@media (min-width: 992px){

    .hero-overlay{

        background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.90) 0%,
            rgba(0,0,0,.70) 35%,
            rgba(0,0,0,.35) 65%,
            rgba(0,0,0,.15) 100%
        );

    }


    .hero-content::before{

        display:none;

    }

    .hero-content{

        max-width:700px;

        padding-left:120px;

        padding-right:60px;

        justify-content:center;

        align-items:flex-start;

    }

    .hero-subtitle{

        font-size:18px;

        letter-spacing:12px;

        margin-bottom:25px;

    }

    .hero-content h1{

        font-size:110px;

        line-height:1;

        margin-bottom:15px;

    }

    .hero-content h2{

        font-size:72px;

        line-height:1;

        margin-bottom:30px;

    }

    .hero-content p{

        font-size:22px;

        line-height:1.9;

        color:#ececec;

        max-width:650px;

    }

    .hero-bg{

        transform:scale(1.08);

        transition:transform 8s ease;

    }

    .hero-card.active .hero-bg{

        transform:scale(1.15);

    }

    .hero-arrow{

        width:64px;

        height:64px;

        backdrop-filter:blur(18px);

        background:rgba(255,255,255,.10);

    }

    .hero-prev{

        left:50px;

    }

    .hero-next{

        right:50px;

    }

    .hero-dots{

        bottom:45px;

    }

}

.home-hero,
.hero-content,
.hero-content p{

    font-family:"Cairo",sans-serif;

}


.hero-subtitle,
.hero-content h1,
.hero-content h2{

    font-family:"Noto Kufi Arabic",sans-serif;

    font-weight:900;

}


.hero-content{

    text-align:right;

    align-items:flex-start;

}

.hero-content p{

    font-size:20px;

    line-height:2;

    font-weight:500;

}

@media(max-width:768px){

.hero-content{

    text-align:center;

    align-items:center;

}

}

@media (max-width:768px){

    .hero-content{

        text-align:center;

        align-items:center;

        justify-content:center;

        padding:0 22px;

    }

    .hero-subtitle{
        

        font-size:14px;

        letter-spacing:4px;

        margin-bottom:12px;

    }

    .hero-content h1{

        font-size:34px;

        margin-bottom:12px;

    }

    .hero-content h2{

        font-size:20px;

        margin-bottom:50px;

        line-height:2;

    }

    .hero-content p{

        font-size:15px;

        line-height:1.8;

        max-width:90%;

        margin:0 auto;

        font-weight:500;

    }

    .big-number{

        font-size:46px;

    }

}

.beginning-content{
    

    text-align:center;

    align-items:center;

    justify-content:center;

    padding:0 25px;

}

.beginning-content .hero-subtitle{
    

    font-size:12px;

    letter-spacing:3px;

    margin-bottom:20px;

}

.beginning-content h1{
    

    font-size:58px;

    line-height:1.1;

    margin-bottom:1px;

}

.beginning-content h2{
    font-family: "Aref Ruqaa Ink", serif;
    

    font-size: 60px !important;

    margin-bottom:15px;

}

.beginning-content p{

    width:100%;

    max-width:320px;

    font-size:16px;

    line-height:1.8;

    margin:0 auto;

}

.mentality-content{
    

    align-items:center;

    text-align:center;

}

.mentality-content .big-number{

    font-size:110px;

    font-weight:900;

    color:#fff;

    line-height:1;

}

.mentality-content h2{
font-family: "Vazirmatn", sans-serif;
    max-width:900px;

    font-size:34px;

    line-height:1.7;

    margin-top:30px;

    font-weight:700;

}

.omerta-content{

    text-align:center;

    align-items:center;

}

.omerta-content h2{

    font-size:70px;

    margin-bottom:35px;

}

.omerta-content p{

    font-size:28px;

    letter-spacing:2px;

    line-height:2;

}

.curva-content{

    text-align:center;

    align-items:center;

}

.curva-content .hero-subtitle{
    font-family: "Marhey", sans-serif;

    font-size:18px;

    letter-spacing:8px;

}

.curva-content h2{

    font-size:60px;

    margin-bottom:20px;

}

.curva-content p{

    font-size:26px;

    line-height:2;

}

.loyalty-content{

    text-align:right;

}

.loyalty-content .hero-subtitle{

    font-size:18px;

}

.loyalty-content h2{

    font-size:60px;

}

.loyalty-content p{

    max-width:700px;

    font-size:22px;

    line-height:2;

}
@media(max-width:768px){

.beginning-content h1{

    font-size:40px;

}

.beginning-content h2{

    font-size:26px;

}

.beginning-content p{

    font-size:15px;

}

.mentality-content .big-number{

    font-size:46px;

}

.mentality-content h2{

    font-size:20px;

    line-height:1.8;

    max-width:90%;

    margin-top:40px;

}

.omerta-content{

    text-align:center;

    align-items:center;

    justify-content:center;

    padding:0 25px;

}

.omerta-content .hero-subtitle{

    font-size:14px;

    margin-bottom:12px;

    letter-spacing:4px;

}

.omerta-content h2{

    font-size:50px;

    line-height:1.2;

    margin-bottom:30px;

}

.omerta-content p{

    font-size:30px;

    line-height:2;

    width:100%;

    max-width:300px;

    margin:0 auto;

}
.curva-content{

    text-align:center;

    align-items:center;

    justify-content:center;

    padding:0 25px;

}

.curva-content .hero-subtitle{

    font-size:40px;

    margin-bottom:12px;

    letter-spacing:4px;

}

.curva-content h2{

    font-size:28px;

    line-height:1.6;

    margin-bottom:80px;

}

.curva-content p{

    font-size:24px;

    line-height:1.8;

    width:100%;

    max-width:320px;

    margin:0 auto;

}
.loyalty-content{

    text-align:center;

    align-items:center;

    justify-content:center;

    padding:0 25px;

}

.loyalty-content .hero-subtitle{

    font-size:30px;

    margin-bottom:20px;

    letter-spacing:4px;

}

.loyalty-content h2{

    font-size:30px;

    line-height:1.5;

    margin-bottom:20px;

}

.loyalty-content p{

    font-size:19px;

    line-height:1.9;

    width:100%;

    max-width:320px;

    margin:0 auto;

}
}

.autentico-content{

    text-align:center;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:0 25px;

}


.autentico-content h2{

    font-family:"Rubik Glitch", cursive;
    font-size:72px;
    line-height:1;
    text-transform:uppercase;
    margin:20px 0;
    color:#fff;
    text-shadow:
        0 0 15px rgba(255,255,255,.15),
        0 0 35px rgba(255,0,0,.25);

}

.autentico-content p{

    font-family:"Lalezar", sans-serif;
    font-size:30px;
    line-height:2;
    max-width:700px;
    color:#fff;
    direction:rtl;

    text-align:center;
    margin:0 auto;

}
.autentico-content{

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;

}
@media (max-width:768px){

    .autentico-content h2{

        font-size:55px;
        margin-bottom:20px;

    }

    .autentico-content p{

        font-size:22px;
        text-align:center;

    }

    .autentico-content .hero-subtitle{

        font-size:14px;
        letter-spacing:3px;

    }
    @media (max-width:768px){

    .autentico-content{

        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        text-align:center;
        width:100%;
        padding:0 20px;

    }

    .autentico-content p{

        width:100%;
        max-width:100%;
        margin:0 auto;
        text-align:center;

    }
    

}

}
.dropdown-notification-btn{

    width:100%;

    display:flex;
    align-items:center;
    gap:10px;

    padding:12px 16px;

    border:none;
    outline:none;

    background:transparent;

    color:#f5f5f5;

    font-size:14px;
    font-weight:600;

    cursor:pointer;

    transition:.25s ease;

    border-radius:8px;

}

.dropdown-notification-btn i{

    width:18px;

    color:#d11f2f;

    font-size:15px;

}

.dropdown-notification-btn:hover{

    background:rgba(209,31,47,.15);

    color:#ffffff;

}

.dropdown-notification-btn:hover i{

    color:#ff3b4f;

}

.dropdown-notification-btn:active{

    transform:scale(.98);

}



.security-modal {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.86);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    direction: rtl;
}




.security-modal-box {
    position: relative;

    width: min(520px, 100%);

    padding: 115px 38px 45px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 24px;

    overflow: hidden;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45);
}




.security-modal-box::before {
    content: "";

    position: absolute;

    top: 28px;
    left: 0;

    width: 100%;
    height: 14px;

    background:
        linear-gradient(
            to bottom,
            #d7192f 0,
            #d7192f 4px,
            transparent 4px,
            transparent 10px,
            #d7192f 10px,
            #d7192f 14px
        );

    z-index: 1;
}




.security-modal-box::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 16px;

    width: 16px;

    background:
        linear-gradient(
            to right,
            #d7192f 0,
            #d7192f 4px,
            transparent 4px,
            transparent 11px,
            #d7192f 11px,
            #d7192f 16px
        );

    z-index: 1;
}




.security-icon {
    position: relative;

    z-index: 2;

    width: 86px;
    height: 86px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 3px solid #d7192f;

    border-radius: 50%;

    color: #d7192f;

    font-size: 35px;

    box-shadow:
        0 0 0 7px rgba(215, 25, 47, 0.05);
}




.security-modal-box h2 {
    position: relative;

    z-index: 2;

    margin: 0 0 12px;

    color: #d7192f;

    font-family:
        "Noto Kufi Arabic",
        "Cairo",
        sans-serif;

    font-size: 28px;

    font-weight: 800;

    line-height: 1.5;
}




.security-modal-box p {
    position: relative;

    z-index: 2;

    margin: 0 0 30px;

    color: #222222;

    font-family:
        "Cairo",
        sans-serif;

    font-size: 15px;

    line-height: 1.9;
}



#security-code-input {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 58px;

    box-sizing: border-box;

    margin-bottom: 18px;

    padding: 0 18px;

    background: #ffffff;

    border: 2px solid #d7192f;

    border-radius: 11px;

    color: #111111;

    font-family:
        "Cairo",
        sans-serif;

    font-size: 17px;

    text-align: center;

    direction: ltr;

    outline: none;

    transition: 0.2s ease;
}


#security-code-input::placeholder {
    color: #999999;

    font-family:
        "Cairo",
        sans-serif;
}


#security-code-input:focus {
    border-color: #b51227;

    box-shadow:
        0 0 0 4px rgba(215, 25, 47, 0.10);
}



#security-code-btn {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 58px;

    border: none;

    border-radius: 11px;

    background: #e1192f;

    color: #ffffff;

    font-family:
        "Cairo",
        sans-serif;

    font-size: 17px;

    font-weight: 700;

    cursor: pointer;

    transition:
        0.2s ease;
}


#security-code-btn:hover {
    background: #c91429;

    box-shadow:
        0 8px 20px rgba(215, 25, 47, 0.25);
}


#security-code-btn:active {
    transform: scale(0.98);
}




#security-code-error {
    position: relative;

    z-index: 2;

    display: none;

    margin-top: 15px;

    color: #d7192f;

    font-family:
        "Cairo",
        sans-serif;

    font-size: 13px;

    font-weight: 700;
}




@media (max-width: 600px) {

    .security-modal {
        padding: 14px;
    }

    .security-modal-box {
        width: 100%;

        padding: 100px 28px 35px;

        border-radius: 20px;
    }

   

    .security-modal-box::before {
        top: 22px;

        height: 12px;

        background:
            linear-gradient(
                to bottom,
                #d7192f 0,
                #d7192f 3px,
                transparent 3px,
                transparent 9px,
                #d7192f 9px,
                #d7192f 12px
            );
    }

   

    .security-modal-box::after {
        left: 10px;

        width: 13px;

        background:
            linear-gradient(
                to right,
                #d7192f 0,
                #d7192f 3px,
                transparent 3px,
                transparent 9px,
                #d7192f 9px,
                #d7192f 13px
            );
    }

    .security-icon {
        width: 70px;
        height: 70px;

        font-size: 28px;

        margin-bottom: 20px;
    }

    .security-modal-box h2 {
        font-size: 22px;
    }

    .security-modal-box p {
        font-size: 13px;

        margin-bottom: 22px;
    }

    #security-code-input,
    #security-code-btn {
        height: 50px;
    }

    #security-code-btn {
        font-size: 15px;
    }
}

.security-modal-box h2 {
    font-family: "Lalezar", sans-serif !important;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0;
}


.security-modal-box p {
    font-family: "Cairo", sans-serif !important;
    font-size: 15px;
    font-weight: 500;
}


#security-code-input {
    font-family: "Tajawal", sans-serif !important;
    font-size: 18px;
    font-weight: 500;
}


#security-code-input::placeholder {
    font-family: "Tajawal", sans-serif !important;
    font-size: 17px;
    font-weight: 400;
}


#security-code-btn {
    font-family: "Changa", sans-serif !important;
    font-size: 18px;
    font-weight: 600;
}


#security-code-error {
    font-family: "Cairo", sans-serif !important;
    font-size: 13px;
    font-weight: 700;
}



#security-timer {
    position: relative;
    z-index: 2;

    margin-top: 18px;

    color: #d7192f;

    font-family: "Changa", sans-serif;

    font-size: 15px;

    font-weight: 700;
}

#security-timer.security-timer-danger {
    animation: securityTimerPulse 0.8s infinite;
}

@keyframes securityTimerPulse {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }

    100% {
        opacity: 1;
    }

}

.manifesto-title {
    font-family: 'Bebas Neue', sans-serif;
    transform: scale(1.05);
    letter-spacing: 3px;
    text-align: center;
    line-height: 1;
    position: relative;
    white-space: nowrap;
    margin-top: 25px;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #ffffff 44%,
        #e10600 44%,
        #e10600 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 1024px) {
    .manifesto-title {
        font-size: 100px;
        letter-spacing: 6px;
    }
}

@media (max-width: 768px) {
    .manifesto-title {
        font-size: 42px;
        letter-spacing: 2px;
        transform: scale(1);
    }
}
.season {
    display: block;
    width: 100%;
    text-align: center;

    font-family: 'UnifrakturCook', cursive;
    font-size: clamp(2rem, 8vw, 6rem);
    margin-top: 8px;
    letter-spacing: 4px;
    line-height: 1;

    background: linear-gradient(
        to bottom,
        #ffffff 50%,
        #e10600 50%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



.home-video-wrapper {
    width: 94%;
    max-width: 1400px;
    margin: 75px auto 80px;
    position: relative;
    box-sizing: border-box;
}

.video-frame {
    position: relative;
    width: 100%;

    
    padding: 18px;

    box-sizing: border-box;

    background: #000;

   
    border: 2px solid #e10600;
    border-radius: 15px;

    box-shadow: none;

    overflow: visible;
}



.video-frame::before {
    content: "";

    position: absolute;

    top: 7px;
    left: 7px;
    right: 7px;
    bottom: 7px;

    border: 2px solid #ffffff;

    border-radius: 10px;

    box-sizing: border-box;

    pointer-events: none;

    z-index: 4;
}




.video-frame-logo {
    position: absolute;

    top: -34px;
    left: 50%;

    transform: translateX(-50%);

    width: 72px;
    height: 72px;

    object-fit: contain;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    filter: none !important;

    z-index: 20;

    pointer-events: none;
}



.home-video {
    position: relative;

    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: contain;

    background: #000;

    border: none;
    border-radius: 5px;

    box-shadow: none;

    z-index: 2;
}




@media (max-width: 768px) {

    .home-video-wrapper {
        width: 94%;
        margin: 70px auto 70px;
    }

    .video-frame {
        padding: 16px;

        border: 2px solid #e10600;
        border-radius: 14px;

        box-shadow: none;
    }

    
    .video-frame::before {
        top: 6px;
        left: 6px;
        right: 6px;
        bottom: 6px;

        border: 2px solid #ffffff;

        border-radius: 9px;
    }

    
    .video-frame-logo {
        top: -31px;

        width: 66px;
        height: 66px;

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .home-video {
        width: 100%;
        aspect-ratio: 16 / 9;

        border-radius: 5px;
    }
}



@media (max-width: 480px) {

    .home-video-wrapper {
        width: 94%;
        margin-top: 65px;
    }

    .video-frame {
        padding: 14px;
        border-radius: 13px;
    }

    .video-frame::before {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;

        border: 2px solid #fff;
        border-radius: 8px;
    }

    .video-frame-logo {
        top: -29px;

        width: 62px;
        height: 62px;
    }

    .home-video {
        border-radius: 4px;
    }
}


.video-frame {
    position: relative;
    width: 100%;
    padding: 16px;

    background: #000;
    border: 2px solid #e10600;
    border-radius: 14px;

    box-sizing: border-box;
    box-shadow: none;
    overflow: visible;
}



.video-frame::before {
    content: "";

    position: absolute;
    inset: 7px;

    border: 2px solid #fff;
    border-radius: 10px;

    box-sizing: border-box;

    pointer-events: none;
    z-index: 4;
}


.video-frame::after {
    content: "";

    position: absolute;

    top: -3px;
    left: 50%;

    transform: translateX(-50%);

    width: 80px;
    height: 14px;

    background: #000;

    z-index: 6;

    pointer-events: none;
}




.video-frame-logo {
    position: absolute;

    top: -31px;
    left: 50%;

    transform: translateX(-50%);

    width: 65px;
    height: 65px;

    object-fit: contain;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    filter: none !important;

    z-index: 10;

    pointer-events: none;
}



.home-video {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: contain;

    background: #000;

    border: none;
    border-radius: 5px;

    box-shadow: none;

    position: relative;
    z-index: 2;
}


@media (max-width: 768px) {

    .home-video-wrapper {
        width: 94%;
       margin: 100px auto 70px;
    }

    .video-frame {
        padding: 16px;

        border: 2px solid #e10600;
        border-radius: 14px;
    }

    .video-frame::before {
        inset: 6px;

        border: 2px solid #fff;
        border-radius: 9px;
    }

    .video-frame::after {
        width: 70px;
        height: 13px;

        top: -3px;
    }

    .video-frame-logo {
        width: 65px;
        height: 65px;

        top: -31px;
    }

    .home-video {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}


@media (max-width: 480px) {

    .home-video-wrapper {
        width: 94%;
    }

    .video-frame {
        padding: 14px;
        border-radius: 13px;
    }

    .video-frame::before {
        inset: 5px;
        border-radius: 8px;
    }

    .video-frame::after {
        width: 65px;
        height: 12px;
    }

    .video-frame-logo {
        width: 60px;
        height: 60px;
        top: -29px;
    }
}

#security-code-modal {
    display: none;
}




.section-rules-modal {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 99999;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.78);

    direction: rtl;
}

.section-rules-modal.active {
    display: flex;
}



.section-rules-box {
    width: min(680px, 100%);

    max-height: 88vh;

    overflow-y: auto;

    background: #101010;

    border: 1px solid #2b2b2b;

    border-radius: 10px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);

    color: #f2f2f2;

    font-family:
        Arial,
        "Tahoma",
        sans-serif;
}



.section-rules-header {
    padding: 28px 32px 22px;

    border-bottom: 1px solid #242424;

    text-align: right;
}

.section-rules-header h2 {
    margin: 0 0 8px;

    color: #e3262e;

    font-family:
        Arial,
        "Tahoma",
        sans-serif;

    font-size: 28px;

    font-weight: 800;

    line-height: 1.4;
}

.section-rules-header p {
    margin: 0;

    color: #888;

    font-size: 14px;

    line-height: 1.7;
}



.section-rules-content {
    padding: 26px 32px;
}


.section-rules-list {
    margin: 0;

    padding-right: 28px;

    color: #e5e5e5;

    font-family:
        Arial,
        "Tahoma",
        sans-serif;

    font-size: 16px;

    line-height: 2;

    text-align: right;
}

.section-rules-list li {
    padding-right: 8px;

    margin-bottom: 13px;
}

.section-rules-list li::marker {
    color: #e3262e;

    font-weight: 700;
}

.section-rules-list strong {
    color: #fff;

    font-weight: 700;
}


.section-agreement-box {
    margin-top: 25px;

    padding-top: 22px;

    border-top: 1px solid #242424;
}

.section-agreement-box h3 {
    margin: 0 0 14px;

    color: #fff;

    font-family:
        Arial,
        "Tahoma",
        sans-serif;

    font-size: 18px;

    font-weight: 700;
}

.section-agreement {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 15px 16px;

    background: #161616;

    border: 1px solid #2d2d2d;

    border-radius: 7px;

    cursor: pointer;

    transition: border-color 0.2s ease;
}

.section-agreement:hover {
    border-color: #555;
}

.section-agreement input {
    width: 18px;
    height: 18px;

    margin-top: 3px;

    flex: 0 0 18px;

    accent-color: #e3262e;

    cursor: pointer;
}

.section-agreement span {
    color: #ddd;

    font-family:
        Arial,
        "Tahoma",
        sans-serif;

    font-size: 15px;

    line-height: 1.8;
}


/* الملاحظة */

.section-note {
    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-top: 18px;

    padding: 14px 16px;

    background: #151515;

    border-right: 3px solid #e3262e;

    color: #aaa;

    font-family:
        Arial,
        "Tahoma",
        sans-serif;

    font-size: 14px;

    line-height: 1.8;

    text-align: right;
}

.section-note strong {
    color: #fff;

    font-size: 14px;
}


/* الأزرار */

.section-rules-actions {
    display: flex;

    justify-content: flex-start;

    gap: 10px;

    padding: 20px 32px 25px;

    border-top: 1px solid #242424;
}

.section-rules-actions button {
    min-width: 105px;

    padding: 11px 20px;

    border: none;

    border-radius: 6px;

    font-family:
        Arial,
        "Tahoma",
        sans-serif;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        background 0.2s ease;
}



#section-rules-cancel {
    background: #292929;

    color: #ddd;
}

#section-rules-cancel:hover {
    background: #333;
}




#section-rules-continue {
    background: #e3262e;

    color: #fff;
}

#section-rules-continue:hover:not(:disabled) {
    background: #c91f27;
}

#section-rules-continue:disabled {
    opacity: 0.35;

    cursor: not-allowed;
}



@media (max-width: 600px) {

    .section-rules-modal {
        padding: 12px;
    }

    .section-rules-box {
        max-height: 92vh;

        border-radius: 8px;
    }

    .section-rules-header {
        padding: 22px 20px 18px;
    }

    .section-rules-header h2 {
        font-size: 22px;
    }

    .section-rules-content {
        padding: 20px;
    }

    .section-rules-list {
        font-size: 14px;

        line-height: 1.9;

        padding-right: 22px;
    }

    .section-agreement span {
        font-size: 14px;
    }

    .section-rules-actions {
        padding: 16px 20px 20px;
    }
}

.section-rules-trigger {
    width: 100%;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    background: #222;
    color: #aaa;

    border: 1px solid #444;
    border-radius: 12px;

    font-size: 16px;
    cursor: pointer;
}

.section-rules-trigger:hover {
    border-color: #e3262e;
}


.notification-avatar {
    position: relative;
}

.notification-badge {
    position: absolute;

    top: -6px;
    right: -6px;

    width: 18px;
    height: 18px;

    background: #e00000;
    color: #fff;

    border: 2px solid #111;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;

    z-index: 20;
}


.dropdown-notification-badge {
    margin-left: auto;

    width: 18px;
    height: 18px;

    background: #e00000;
    color: #fff;

    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}


.notifications-container {
    position: fixed;
    top: 75px;
    right: 25px;
    z-index: 99999;
}

.notifications-box {
    width: 360px;
    max-width: calc(100vw - 30px);

    background: #111;
    border: 1px solid #2b2b2b;
    border-radius: 10px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);

    overflow: hidden;
}

.notifications-header {
    padding: 15px 18px;

    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;

    border-bottom: 1px solid #292929;
}

.notifications-list {
    max-height: 450px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 12px;

    padding: 15px 18px;

    cursor: pointer;

    border-bottom: 1px solid #222;

    transition: background 0.2s ease;
}

.notification-item:hover {
    background: #1a1a1a;
}

.notification-icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #e00000;
}

.notification-content {
    min-width: 0;
}

.notification-title {
    color: #fff;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 5px;
}

.notification-message {
    color: #999;

    font-size: 12px;
    line-height: 1.5;
}

.notifications-empty {
    padding: 30px 20px;

    text-align: center;

    color: #777;
    font-size: 13px;
}


/* الهاتف */

@media (max-width: 600px) {

    .notifications-container {
        top: 70px;
        right: 10px;
        left: 10px;
    }

    .notifications-box {
        width: 100%;
        max-width: none;
    }

}


.notifications-container {
    position: fixed;
    top: 74px;
    left: 10px;
    right: 10px;
    z-index: 99999;

    background: #111;
    border: 1px solid #333;
    border-radius: 10px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.65);

    overflow: hidden;

    animation: notificationsSlideDown 0.2s ease-out;
}


.notifications-header {
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 16px;

    background: #171717;

    border-bottom: 1px solid #333;

    color: #fff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
}


.notifications-header-title {
    display: flex;
    align-items: center;
    gap: 9px;
}


.notifications-header-title i {
    color: #e52525;
    font-size: 16px;
}




.notifications-close {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #222;
    color: #fff;

    font-size: 23px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.notifications-close:hover {
    background: #e52525;
    transform: rotate(90deg);
}


.notifications-list {
    max-height: 65vh;
    overflow-y: auto;

    background: #111;
}


.notification-item {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 68px;

    padding: 12px 16px;

    background: #111;

    border-bottom: 1px solid #242424;

    cursor: pointer;

    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: #191919;
    padding-left: 20px;
}


.notification-item-icon {
    width: 38px;
    min-width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 12px;

    border-radius: 50%;

    background: #241010;
    color: #e52525;

    font-size: 15px;
}


.notification-item-content {
    min-width: 0;
    flex: 1;
}

.notification-item-title {
    margin: 0 0 4px;

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-item-message {
    margin: 0;

    color: #999;

    font-size: 12px;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


.notifications-empty {
    padding: 35px 20px;

    text-align: center;

    color: #777;

    font-size: 13px;
}

.notifications-empty i {
    display: block;

    margin-bottom: 10px;

    color: #444;

    font-size: 28px;
}


.notifications-list::-webkit-scrollbar {
    width: 5px;
}

.notifications-list::-webkit-scrollbar-track {
    background: #111;
}

.notifications-list::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
    background: #e52525;
}


@keyframes notificationsSlideDown {

    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@media (max-width: 400px) {

    .notifications-container {
        top: 70px;
        left: 8px;
        right: 8px;
        border-radius: 9px;
    }

    .notifications-header {
        height: 54px;
        padding: 0 14px;
    }

    .notification-item {
        min-height: 64px;
        padding: 10px 13px;
    }

    .notification-item-icon {
        width: 34px;
        min-width: 34px;
        height: 34px;
    }

}


#notification-container {
    position: fixed;
    top: 84px;
    left: 10px;
    right: 10px;

    z-index: 99999;

    background: #111;
    border: none;
    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.65);

    color: #fff;
}


#notification-container .notifications-header {
    position: relative;

    min-height: 58px;

    display: flex;
    align-items: center;

    padding: 0 55px 0 16px;

    background: #171717;

    border-bottom: 1px solid #333;

    box-sizing: border-box;
}


#notification-container .notifications-title {
    color: #fff;

    font-size: 16px;
    font-weight: 700;
}


#notification-container .notifications-close {
    position: absolute;

    top: 50%;
    right: 12px;

    transform: translateY(-50%);

    width: 32px;
    height: 32px;

    padding: 0;

    border: 1px solid #444;
    border-radius: 50%;

    background: #252525;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

#notification-container .notifications-close:hover {
    background: #e52525;
    border-color: #e52525;

    transform:
        translateY(-50%)
        rotate(90deg);
}

#notification-container .notifications-close:active {
    transform:
        translateY(-50%)
        scale(0.9);
}


#notification-container .notifications-list {
    max-height: 65vh;
    overflow-y: auto;
}


#notification-container .notifications-empty {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777;

    font-size: 13px;
}


@media (max-width: 600px) {

    #notification-container {
        top: 84px;
        left: 10px;
        right: 10px;

        border-radius: 10px;
    }

    #notification-container .notifications-header {
        min-height: 58px;
    }

    #notification-container .notifications-close {
        width: 31px;
        height: 31px;
    }

}



.message-reactions-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.reaction-trigger {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 17px;
    padding: 3px 6px;
    opacity: 0.75;
}

.reaction-trigger:hover {
    opacity: 1;
    transform: scale(1.08);
}

.reaction-picker {
    position: absolute;
    left: 0;
    bottom: 34px;
    display: none;
    align-items: center;
    gap: 4px;
    padding: 7px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,.20);
    z-index: 1000;
}

.reaction-picker.active {
    display: flex;
}

.reaction-picker-button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    padding: 3px;
    transition: transform .15s;
}

.reaction-picker-button:hover {
    transform: scale(1.3);
}

.message-reactions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.reaction-count {
    border: none;
    background: #f1f1f1;
    border-radius: 15px;
    padding: 2px 7px;
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    font-size: 13px;
}

.reaction-count.my-reaction {
    outline: 2px solid rgba(0,0,0,.15);
}

.reaction-emoji {
    font-size: 15px;
}

.reaction-number {
    font-size: 12px;
    font-weight: 600;
}




.reaction-users-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    padding: 20px;
}

.reaction-users-modal.active {
    display: flex;
}

.reaction-users-box {
    width: min(360px, 100%);
    max-height: 70vh;
    overflow: hidden;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 50px rgba(0,0,0,.30);
}

.reaction-users-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #ddd;
}

.reaction-users-close {
    border: none;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
}

.reaction-users-list {
    max-height: 55vh;
    overflow-y: auto;
}

.reaction-user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 16px;
    border-bottom: 1px solid #eee;
}

.reaction-user-name {
    font-weight: 500;
}

.reaction-user-emoji {
    font-size: 20px;
}
.reaction-user-name {
    font-weight: 500;
    color: #111 !important;
}
.poll-collapse-button {
    margin-left: auto;
    width: 34px;
    height: 34px;
    padding: 0;

    border: none;
    background: transparent;

    color: #fff;

    font-size: 20px;
    font-weight: 700;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.poll-collapse-button:hover {
    opacity: 0.75;
}