:root {
    --sea-dark: #021024;
    --sea-mid: #053F5C;
    --sea-light: #429EBD;
    --cyan-glow: #00F0FF;
    --glass-bg: rgba(5, 63, 92, 0.35);
    --glass-border: rgba(66, 158, 189, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }

html { scroll-behavior: smooth; }

body.locked { overflow: hidden !important; height: 100vh !important; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sea-dark); }
::-webkit-scrollbar-thumb { background: var(--sea-light); border-radius: 10px; }

body { background-color: var(--sea-dark); color: #e0f7fa; overflow-x: hidden; }

body::before {
    content: ""; position: fixed; inset: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, #021024 0%, #053F5C 50%, #021024 100%);
    z-index: -3;
}

#underwater-container, #floating-text-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -2; overflow: hidden; }

/* ELEMEN BARU: PARTIKEL TEKS IP SERVER */
.floating-ip-text {
    position: absolute;
    color: rgba(0, 240, 255, 0.15); /* Transparan biar ga nutupin konten */
    font-weight: 800;
    font-size: 1.5rem;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    user-select: none;
    animation: floatTextUp linear infinite;
}

@keyframes floatTextUp {
    0% { transform: translateY(100vh) scale(0.8); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-20vh) scale(1.2); opacity: 0; }
}

/* ANIMASI IKAN & GELEMBUNG */
.bubble { position: absolute; bottom: -50px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(0, 240, 255, 0.2)); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; animation: floatUp linear infinite; }
.floating-item { position: absolute; bottom: -50px; background-size: contain; background-repeat: no-repeat; opacity: 0.6; filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5)); animation: floatUp linear infinite; }
.falling-item { position: absolute; top: -50px; background-size: contain; background-repeat: no-repeat; opacity: 0.4; filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.3)); animation: fallDown linear infinite; }
.swimming-fish { position: absolute; background-size: contain; background-repeat: no-repeat; opacity: 0.8; filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.4)); animation-timing-function: linear; animation-iteration-count: infinite; }

@keyframes floatUp { 0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-110vh) translateX(30px) rotate(45deg); opacity: 0; } }
@keyframes fallDown { 0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(110vh) translateX(-30px) rotate(180deg); opacity: 0; } }
@keyframes swimRight { 0% { transform: translateX(-15vw) translateY(0) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(115vw) translateY(-20px) rotate(5deg); opacity: 0; } }
@keyframes swimLeft { 0% { transform: translateX(115vw) translateY(0) scaleX(-1) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(-15vw) translateY(-20px) scaleX(-1) rotate(5deg); opacity: 0; } }

/* LAYOUT UMUM */
.layout-wrapper { display: flex; flex-direction: column; max-width: 600px; margin: 40px auto; padding: 0 15px; gap: 20px; }
.sidebar { width: 100%; }
.content { width: 100%; padding-bottom: 40px; }

@media (min-width: 900px) {
    .layout-wrapper { flex-direction: row; max-width: 1050px; align-items: flex-start; margin: 50px auto; gap: 30px; }
    .sidebar { position: sticky; top: 40px; width: 320px; flex-shrink: 0; height: max-content; }
    .content { flex-grow: 1; padding-bottom: 50px; min-width: 0; }
}

.ocean-glass { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 25px; margin-bottom: 25px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 240, 255, 0.05); transition: 0.4s; }
.ocean-glass:hover { border-color: var(--cyan-glow); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 240, 255, 0.15); }
.inner-glass { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 20px; }

