/* Tambah di bahagian paling atas style.css */
* { -webkit-tap-highlight-color: transparent;user-select: none; /* Menghalang pengguna highlight/copy teks */}

:root { --candy-red: #D21F3C; --dark-bg: #050505; --glass-border: rgba(255, 255, 255, 0.1); }

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
body { background: var(--dark-bg); color: white; overflow: hidden; height: 100vh; }
ul, li { list-style: none !important; }

/* --- SPLASH SCREEN (LOGO BUJUR & SHADOW MANTAP) --- */
#splash-screen {position: fixed; inset: 0; background: #000; z-index: 9999;display: flex; justify-content: center; align-items: center; transition: 0.8s ease;}
.splash-content { text-align: center; }
.splash-logo-container { position: relative; width: 160px;  /* Dimensi Bujur */height: 100px; margin: 0 auto 25px; }
.splash-logo { width: 100%; height: 100%; border-radius: 50%; /* Membuat logo oval */object-fit: cover;/* Menggunakan drop-shadow agar shadow mengikut bentuk bujur piksel logo */filter: drop-shadow(0 0 20px rgba(210, 31, 60, 0.7)); }
.splash-loader {position: absolute; inset: -12px; border: 3px solid rgba(210, 31, 60, 0.1);border-top: 3px solid var(--candy-red); border-radius: 50%; animation: spin 1.2s linear infinite;}
.splash-text { font-size: 1.2rem; letter-spacing: 8px; font-weight: 800; color: white; margin-top: 35px; opacity: 0.9;}

/* --- HOME HERO (CENTERED LOGO & LARGE) --- */
.home-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.home-logo-container { width: 180px; /* Saiz logo besar */margin: 0 auto 30px; }
.home-hero-logo { width: 100%; height: auto; filter: drop-shadow(0 0 25px rgba(210,31,60,0.5)); }
.hero-title { font-size: 2.5rem; font-weight: 800; letter-spacing: 2px; }
.hero-sub { color: #666; font-size: 0.8rem; letter-spacing: 5px; margin-top: 10px; }

/* --- SECTION TITLE (DISTANCE IMPROVED) --- */
.section-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 60px; /* Jarak dari grid render */text-align: center; color: var(--candy-red); text-transform: uppercase; letter-spacing: 3px;}

/* --- NAVIGATION & UI ELEMENTS --- */
.floating-header { position: fixed; top: 30px; left: 30px; z-index: 1000; }
.logo-container { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-wrapper { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; }
.logo-img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { font-weight: 800; color: var(--candy-red); text-transform: uppercase; letter-spacing: 1px; }

.menu-btn { position: fixed; top: 30px; right: 30px; width: 45px; height: 45px; background: var(--candy-red); border-radius: 12px; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 5000; }
.side-menu { position: fixed; top: 85px; right: 30px; z-index: 4000; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: 0.4s; }
.side-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
.side-menu a { color: white; text-decoration: none; font-size: 0.8rem; font-weight: 600; padding: 12px 20px; background: rgba(15,15,15,0.95); border: 1px solid var(--glass-border); border-radius: 12px; display: flex; align-items: center; gap: 12px; width: 210px; margin-bottom: 8px; cursor: pointer; }

/* --- GRID & CARDS --- */
.page { position: absolute; inset: 0; padding: 130px 8% 60px; overflow-y: auto; display: none; opacity: 0; transition: 0.5s; }
.page.active { display: block; opacity: 1; }
.glass-card { background: rgba(255,255,255,0.03); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 2.5rem; text-align: center; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));  gap: 30px; }
/* --- EBOOK MODAL CONTENT --- */
.ebook-step { display: flex; gap: 15px; margin-bottom: 15px; padding: 15px; background: rgba(255,255,255,0.03); border-radius: 12px; border-left: 4px solid var(--candy-red); text-align: left; }
.step-number { font-weight: 800; color: var(--candy-red); min-width: 25px; }
.step-text { font-size: 0.9rem; color: #ccc; line-height: 1.6; }
/* --- MUSIC CONTROL --- */
.music-control { position: fixed; bottom: 30px; left: 30px; width: 50px; height: 50px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 5000; }
.music-wave { display: flex; gap: 3px; opacity: 0; position: absolute; }
.music-control.playing .music-wave { opacity: 1; }
.music-control.playing i { opacity: 0; }
.music-wave span { width: 3px; height: 12px; background: var(--candy-red); animation: wave 1s infinite; }
/* --- MODAL --- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.95); backdrop-filter: blur(10px); display: none; justify-content: center; align-items: center; z-index: 9000; padding: 20px; }
.modal-content { background: #0a0a0a; padding: 35px; border-radius: 25px; border: 1px solid var(--glass-border); max-width: 500px; width: 100%; position: relative; }
.close-btn { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; color: #555; }
/* --- ANIMATIONS --- */
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 15px; } }
#bg-canvas { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.btn-premium { padding: 12px 24px; border-radius: 10px; border: none; background: var(--candy-red); color: white; font-weight: 700; cursor: pointer; font-size: 0.75rem; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-premium:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(210,31,60,0.4); }
.visitor-box { font-size: 0.7rem; color: #666; background: rgba(255,255,255,0.03); padding: 6px 16px; border-radius: 20px; margin: 20px 0; border: 1px solid var(--glass-border); }
.page-footer { margin-top: 100px; text-align: center; font-size: 0.65rem; color: #444; padding-bottom: 40px; letter-spacing: 1px; }
/* --- TEAM (KEMASKINI: BENTUK PETAK PREMIUM) --- */
.team-render img, 
#team-render img { width: 80px; height: 80px; border-radius: 12px; /* Sudut melengkung sedikit sahaja, bukan bulat */border: 2px solid var(--candy-red); margin-bottom: 15px; object-fit: cover; display: block;margin-left: auto;margin-right: auto;filter: grayscale(100%); /* Optional: Nampak lebih korporat */transition: 0.3s;}
.glass-card:hover img {filter: grayscale(0%); /* Gambar jadi berwarna bila tetikus lalu */transform: scale(1.05);}
/* Tambah di bahagian paling bawah style.css */
@media (max-width: 600px) {.hero-title { font-size: 1.8rem !important; }.page { padding: 110px 5% 80px !important; }.glass-card { padding: 1.5rem !important; }.grid-container { grid-template-columns: 1fr !important; gap: 15px !important; }}

/* --- PENYUSUNAN KAD SHOP --- */
#shop-render .glass-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Paksa ikon, teks, dan butang ke tengah */
    justify-content: center !important;
    text-align: center !important;
}

/* --- PENDEKKAN BUTANG .btn-premium KHUSUS UNTUK SHOP --- */
#shop-render .btn-premium {
    width: fit-content !important;  /* Paksa pendek ikut saiz teks */
    min-width: 160px !important;    /* Lebar minimum supaya nampak standard */
    margin: 8px auto !important;    /* Letak di tengah-tengah secara automatik */
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 20px !important;
}

/* --- GAYA KHUSUS UNTUK BUTANG TRY SERVER (OUTLINE) --- */
.btn-try-outline {
    background: transparent !important;
    border: 2px solid var(--candy-red) !important;
    color: var(--candy-red) !important;
    box-shadow: none !important; /* Buang glow supaya butang BELI lebih menonjol */
}

/* KESAN HOVER UNTUK BUTANG TRY */
.btn-try-outline:hover {
    background: var(--candy-red) !important;
    color: white !important;
    transform: translateY(-3px);
}