/* ═══════════════════════════════════════════════════════
   style.css — Greyden Gaming Content Creator
   ═══════════════════════════════════════════════════════ */

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

:root {
  --black: #050507;
  --surface: #0d0e12;
  --surface2: #13151a;
  --border: rgba(255,255,255,0.07);
  --teal: #00d4c8;
  --teal-dim: rgba(0,212,200,0.12);
  --white: #f0f2f5;
  --muted: #5a5f6e;
  --muted2: #3a3f4e;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;

  /* ══════════════════════════════════════════════════════
     🖱️  CUSTOM CURSOR — body
     Baris ini menyembunyikan kursor asli browser.
     Untuk NONAKTIFKAN kursor custom:
       1. Hapus atau komen baris "cursor: none;" di sini
       2. Di script.js, cari blok "CUSTOM CURSOR" dan
          komen/hapus seluruh bloknya
     ══════════════════════════════════════════════════════ */
  cursor: none; /* ← HAPUS BARIS INI untuk nonaktifkan custom cursor */
}

/* ─── LOADING SCREEN ─── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  letter-spacing: 6px;
  color: var(--white);
}
.loader-logo span { color: var(--teal); }
.loader-bar-wrap {
  width: 220px;
  height: 2px;
  background: var(--surface2);
  border-radius: 100px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--teal);
  border-radius: 100px;
  transition: width 0.05s linear;
  box-shadow: 0 0 12px rgba(0,212,200,0.6);
}
.loader-pct {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════
   🖱️  CUSTOM CURSOR — elemen cursor
   Untuk NONAKTIFKAN: hapus/komen seluruh blok di bawah ini
   (dari ".cursor {" sampai ".cursor-ring.hovered { ... }")
   Dan juga hapus kedua div cursor di index.html
   ══════════════════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 8999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.cursor.hovered {
  width: 20px; height: 20px;
  background: rgba(0,212,200,0.5);
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(0,212,200,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 8998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
}
.cursor-ring.hovered {
  width: 50px; height: 50px;
  border-color: rgba(0,212,200,0.7);
}
/* ══ AKHIR BLOK CUSTOM CURSOR ══ */

/* ─── PARTICLE CANVAS ─── */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.5rem;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease, padding 0.4s ease;
}
nav.scrolled {
  background: rgba(5, 5, 7, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 2.5rem;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.nav-logo span { color: var(--teal); }
.nav-pill {
  display: flex;
  gap: 0.2rem;
  background: rgba(13,14,18,0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  border-radius: 100px;
  padding: 0.4rem;
}
.nav-pill a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 1.2rem;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav-pill a:hover, .nav-pill a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-cta {
  background: var(--teal);
  color: var(--black) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: box-shadow 0.3s ease, opacity 0.2s !important;
}
.nav-cta:hover {
  opacity: 0.9 !important;
  box-shadow: 0 0 20px rgba(0,212,200,0.4) !important;
}

/* ─── SOCIAL SIDEBAR ─── */
.social-sidebar {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.social-sidebar a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.social-sidebar a:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 12px rgba(0,212,200,0.3);
  transform: scale(1.1);
}
.social-sidebar svg { width: 16px; height: 16px; fill: currentColor; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,212,200,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); }
}
.hero-tag {
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
}
.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 16vw, 13rem);
  line-height: 0.9;
  letter-spacing: 4px;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-name .teal {
  color: var(--teal);
  animation: nameGlow 3s ease-in-out infinite;
  display: inline-block;
}
@keyframes nameGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(0,212,200,0.3); }
  50% { text-shadow: 0 0 50px rgba(0,212,200,0.7), 0 0 80px rgba(0,212,200,0.3); }
}
.hero-typewriter {
  max-width: 520px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 1.8rem auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
  min-height: 2rem;
}
.typewriter-text { color: var(--white); }
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--teal);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.75s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}
.btn-teal {
  background: var(--teal);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, box-shadow 0.3s, transform 0.2s;
}
.btn-teal:hover {
  opacity: 0.9;
  box-shadow: 0 0 24px rgba(0,212,200,0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.3s, transform 0.2s;
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 16px rgba(0,212,200,0.2);
  transform: translateY(-2px);
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 100px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}
.hero-scroll-dot {
  width: 4px; height: 10px;
  background: var(--teal);
  border-radius: 100px;
  animation: scrollDot 1.8s ease infinite;
}

/* ─── SHARED SECTIONS ─── */
section { padding: 6rem 2.5rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 2px;
  color: var(--teal);
  line-height: 1;
}
.section-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.section-link:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 12px rgba(0,212,200,0.15);
}

