@font-face {
    font-family: 'TTFirs';
    src: url('./fonts/TTFirsNeue-Thin.woff2') format('woff2');
    font-weight:100;
}

@font-face {
    font-family: 'TTFirs';
    src: url('./fonts/TTFirsNeue-Light.woff2') format('woff2');
    font-weight:300;
}

@font-face {
    font-family: 'TTFirs';
    src: url('./fonts/TTFirsNeue-Regular.woff2') format('woff2');
    font-weight:400;
}

@font-face {
    font-family: 'TTFirs';
    src: url('./fonts/TTFirsNeue-Medium.woff2') format('woff2');
    font-weight:500;
}

@font-face {
    font-family: 'TTFirs';
    src: url('./fonts/TTFirsNeue-Bold.woff2') format('woff2');
    font-weight:700;
}

@font-face {
    font-family: 'TTFirs';
    src: url('./fonts/TTFirsNeue-Bold.woff2') format('woff2'),
         url('./fonts/TTFirsNeue-Bold.woff') format('woff'),
         url('./fonts/TTFirsNeue-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'TTFirs';
    src: url('./fonts/TTFirsNeue-Medium.woff2') format('woff2'),
         url('./fonts/TTFirsNeue-Medium.woff') format('woff'),
         url('./fonts/TTFirsNeue-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'TTFirs';
    src: url('./fonts/TTFirsNeue-DemiBold.woff2') format('woff2'),
         url('./fonts/TTFirsNeue-DemiBold.woff') format('woff'),
         url('./fonts/TTFirsNeue-DemiBold.ttf') format('truetype');
    font-weight:600;
    font-style:normal;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: 'TTFirs', Arial, sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #0C112B;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: auto;
}

body {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: manipulation;
}

.stage{
transform:scale(1);
transform-origin:center center;
}

.hero{
height:100vh;
width:100%;
display:flex;
justify-content:center;
align-items:center;
position:relative;

background-color:#0C112B;
background-image:url("img/background.png");
background-position:center;
background-size:cover;
background-repeat:no-repeat;
}

.content{
position:absolute;
top:80px;
text-align:center;
color:white;
z-index:5;
max-width:700px;
}

h1 {
    font-size: 50px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1;
    margin-left: auto;
    margin-right: auto;
    margin-top: -40px;
}

p {
    opacity: 0.9;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
}

.highlight{
color:#ffffff;
font-weight:500;
}

.logo{
width:160px;
display:block;
margin:20px auto 10px auto;
}

.promo{
color:#bfbfff;
}

.promo span{
color:white;
font-weight:bold;
}

.characters{
position:absolute;
bottom:0;
width:100%;
display:flex;
justify-content:center;
align-items:flex-end;
gap:40px;
}

.char{
height:420px;
}

.left{
transform:translateX(-120px);
}

.center{
height:500px;
z-index:4;
}

.right{
transform:translateX(120px);
}

.ellipse{
    position:absolute;
    top:-180px;
    left:50%;
    transform:translateX(-50%);
    height:auto;
    z-index:2;
    pointer-events:none;
    opacity:1;
}

.bonus-card{
    position:relative;
    width:302px;
    margin:18px auto 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-top: 360px;
}

.bonus-btn {
    position: relative;
    z-index: 2;
    width: 447px;
    height: 90px;
    border: none;
    border-radius: 30px;
    text-decoration:none;
    background: #FFFFFF;
    color: #000000;
    font-family: 'TTFirs', Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 0;

    animation:bonusPulse 2.2s ease-in-out infinite;

    transform-origin:center;

    will-change:transform;

    backface-visibility:hidden;
    -webkit-font-smoothing:antialiased;
}

.bonus-btn:hover{
    
    background:#e5e5e5;
}

.bonus-btn:active{
    transform:scale(0.96);
    background:#d8d8d8;
}

@keyframes bonusPulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.05);
    }

    100%{
        transform:scale(1);
    }

}

.promo-box {
    position: relative;
    z-index: 1;
    width: 447px;
    height: 180px;
    margin-top: -100px;
    background: #0D1534;
    border-radius: 30px 30px 30px 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 22px 20px 22px;
}

.promo-label {
    font-family: 'TTFirs', Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #697CC8;
    opacity: 1;
    text-align: left;
    margin-left: 30px;
}

.promo-code {
    font-family: 'TTFirs', Arial, sans-serif;
    font-size: 35px;
    font-weight: 600;
    line-height: 100%;
    color: #697CC8;
    margin-left: 10px;
    margin-right: auto;
}

.copy-btn{
    width:24px;
    height:24px;
    border:none;
    background:transparent;
    padding:0;
    margin-left:12px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    
}

