*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:85px;
}

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:#f6f8fb;
    color:#263b52;
    line-height:1.7;
}

/* =========================
   HEADER
========================= */

.header{
    position:sticky;
    top:0;
    z-index:999;
    background:#ffffff;
    border-bottom:1px solid #e3e7ec;
    box-shadow:0 2px 12px rgba(6,43,85,.06);
}

.header-inner{
    max-width:1250px;
    margin:auto;
    height:75px;
    padding:0 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    font-size:25px;
    font-weight:800;
    color:#062B55;
}

.logo img{
    width:48px;
    height:48px;
    object-fit:contain;
    border-radius:10px;
}

nav{
    display:flex;
    gap:28px;
}

nav a{
    text-decoration:none;
    color:#304962;
    font-weight:600;
    transition:.25s;
}

nav a:hover{
    color:#D99A00;
}

.menu-btn{
    display:none;
    background:none;
    border:0;
    color:#062B55;
    font-size:27px;
    cursor:pointer;
}


/* =========================
   HERO
========================= */

.hero{
    position:relative;
    padding:70px 20px 80px;
    text-align:center;
    color:white;
    background:
        radial-gradient(
            circle at 50% 25%,
            #123f6d 0%,
            #062B55 38%,
            #03182e 72%,
            #020d1b 100%
        );
    border-bottom:5px solid #D99A00;
    overflow:hidden;
}

.hero:before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border:1px solid rgba(217,154,0,.15);
    border-radius:50%;
    top:-220px;
    left:50%;
    transform:translateX(-50%);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:950px;
    margin:auto;
}

.hero-logo{
    width:125px;
    height:125px;
    object-fit:contain;
    border-radius:25px;
    margin-bottom:20px;
    background:#ffffff;
    padding:8px;
    box-shadow:
        0 12px 35px rgba(0,0,0,.25),
        0 0 0 3px rgba(217,154,0,.35);
}

.hero h1{
    font-size:48px;
    line-height:1.2;
    margin:10px 0 20px;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 45%,
            #F2B72B 75%,
            #D99A00 100%
        );

    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero p{
    font-size:18px;
    max-width:800px;
    margin:0 auto 32px;
    color:#dce8f4;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    padding:15px 27px;
    border-radius:10px;
    text-decoration:none;
    font-weight:700;
    transition:.25s;
}

.primary-btn{
    background:linear-gradient(
        135deg,
        #D99A00,
        #F0B82D
    );
    color:#ffffff;
    box-shadow:0 8px 20px rgba(217,154,0,.28);
}

.primary-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(217,154,0,.38);
}

.secondary-btn{
    border:1px solid rgba(255,255,255,.35);
    color:white;
    background:#0a3158;
}

.secondary-btn:hover{
    background:#D99A00;
    border-color:#D99A00;
}


/* =========================
   CONTAINER
========================= */

.container{
    max-width:1250px;
    margin:auto;
    padding:38px 18px;
}


/* =========================
   CARDS
========================= */

.card{
    position:relative;
    background:#ffffff;
    border:1px solid #dfe6ed;
    border-radius:18px;
    padding:32px;
    margin-bottom:28px;

    box-shadow:
        0 4px 15px rgba(6,43,85,.055);

    transition:.25s;
}

.card:hover{
    box-shadow:
        0 8px 25px rgba(6,43,85,.08);
}

.card h2{
    font-size:30px;
    color:#062B55;
    margin:0 0 22px;
    padding-bottom:13px;
    border-bottom:2px solid #edf1f5;
    position:relative;
}

.card h2:after{
    content:"";
    display:block;
    width:55px;
    height:3px;
    background:#D99A00;
    position:relative;
    top:15px;
    border-radius:5px;
}

.card p,
.card li{
    font-size:17px;
    color:#405a73;
}


/* =========================
   TABLE OF CONTENTS
========================= */

.toc{
    display:grid;
}

.toc a{
    text-decoration:none;
    color:#315776;
    font-size:16px;
    padding:6px 0;
    transition:.2s;
}

