/* =====================================================
   MIMA ASIK
   STYLE VERSION 3
===================================================== */


/* =====================================================
   RESET
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f6f8ff;

    color:#333;

    overflow-x:hidden;

    line-height:1.7;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    transition:.3s;

}

ul{

    list-style:none;

}


/* =====================================================
   ROOT
===================================================== */

:root{

    --primary:#5B4CF5;

    --primary2:#6F63FF;

    --secondary:#39B54A;

    --orange:#FFB703;

    --yellow:#FFD54F;

    --danger:#FF5D5D;

    --info:#2AA9FF;

    --dark:#273043;

    --text:#666;

    --white:#ffffff;

    --bg:#F6F8FF;

    --shadow:0 18px 45px rgba(0,0,0,.08);

    --radius:28px;

}


/* =====================================================
   CONTAINER
===================================================== */

.container{

    width:100%;

    max-width:1250px;

    margin:auto;

    padding:0 20px;

}


/* =====================================================
   SECTION
===================================================== */

section{

    padding:100px 0;

    position:relative;

}

.judul-section{

    text-align:center;

    margin-bottom:70px;

}

.judul-section .subjudul{

    display:inline-block;

    background:#eef2ff;

    color:var(--primary);

    padding:10px 22px;

    border-radius:50px;

    font-weight:700;

    margin-bottom:18px;

}

.judul-section h2{

    font-size:46px;

    color:var(--dark);

    font-weight:800;

    margin-bottom:18px;

}

.judul-section p{

    max-width:720px;

    margin:auto;

    color:var(--text);

    font-size:17px;

}


/* =====================================================
   HEADER
===================================================== */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    background:rgba(255,255,255,.90);

    backdrop-filter:blur(15px);

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.header-flex{

    height:85px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

    color:#333;

}

.logo img{

    width:58px;

}

.logo-text h2{

    font-size:26px;

    color:var(--primary);

    font-weight:800;

    line-height:1;

}

.logo-text h2 span{

    color:var(--secondary);

}

.logo-text small{

    color:#666;

    font-size:12px;

}

.menu{

    display:flex;

    gap:35px;

}

.menu a{

    color:#444;

    font-weight:600;

    position:relative;

}

.menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    border-radius:20px;

    background:var(--primary);

    transition:.3s;

}

.menu a:hover::after{

    width:100%;

}

.btn-admin{

    display:flex;

    align-items:center;

    gap:10px;

    padding:13px 28px;

    background:var(--primary);

    color:#fff;

    border-radius:50px;

    font-weight:600;

    box-shadow:var(--shadow);

}

.btn-admin:hover{

    background:var(--secondary);

    transform:translateY(-3px);

}
/* =====================================================
   HERO
===================================================== */

.hero{

    position:relative;

    overflow:hidden;

    padding:150px 0 90px;

    background:linear-gradient(135deg,#5B4CF5 0%,#6D63FF 45%,#8194FF 100%);

}

.hero::before{

    content:"";

    position:absolute;

    width:700px;

    height:700px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    left:-260px;

    top:-260px;

}

.hero::after{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    right:-150px;

    bottom:-180px;

}


/* =====================================================
   HERO DECORATION
===================================================== */

.hero-decoration{

    position:absolute;

    inset:0;

    overflow:hidden;

    pointer-events:none;

}

.blob{

    position:absolute;

    border-radius:50%;

    filter:blur(80px);

    opacity:.18;

}

.blob1{

    width:250px;

    height:250px;

    background:#FFD54F;

    top:60px;

    right:220px;

}

.blob2{

    width:200px;

    height:200px;

    background:#59D97A;

    bottom:70px;

    left:120px;

}

.blob3{

    width:240px;

    height:240px;

    background:#55C6FF;

    bottom:100px;

    right:30px;

}

/* =====================================
   CLOUD
===================================== */

.cloud{

    position:absolute;

    opacity:.9;

    animation:cloudMove linear infinite,
              cloudFloat 5s ease-in-out infinite;

}
.cloud1{

    width:170px;

    top:70px;

    left:-220px;

    animation-duration:30s;

}

.cloud2{

    width:120px;

    top:170px;

    left:-150px;

    animation-duration:42s;

    animation-delay:-10s;

}

.cloud3{

    width:150px;

    top:300px;

    left:-260px;

    animation-duration:35s;

    animation-delay:-20s;

}

@keyframes cloudMove{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(calc(100vw + 500px));

    }

}
@keyframes cloudFloat{

    0%{

        margin-top:0;

    }

    50%{

        margin-top:-12px;

    }

    100%{

        margin-top:0;

    }

}
.hero-light{

    position:absolute;

    width:450px;

    height:450px;

    right:-120px;

    top:20px;

    border-radius:50%;

    background:radial-gradient(rgba(255,255,255,.18),transparent 70%);

}


