
/* ==============================
   GLOBAL
============================== */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:75px;
}

body{
    margin:0;
    font-family:"Poppins",Arial,Helvetica,sans-serif;
    background:#f5f7fa;
    color:#24364b;
    line-height:1.75;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

button{
    font-family:inherit;
}


/* ==============================
   MAIN WEBSITE
============================== */

.site-wrapper{
    width:100%;
    max-width:520px;
    min-height:100vh;
    margin:0 auto;
    background:#ffffff;
    box-shadow:0 0 35px rgba(15,23,42,.06);
}


/* ==============================
   HEADER
============================== */

.header{
    position:sticky;
    top:0;
    z-index:9999;
    height:74px;
    background:#ffffff;
    border-bottom:1px solid #e5e9ee;
}

.header-inner{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 22px;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
}


/* ==============================
   AJAYPAY LOGO
============================== */

.brand-logo{
    width:48px;
    height:48px;
    border-radius:10px;
    background:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.brand-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.brand-name{
    font-size:19px;
    font-weight:700;
    color:#0B2D52;
}


/* ==============================
   MENU BUTTON
============================== */

.menu-button{
    width:42px;
    height:42px;
    border:0;
    background:transparent;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
}

.menu-button span{
    display:block;
    width:26px;
    height:3px;
    border-radius:3px;
    background:#0B2D52;
    transition:.3s;
}

.menu-button.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.menu-button.active span:nth-child(2){
    opacity:0;
}

.menu-button.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}


/* ==============================
   DROPDOWN MENU
============================== */

.menu{
    position:absolute;
    top:74px;
    right:14px;
    width:216px;
    background:#ffffff;
    border:1px solid #e5e9ee;
    border-radius:0 0 14px 14px;
    box-shadow:0 10px 30px rgba(15,23,42,.14);
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    transition:.25s ease;
}

.menu.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.menu a{
    display:block;
    padding:11px 20px;
    font-size:15px;
    color:#183653;
    border-bottom:1px solid #eeeeee;
    background:#ffffff;
    transition:.2s ease;
}

.menu a:hover{
    background:#fff8e6;
    color:#B77B00;
}

.menu a:last-child{
    border-bottom:0;
}


/* ==============================
   HERO
============================== */

.hero{
    position:relative;
    overflow:hidden;
    text-align:center;
    padding:40px 24px 38px;

    background:
        radial-gradient(
            circle at 5% 30%,
            rgba(217,154,0,.10),
            transparent 25%
        ),
        radial-gradient(
            circle at 95% 65%,
            rgba(11,45,82,.08),
            transparent 28%
        ),
        #ffffff;

    border-bottom:1px solid #e6e9ed;
}

.hero:before,
.hero:after{
    content:"";
    position:absolute;
    width:190px;
    height:190px;
    border:1px solid rgba(217,154,0,.16);
    border-radius:50%;
    pointer-events:none;
}

.hero:before{
    left:-120px;
    bottom:-75px;
}

.hero:after{
    right:-120px;
    top:150px;
}


/* ==============================
   HERO LOGO
============================== */

.hero-logo{
    position:relative;
    z-index:2;

    width:135px;
    height:135px;

    margin:0 auto 20px;

    border-radius:50%;

    background:#ffffff;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    box-shadow:
        0 8px 22px rgba(15,23,42,.10),
        0 0 0 1px rgba(217,154,0,.18);
}

.hero-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}


.hero h1{
    position:relative;
    z-index:2;
    margin:0 0 10px;
    color:#0B2D52;
    font-size:29px;
    line-height:1.3;
}

.hero p{
    position:relative;
    z-index:2;
    max-width:430px;
    margin:0 auto 25px;
    color:#50647b;
    font-size:15.5px;
}


/* ==============================
   BUTTONS
============================== */

