/* =========================================================
   DELIWIN - GREEN / BLACK / GOLD
   Tampilan dibuat mengikuti referensi: header hijau gelap,
   banner hijau terang, menu hitam, kartu hijau 4 kolom.
   ========================================================= */

:root{
  --green:#19c900;
  --green2:#0a9700;
  --green3:#006d05;
  --neon:#33ff00;
  --dark:#020603;
  --dark2:#07100a;
  --gold:#ffd21a;
  --gold2:#d79a00;
  --white:#fff;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  min-height:100vh;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--white);
  background:
    linear-gradient(rgba(0,35,0,.70),rgba(0,12,0,.88)),
    url("/oxg-benner.webp") center top/cover fixed no-repeat;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 50% 20%,rgba(35,255,0,.12),transparent 38%);
  z-index:-1;
}

.container{
  width:100%;
  max-width:1320px;
  margin:0 auto;
  padding:10px 8px 28px;
}

/* HEADER */
.topbar{
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:7px 12px;
  background:linear-gradient(90deg,rgba(0,25,5,.97),rgba(0,45,5,.94));
  border:1px solid #09a10a;
  border-radius:15px;
  box-shadow:0 0 9px rgba(0,255,20,.25),inset 0 0 15px rgba(0,255,20,.06);
}
.brand{display:flex;align-items:center;min-width:180px}
.logo{width:156px;height:43px;display:block;object-fit:contain}