.toc a:hover{
    color:#D99A00;
    padding-left:5px;
}


/* =========================
   INVITE CODE
========================= */

.invite-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    padding:22px 25px;

    border:1px dashed #D99A00;
    border-radius:14px;

    background:
        linear-gradient(
            135deg,
            #fffaf0,
            #fffdf8
        );
}

.invite-box span{
    display:block;
    font-size:12px;
    color:#738092;
    font-weight:bold;
}

.invite-box strong{
    display:block;
    font-size:28px;
    letter-spacing:3px;
    color:#062B55;
}

.invite-box button{
    border:0;
    background:linear-gradient(
        135deg,
        #D99A00,
        #F0B82D
    );
    color:#ffffff;
    padding:12px 22px;
    border-radius:9px;
    font-weight:bold;
    cursor:pointer;
    box-shadow:0 5px 15px rgba(217,154,0,.2);
    transition:.25s;
}

.invite-box button:hover{
    transform:translateY(-2px);
}

.small-note{
    font-size:14px!important;
    color:#70859a!important;
}


/* =========================
   DOWNLOAD BUTTON
========================= */

.download-btn{
    display:block;
    max-width:420px;
    margin:25px auto;

    padding:17px;

    text-align:center;
    text-decoration:none;

    color:white;
    font-weight:bold;
    font-size:18px;

    border-radius:12px;

    background:
        linear-gradient(
            100deg,
            #062B55,
            #0b4778
        );

    border:2px solid #D99A00;

    box-shadow:
        0 8px 22px rgba(6,43,85,.22);

    transition:.25s;
}

.download-btn:hover{
    background:
        linear-gradient(
            100deg,
            #D99A00,
            #F0B82D
        );

    border-color:#D99A00;
    transform:translateY(-2px);
}


/* =========================
   TELEGRAM BUTTON
========================= */

.telegram-btn{
    display:block;
    max-width:420px;
    margin:14px auto 0;

    padding:15px;

    text-align:center;
    text-decoration:none;

    color:#ffffff;
    font-weight:bold;
    font-size:17px;

    border-radius:12px;

    background:#062B55;

    border:1px solid #173f65;

    transition:.25s;
}

.telegram-btn:hover{
    background:#D99A00;
    color:#ffffff;
    transform:translateY(-2px);
}


/* =========================
   APP INFO
========================= */

.app-info{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-top:25px;
}

.app-info div{
    padding:18px;

    background:#f8fafc;
    border:1px solid #e0e7ee;

    border-radius:12px;
    text-align:center;

    transition:.2s;
}

.app-info div:hover{
    border-color:#D99A00;
    transform:translateY(-2px);
}

.app-info span{
    display:block;
    font-size:11px;
    color:#73879b;
}

.app-info strong{
    font-size:16px;
    color:#062B55;
}


/* =========================
   FEATURES
========================= */