/* =====================================================
   HERO LAYOUT
===================================================== */

.hero-flex{

    display:grid;

    grid-template-columns:58% 42%;

    gap:30px;

    align-items:center;

    min-height:700px;

}
.hero-kanan{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:flex-end;

    min-height:700px;

}
.hero-kiri{

    position:relative;

    z-index:10;

}
/* =====================================================
   HERO TEXT
===================================================== */

.hero-badge{

    display:inline-block;

    background:rgba(255,255,255,.18);

    border:1px solid rgba(255,255,255,.25);

    backdrop-filter:blur(15px);

    color:#fff;

    padding:12px 22px;

    border-radius:50px;

    font-weight:700;

    margin-bottom:25px;

}

.hero h1{

    color:#fff;

    font-size:60px;

    line-height:1.15;

    font-weight:800;

    margin-bottom:25px;

}

.hero h1 span{

    display:block;

    color:var(--yellow);

}

.hero p{

    color:#eef2ff;

    font-size:18px;

    max-width:600px;

    margin-bottom:40px;

}
/* =====================================================
   HERO BUTTON
===================================================== */

.hero-button{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

    margin-bottom:45px;

}

.btn-siswa,
.btn-tamu{

    display:flex;

    align-items:center;

    gap:18px;

    min-width:290px;

    padding:18px 24px;

    border-radius:22px;

    background:#fff;

    color:#333;

    box-shadow:0 20px 45px rgba(0,0,0,.15);

    transition:.35s;

}

.btn-siswa:hover,
.btn-tamu:hover{

    transform:translateY(-8px);

}

.btn-siswa i,
.btn-tamu i{

    width:58px;

    height:58px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:26px;

    color:#fff;

    flex-shrink:0;

}

.btn-siswa i{

    background:var(--primary);

}

.btn-tamu i{

    background:var(--secondary);

}

.btn-siswa div,
.btn-tamu div{

    flex:1;

}

.btn-siswa b,
.btn-tamu b{

    display:block;

    font-size:17px;

    margin-bottom:4px;

}

.btn-siswa small,
.btn-tamu small{

    display:block;

    color:#777;

    font-size:13px;

}

.btn-siswa span,
.btn-tamu span{

    font-size:22px;

    color:var(--primary);

    font-weight:700;

}


/* =====================================================
   HERO STATISTIC
===================================================== */

.hero-stat{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:18px;

}

.stat-card{

    background:rgba(255,255,255,.16);

    border:1px solid rgba(255,255,255,.20);

    backdrop-filter:blur(16px);

    border-radius:24px;

    padding:28px 18px;

    text-align:center;

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-8px);

    background:rgba(255,255,255,.24);

}

.stat-card .icon{

    font-size:34px;

    margin-bottom:12px;

}

.stat-card h2{

    color:#fff;

    font-size:28px;

    font-weight:800;

    margin-bottom:8px;

}

.stat-card p{

    margin:0;

    color:#eef2ff;

    font-size:14px;

    line-height:1.5;

}


/* =====================================================
   HERO IMAGE (pohon siswa rumput)
===================================================== */

.tree-bg{

    position:absolute;

    width:520px;

    bottom:70px;

    left:50%;

    transform:translateX(-50%);

    z-index:1;

}
.hero-img{

    position:absolute;

    width:420px;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

    z-index:5;

}
.grass{

    position:absolute;

    width:520px;

    bottom:-10px;

    left:50%;

    transform:translateX(-50%);

    z-index:4;

}
/* =====================================================
   FLOATING GAME
===================================================== */

