/* =========================
   BOYINC — HOME (Step 1)
   Netral + neon glow halus
   ========================= */

/* Fallback kalau base.css belum define variable */
:root{
  --bg: #070A12;
  --panel: rgba(255,255,255,.04);
  --panel-2: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.10);

  --text: rgba(255,255,255,.90);
  --muted: rgba(255,255,255,.65);

  --neon-a: #43b5ff; /* biru */
  --neon-b: #a855f7; /* ungu */
  --neon-c: #22c55e; /* hijau */
}

/* Container home */
.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 16px 70px;
  color: var(--text);
}

/* HERO — jadi “banner” home */
.hero{
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  padding: 22px;
  border-radius: 18px;
  overflow: hidden;

  background:
    radial-gradient(900px 420px at 10% 20%, rgba(67,181,255,.22), transparent 60%),
    radial-gradient(700px 350px at 70% 40%, rgba(168,85,247,.18), transparent 55%),
    radial-gradient(700px 380px at 80% 90%, rgba(34,197,94,.14), transparent 60%),
    rgba(0,0,0,.45);

  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 14px 44px rgba(0,0,0,.45),
    0 0 0 1px rgba(67,181,255,.06) inset;
}

/* Glowing line tipis biar kerasa “Boyinc neon” tapi gak norak */
.hero::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(135deg,
    rgba(67,181,255,.30),
    rgba(168,85,247,.22),
    rgba(34,197,94,.20)
  );
  filter: blur(24px);
  opacity: .35;
  pointer-events:none;
}

/* Layer konten biar di atas glow */
.hero__left,
.hero__right{
  position: relative;
  z-index: 1;
}

.hero__title{
  margin: 0 0 6px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(67,181,255,.22);
}

.hero__subtitle,
.hero__search input::placeholder,
.chip{
  color: rgba(255,255,255,.92);
}

.hero__subtitle{
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 56ch;
  font-size: 15.5px;
  line-height: 1.65;
}

/* Search bar — FIX: gak jadi putih pas input/focus */
.hero__search{
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0 14px;
}

.hero__search input[type="search"]{
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline: none;

  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hero__search input[type="search"]::placeholder{
  color: rgba(255,255,255,.55);
}

.hero__search input[type="search"]:focus{
  background: rgba(255,255,255,.07);
  border-color: rgba(67,181,255,.35);
  box-shadow: 0 0 0 4px rgba(67,181,255,.12);
}

/* Tombol search (kamu punya button di form) */
.hero__search button{
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;

  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.hero__search button:hover{
  transform: translateY(-1px);
  border-color: rgba(67,181,255,.25);
  box-shadow: 0 10px 24px rgba(0,0,0,.35), 0 0 0 4px rgba(67,181,255,.10);
}

/* Chips */
.hero__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.chip{
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 13.5px;

  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.chip:hover{
  transform: translateY(-1px);
  border-color: rgba(168,85,247,.25);
  box-shadow: 0 10px 20px rgba(0,0,0,.35), 0 0 0 4px rgba(168,85,247,.10);
}

/* Kanan: highlight card */
.hero__card{
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

.muted{
  color: var(--muted);
}

/* SECTION */
.section{
  margin-top: 26px;
}

.section__head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}

.section__title{
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section__link{
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px dashed rgba(255,255,255,.25);
}
.section__link:hover{
  border-bottom-color: rgba(67,181,255,.55);
}

/* Cards grid */
.cards{
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}


/* Game card */
.card{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 26px rgba(0,0,0,.35);

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover{
  transform: translateY(-4px);
  border-color: rgba(67,181,255,.18);
  box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 5px rgba(67,181,255,.08);
}

.card__thumb{
  display:block;
  position: relative;
  aspect-ratio: 16/9;
  background: rgba(0,0,0,.25);
  overflow:hidden;
}

.card__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .30s ease, filter .30s ease;
  filter: saturate(1.05) contrast(1.05);
}

.card:hover .card__thumb img{
  transform: scale(1.08);
  filter: saturate(1.15) contrast(1.08);
}

.thumb__placeholder{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.65);
  font-size: 14px;
}

/* Badge di pojok */
.badge{
  position:absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.92);

  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 4px rgba(67,181,255,.08);
}

/* Body */
.card__body{
  padding: 12px 14px 14px;
}

.card__title{
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.card__title a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
}

.card__title a:hover{
  color: rgba(67,181,255,.95);
}

.card__meta{
  display:flex;
  align-items:center;
  gap: 8px;
  color: rgba(255,255,255,.62);
  font-size: 12.5px;
  margin-bottom: 10px;
}

.dot{
  opacity: .6;
}

.card__excerpt{
  margin: 0 0 12px;
  color: rgba(255,255,255,.70);
  line-height: 1.6;
  font-size: 13.5px;
}

/* CTA */
.card__cta{
  display: inline-flex;
  align-items:center;
  gap: 8px;
  text-decoration:none;
  color: rgba(255,255,255,.90);
  font-weight: 700;
  font-size: 13.5px;

  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card__cta:hover{
  transform: translateY(-1px);
  border-color: rgba(34,197,94,.25);
  box-shadow: 0 10px 20px rgba(0,0,0,.35), 0 0 0 4px rgba(34,197,94,.10);
}

/* Artikel cards (yang versi text-only) */
.card--article{
  padding: 14px 14px 16px;
}
.cards--article .card__excerpt{
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px){
  .container{ padding-top: 18px; }
  .hero{ padding: 16px; border-radius: 16px; }
  .hero__search{ flex-direction: column; align-items: stretch; }
  .cards{ grid-template-columns: 1fr; }
}