.ocean-text { background: linear-gradient(90deg, #00F0FF, #429EBD); -webkit-background-clip: text; color: transparent; font-weight: 800; text-shadow: 0 0 20px rgba(0, 240, 255, 0.3); }
.section-title { font-size: 1.2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; color: #fff; }
.section-title i { color: var(--cyan-glow); }
.desc-text { color: #b2ebf2; line-height: 1.6; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.mt-3 { margin-top: 15px; } .mt-4 { margin-top: 25px; }

.profile-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.bubble-avatar-wrapper { width: 140px; height: 140px; margin: 0 auto; border-radius: 50%; padding: 6px; background: linear-gradient(135deg, rgba(0, 240, 255, 0.8), rgba(5, 63, 92, 0.2)); box-shadow: 0 0 30px rgba(0, 240, 255, 0.4); animation: float 4s ease-in-out infinite; }
.profile-pic-container { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 2px solid var(--sea-dark); }
.profile-pic { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.tagline { color: #81d4fa; font-size: 0.9rem; margin-top: 5px; }

.status-badge { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgba(0, 255, 136, 0.15); color: #00ff88; padding: 10px 20px; border-radius: 30px; font-weight: bold; border: 1px solid rgba(0, 255, 136, 0.4); text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
.pulse-dot { width: 12px; height: 12px; background: #00ff88; border-radius: 50%; box-shadow: 0 0 10px #00ff88; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }

.games-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.game-tag { padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; background: rgba(0, 240, 255, 0.1); border: 1px solid rgba(0, 240, 255, 0.3); color: var(--cyan-glow); }

.social-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.social-card { display: flex; align-items: center; gap: 15px; text-decoration: none; color: #fff; background: rgba(255,255,255,0.05); padding: 12px; border-radius: 16px; transition: 0.3s; border: 1px solid rgba(255,255,255,0.05); }
.icon-wrapper { width: 45px; height: 45px; border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 1.4rem; color: #fff; }
.link-info { display: flex; flex-direction: column; }
.link-info span { font-weight: bold; font-size: 1rem; }
.link-info small { color: #81d4fa; font-size: 0.8rem; }
.social-card:hover { transform: translateY(-5px); background: rgba(0, 240, 255, 0.1); border-color: var(--cyan-glow); }
.tiktok { background: #000; border: 1px solid #333; }
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.discord { background: #5865F2; }
.whatsapp { background: #25D366; }

.donate-btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(45deg, #f29f05, #f25c05); color: #fff; text-decoration: none; padding: 15px 30px; border-radius: 30px; font-weight: bold; font-size: 1.1rem; box-shadow: 0 5px 20px rgba(242, 159, 5, 0.4); transition: 0.3s; }
.donate-btn:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(242, 159, 5, 0.6); }

/* GALERI GRID STATIS (ANTI BUG HP) */
.gallery-simple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Kolom untuk Mobile */
    gap: 12px;
}
@media (min-width: 600px) { .gallery-simple-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
}
.gallery-item:hover { transform: scale(1.05) rotate(2deg); border-color: var(--cyan-glow); box-shadow: 0 0 15px rgba(0, 240, 255, 0.5); z-index: 2; }

/* Link Lihat Semua Foto */
.view-all-link {
    display: inline-block;
    color: var(--cyan-glow);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    transition: 0.3s;
}
.view-all-link:hover { background: rgba(0, 240, 255, 0.1); box-shadow: 0 0 15px rgba(0, 240, 255, 0.3); }

/* LIGHTBOX MODAL */
.lightbox-modal { 
    position: fixed; inset: 0; 
    background: rgba(2, 16, 36, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); 
    z-index: 9999999; 
    display: none !important;
    flex-direction: column; justify-content: center; align-items: center; 
    opacity: 0; transition: opacity 0.3s ease; 
}
.lightbox-modal.show-active { display: flex !important; opacity: 1; }
.lightbox-modal img { max-width: 90%; max-height: 70vh; border-radius: 15px; box-shadow: 0 0 40px rgba(0, 240, 255, 0.3); border: 2px solid var(--cyan-glow); object-fit: contain; }
.close-lightbox { position: absolute; top: 20px; right: 25px; font-size: 2.5rem; color: #fff; cursor: pointer; transition: 0.3s; text-shadow: 0 0 10px rgba(0,0,0,0.5); }
.close-lightbox:hover { color: #ff4655; transform: scale(1.1) rotate(90deg); }

.device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.device-card { display: flex; gap: 15px; align-items: center; }
.device-icon { font-size: 1.8rem; color: var(--cyan-glow); background: rgba(0, 240, 255, 0.1); width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border-radius: 12px; }
.device-info h3 { font-size: 1rem; color: #fff; margin-bottom: 5px; }
.device-info p, .device-info ul { font-size: 0.85rem; color: #b2ebf2; list-style: none; }

.qa-container { display: flex; flex-direction: column; gap: 12px; }
.question { font-weight: bold; color: var(--cyan-glow); margin-bottom: 5px; }
.answer { color: #e0f7fa; font-size: 0.9rem; padding-left: 25px; border-left: 2px solid rgba(0, 240, 255, 0.3); }

.fade-in-up { opacity: 0; transform: translateY(40px); animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; animation-delay: 0.2s; }
.fade-in-scroll { opacity: 0; transform: translateY(40px) scale(0.98); transition: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.fade-in-scroll.appear { opacity: 1; transform: translateY(0) scale(1); }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.ocean-loading { 
    position: fixed; inset: 0; 
    background: linear-gradient(180deg, #010811 0%, #053F5C 50%, #010811 100%); 
    display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 999999;
}
.firework-container { position: relative; width: 100px; height: 100px; display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
.rocket { position: absolute; bottom: -800px; width: 6px; height: 35px; background: var(--cyan-glow); border-radius: 4px; box-shadow: 0 0 15px var(--cyan-glow); animation: rocketRise 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; z-index: 10000; }
.rocket::after { content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 4px; height: 20px; background: linear-gradient(180deg, var(--cyan-glow), transparent); border-radius: 2px; }
.explosion { position: absolute; width: 200px; height: 200px; transform: scale(0); opacity: 0; animation: explosionBurst 1s ease-out forwards; z-index: 10001; }
.particle { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%; image-rendering: pixelated; box-shadow: 0 0 15px currentcolor; margin-top: -6px; margin-left: -6px; }

.blue-particle { color: #0077ff; background: #0077ff; } .cyan-particle { color: #00ffff; background: #00ffff; } .deep-blue-particle { color: #0000ff; background: #0000ff; }
.particle.p1 { transform: translate(0, -80px); } .particle.p2 { transform: translate(40px, -69px); } .particle.p3 { transform: translate(69px, -40px); } .particle.p4 { transform: translate(80px, 0); } .particle.p5 { transform: translate(69px, 40px); } .particle.p6 { transform: translate(40px, 69px); } .particle.p7 { transform: translate(0, 80px); } .particle.p8 { transform: translate(-40px, 69px); } .particle.p9 { transform: translate(-69px, 40px); } .particle.p10 { transform: translate(-80px, 0); } .particle.p11 { transform: translate(-69px, -40px); } .particle.p12 { transform: translate(-40px, -69px); }
.explosion.hidden { display: none; }
#cyan-flash { position: fixed; inset: 0; background: #00ffff; opacity: 0; pointer-events: none; z-index: 9999999; }
.flash-anim { animation: cyanFlash 1.2s ease-out forwards; }
.loader-tagline { font-size: 1.2rem; letter-spacing: 2px; animation: pulseTextOcean 1s infinite alternate; text-align: center; }

@keyframes rocketRise { 0% { transform: translateY(100vh); opacity: 1; } 90% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes explosionBurst { 0% { transform: scale(0); opacity: 0; } 20% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes cyanFlash { 0% { opacity: 0; } 15% { opacity: 1; background: #e0f7fa; } 30% { opacity: 1; background: #00ffff; } 100% { opacity: 0; background: transparent; } }
@keyframes pulseTextOcean { 0% { opacity: 0.5; text-shadow: 0 0 10px rgba(0, 240, 255, 0.2); } 100% { opacity: 1; text-shadow: 0 0 20px rgba(0, 240, 255, 0.8); } }