.hero-buttons{
    position:relative;
    z-index:3;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.btn{
    min-height:51px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    font-size:16px;
    transition:.2s ease;
    border:1px solid #D99A00;
}

.btn:hover{
    transform:translateY(-2px);
}


/* LOGIN */

.btn-primary{
    background:#D99A00;
    color:#ffffff;
    border-color:#D99A00;
    box-shadow:0 5px 12px rgba(217,154,0,.24);
}


/* REGISTER */

.btn-outline{
    background:#ffffff;
    color:#0B2D52;
    border-color:#D99A00;
}

.btn-outline:hover{
    background:#fff8e6;
    color:#B77B00;
}


/* DOWNLOAD */

.btn-download{
    grid-column:1 / -1;
    background:#0B2D52;
    color:#ffffff;
    border-color:#0B2D52;
    box-shadow:0 5px 12px rgba(11,45,82,.18);
}

.btn-download:hover{
    background:#123E6B;
    border-color:#123E6B;
}


/* TELEGRAM */

.btn-telegram{
    grid-column:1 / -1;
    background:#087EBA;
    border-color:#087EBA;
    color:#ffffff;
    box-shadow:0 5px 12px rgba(8,126,186,.18);
}


/* ==============================
   CONTENT
============================== */

.content{
    padding:15px 16px 100px;
    background:#fff;
}

.card{
    margin:0 0 15px;
    padding:22px 20px;
    background:#ffffff;
    border:1px solid #e5e9ee;
    border-radius:22px;
}

.card h2{
    margin:0 0 17px;
    padding-bottom:9px;
    border-bottom:1px solid #ead7a5;
    color:#0B2D52;
    font-size:21px;
    line-height:1.4;
}

.card h3{
    margin:20px 0 7px;
    color:#0B2D52;
    font-size:17px;
    line-height:1.5;
}

.card p{
    margin:0 0 13px;
    color:#52677e;
    font-size:15px;
}

.card ul,
.card ol{
    margin:8px 0 15px;
    padding-left:22px;
    color:#52677e;
}

.card li{
    margin-bottom:7px;
}


/* ==============================
   TABLE OF CONTENTS
============================== */

.toc{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
}

.toc li{
    display:flex;
    align-items:center;
    gap:13px;
    margin:0;
    padding:11px 0;
    border-bottom:1px solid #edf0f2;
}

.toc li:last-child{
    border-bottom:0;
}

.toc-number{
    flex:0 0 27px;
    width:27px;
    height:27px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#fff7dc;
    color:#B77B00;
    font-size:13px;
    font-weight:600;
}

.toc a{
    color:#183653;
    font-size:15px;
}

.toc a:hover{
    color:#B77B00;
}


/* ==============================
   TAGS
============================== */

.tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.tag{
    display:inline-block;
    padding:4px 12px;
    border-radius:30px;
    background:#fff7dc;
    color:#B77B00;
    font-size:13px;
    font-weight:500;
}


/* ==============================
   TABLE
============================== */

.table-wrap{
    width:100%;
    overflow-x:auto;
    border-radius:10px;
}

table{
    width:100%;
    min-width:420px;
    border-collapse:collapse;
    font-size:14px;
}

th{
    background:#0B2D52;
    color:#ffffff;
    text-align:left;
    padding:10px 12px;
    font-weight:600;
}

td{
    padding:10px 12px;
    color:#52677e;
    border-bottom:1px solid #eeeeee;
}

tr:nth-child(even) td{
    background:#f8fafc;
}


/* ==============================
   APP IMAGE
============================== */

.app-image{
    width:100%;
    max-height:320px;
    object-fit:contain;
    margin:18px auto;
    border-radius:12px;
}


/* ==============================
   REFER CODE
============================== */

.refer-box{
    margin:18px 0;
    padding:16px;
    border-radius:15px;
    background:#fffaf0;
    border:1px solid #e6cf96;
    text-align:center;
}

.refer-label{
    display:block;
    margin-bottom:8px;
    color:#5b6876;
    font-size:13px;
}

.refer-code{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:21px;
    font-weight:700;
    letter-spacing:1px;
    color:#D99A00;
}

.copy-btn{
    border:0;
    padding:6px 10px;
    border-radius:8px;
    background:#D99A00;
    color:#ffffff;
    cursor:pointer;
    font-size:12px;
    transition:.2s ease;
}

.copy-btn:hover{
    background:#B77B00;
}


/* ==============================
   INFO BOX
============================== */

.info-box{
    margin:17px 0;
    padding:13px 15px;
    border-left:3px solid #D99A00;
    background:#fffaf0;
    border-radius:0 12px 12px 0;
    color:#5b6876;
    font-size:14px;
}


/* ==============================
   PROS CONS
============================== */

.pros li::marker{
    color:#179b63;
}

.cons li::marker{
    color:#e35b5b;
}


/* ==============================
   FAQ
============================== */

.faq-item{
    padding:13px 0;
    border-bottom:1px solid #eeeeee;
}

.faq-item:last-child{
    border-bottom:0;
}

.faq-question{
    margin:0 0 5px;
    color:#0B2D52;
    font-size:16px;
    font-weight:600;
}

.faq-answer{
    margin:0;
    color:#52677e;
    font-size:14.5px;
}


/* ==============================
   FOOTER
============================== */

.footer{
    position:fixed;
    z-index:999;
    left:0;
    right:0;
    bottom:0;
    height:48px;
    background:rgba(255,255,255,.97);
    border-top:1px solid #e5e9ee;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    color:#91a0b0;
}

.footer strong{
    color:#D99A00;
}


/* ==============================
   MOBILE
============================== */

@media(max-width:520px){

    .site-wrapper{
        box-shadow:none;
    }

    .header-inner{
        padding:0 18px;
    }

    .hero{
        padding:37px 23px 35px;
    }

    .hero-logo{
        width:125px;
        height:125px;
    }

    .hero h1{
        font-size:27px;
    }

    .hero p{
        font-size:15px;
    }

    .content{
        padding-left:14px;
        padding-right:14px;
    }

    .card{
        padding:20px 18px;
        border-radius:20px;
    }

    .card h2{
        font-size:20px;
    }

}


/* ==============================
   DESKTOP
============================== */

@media(min-width:521px){

    body{
        background:#f5f7fa;
    }

    .site-wrapper{
        min-height:100vh;
    }

}


/* =========================================
   PREMIUM RELATED PLATFORMS
========================================= */

.related-platforms {
    padding:35px 20px;
    margin-top:40px;
    background:#f8fafc;
    border-top:1px solid #eaeef2;
}

.related-container {
    max-width:1100px;
    margin:0 auto;
}


/* Heading */

.related-platforms h2 {
    text-align:center;
    margin:0 0 8px;
    font-size:26px;
    font-weight:700;
    color:#0B2D52;
}

.related-description {
    text-align:center;
    margin:0 auto 25px;
    font-size:14px;
    color:#667085;
}


/* GRID */

.platform-grid {
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
    gap:12px !important;
    width:100%;
}


/* CARD */

.platform-card {
    display:flex !important;
    align-items:center !important;

    width:100%;
    min-height:58px;

    padding:9px 12px !important;
    box-sizing:border-box;

    background:#ffffff;
    border:1px solid #e6e9ed;
    border-radius:9px;

    text-decoration:none !important;
    color:#0B2D52 !important;

    gap:10px;

    transition:all 0.2s ease;
}


/* Hover */

.platform-card:hover {
    transform:translateY(-2px);
    border-color:#D99A00;
    box-shadow:0 5px 15px rgba(11,45,82,0.08);
    background:#fffdf7;
}


/* LOGO */

.platform-card img {
    width:34px !important;
    height:34px !important;

    min-width:34px !important;
    min-height:34px !important;

    padding:3px;

    box-sizing:border-box;

    object-fit:contain;

    background:#ffffff;
    border:1px solid #e8d9ad;
    border-radius:7px;

    display:block;
}


/* NAME */

.platform-card span {
    font-size:14px !important;
    font-weight:600;
    line-height:1.2;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}


/* =========================================
   TABLET
========================================= */

@media (max-width:900px) {

    .platform-grid {
        grid-template-columns:repeat(3,1fr) !important;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width:600px) {

    .related-platforms {
        padding:30px 12px;
    }

    .related-platforms h2 {
        font-size:23px;
    }

    .related-description {
        font-size:13px;
        margin-bottom:20px;
    }

    .platform-grid {
        grid-template-columns:repeat(2,1fr) !important;
        gap:10px !important;
    }

    .platform-card {
        min-height:54px;
        padding:8px 9px !important;
        gap:8px;
    }

    .platform-card img {
        width:30px !important;
        height:30px !important;

        min-width:30px !important;
        min-height:30px !important;
    }

    .platform-card span {
        font-size:12px !important;
    }

}


/* =========================================
   VERY SMALL SCREEN
========================================= */

@media (max-width:360px) {

    .platform-grid {
        grid-template-columns:1fr !important;
    }

}