.features{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.feature{
    padding:25px;
    border:1px solid #dce5ee;
    border-radius:15px;
    background:#ffffff;
    transition:.25s;
}

.feature:hover{
    border-color:#D99A00;
    box-shadow:0 7px 20px rgba(6,43,85,.07);
    transform:translateY(-3px);
}

.feature-icon{
    font-size:30px;
}

.feature h3{
    color:#062B55;
    margin:8px 0;
}

.feature h3:after{
    content:"";
    display:block;
    width:35px;
    height:2px;
    background:#D99A00;
    margin-top:5px;
}


/* =========================
   TABLE
========================= */

table{
    width:100%;
    border-collapse:collapse;
}

th,
td{
    border:1px solid #dce5ee;
    padding:15px;
    text-align:left;
}

th{
    background:#062B55;
    color:#ffffff;
}

tr:nth-child(even) td{
    background:#fafbfd;
}


/* =========================
   SCREENSHOTS
========================= */

.screenshots{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.screenshots div{
    border:1px solid #dce5ee;
    border-radius:14px;
    overflow:hidden;
    text-align:center;
    background:#ffffff;
    transition:.25s;
}

.screenshots div:hover{
    border-color:#D99A00;
    transform:translateY(-3px);
}

.screenshots img{
    width:100%;
    height:400px;
    object-fit:contain;
    background:#07101a;
    display:block;
}

.screenshots p{
    font-weight:bold;
    font-size:15px;
    color:#062B55;
}


/* =========================
   NOTICE / WARNING
========================= */

.notice,
.warning{
    padding:20px;
    border-radius:12px;
    background:#f2f7fc;
    border-left:5px solid #062B55;
}

.notice strong{
    color:#062B55;
}

.warning{
    background:#fff8ed;
    border-left-color:#D99A00;
}

.warning strong{
    color:#9a6800;
}


/* =========================
   FAQ
========================= */

details{
    border:1px solid #dce5ee;
    border-radius:12px;
    margin:12px 0;
    padding:0 18px;
    background:#ffffff;
    transition:.2s;
}

details:hover{
    border-color:#D99A00;
}

summary{
    cursor:pointer;
    font-weight:bold;
    padding:17px 0;
    color:#062B55;
}

details p{
    padding-bottom:12px;
}


/* =========================
   FOOTER
========================= */

footer{
    background:
        linear-gradient(
            135deg,
            #020d1b,
            #062B55
        );

    color:#a9bfd3;
    padding:50px 20px 25px;

    border-top:4px solid #D99A00;
}

.footer-inner{
    max-width:1000px;
    margin:auto;

    display:grid;
    grid-template-columns:1.3fr 1fr 1fr;
    gap:50px;
}

footer h3{
    color:#ffffff;
}

footer h3:after{
    content:"";
    display:block;
    width:35px;
    height:2px;
    background:#D99A00;
    margin-top:7px;
}

footer a{
    display:block;
    color:#a9bfd3;
    text-decoration:none;
    margin:6px 0;
    transition:.2s;
}

footer a:hover{
    color:#F0B82D;
    padding-left:4px;
}

.copyright{
    max-width:1000px;
    margin:35px auto 0;
    padding-top:22px;
    border-top:1px solid #294766;
    text-align:center;
    color:#8fa8bd;
}


/* =========================
   MOBILE
========================= */

@media(max-width:760px){

    .header-inner{
        height:65px;
    }

    .logo{
        font-size:21px;
    }

    .logo img{
        width:40px;
        height:40px;
    }

    .menu-btn{
        display:block;
    }

    nav{
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:65px;

        background:white;
        padding:12px 20px;

        flex-direction:column;
        gap:0;

        border-bottom:1px solid #ddd;

        box-shadow:0 8px 15px rgba(0,0,0,.06);
    }

    nav.active{
        display:flex;
    }

    nav a{
        padding:11px 0;
        border-bottom:1px solid #f0f2f4;
    }

    nav a:last-child{
        border-bottom:0;
    }

    .hero{
        padding:48px 17px 58px;
    }

    .hero-logo{
        width:95px;
        height:95px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:16px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:stretch;
        max-width:400px;
        margin:auto;
    }

    .primary-btn,
    .secondary-btn{
        text-align:center;
    }

    .container{
        padding:25px 13px;
    }

    .card{
        padding:23px 17px;
        border-radius:15px;
    }

    .card h2{
        font-size:25px;
    }

    .card p,
    .card li{
        font-size:16px;
    }

    .invite-box{
        align-items:flex-start;
        flex-direction:column;
    }

    .invite-box strong{
        font-size:25px;
    }

    .invite-box button{
        width:100%;
    }

    .app-info,
    .features,
    .screenshots,
    .footer-inner{
        grid-template-columns:1fr;
    }

    .screenshots img{
        height:450px;
    }

    table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

    .download-btn,
    .telegram-btn{
        width:100%;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media(max-width:420px){

    .hero h1{
        font-size:29px;
    }

    .hero-logo{
        width:85px;
        height:85px;
    }

    .card{
        padding:20px 15px;
    }

    .invite-box{
        padding:18px;
    }

    .invite-box strong{
        font-size:23px;
        letter-spacing:2px;
    }

}