/* ===== FIRST HALF GOAL ===== */
/* VERSION 0.1 - FIT SCREEN VERSION */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    height:100%;
}

body{

    font-family:'Montserrat',sans-serif;

    background:#050505;

    color:#ffffff;

    height:100vh;

    overflow-x:hidden;

    overflow-y:auto;

    position:relative;

    background-image:url("../img/stadium.jpg");

    background-position:center;

    background-size:cover;

    background-repeat:no-repeat;

    background-attachment:fixed;

}

.overlay{

    position:fixed;

    left:0;
    top:0;

    width:100%;
    height:100%;

    background:
    linear-gradient(rgba(0,0,0,.78),rgba(0,0,0,.82)),
    radial-gradient(circle at top,rgba(34,197,94,.20),transparent 55%);

    z-index:0;

}


header{

    position:relative;

    z-index:5;

    width:100%;

    height:90px;

    padding:15px 20px;

    display:flex;

    justify-content:center;

    align-items:center;

}


.logo{

    font-size:42px;

    font-weight:800;

    letter-spacing:4px;

    color:#f7d774;

    text-shadow:

    0 0 10px rgba(247,215,116,.6),

    0 0 25px rgba(247,215,116,.3);

}



.hero{

    position:relative;

    z-index:5;

    width:100%;

    height:calc(100vh - 140px);

    min-height:0;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

}



.hero-content{

    width:100%;

    max-width:760px;

    padding:30px;

    border-radius:30px;

    backdrop-filter:blur(18px);

    background:rgba(15,15,15,.45);

    border:1px solid rgba(255,255,255,.08);

    box-shadow:

    0 25px 60px rgba(0,0,0,.55),

    0 0 30px rgba(34,197,94,.12);

    text-align:center;

}



.hero-content h1{

    font-size:42px;

    line-height:1.2;

    font-weight:800;

    color:#ffffff;

    margin-bottom:15px;

}



.hero-content p{

    font-size:18px;

    color:#d7d7d7;

    margin-bottom:25px;

}



.counter{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    margin-bottom:20px;

}



.number{

    font-size:65px;

    font-weight:800;

    color:#2ed573;

    text-shadow:

    0 0 20px rgba(46,213,115,.6);

}



.slash{

    font-size:45px;

    color:#ffffff;

}



.max{

    font-size:50px;

    color:#f7d774;

    font-weight:700;

}



.progress{

    width:100%;

    height:14px;

    background:#202020;

    border-radius:100px;

    overflow:hidden;

    margin-bottom:15px;

}



