/* YutaModzApps — shared design system */

/* ===== CSS HALAMAN ALL APP ===== */

    .promo-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}
.promo-box{
    width: 90%;
    max-width: 340px;
}

.promo-box img{
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    cursor: pointer;
}
.promo-close{
    position:absolute;
    top:8px;
    right:8px;
    width:34px;
    height:34px;
    border:none;
    border-radius:50%;
    background:#2F0866;
    color:#fff;
    font-size:18px;
    cursor:pointer;
}
    .side-menu{
    position:fixed;
    top:0;
    right:-320px;
    width:300px;
    height:100%;
    background:#1e293b;
    z-index:3000;
    transition:.3s;
    padding:20px;
    overflow-y:auto;
    box-shadow:-8px 0 20px rgba(0,0,0,.4);
}

.side-menu.active{
    right:0;
}.menu-header{
    position:sticky;
    top:0;
    background:#1e293b;
    z-index:5;
    padding-bottom:10px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.menu-header h3{
    color:#fff;
}

.menu-header button{
    background:none;
    border:none;
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

.side-menu a{
    display:block;
    color:#fff;
    text-decoration:none;
    padding:14px 16px;
    margin-bottom:10px;
    border-radius:12px;
    background:rgba(255,255,255,.05);
    transition:.2s;
}

.side-menu a:hover{
    background:#38bdf8;
    color:#0f172a;
}
        :root {
            --primary: #38bdf8;
            --primary-dark: #0ea5e9;
            --bg-dark: #0f172a;
            --card-bg: #1e293b;
            --text-main: #f1f5f9;
            --text-dim: #94a3b8;
            --accent: #818cf8;
            --glass: rgba(30, 41, 59, 0.7);
        }

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

h1,h2,.price{
    font-family:'Rajdhani',sans-serif;
}

p,li,span{
    font-family:'Share Tech Mono',monospace;
}
.bubbles{
    position:fixed;
    inset:0;
    overflow:hidden;
    pointer-events:none;
    z-index:0;
    
}
header,
.hero,
main{
    position:relative;
    z-index:1;
}
.bubbles{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand {
    text-decoration: none;
}

.brand-text h1 {
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: -0.5px;
}
        
        body {
            background-color: var(--bg-dark);
            background-image: 
                radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(129, 140, 248, 0.1) 0px, transparent 50%);
            color: var(--text-main);
            line-height: 1.6;
            min-height: 100vh;
        }

        /* --- Header & Nav --- */
        header {
            position: fixed;
            top: 0; width: 100%; z-index: 1000;
            background: var(--glass);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding: 12px 5%;
            display: flex; align-items: center; justify-content: space-between;
        }

        .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
        .brand-logo { 
            width: 35px; height: 35px; background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 10px; display: flex; align-items: center; justify-content: center;
            font-weight: bold; color: var(--bg-dark);
        }
        .brand-text h1 { font-size: 1.1rem; color: #fff; letter-spacing: -0.5px; }

       .nav-actions {
    display: flex;
    gap: 15px;
    order: -1;
}
        .btn-icon { 
            background: rgba(255,255,255,0.05); border: none; padding: 8px; 
            border-radius: 8px; color: white; cursor: pointer; transition: 0.3s;
        }
        .btn-icon:hover { background: rgba(255,255,255,0.1); }

        /* --- Hero Section --- */
        .hero {
            padding: 120px 20px 40px;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }
        .hero h2 { font-size: 2.5rem; margin-bottom: 10px; font-weight: 800; background: linear-gradient(to right, #fff, var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .hero p { color: var(--text-dim); font-size: 1.1rem; }

        /* --- Main Content --- */
        main { max-width: 1200px; margin: 0 auto; padding: 0 20px 100px; }

        .search-container {
            position: sticky; top: 80px; z-index: 900;
            margin-bottom: 30px;
        }
        #search {
            width: 100%; padding: 16px 20px 16px 50px;
            background: var(--card-bg); border: 1px solid rgba(255,255,255,0.1);
            border-radius: 16px; color: white; font-size: 1rem;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: 0.3s;
        }
        #search:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1); }
        .search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-dim); }

        /* Categories */
        .categories-container {
            display: flex; gap: 10px; overflow-x: auto; padding-bottom: 20px;
            scrollbar-width: none;
        }
        .categories-container::-webkit-scrollbar { display: none; }
        .category-chip {
            white-space: nowrap; padding: 8px 18px; background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1); border-radius: 50px;
            color: var(--text-dim); cursor: pointer; transition: 0.3s; font-size: 0.9rem;
        }
        .category-chip.active { background: var(--primary); color: var(--bg-dark); font-weight: 600; border-color: var(--primary); }

        /* Grid & Cards */
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }
        .card {
            background: var(--card-bg); border-radius: 20px; padding: 20px;
            border: 1px solid rgba(255,255,255,0.05); text-decoration: none; color: inherit;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex; flex-direction: column; position: relative; overflow: hidden;
        }
        .card:hover { 
            transform: translateY(-8px); border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }
        
        .card-header { display: flex; gap: 15px; margin-bottom: 15px; }
        .app-icon { 
            width: 70px; height: 70px; border-radius: 18px; object-fit: cover;
            background: #2d3748; box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        }
        .app-info-top { flex: 1; }
        .app-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; color: #fff; }
        .app-ver { font-size: 0.75rem; color: var(--primary); font-weight: 600; }
        
        .app-stats { 
            display: flex; justify-content: space-between; 
            padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.05);
            margin-top: auto; font-size: 0.8rem; color: var(--text-dim);
        }
        .stat-item { display: flex; align-items: center; gap: 5px; }
   .download-btn {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: #fff;
    border: none;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    transition: 0.3s;
}
.card:hover .download-btn {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.6);
}

        /* --- Modals --- */
        .modal {
            position: fixed; inset: 0; background: rgba(0,0,0,0.8);
            backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
            z-index: 2000; padding: 20px; display: none;
        }
        .modal-content {
            background: var(--card-bg); width: 100%; max-width: 400px;
            padding: 30px; border-radius: 24px; border: 1px solid var(--primary);
            text-align: center;
        }
        .modal-btns { display: flex; gap: 12px; margin-top: 25px; }
        .modal-btns button { 
            flex: 1; padding: 14px; border-radius: 12px; border: none; 
            font-weight: 700; cursor: pointer; transition: 0.3s;
        }
        #btn-join { background: var(--primary); color: var(--bg-dark); }
        #btn-later { background: rgba(255,255,255,0.05); color: #fff; }
        #btn-later:disabled { opacity: 0.5; cursor: not-allowed; }
      .brand-logo{
    display:flex;
    align-items:center;
    gap:8px;
}

