/* Tech Kita V2.4 — Core Layout */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050508;
  color: #f8fafc;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Ambient Background */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.ambient-orb-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 93, 250, 0.08) 0%, transparent 70%);
  top: -400px;
  left: -200px;
}

.ambient-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  bottom: -200px;
  right: -100px;
}

.ambient-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 93, 250, 0.04) 0%, transparent 70%);
  top: 40%;
  left: 60%;
}

.ambient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

/* Header — Floating Glass */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1100px;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

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

.logo-icon {
  width: 36px;
  height: 30px;
  background: linear-gradient(135deg, #005dfa 0%, #005dfa 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
}

.logo-text {
  font-size: 17px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #01a0fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

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

.nav a {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a.active { color: #01a0fb; background: rgba(0, 93, 250, 0.1); }

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-primary {
  padding: 8px 18px;
  background: linear-gradient(135deg, #005dfa 0%, #007ef9 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 93, 250, 0.4);
}

/* Main */
.main {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Label — Editorial */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 93, 250, 0.5);
  font-variant-numeric: tabular-nums;
  min-width: 20px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
}

/* Filter Tabs */
.filters {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.filter-btn {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.filter-btn.active {
  background: rgba(0, 93, 250, 0.12);
  border-color: rgba(0, 93, 250, 0.25);
  color: #01a0fb;
}

/* Footer */
.footer { margin-top: 40px; padding: 40px 24px 24px; border-top: 1px solid rgba(255, 255, 255, 0.04); }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { width: 40px; height: 40px; background: linear-gradient(135deg, #005dfa, #005dfa); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; color: #fff; }
.footer-name { font-size: 18px; font-weight: 800; color: #fff; }
.footer-tagline { font-size: 13px; color: rgba(255, 255, 255, 0.4); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  text-align: center;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding: 3px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: #01a0fb; }

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.46);
}

/* Daily visitor stat */
.visitor-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  max-width: 1100px;
  margin: -8px auto 24px;
  padding: 0 16px;
}

.vs-count {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-light);
  font-variant-numeric: tabular-nums;
}

.vs-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .btn-primary { display: none; }
  .header { top: 8px; width: calc(100% - 16px); border-radius: 12px; }
  .main { padding-top: 68px; padding-left: 16px; padding-right: 16px; }
  .section-title { font-size: 20px; }
  .footer-inner { gap: 32px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Logo */
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-img {
    height: 26px;
  }
}

/* Logo mobile - add left space */
@media (max-width: 768px) {
  .logo-img {
    margin-left: -8px;
  }
}

/* Mobile Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.menu-overlay.active {
  display: flex;
}

.menu-content {
  text-align: center;
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-nav a {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.menu-nav a:hover {
  color: #01a0fb;
}

/* Search Overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
}

.search-overlay.active {
  display: flex;
}

.search-content {
  width: 90%;
  max-width: 500px;
  text-align: center;
}

.search-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.search-input {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 18px;
  outline: none;
}

.search-input:focus {
  border-color: rgba(0, 93, 250, 0.5);
}

.search-results {
  margin-top: 20px;
  text-align: left;
}

/* P0 (6 Okt 2026): domain Game/Anime belum hidup — pautan dimatikan, dipaparkan sebagai "akan datang" */
.nav-soon,
.menu-nav .nav-soon {
  display: inline-block;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  cursor: default;
}

.menu-nav .nav-soon {
  display: block;
}

.nav-soon::after {
  content: "";
  display: block;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  margin-top: 3px;
}

.footer-col .footer-soon {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.32);
  cursor: default;
}