.floating{

    position:absolute;

    width:82px;

    background:#fff;

    border-radius:22px;

    padding:12px;

    box-shadow:0 18px 40px rgba(0,0,0,.18);

    z-index:6;

    animation:iconFloat 3s ease-in-out infinite;

}

.story{

    top:80px;

    left:10px;

}
.dengar{

    top:100px;

    right:10px;

}
.cari{

    bottom:210px;

    left:0;

}
.match{

    bottom:220px;

    right:0;

}

/* =====================================================
   HERO ANIMATION
===================================================== */

@keyframes heroFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-14px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes iconFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}
/* =====================================================
   FITUR
===================================================== */

.fitur{

    background:#ffffff;

}

.fitur-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.fitur-card{

    background:#fff;

    border-radius:30px;

    padding:40px 28px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

    position:relative;

    overflow:hidden;

}

.fitur-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:6px;

    background:linear-gradient(90deg,var(--primary),var(--secondary));

}

.fitur-card:hover{

    transform:translateY(-12px);

}

.fitur-card .icon{

    width:95px;

    height:95px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:42px;

    color:#fff;

    background:linear-gradient(135deg,var(--primary),var(--primary2));

}

.fitur-card:nth-child(2) .icon{

    background:linear-gradient(135deg,#2AA9FF,#60C8FF);

}

.fitur-card:nth-child(3) .icon{

    background:linear-gradient(135deg,#FFB703,#FFD54F);

}

.fitur-card:nth-child(4) .icon{

    background:linear-gradient(135deg,#39B54A,#69D47A);

}

.fitur-card h3{

    font-size:23px;

    color:var(--dark);

    margin-bottom:18px;

    font-weight:700;

}

.fitur-card p{

    color:var(--text);

    font-size:15px;

    line-height:1.8;

}


/* =====================================================
   GAME
===================================================== */

.game-section{

    background:#f7f9ff;

}

.game-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.game-box{

    background:#fff;

    border-radius:30px;

    padding:35px 25px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.game-box:hover{

    transform:translateY(-12px);

}

.game-img{

    width:120px;

    height:120px;

    margin:auto;

    margin-bottom:25px;

    border-radius:28px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#eef2ff;

    font-size:58px;

}
.game-img img{

    width:70px;

    height:70px;

    object-fit:contain;

}

.game-box h3{

    font-size:24px;

    margin-bottom:15px;

    color:var(--dark);

}

.game-box p{

    color:var(--text);

    margin-bottom:30px;

    min-height:85px;

}

.btn-game{

    display:inline-block;

    padding:14px 34px;

    background:var(--primary);

    color:#fff;

    border-radius:50px;

    font-weight:700;

}

.btn-game:hover{

    background:var(--secondary);

}
/* =====================================================
   KOIN
===================================================== */

.koin{

    background:#ffffff;

}

.koin-flex{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.badge-koin{

    display:inline-block;

    background:#FFF6DA;

    color:#B88600;

    padding:12px 24px;

    border-radius:50px;

    font-weight:700;

    margin-bottom:25px;

}

.koin-kiri h2{

    font-size:48px;

    color:var(--dark);

    line-height:1.2;

    margin-bottom:25px;

    font-weight:800;

}

.koin-kiri h2 span{

    color:var(--primary);

}

.koin-kiri p{

    color:var(--text);

    font-size:17px;

    margin-bottom:35px;

}

.koin-list{

    display:grid;

    gap:18px;

}

.koin-item{

    background:#fff;

    padding:18px 24px;

    border-radius:18px;

    box-shadow:var(--shadow);

    font-weight:600;

    color:#444;

    transition:.35s;

}

.koin-item:hover{

    transform:translateX(10px);

}


/* =====================================================
   ALUR KOIN
===================================================== */

.alur{

    background:linear-gradient(135deg,var(--primary),var(--primary2));

    border-radius:35px;

    padding:45px;

    box-shadow:var(--shadow);

}

.step{

    background:#fff;

    border-radius:24px;

    padding:28px;

    text-align:center;

    transition:.35s;

}

.step:hover{

    transform:scale(1.05);

}

.step{

    font-size:50px;

}

.step h3{

    margin-top:15px;

    font-size:22px;

    color:var(--dark);

}

.panah{

    text-align:center;

    color:#fff;

    font-size:34px;

    margin:18px 0;

    font-weight:700;

}


/* =====================================================
   TENTANG
===================================================== */

.tentang{

    background:#F7F9FF;

}

.tentang .row{

    display:flex;

    align-items:center;

    gap:60px;

    flex-wrap:wrap;

}

.tentang .col-lg-6{

    flex:1;

    min-width:320px;

}

.tentang img{

    width:100%;

    max-width:380px;

    margin:auto;

}

.tentang h2{

    font-size:46px;

    color:var(--dark);

    margin-bottom:25px;

    font-weight:800;

}

.tentang p{

    color:var(--text);

    margin-bottom:20px;

    font-size:17px;

    line-height:1.8;

}


/* =====================================================
   ABOUT BOX
===================================================== */

.about-box{

    background:#fff;

    border-radius:24px;

    padding:28px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.about-box:hover{

    transform:translateY(-8px);

}

.about-box h3{

    font-size:34px;

    color:var(--primary);

    margin-bottom:10px;

}

.about-box p{

    margin:0;

    font-size:15px;

    color:var(--text);

}
/* =====================================================
   FOOTER
===================================================== */

.footer{

    background:linear-gradient(135deg,#273043,#36475F);

    color:#fff;

    padding:80px 0 25px;

}

.footer .row{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1.2fr;

    gap:40px;

}

.footer-logo{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:25px;

}

.footer-logo img{

    width:70px;

}

.footer-logo h3{

    font-size:30px;

    font-weight:800;

    color:#fff;

}

.footer-logo span{

    color:var(--yellow);

}

.footer-desc{

    color:rgba(255,255,255,.75);

    line-height:1.9;

    font-size:15px;

}

.footer h4{

    font-size:20px;

    margin-bottom:25px;

    font-weight:700;

}

.footer ul{

    padding:0;

    margin:0;

}

.footer ul li{

    margin-bottom:14px;

}

.footer ul li a{

    color:rgba(255,255,255,.75);

    transition:.3s;

}

.footer ul li a:hover{

    color:#fff;

    padding-left:8px;

}

.footer p{

    color:rgba(255,255,255,.75);

    margin-bottom:12px;

    line-height:1.8;

}

.footer hr{

    border:none;

    height:1px;

    background:rgba(255,255,255,.15);

    margin:45px 0 25px;

}

.footer-bottom{

    text-align:center;

}

.footer-bottom p{

    margin:0;

    color:rgba(255,255,255,.70);

    font-size:14px;

}


/* =====================================================
   BACK TO TOP
===================================================== */

.back-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:52px;

    height:52px;

    background:var(--primary);

    color:#fff;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    box-shadow:var(--shadow);

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.35s;

    z-index:999;

}

.back-top.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.back-top:hover{

    background:var(--secondary);

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:1100px){

    .koin-flex{

        grid-template-columns:1fr;

    }

    .fitur-grid,
    .game-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .footer .row{

        grid-template-columns:repeat(2,1fr);

    }

    .hero-stat{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .header-flex{

        flex-direction:column;

        height:auto;

        padding:15px 0;

        gap:18px;

    }

    .menu{

        flex-wrap:wrap;

        justify-content:center;

        gap:18px;

    }

    .hero{

        padding-top:180px;

    }

    .hero h1{

        font-size:40px;

    }

    .judul-section h2{

        font-size:34px;

    }

    .koin-kiri h2{

        font-size:36px;

    }

    .tentang h2{

        font-size:36px;

    }

    .hero-stat{

        grid-template-columns:1fr;

    }

    .fitur-grid,
    .game-grid{

        grid-template-columns:1fr;

    }

    .footer .row{

        grid-template-columns:1fr;

    }

    .btn-siswa,
    .btn-tamu{

        min-width:100%;

    }

    .hero-img{

        width:360px;

    }

    .tree-bg{

        width:360px;

    }

    .grass{

        width:420px;

    }

}

@media(max-width:480px){

    .container{

        padding:0 16px;

    }

    section{

        padding:70px 0;

    }

    .hero{

        padding-top:170px;

    }

    .hero h1{

        font-size:32px;

    }

    .hero p{

        font-size:15px;

    }

    .hero-button{

        flex-direction:column;

    }

    .hero-img{

        width:290px;

    }

    .tree-bg{

        width:300px;

    }

    .grass{

        width:340px;

    }

    .floating{

        width:60px;

        padding:8px;

    }

}
/* =====================================================
   LOGIN SISWA
===================================================== */

.login-bg{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

    overflow:hidden;

    background:linear-gradient(135deg,#5B4CF5 0%,#6D63FF 45%,#8194FF 100%);

    padding:60px 20px;

}

.login-decoration{

    position:absolute;

    inset:0;

    overflow:hidden;

    pointer-events:none;

}

.login-card{

    width:100%;

    max-width:520px;

    background:#fff;

    border-radius:30px;

    padding:45px;

    box-shadow:0 30px 60px rgba(0,0,0,.18);

    position:relative;

    z-index:10;

}

.login-logo{

    text-align:center;

    margin-bottom:30px;

}

.login-logo img{

    width:90px;

    margin-bottom:15px;

}

.login-logo h2{

    font-size:34px;

    color:var(--primary);

    font-weight:800;

}

.login-logo span{

    color:#ffb703;

}

.login-logo p{

    color:#666;

    margin-top:6px;

}

.login-title{

    text-align:center;

    margin-bottom:30px;

}

.login-title h3{

    font-size:28px;

    color:var(--dark);

    margin-bottom:10px;

}

.login-title p{

    color:#666;

    line-height:1.7;

}

.scanner-box{

    width:100%;

    height:260px;

    border:3px dashed #cfcfff;

    border-radius:25px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    background:#f8f9ff;

    margin-bottom:30px;

}
#reader{

    width:100%;

}

#reader video{

    width:100%;

    border-radius:20px;

}

.scanner-placeholder{

    text-align:center;

}

.scanner-placeholder i{

    font-size:70px;

    color:var(--primary);

    margin-bottom:18px;

}

.scanner-placeholder p{

    color:#777;

    font-weight:600;

}

.login-divider{

    text-align:center;

    margin:30px 0;

    position:relative;

}

.login-divider::before{

    content:"";

    position:absolute;

    left:0;

    right:0;

    top:50%;

    height:1px;

    background:#ddd;

}

.login-divider span{

    position:relative;

    background:#fff;

    padding:0 18px;

    font-weight:700;

    color:#888;

}

.form-group{

    margin-bottom:22px;

}

.form-group label{

    display:block;

    font-weight:700;

    margin-bottom:10px;

    color:#444;

}

.form-group input{

    width:100%;

    height:56px;

    border:2px solid #e4e7ff;

    border-radius:15px;

    padding:0 18px;

    font-size:16px;

    transition:.3s;

}

.form-group input:focus{

    outline:none;

    border-color:var(--primary);

}

.btn-login{

    width:100%;

    height:58px;

    border:none;

    border-radius:16px;

    background:var(--primary);

    color:#fff;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.btn-login:hover{

    background:#4635ef;

    transform:translateY(-3px);

}

.btn-kembali{

    display:block;

    text-align:center;

    margin-top:25px;

    color:var(--primary);

    font-weight:700;

}

.btn-kembali:hover{

    color:#3220d6;

}
/* ===========================
DASHBOARD SISWA
=========================== */

.dashboard{

    padding:140px 0 70px;
    background:#f5f7fb;
    min-height:100vh;

}

.dashboard-card{

    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.dashboard-card h2{

    color:#222;

}

.dashboard-card p{

    color:#666;

}
.dashboard-stat{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:30px;

}

.dashboard-stat .item{

    background:#fff;
    border-radius:18px;
    padding:25px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.dashboard-stat .item h3{

    color:#333;
    font-size:28px;
    margin:10px 0;

}

.dashboard-stat .item p{

    color:#777;
    margin:0;

}