.brand-logo img{
    width:42px;
    height:42px;
    border-radius:12px;
    object-fit:cover;
}

.logo-text{
    color:#58b8ff;
    font-size:15px;
    font-weight:700;
}
body.no-scroll{
    overflow:hidden;
    height:100vh;
}
.btn-icon.active{
    background:#38bdf8;
    color:#0f172a;
    transform:rotate(90deg);
}
.modal-icon{
    width:70px;
    height:70px;
    border-radius:18px;
    object-fit:cover;
    display:block;
    margin:0 auto 18px;
    box-shadow:0 0 20px rgba(56,189,248,.4);
    animation:pop 1.5s infinite ease-in-out;
}

@keyframes pop{
    0%,100%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.08);
    }
}

        @media (max-width: 768px) {
            .hero h2 { font-size: 1.8rem; }
            .grid { grid-template-columns: 1fr; }
        }
    




@keyframes floatBubble{
    0%{
        transform:translateY(0) scale(.6);
        opacity:0;
    }
    20%{
        opacity:1;
    }
    100%{
        transform:translateY(-120vh) translateX(40px) scale(1.4);
        opacity:0;
    }
}
body{
    position: relative;
    overflow-x: hidden;
}

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-dim);
}
.loading-state .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(56, 189, 248, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.loading-state h3 {
    color: #fff;
    margin-bottom: 8px;
}

/* Error State */
.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-dim);
}
.error-state .error-icon {
    font-size: 60px;
    margin-bottom: 15px;
}
.error-state h3 {
    color: #ff6b6b;
    margin-bottom: 8px;
}
.error-state p {
    max-width: 500px;
    margin: 0 auto;
}
/* ==============================
   BANNER SLIDER
============================== */


