:root{
  --bg:#0B1020;
  --bg-secondary:#12182B;
  --primary:#5B5FFF;
  --primary-hover:#7276ff;
  --accent:#F5C451;
  --text:#FFFFFF;
  --muted:#B6C2CF;
  --border:rgba(255,255,255,.08);
  --glass:rgba(255,255,255,.04);
  --shadow:0 10px 40px rgba(0,0,0,.35);
  --radius:18px;
  --transition:.3s ease;
}

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

html{
  scroll-behavior:smooth;
}

body{
  background:radial-gradient(circle at top,#1e3a8a 0%,transparent 35%), var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  overflow-x:hidden;
  line-height:1.7;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

ul{
  list-style:none;
}

.container{
  width:min(1200px,100% - 32px);
  margin-inline:auto;
}

.section{
  padding:80px 0;
}

/* HEADER */
.header{
  position:sticky;
  top:0;
  z-index:999;
  backdrop-filter:blur(16px);
  background:rgba(11,16,32,.75);
  border-bottom:1px solid rgba(255,255,255,.04);
  transition:var(--transition);
}

.header.scrolled{
  background:rgba(11,16,32,.92);
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:78px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo img{
  width:46px;
  height:46px;
  border-radius:12px;
}

.logo-text{
  font-weight:700;
  font-size:18px;
}

.nav-menu{
  display:flex;
  align-items:center;
  gap:28px;
}

.nav-menu a{
  color:var(--muted);
  font-size:15px;
  transition:var(--transition);
}

.nav-menu a:hover{
  color:var(--text);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.btn{
  height:52px;
  padding:0 28px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  transition:var(--transition);
  border:none;
  cursor:pointer;
}

.btn-primary{
  background:linear-gradient(135deg,var(--primary),#7A5CFF);
  color:#fff;
  box-shadow:0 12px 30px rgba(91,95,255,.35);
}

.btn-primary:hover{
  transform:translateY(-2px);
  background:linear-gradient(135deg,var(--primary-hover),#8d73ff);
}

.btn-secondary{
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  color:#fff;
}

.btn-secondary:hover{
  background:rgba(255,255,255,.08);
}

/* HERO */
.hero{
  padding:80px 0 40px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}

.hero-content h1{
  font-size:clamp(38px,5vw,62px);
  line-height:1.1;
  margin-bottom:20px;
  font-family:'Poppins',sans-serif;
  font-weight:700;
}

.hero-content p{
  color:var(--muted);
  font-size:18px;
  margin-bottom:32px;
}

.hero-buttons{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.hero-card{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.hero-card::before{
  content:'';
  position:absolute;
  width:240px;
  height:240px;
  background:rgba(91,95,255,.2);
  border-radius:50%;
  top:-80px;
  right:-80px;
  filter:blur(20px);
}

/* FEATURES */
.features-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.feature-card{
  background:var(--glass);
  border:1px solid var(--border);
  border-radius:20px;
  padding:24px;
  transition:var(--transition);
}

.feature-card:hover{
  transform:translateY(-6px);
  border-color:rgba(91,95,255,.4);
}

.feature-icon{
  width:56px;
  height:56px;
  border-radius:16px;
  background:rgba(91,95,255,.14);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  font-size:24px;
}

.feature-card h3{
  margin-bottom:10px;
}

.feature-card p{
  color:var(--muted);
  font-size:15px;
}

/* GAME GRID */
.games-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}

.game-card{
  background:var(--bg-secondary);
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.05);
  transition:var(--transition);
}

.game-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.4);
}

.game-thumb{
  aspect-ratio:3/4;
  overflow:hidden;
}

.game-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:var(--transition);
}

.game-card:hover img{
  transform:scale(1.05);
}

.game-content{
  padding:16px;
}

.game-content h4{
  font-size:16px;
  margin-bottom:6px;
}

.game-content span{
  color:var(--accent);
  font-size:14px;
}

/* FAQ */
.faq-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.faq-item{
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
}

.faq-question{
  padding:22px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:600;
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}

.faq-answer p{
  padding:0 22px 22px;
  color:var(--muted);
}

.faq-item.active .faq-answer{
  max-height:300px;
}

/* FOOTER */
.footer{
  border-top:1px solid rgba(255,255,255,.05);
  padding:60px 0 120px;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:32px;
}

.footer p,
.footer a{
  color:var(--muted);
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* STICKY CTA */
.sticky-cta{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  display:flex;
  gap:12px;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(11,16,32,.88);
  backdrop-filter:blur(16px);
  border-top:1px solid rgba(255,255,255,.05);
  z-index:9999;
}

.sticky-cta a{
  flex:1;
  height:56px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:16px;
}

.sticky-login{
  background:#1A2238;
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
}

.sticky-daftar{
  background:linear-gradient(135deg,var(--primary),#7A5CFF);
  color:#fff;
  box-shadow:0 10px 30px rgba(91,95,255,.35);
}

/* MOBILE MENU */
.mobile-toggle{
  display:none;
  width:48px;
  height:48px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  font-size:20px;
}

/* ANIMATION */
.fade-up{
  opacity:0;
  transform:translateY(30px);
  transition:all .7s ease;
}

.fade-up.show{
  opacity:1;
  transform:translateY(0);
}

/* RESPONSIVE */
@media(max-width:992px){
  .hero-grid,
  .features-grid,
  .footer-grid,
  .games-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:768px){
  .nav-menu,
  .nav-actions{
    display:none;
  }

  .mobile-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .hero{
    padding-top:40px;
  }

  .hero-grid,
  .features-grid,
  .games-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .hero-content h1{
    font-size:42px;
  }

  .section{
    padding:60px 0;
  }
}
```

---

# style.js

```javascript
// HEADER SCROLL EFFECT
const header = document.querySelector('.header');

window.addEventListener('scroll', () => {
  if(window.scrollY > 30){
    header.classList.add('scrolled');
  }else{
    header.classList.remove('scrolled');
  }
});

// FAQ ACCORDION
const faqItems = document.querySelectorAll('.faq-item');

faqItems.forEach(item => {
  const question = item.querySelector('.faq-question');

  question.addEventListener('click', () => {
    item.classList.toggle('active');
  });
});

// FADE UP ANIMATION
const fadeElements = document.querySelectorAll('.fade-up');

const observer = new IntersectionObserver((entries) => {
  entries.forEach(entry => {
    if(entry.isIntersecting){
      entry.target.classList.add('show');
    }
  });
}, {
  threshold:0.1
});

fadeElements.forEach(el => observer.observe(el));

// MOBILE MENU
const mobileToggle = document.querySelector('.mobile-toggle');
const navMenu = document.querySelector('.nav-menu');

if(mobileToggle){
  mobileToggle.addEventListener('click', () => {
    navMenu.classList.toggle('active');
  });
}

// SMOOTH BUTTON TAP EFFECT
const buttons = document.querySelectorAll('.btn, .sticky-cta a');

buttons.forEach(button => {
  button.addEventListener('touchstart', () => {
    button.style.transform = 'scale(.97)';
  });

  button.addEventListener('touchend', () => {
    button.style.transform = 'scale(1)';
  });
});

// AUTO HIDE STICKY CTA WHEN SCROLLING DOWN
let lastScroll = 0;
const stickyCTA = document.querySelector('.sticky-cta');

window.addEventListener('scroll', () => {
  const currentScroll = window.pageYOffset;

  if(currentScroll > lastScroll && currentScroll > 120){
    stickyCTA.style.transform = 'translateY(120%)';
  }else{
    stickyCTA.style.transform = 'translateY(0)';
  }

  lastScroll = currentScroll;
});

// PRELOADER OPTIONAL
window.addEventListener('load', () => {
  document.body.classList.add('loaded');
});
```

---

# RECOMMENDED GOOGLE FONT

```html
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap" rel="stylesheet">
```

---

# HTML STICKY CTA EXAMPLE

```html
<div class="sticky-cta">
  <a href="/login/" class="sticky-login">LOGIN</a>
  <a href="/daftar/" class="sticky-daftar">DAFTAR</a>
</div>
```

---

# HTML FAQ EXAMPLE

```html
<div class="faq-item">
  <div class="faq-question">
    <span>Bagaimana cara login JUN888?</span>
    <span>+</span>
  </div>

  <div class="faq-answer">
    <p>Login menggunakan username dan password aktif melalui halaman resmi JUN888.</p>
  </div>
</div>
```

---

# HTML HERO EXAMPLE

```html
<section class="hero">
  <div class="container hero-grid">

    <div class="hero-content fade-up">
      <h1>JUN888 Platform Gaming Modern Indonesia</h1>

      <p>
        Akses cepat, tampilan premium mobile-first, dan pengalaman gaming modern.
      </p>

      <div class="hero-buttons">
        <a href="/daftar/" class="btn btn-primary">DAFTAR</a>
        <a href="/login/" class="btn btn-secondary">LOGIN</a>
      </div>
    </div>

    <div class="hero-card fade-up">
      <img src="banner.webp" alt="JUN888 Indonesia">
    </div>

  </div>
</section>