.searchbox{
  width:315px;
  height:31px;
  display:flex;
  margin-right:30px;
}
.searchbox input{
  flex:1;
  min-width:0;
  height:31px;
  border:0;
  outline:0;
  padding:0 12px;
  background:#fff;
  color:#222;
  border-radius:5px 0 0 5px;
  font-size:12px;
}
.searchbox button{
  width:38px;
  height:31px;
  border:0;
  cursor:pointer;
  color:#111;
  background:linear-gradient(#29ef19,#00b90d);
  border-radius:0 5px 5px 0;
  font-size:18px;
}

/* TITLE */
.hero-title{
  width:100%;
  min-height:70px;
  margin-top:12px;
  padding:8px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(#0ae80a,#00c500);
  border:1px solid #1aff18;
  border-radius:14px;
  color:#fff;
  font-size:20px;
  font-weight:900;
  letter-spacing:.3px;
  text-shadow:1px 1px 2px #000;
  box-shadow:0 0 9px rgba(0,255,20,.30),inset 0 1px rgba(255,255,255,.15);
}

/* MENU */
.hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0 20px;
}
.action-btn{
  min-width:94px;
  height:37px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #575757;
  border-radius:10px;
  background:linear-gradient(#242424,#050505 55%,#000);
  color:#fff;
  text-decoration:none;
  font-size:16px;
  font-weight:900;
  box-shadow:0 2px 4px rgba(0,0,0,.8),inset 0 1px rgba(255,255,255,.12);
  transition:.18s ease;
}
.action-btn:hover{transform:translateY(-2px);border-color:#00ff19;box-shadow:0 0 9px rgba(0,255,20,.5)}
.action-primary{
  color:#111;
  border-color:#ffd21a;
  background:linear-gradient(#fff15a,#ffd21a 48%,#d89a00);
}

/* TICKER */
.ticker{
  width:100%;
  height:44px;
  overflow:hidden;
  display:flex;
  align-items:center;
  background:linear-gradient(#222,#0a0a0a 55%,#020202);
  border:1px solid #12c90f;
  border-radius:10px;
  box-shadow:0 0 7px rgba(0,255,20,.24);
}
.ticker-track{
  width:max-content;
  padding-left:100%;
  white-space:nowrap;
  font-size:16px;
  font-weight:900;
  animation:ticker 24s linear infinite;
}
@keyframes ticker{to{transform:translateX(-100%)}}

/* GRID */
.grid{
  width:100%;
  margin-top:36px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

/* CARD */
.card{
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:linear-gradient(180deg,#22a803,#159000);
  border:1px solid #24ec06;
  border-radius:8px;
  box-shadow:0 0 6px rgba(0,255,20,.42),0 4px 10px rgba(0,0,0,.6);
  transition:transform .18s ease,box-shadow .18s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 0 13px rgba(0,255,30,.5),0 6px 14px rgba(0,0,0,.65);
}
.thumb{
  width:100%;
  height:224px;
  overflow:hidden;
  background:#111;
  border-bottom:3px solid #39e900;
}
.thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.body{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:12px;
}
.card h2{
  margin-bottom:9px;
  color:#fff;
  font-size:16px;
  line-height:1.35;
  font-weight:900;
  text-transform:uppercase;
  text-shadow:1px 1px 1px rgba(0,0,0,.55);
}
.meta{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-bottom:9px;
  color:#fff;
  font-size:12px;
  line-height:1.35;
}
.meta span:last-child{color:#edff00;font-weight:900}
.smalltext{
  flex:1;
  color:#fff;
  font-size:16px;
  line-height:1.5;
}
.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:45px;
  margin-top:12px;
  padding:6px 8px;
  border:1px solid #0b6500;
  border-radius:6px;
  background:linear-gradient(#2bdc08,#099500);
  color:#fff;
  text-decoration:none;
  font-size:16px;
  font-weight:900;
}
.btn:hover{background:linear-gradient(#43f51b,#0ba900)}

/* ARTICLE */
.deliwin-article{
  margin-top:18px;
  padding:22px;
  color:#eaf7ea;
  background:rgba(3,10,4,.90);
  border:1px solid #1aa70d;
  border-radius:16px;
  line-height:1.75;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}
.deliwin-article .title{
  margin:0 0 8px;
  font-size:26px;
  color:#19ff00;
}
.deliwin-article .subtitle{margin:0 0 15px;color:#ffe61e;font-size:13px}
.deliwin-article h2{
  margin:18px 0 9px;
  padding-left:10px;
  border-left:4px solid #19ee13;
  color:#27ff14;
  font-size:19px;
}
.deliwin-article h3{margin:15px 0 6px;color:#e8ffe8;font-size:16px}
.deliwin-article p{margin:0 0 11px}
.deliwin-article ul{margin:0 0 12px 20px}
.deliwin-article li{margin:5px 0}
.badge{
  display:inline-block;
  padding:5px 10px;
  margin:5px 0 12px;
  color:#21ff11;
  background:#000;
  border:1px solid #1bff12;
  border-radius:999px;
  font-size:12px;
}
.divider{
  height:1px;
  margin:17px 0;
  background:linear-gradient(90deg,transparent,#19ff00,transparent);
}
.note{
  margin-top:13px;
  padding:12px;
  color:#d9f7d9;
  background:rgba(0,80,0,.35);
  border:1px dashed #1bff12;
  border-radius:12px;
  font-size:16px;
}
.footer{
  padding:14px 0;
  text-align:center;
  color:#fff;
  opacity:.7;
  font-size:16px;
}

/* RESPONSIVE */
@media(max-width:900px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .searchbox{margin-right:0}
}
@media(max-width:600px){
  body{background-attachment:scroll}
 .container{padding:7px 6px 20px}
  .topbar{min-height:auto;flex-direction:column;gap:8px;padding:8px}
  .brand{justify-content:center}
  .logo{width:145px;height:40px}
  .searchbox{width:100%;margin:0}
  .hero-title{min-height:50px;font-size:15px}
  .hero-actions{gap:5px;margin:10px 0 14px}
  .action-btn{min-width:0;flex:1 1 28%;padding:0 5px;font-size:9px}
  .ticker{height:34px}
  .ticker-track{font-size:10px}
  .grid{grid-template-columns:1fr;gap:12px;margin-top:18px}
  .thumb{height:auto;aspect-ratio:1.65/1}
  .card h2{font-size:14px}
  .deliwin-article{padding:16px}
  .deliwin-article .title{font-size:21px}
}
@media(max-width:380px){
  .action-btn{flex:1 1 45%}
  .hero-title{font-size:13px}
}


/* =========================================================
   REFERENCE VIDEO SIZE TUNING
   Desktop reference: 1376x736 browser viewport.
   Four cards remain visible with ~316px card width.
   ========================================================= */
@media (min-width:901px){
  .container{max-width:1320px;padding-left:8px;padding-right:8px}
  .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
  .card{min-height:0}
  .thumb{height:224px}
  .body{padding:12px}
  .card h2{font-size:16px;line-height:1.35}
  .meta{font-size:12px;gap:5px}
  .smalltext{font-size:13px;line-height:1.5}
  .btn{min-height:45px;font-size:13px;border-radius:8px}
}

@media (max-width:900px){
  .container{max-width:100%;padding-left:8px;padding-right:8px}
  .thumb{height:auto;aspect-ratio:1.31/1}
}

@media (max-width:600px){
  .container{padding:7px 6px 20px}
  .hero-title{min-height:56px;font-size:15px}
  .hero-actions{gap:6px;margin:12px 0 16px}
  .action-btn{height:36px;font-size:10px}
  .ticker{height:40px}
  .ticker-track{font-size:11px}
  .grid{gap:12px;margin-top:20px}
  .thumb{height:auto;aspect-ratio:1.31/1}
  .card h2{font-size:15px}
  .meta{font-size:11px}
  .smalltext{font-size:12px}
  .btn{min-height:42px;font-size:12px}
}