/* ==============================
   BANNER SLIDER - PERBAIKAN
============================== */

.banner-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    position: relative;
    aspect-ratio: 16 / 7;
    background: #1a1a2e;
}

.banner-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease-in-out;
}

.banner {
    min-width: 100%;
    height: 100%;
    display: block;
    flex-shrink: 0;
    text-decoration: none;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
}

/* Efek ketika banner disentuh */
.banner:active img {
    transform: scale(0.98);
}

/* Responsive untuk HP */
@media (max-width: 768px) {
    .banner-slider {
        aspect-ratio: 16 / 7;
        border-radius: 16px;
    }
    
    .banner img {
        border-radius: 16px;
    }
}

/* Responsive untuk layar sangat kecil */
@media (max-width: 480px) {
    .banner-slider {
        aspect-ratio: 16 / 7;
        border-radius: 12px;
    }
    
    .banner img {
        border-radius: 12px;
    }
}

/* Efek ketika banner disentuh */
.banner:active img {
    transform: scale(0.98);
}
    

/* ===== CSS HALAMAN HOME ===== */

        :root {
            --primary: #00d2ff;
            --secondary: #3a7bd5;
            --bg-dark: #06070a;
            --card-bg: rgba(255, 255, 255, 0.03);
            --card-border: rgba(255, 255, 255, 0.08);
            --text-main: #ffffff;
            --text-dim: #94a3b8;
        }

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

h1,h2,.price{
    font-family:'Rajdhani',sans-serif;
}