.progress-bar{

    width:78%;

    height:100%;

    border-radius:100px;

    background:linear-gradient(90deg,#14ce5d,#58ff95);

    box-shadow:0 0 25px rgba(46,213,115,.7);

}



.free{

    font-size:20px;

    margin-bottom:25px;

}



.free strong{

    color:#f7d774;

}



/* ============================= */
/* КНОПКИ */
/* ============================= */


.buttons{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    margin-top:15px;

}



.btn{

    display:flex;

    justify-content:center;

    align-items:center;

    height:55px;

    border-radius:16px;

    text-decoration:none;

    font-size:18px;

    font-weight:700;

    color:#ffffff;

    background:rgba(20,20,20,.70);

    border:2px solid rgba(46,213,115,.35);

    backdrop-filter:blur(10px);

    transition:.35s;

    box-shadow:

    0 0 20px rgba(0,0,0,.45);

}
/* ============================= */
/* КНОПКИ HOVER */
/* ============================= */


.btn:hover{

    transform:translateY(-5px);

    background:#19c15a;

    color:#ffffff;

    border-color:#53ff93;

    box-shadow:

    0 0 20px rgba(46,213,115,.5),

    0 0 40px rgba(46,213,115,.35),

    0 15px 35px rgba(0,0,0,.5);

}


.btn:active{

    transform:scale(.97);

}


/* ============================= */
/* FOOTER */
/* ============================= */


footer{

    position:relative;

    z-index:10;

    width:100%;

    text-align:center;

    padding:10px;

    color:#bcbcbc;

    font-size:13px;

    letter-spacing:1px;

}



/* ============================= */
/* АНИМАЦИИ */
/* ============================= */


.hero-content{

    animation:showPanel 1.2s ease;

}


.logo{

    animation:showLogo 1.2s ease;

}


.counter{

    animation:counterGlow 3s infinite;

}


.progress-bar{

    animation:progressMove 4s infinite;

}



@keyframes showPanel{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



@keyframes showLogo{

    from{

        opacity:0;

        transform:translateY(-25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



@keyframes counterGlow{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.03);

    }

    100%{

        transform:scale(1);

    }

}



@keyframes progressMove{

    0%{

        filter:brightness(1);

    }

    50%{

        filter:brightness(1.3);

    }

    100%{

        filter:brightness(1);

    }

}



/* ============================= */
/* АДАПТИВ */
/* ============================= */


@media(max-width:900px){


.hero-content{

    padding:25px;

}


.hero-content h1{

    font-size:36px;

}


.number{

    font-size:60px;

}


.max{

    font-size:45px;

}


.logo{

    font-size:34px;

}


}



@media(max-width:700px){


.buttons{

    grid-template-columns:1fr;

}


.hero{

    height:auto;

    min-height:calc(100vh - 120px);

}


.hero-content{

    padding:22px;

    border-radius:20px;

}


.hero-content h1{

    font-size:30px;

}


.hero-content p{

    font-size:17px;

}


.number{

    font-size:52px;

}


.max{

    font-size:40px;

}


.logo{

    font-size:28px;

    letter-spacing:2px;

}


.btn{

    height:55px;

    font-size:17px;

}


}



@media(max-width:480px){


header{

    height:70px;

    padding:10px;

}



.hero{

    padding:10px;

}



.hero-content{

    padding:18px;

}



.hero-content h1{

    font-size:25px;

}



.hero-content p{

    font-size:15px;

}



.counter{

    gap:10px;

}



.number{

    font-size:42px;

}



.max{

    font-size:32px;

}



.slash{

    font-size:32px;

}



.free{

    font-size:16px;

}



.btn{

    height:52px;

    font-size:16px;

}



footer{

    display:none;

}


}



/* ============================= */
/* ДЛЯ НИЗКИХ ЭКРАНОВ */
/* ============================= */


@media(max-height:650px){


header{

    height:60px;

}



.logo{

    font-size:26px;

}



.hero{

    height:auto;

    padding:10px;

}



.hero-content{

    padding:18px;

}



.hero-content h1{

    font-size:28px;

}



.hero-content p{

    margin-bottom:15px;

}



.number{

    font-size:45px;

}



.max{

    font-size:35px;

}



.free{

    margin-bottom:15px;

}



.buttons{

    gap:8px;

}



.btn{

    height:48px;

}



footer{

    display:none;

}


}



/* ============================= */
/* СКРОЛЛБАР */
/* ============================= */


::-webkit-scrollbar{

    width:8px;

}


::-webkit-scrollbar-track{

    background:#101010;

}


::-webkit-scrollbar-thumb{

    background:#20c95b;

    border-radius:50px;

}


::-webkit-scrollbar-thumb:hover{

    background:#52ff94;

}
/* ==========================================
   ADMIN PANEL MOBILE
========================================== */

@media (max-width:768px){

.wrapper{

    flex-direction:column;

}

.sidebar{

    width:100%;
    padding:20px;

    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.08);

}

.logo{

    text-align:center;
    font-size:26px;
    margin-bottom:25px;

}

.menu{

    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;

}

.menu a{

    flex:1 1 calc(50% - 10px);

    text-align:center;

    margin-bottom:0;

    padding:14px;

    font-size:15px;

}

.content{

    padding:20px;

}

.topbar{

    flex-direction:column;
    gap:15px;
    align-items:flex-start;

}

.title{

    font-size:30px;

}

.cards{

    grid-template-columns:1fr;

}

.card{

    width:100%;

}

.table{

    display:block;
    overflow-x:auto;
    white-space:nowrap;

}

.table th,
.table td{

    padding:12px;

    font-size:14px;

}

.btn{

    padding:8px 12px;
    font-size:13px;

}

input,
select,
textarea{

    width:100%;

    font-size:16px;

}

button{

    width:100%;

}

}