.copy-btn img {
    width: 27.61px;
    height: 27.89px;
    display: block;
    object-fit: contain;
    filter: none;
    margin-top: -14px;
    margin-left: -20px;
    
}

#preloader{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#0C112B;
    overflow:hidden;
    transition:opacity .6s ease, visibility .6s ease;
}

#preloader.hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

.preloader-inner{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.preloader-logo{
    position:relative;
    width:220px;
    max-width:70vw;
    animation:preloaderPulse 2s ease-in-out infinite;
    filter:drop-shadow(0 0 18px rgba(255,255,255,0.08));
}



.preloader-bar-wrap{
    width:260px;
    max-width:76vw;
    height:10px;
    margin-top:28px;
    border-radius:999px;
    background:rgba(255,255,255,0.10);
    overflow:hidden;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,0.04);
}

.preloader-bar{
    width:0%;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg, #F4B400 0%, #FFD54A 100%);
    box-shadow:0 0 14px rgba(244,180,0,0.45);
    transition:width .15s linear;
}

.preloader-percent{
    margin-top:12px;
    color:#FFD54A;
    font-size:18px;
    font-weight:600;
    letter-spacing:.4px;
}

@keyframes preloaderPulse{
    0%{
        transform:scale(1);
        opacity:1;
    }
    50%{
        transform:scale(1.04);
        opacity:.96;
    }
    100%{
        transform:scale(1);
        opacity:1;
    }
}

@keyframes preloaderShine{
    0%{
        left:-45%;
        opacity:0;
    }
    20%{
        opacity:1;
    }
    55%{
        left:55%;
        opacity:1;
    }
    100%{
        left:110%;
        opacity:0;
    }
}

@media (max-width: 1400px){
    .content{
        top:60px;
        max-width:620px;
    }

    .char{
        height:360px;
    }

    .center{
        height:430px;
    }

    .left{
        transform:translateX(-80px);
    }

    .right{
        transform:translateX(80px);
    }
}

@media (max-width: 1024px){
    .content{
        top:40px;
        max-width:960px;
    }

          h1 {
        max-width: 950px;
        font-size: clamp(45px, 5vw, 38px);
        margin-top: 30px;
    }

         p {
        max-width: 960px;
        font-size: 18px;
        line-height: 1.35;
    }

        .logo {
        width: 320px;
        margin: 14px auto 8px;
        margin-top: 50px;
    }

    .char{
        height:290px;
    }

    .center{
        height:350px;
    }

    .left{
        transform:translateX(-50px);
    }

    .right{
        transform:translateX(50px);
    }

    .bonus-card {
        
        transform-origin: center top;
        margin-top: 394px;
    }
}

@media (max-width: 768px){
    .hero{
        background-position:center;
        background-size:cover;
    }

    .content{
        top:28px;
        left:50%;
        transform:translateX(-50%);
        width:92%;
        max-width:none;
    }

        h1 {
        max-width: 650px;
        font-size: clamp(49px, 5vw, 38px);
        margin-top: 30px;
    }

            p {
        max-width: 560px;
        font-size: 21px;
        line-height: 1.35;
    }

    .logo {
        width: 220px;
        margin: 14px auto 8px;
    }

        .bonus-card {
        transform: scale(0.82);
        transform-origin: center top;
        margin-top: 294px;
    }

    .characters{
        gap:0;
    }

    .char{
        height:220px;
    }

    .center{
        height:280px;
    }

    .left{
        transform:translateX(10px);
    }

    .right{
        transform:translateX(-10px);
    }

    .preloader-inner{
        padding:0 24px;
    }

    .preloader-logo{
        width:180px;
        max-width:72vw;
    }

    .preloader-bar-wrap{
        width:220px;
        max-width:78vw;
        height:8px;
        margin-top:22px;
    }

    .preloader-percent{
        margin-top:10px;
        font-size:16px;
    }
}

@media (max-width: 480px){
    .content{
        top:22px;
        width:94%;
    }

            h1 {
        max-width: 400px;
        font-size: clamp(21px, 5vw, 38px);
        margin-top: 30px;
    }

            p {
        max-width: 360px;
        font-size: 12px;
        line-height: 1.35;
    }

            .logo {
        width: 140px;
        margin-top: 10px;
    }
    .bonus-card{
    transform: scale(0.66);
    transform-origin: center top;
    margin-top: 294px;
}
    

    .char{
        height:170px;
    }

    .center{
        height:220px;
    }

    .left{
        transform:translateX(40px);
    }

    .right{
        transform:translateX(-40px);
    }

    .preloader-logo{
        width:160px;
        max-width:74vw;
    }

    .preloader-bar-wrap{
        width:200px;
        max-width:80vw;
        height:8px;
        margin-top:18px;
    }

    .preloader-percent{
        font-size:15px;
        margin-top:8px;
    }
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

* {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    display: block;
}