p,li,span{
    font-family:'Share Tech Mono',monospace;
}

        .profile-page {
            background-color: var(--bg-dark);
            color: var(--text-main);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 40px 20px;
            overflow-x: hidden;
        }

        /* Animated Mesh Background */
        .bg-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: radial-gradient(circle at 0% 0%, #0a192f 0%, transparent 50%),
                        radial-gradient(circle at 100% 100%, #0c1a3d 0%, transparent 50%),
                        radial-gradient(circle at 50% 50%, #06070a 0%, #000 100%);
        }

        .profile-page .profile-container {
            max-width: 480px;
            width: 100%;
            animation: fadeIn 0.8s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Profile Section */
        .profile-page .profile {
            text-align: center;
            margin-bottom: 40px;
        }

        .profile-page .profile-img-wrapper {
            position: relative;
            display: inline-block;
            margin-bottom: 15px;
        }

        .profile-page .profile img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            padding: 5px;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            box-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
            object-fit: cover;
        }

        .profile-page .verified-badge {
            position: absolute;
            bottom: 10px;
            right: 5px;
            background: #0095f6;
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            border: 2px solid var(--bg-dark);
        }

        .profile-page .profile h1 {
            font-size: 26px;
            font-weight: 700;
            letter-spacing: -0.5px;
            margin-bottom: 8px;
        }

        .profile-page .profile p {
            color: var(--text-dim);
            font-size: 14px;
            line-height: 1.6;
            padding: 0 20px;
        }

        /* Links Section */
        .profile-page .links-grid {
            display: grid;
            gap: 14px;
        }

        .profile-page .card {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            text-decoration: none;
            color: var(--text-main);
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .profile-page .card:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--primary);
            box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
        }

        .profile-page .card i {
            font-size: 20px;
            margin-right: 15px;
            width: 25px;
            text-align: center;
            flex-shrink: 0;
        }

        /* Icon Colors */
        .fa-whatsapp { color: #25d366; }
        .fa-telegram { color: #0088cc; }
        .fa-youtube { color: #ff0000; }
        .fa-tiktok { color: #ffffff; }
        .fa-qrcode { color: #ffbc00; }
        .fa-book-open { color: #a855f7; }
        .fa-crown { color: #facc15; }
        .fa-download { color: #10b981; }

        .profile-page .card span {
            font-weight: 600;
            font-size: 15px;
            flex-grow: 1;
            text-align: left;
        }

        .profile-page .card .arrow {
            font-size: 12px;
            opacity: 0.3;
            transition: 0.3s;
            flex-shrink: 0;
        }

        .profile-page .card:hover .arrow {
            opacity: 1;
            transform: translateX(5px);
        }

        /* Tag for labeling */
        .profile-page .tag {
            font-size: 10px;
            text-transform: uppercase;
            background: rgba(255, 255, 255, 0.1);
            padding: 2px 8px;
            border-radius: 6px;
            margin-left: 10px;
            color: var(--text-dim);
            flex-shrink: 0;
        }

        /* Footer */
        .profile-page .footer {
            margin-top: 40px;
            text-align: center;
            font-size: 13px;
            color: var(--text-dim);
            letter-spacing: 1px;
        }

        /* Glass Glow Effect */
        .profile-page .card::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
            transition: 0.5s;
        }

        .profile-page .card:hover::before {
            left: 100%;
        }
        @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&family=Share+Tech+Mono&display=swap');
    




/* ===== SHARED MULTI-PAGE NAVIGATION ===== */
.bottom-nav{
    position:fixed;
    left:50%;
    bottom:max(14px, env(safe-area-inset-bottom));
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    gap:6px;
    padding:7px;
    background:rgba(15,23,42,.94);
    border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-radius:50px;
    box-shadow:0 8px 30px rgba(0,0,0,.5);
    z-index:100000;
    transition:transform .35s ease,opacity .35s ease;
}
.bottom-nav.hidden{transform:translateX(-50%) translateY(90px);opacity:0;pointer-events:none}
.bottom-nav.visible{transform:translateX(-50%) translateY(0);opacity:1;pointer-events:auto}
.bottom-nav-item{
    display:flex;align-items:center;justify-content:center;gap:8px;
    min-width:82px;padding:10px 17px;border-radius:50px;
    color:#94a3b8;text-decoration:none;
    font-family:'Share Tech Mono',monospace;font-size:12px;font-weight:700;
    transition:.25s ease;white-space:nowrap;
}
.bottom-nav-item i{font-size:14px}
.bottom-nav-item.active{
    color:#0f172a;background:linear-gradient(135deg,#38bdf8,#818cf8);
    box-shadow:0 4px 15px rgba(56,189,248,.3)
}
.bottom-nav-item:not(.active):hover{color:#e2e8f0;background:rgba(255,255,255,.05)}
.bottom-nav-item.order-nav{
    width:54px;height:54px;min-width:54px;padding:0;
    border-radius:50%;font-size:0;
    background:linear-gradient(135deg,#38bdf8,#818cf8);
    color:#0f172a;
    box-shadow:0 0 22px rgba(56,189,248,.28);
}
.bottom-nav-item.order-nav i{font-size:21px}
.bottom-nav-item.order-nav.active{
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 0 28px rgba(56,189,248,.48);
}
body{padding-bottom:100px}
@media(max-width:420px){
    .bottom-nav{gap:3px;padding:5px}
    .bottom-nav-item{min-width:70px;padding:9px 12px;font-size:10px}
    .bottom-nav-item.order-nav{width:50px;height:50px;min-width:50px}
    .bottom-nav-item.order-nav i{font-size:19px}
}
