html, body { margin: 0; padding: 0; height: 100%; } html { background-color: #000000; } * { user-select: none; -webkit-user-select: none; -ms-user-select: none; } * { -webkit-tap-highlight-color: transparent; } html { scroll-behavior: smooth; } body { overflow-x: hidden; /* Supaya tetap gak bisa geser kiri-kanan */ overflow-y: auto; /* Scroll vertikal aktif */ } /* Hero Section */ .hero { height: 100vh; background: linear-gradient(to bottom, #1a0033, #000000); display: flex; flex-direction: column; /* ⬅️ ini bikin isi stack vertikal (atas-bawah) */ justify-content: center; align-items: center; text-align: center; padding: 20px; box-sizing: border-box; } .text-wrapper h1 { color: #ffffff; font-size: 3.5rem; font-family: 'Satoshi', sans-serif; letter-spacing: 2px; margin: 0; white-space: nowrap; /* ⛔ jangan pecah baris */ overflow: visible; text-overflow: ellipsis; } .text-wrapper p { color: #cccccc; font-size: 1.2rem; font-family: 'Satoshi', sans-serif; /* Font untuk subjudul */ margin-top: 10px; } @media (max-width: 480px) { .text-wrapper h1 { font-size: 2.5rem; /* Ukuran lebih kecil di layar kecil */ } .text-wrapper p { font-size: 1rem; } } .hero-album { display: flex; justify-content: center; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; perspective: 1000px; } .hero-album img { width: 130px; height: 130px; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 16px rgba(168, 85, 247, 0.25); transition: transform 0.4s ease; pointer-events: none; user-select: none; -webkit-user-drag: none; } /* Efek miring aesthetic */ .hero-album img:nth-child(1) { transform: rotate(-8deg) translateY(5px); } .hero-album img:nth-child(2) { transform: none; /* Tengah tetap lurus */ z-index: 1; } .hero-album img:nth-child(3) { transform: rotate(8deg) translateY(5px); } /* Hover effect biar interaktif */ .hero-album img:hover { transform: scale(1.05) rotate(0deg); box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4); } /* Responsive di HP */ @media (max-width: 500px) { .hero-album img { width: 100px; height: 100px; } .hero-album { margin-bottom: 20px; margin-top: -100px; /* naikkan ke atas */ } } .hero-buttons { margin-top: 25px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; } .hero-btn { display: flex; align-items: center; gap: 10px; padding: 12px 28px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; color: #ffffff; text-decoration: none; border-radius: 999px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background-color: rgba(255, 255, 255, 0.05); /* transparan banget */ border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 0 12px rgba(168, 85, 247, 0.15); transition: box-shadow 0.3s ease, background-color 0.3s ease; position: relative; overflow: hidden; } .hero-btn .icon { width: 20px; height: 20px; stroke: currentColor; } /* Hover = soft glow */ .hero-btn:hover { box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); } /* Aktif = glow lebih terang, tanpa scale */ .hero-btn:active { box-shadow: 0 0 30px rgba(168, 85, 247, 0.6); } .jelajahi-section { padding: 100px 20px; text-align: center; font-family: 'Inter', sans-serif; color: #fff; } .jelajah-header { text-align: center; margin-bottom: 2rem; padding: 0 1rem; } .jelajah-header h2 { font-family: 'Satoshi', sans-serif; font-size: 1.8rem; color: #ffffff; margin-bottom: 0.5rem; } .jelajah-header p { font-family: 'Satoshi', sans-serif; color: #ccc; font-size: 1rem; max-width: 600px; margin: 0 auto; } .member-list-scroll { max-height: 300px; overflow-y: auto; margin-top: 15px; text-align: center; scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* Internet Explorer 10+ */ } .member-list-scroll::-webkit-scrollbar { display: none; /* Chrome, Safari, Edge */ } .modal-content { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 20px; padding: 30px 25px; text-align: center; color: white; max-width: 400px; width: 100%; box-shadow: 0 0 25px rgba(168, 85, 247, 0.25); } .modal-content h3 { margin-top: 0; font-family: 'Satoshi', sans-serif; font-size: 1.4rem; } .modal-content p { font-family: 'Satoshi', sans-serif; font-size: 1rem; margin-top: 10px; } .close-btn { position: absolute; top: 20px; right: 25px; background: transparent; border: none; font-size: 1.5rem; color: white; cursor: pointer; } .jelajahi-section { font-family: 'Satoshi', sans-serif; padding: 40px 0; overflow: hidden; display: flex; justify-content: center; } .carousel-scroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px; scrollbar-width: none; /* Firefox */ max-width: 100vw; width: 100%; -webkit-overflow-scrolling: touch; touch-action: pan-x; } .carousel-scroll::-webkit-scrollbar { display: none; /* Chrome/Safari */ } .carousel-slide { flex: 0 0 auto; scroll-snap-align: center; width: 260px; backdrop-filter: blur(10px); border-radius: 12px; padding: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 1.5rem; padding: 1rem; text-align: center; scroll-snap-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); } .carousel-slide img { width: 100%; aspect-ratio: 1 / 1; /* bikin rasio jadi 1:1 */ object-fit: cover; border-radius: 10px; margin-bottom: 15px; pointer-events: none; user-select: none; -webkit-user-drag: none; } .member-growth-section { padding: 40px 20px; color: #fff; text-align: center; font-family: 'Poppins', sans-serif; } .growth-title { font-family: 'Satoshi', sans-serif; font-size: 40px; margin-bottom: 30px; color: #ffffff; text-shadow: 0 0 5px #000; } .growth-bars { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 600px; margin: 0 auto; } .growth-bar { width: 100%; } .growth-label { font-family: 'Satoshi', sans-serif; color: #fff; font-weight: bold; margin-bottom: 10px; line-height: 1.4; } .growth-count { font-weight: normal; font-size: 0.9em; color: #ccc; } .growth-bar-fill { height: 20px; background: linear-gradient(to right, #5300ab, #6a00ff); border-radius: 10px; box-shadow: 0 0 8px rgba(0,198,255,0.3); transition: width 0.5s ease-in-out; display: flex; align-items: center; justify-content: center; /* <- Ini bikin teks ditengah */ color: white; font-size: 0.7em; font-weight: bold; overflow: hidden; } .bar-text { position: relative; z-index: 1; white-space: nowrap; } @media (max-width: 480px) { .growth-title { font-size: 40px; /* kecilin font di HP */ } .growth-label { font-size: 12px; } .growth-bar-fill { height: 16px; /* kecilin bar juga biar proporsional */ } } .popup-member { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); display: none; justify-content: center; align-items: center; z-index: 1000; padding: 20px; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .popup-member.show { display: flex; opacity: 1; pointer-events: auto; } .popup-content { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 20px; padding: 30px 25px; text-align: center; color: white; max-width: 400px; width: 100%; box-shadow: 0 0 25px rgba(168, 85, 247, 0.25); } .popup-content h3 { margin-top: 0; font-family: 'Satoshi', sans-serif; font-size: 1.4rem; } .popup-content p { font-family: 'Satoshi', sans-serif; font-size: 1rem; margin-top: 10px; } .member-list-scroll { max-height: 300px; overflow-y: auto; margin-top: 15px; text-align: center; scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* Internet Explorer 10+ */ } .member-list-scroll::-webkit-scrollbar { display: none; /* Chrome, Safari, Edge */ } .member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; padding: 10px 0; } .member-card { margin: 6px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); color: white; font-weight: 500; font-family: 'Satoshi', sans-serif; cursor: pointer; transition: background 0.3s ease; display: inline-block; /* balik lagi */ text-align: center; } .member-card:hover { background: rgba(255, 255, 255, 0.2); } /* Lock scroll saat popup aktif */ body.popup-open { overflow: hidden; } /* Popup default: disembunyikan */ .popup-member { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; display: flex; justify-content: center; align-items: center; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 99; } /* Aktifkan popup */ .popup-member.active { opacity: 1; visibility: visible; pointer-events: auto; } .popup-member.show { opacity: 1; visibility: visible; pointer-events: auto; } .popup-content { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 20px; padding: 30px 25px; text-align: center; color: white; max-width: 400px; width: 100%; box-shadow: 0 0 25px rgba(168, 85, 247, 0.25); } #listMember { display: flex; flex-direction: column; gap: 10px; align-items: center; /* tetap tengah */ } #listMember { margin-left: -20px; /* geser ke kanan */ } .member-card { display: inline-block; width: fit-content; /* BIAR NGIKUTI TEKS */ max-width: 90%; /* biar gak terlalu panjang */ white-space: nowrap; /* opsional, biar gak patah baris */ } #popupMember { z-index: 100; } #resultPopup { z-index: 200; /* lebih tinggi dari popupMember */ } #popupDetail { z-index: 300 /* biar di atas popupMember */ } body.popup-open { overflow: hidden; } .timeline-item { width: 100%; display: flex; justify-content: flex-start; margin-bottom: 2rem; } .timeline-item.right { justify-content: flex-end; } .timeline-content { box-sizing: border-box; max-width: 500px; display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,0.08); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1rem 1.5rem; color: white; position: relative; box-shadow: 0 0 20px rgba(0,0,0,0.15); } .icon-circle { width: 50px; height: 50px; flex-shrink: 0; aspect-ratio: 1 / 1; border-radius: 50%; background: #a64eff; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 1.2rem; box-shadow: 0 0 10px rgba(166, 78, 255, 0.6); transition: transform 0.5s ease; } @media screen and (max-width: 768px) { .timeline-title { font-size: 150% !important; } .timeline-item { display: flex; justify-content: center; margin-bottom: 2rem; width: 100%; } .timeline-item.right .timeline-content { flex-direction: row-reverse; } .icon-circle { margin-bottom: 0; /* ⬅️ Hapus jarak bawah biar gak dorong ke atas */ } } .timeline-container { max-width: 900px; margin: auto; padding: 0 1rem; } .timeline-section { font-family: 'Satoshi', sans-serif; padding: 4rem 2rem; position: relative; z-index: 1; background: transparent; } .timeline-title { font-family: 'Satoshi', sans-serif; text-align: center; font-size: 2rem; font-weight: bold; margin-bottom: 3rem; color: white; } .site-footer { background-color: none; padding: 2rem 1rem; text-align: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 0.9rem; color: #555; border-top: 1px solid #252525; transition: all 0.3s ease; } .site-footer a { color: #007aff; /* iOS blue */ text-decoration: none; font-weight: 500; transition: color 0.2s ease; } .site-footer a:hover { color: #dfe0e2; text-decoration: underline; } .admin-wrapper { width: 100%; overflow-x: visible; padding: 2rem 0; display: flex; justify-content: center; } .admin-title { text-align: center; font-size: 1.75rem; font-weight: bold; color: white; margin-bottom: 1.5rem; font-family: 'Satoshi', sans-serif; } .admin-list { display: flex; gap: 1rem; overflow-x: auto; padding: 1rem 0; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; justify-content: flex-start; /* <== PENTING */ } .admin-card { flex: 0 0 80vw; /* Biar satu card per view di HP */ max-width: 200px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 1.5rem; padding: 1rem; text-align: center; scroll-snap-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); } .admin-avatar { width: 150px; height: 150px; border-radius: 0.75rem; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; } .admin-nickname { font-family: 'Satoshi', sans-serif; font-size: 1rem; font-weight: bold; color: #fff; } .admin-username { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #aaa; margin: 0.25rem 0; } .admin-role { font-family: 'Satoshi', sans-serif; font-size: 0.9rem; color: #ffffff; font-weight: 600; } .admin-spacer { flex: 0 0 50vw; pointer-events: none; } #stickyNavbar { font-family: 'Satoshi', sans-serif; position: fixed; top: 16px; /* lebih deket ke atas */ left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1rem; /* jarak antar logo dan nav dikurangin */ background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; padding: 0.5rem 1.25rem; /* padding dikurangi */ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); backdrop-filter: blur(10px); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; font-size: 0.9rem; /* ukuran teks dikecilin */ } .navbar-logo { width: 24px; height: 24px; border-radius: 0.5rem; object-fit: cover; /* Anti gangguan */ pointer-events: none; user-select: none; -webkit-user-drag: none; } .nav-links { display: flex; align-items: center; gap: 0.5rem; user-select: none; /* Cegah blok teks */ -webkit-user-drag: none; } .nav-links a { text-decoration: none; color: white; font-size: 0.9rem; } .separator { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; } #stickyNavbar.show { opacity: 1; pointer-events: auto; } #stickyNavbar a { text-decoration: none; color: white; font-weight: 500; transition: color 0.2s ease; } #stickyNavbar a:hover { color: #b8b8b8; } .logo { font-weight: bold; font-size: 1rem; } #stickyNavbar { opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } #stickyNavbar.show { opacity: 1; pointer-events: auto; } /* 📱 Mobile (default) */ #tutorial { scroll-margin-top: 100px; } #growthBars { scroll-margin-top: 280px; } #topMem { scroll-margin-top: 210px; } /* 💻 Laptop/tablet (>= 768px) */ @media screen and (min-width: 768px) { #tutorial { scroll-margin-top: 10px; } #growthBars { scroll-margin-top: 180px; } #topMem { scroll-margin-top: 160px; } } .modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 1000; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s ease; visibility: hidden; overscroll-behavior: contain; } .modal.show { opacity: 1; pointer-events: auto; visibility: visible; } /* isi modal */ .top-member-section { text-align: center; margin-top: 3rem; color: #fff; } .top-title { font-family: 'Satoshi', sans-serif; font-size: 2rem; font-weight: bold; margin-bottom: 80px; letter-spacing: 1px; } .top-podium { font-family: 'Satoshi', sans-serif; display: flex; justify-content: center; align-items: flex-end; gap: 16px; flex-wrap: nowrap; /* Mencegah turun ke baris baru */ max-width: 100%; overflow: visible; /* Cegah scroll horizontal */ } .top-box { position: relative; text-align: center; padding-top: 50px; /* untuk beri ruang atas buat chibi */ } .chibi-wrapper { position: absolute; top: -30px; /* atur ini biar chibi bisa 'gantung' */ left: 50%; transform: translateX(-50%); } .chibi-container { width: 100%; display: flex; justify-content: center; align-items: flex-start; margin-top: -3.9rem; /* Biar nempel ke batas atas box */ margin-bottom: 0.3rem; padding: 0; } .chibi-img { width: 150px; height: auto; object-fit: contain; display: block; margin: 0; padding: 0; } .rank-number { margin-top: 4px; font-weight: bold; color: #aaa; font-family: 'Courier New', monospace; } .top-box { flex: 0 0 100px; max-width: 100px; min-width: 90px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 1rem; padding: 0.7rem; text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); transition: none; pointer-events: none; user-select: none; } .trophy-icon { width: 40px; height: 40px; margin: 0 auto 8px; } .nickname { font-weight: 600; font-size: 0.85rem; white-space: normal; overflow: visible; text-overflow: unset; word-break: break-word; } .username { font-family: 'Satoshi', sans-serif; font-size: 0.7rem; opacity: 0.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rank-label { font-family: 'Satoshi', sans-serif; font-weight: bold; color: #888; font-size: 0.7rem; margin-top: 4px; } .top-1 { transform: translateY(-15px); /* Naik dikit */ order: 2; /* Di tengah */ } .top-2 { transform: none; /* Rata bawah */ order: 1; /* Kiri */ } .top-3 { transform: none; /* Rata bawah */ order: 3; /* Kanan */ } .chibi-top1 { margin-top: -50px; } /* Responsive - ukuran lebih kecil di layar sempit */ @media (max-width: 768px) { .top-box { flex: 0 0 70px; max-width: 70px; padding: 0.6rem; } .trophy-icon { width: 36px; height: 36px; } .nickname { font-size: 0.75rem; } .username { font-size: 0.65rem; } } .glow-text { color: #7700ff !important; text-shadow: 0 0 5px #4b0082, 0 0 10px #5e2d79, 0 0 20px #6a0dad; }