/* ─── STATS BAR ─── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.stat-item {
  text-align: center;
  border-right: 1px solid var(--border);
  padding: 1rem 2rem;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--teal); }
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ─── VIDEO GRID ─── */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.3s;
  text-decoration: none;
}
.video-card:hover {
  border-color: rgba(0,212,200,0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,212,200,0.1);
}
.video-thumb {
  height: 200px;
  background: var(--surface2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-thumb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1a1a 0%, #0a1520 100%);
  transition: filter 0.3s;
}
.video-card:hover .video-thumb-bg { filter: brightness(1.2); }
.game-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,212,200,0.1);
  border: 1px solid rgba(0,212,200,0.3);
  color: var(--teal);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  z-index: 2;
}
.play-circle {
  width: 54px; height: 54px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.video-card:hover .play-circle {
  border-color: var(--teal);
  background: var(--teal-dim);
  box-shadow: 0 0 24px rgba(0,212,200,0.3);
  transform: scale(1.1);
}
.play-icon {
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 0 8px 15px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 3px;
  transition: border-color 0.2s;
}
.video-card:hover .play-icon { border-color: transparent transparent transparent var(--teal); }
.video-info { padding: 1.2rem 1.4rem; }
.video-tags { display: flex; gap: 6px; margin-bottom: 0.7rem; flex-wrap: wrap; }
.video-tag {
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 2px 10px;
  border-radius: 100px;
}
.video-title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.video-meta { font-size: 0.78rem; color: var(--muted); }

/* ─── DOWNLOAD GRID ─── */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.3s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.25s;
}
.dl-card:hover {
  border-color: rgba(0,212,200,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,212,200,0.08);
}
.dl-icon {
  width: 44px; height: 44px;
  background: var(--teal-dim);
  border: 1px solid rgba(0,212,200,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.25s;
}
.dl-card:hover .dl-icon { box-shadow: 0 0 16px rgba(0,212,200,0.25); }
.dl-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-info { flex: 1; min-width: 0; }
.dl-name { font-size: 0.92rem; color: var(--white); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-meta { font-size: 0.75rem; color: var(--muted); margin-top: 3px; }
.dl-arrow { color: var(--muted); font-size: 1.1rem; transition: color 0.2s, transform 0.25s; }
.dl-card:hover .dl-arrow { color: var(--teal); transform: translateY(3px); }

/* ─── QUOTE ─── */
.quote-section {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.quote-text {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--white);
  max-width: 860px;
}
.quote-text .highlight { color: var(--teal); }

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-avatar {
  aspect-ratio: 1;
  max-width: 320px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 8rem;
  color: var(--teal);
  letter-spacing: 4px;
  transition: box-shadow 0.3s;
}
.about-avatar:hover { box-shadow: 0 0 50px rgba(0,212,200,0.12); }
.about-text h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 1rem;
}
.about-text p { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.about-text p span { color: var(--white); }
.about-platforms { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
.platform-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.platform-badge:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 14px rgba(0,212,200,0.2);
  transform: translateY(-2px);
}
.platform-badge svg { width: 14px; height: 14px; fill: currentColor; }

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: border-color 0.25s, transform 0.3s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.25s;
}
.service-card:hover {
  border-color: rgba(0,212,200,0.35);
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,212,200,0.07);
}
.service-icon {
  width: 40px; height: 40px;
  margin-bottom: 1.2rem;
  color: var(--teal);
}
.service-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.service-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--white);
}
.footer-logo span { color: var(--teal); }
.footer-note { font-size: 0.78rem; color: var(--muted2); }
.footer-note a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-note a:hover { color: var(--teal); }

.fullwidth-border { border-top: 1px solid var(--border); position: relative; z-index: 1; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.22,0.61,0.36,1), transform 0.75s cubic-bezier(0.22,0.61,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* stagger children */
.reveal.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }
