/*
Theme Name: Gudang Lin
Theme URI: https://example.com/
Author: Lin
Author URI: https://example.com/
Description: Tema minimal super cepat untuk landing + gudang gambar.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gudang-lin
*/

:root{
  --gl-bg:#0b0d12;
  --gl-surface:#111523;
  --gl-text:#e8ecff;
  --gl-muted:#aab2d6;
  --gl-link:#8ab4ff;
  --gl-border:rgba(255,255,255,.12);
  --gl-max:1540px;
  --gl-radius:14px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  line-height:1.55;
  color:var(--gl-text);
  background:var(--gl-bg);
}

a{color:var(--gl-link); text-decoration:none}
a:hover{text-decoration:underline}

.gl-wrap{
  max-width:var(--gl-max);
  margin:0 auto;
  padding:28px 24px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:18px;
}
.home .gl-wrap{align-items:center}
.gl-card{
  width:100%;
  max-width:var(--gl-max);
}

.gl-main{padding:0}
.gl-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:12px;
  border:1px solid var(--gl-border);
  background:transparent;
  color:var(--gl-text);
  text-decoration:none;
}
.gl-btn:hover{text-decoration:none; border-color:rgba(138,180,255,.55)}
.gl-btn.primary{background:rgba(138,180,255,.16); border-color:rgba(138,180,255,.35)}

.gl-landing{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:12px 10px 0;
}

.gl-title{margin:0 0 10px; font-size:26px; line-height:1.25}
.gl-desc{margin:0 0 14px; color:var(--gl-muted); max-width:560px}
.gl-label{
  margin:16px 0 12px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.6px;
}
.gl-btns{width:100%; display:grid; gap:14px; justify-items:center}
.gl-btn--big{
  width:min(560px, 100%);
  padding:16px 18px;
  border-radius:10px;
  border:1px solid rgba(30,92,255,.15);
  background:#1e5cff;
  color:#fff;
  font-weight:800;
  letter-spacing:.4px;
  text-align:center;
  line-height:1.35;
}
.gl-btn--big:hover{border-color:rgba(30,92,255,.45)}
.gl-empty{color:var(--gl-muted); font-size:13px}

.gl-donate{margin-top:16px; width:100%; display:grid; gap:10px; justify-items:center}
.gl-btn--donate{
  width:min(560px, 100%);
  padding:12px 18px;
  border-radius:12px;
  background:rgba(138,180,255,.16);
  border-color:rgba(138,180,255,.35);
  font-weight:800;
  letter-spacing:.2px;
}
.gl-btn--donate:hover{border-color:rgba(138,180,255,.55)}
.gl-donate-hint{color:var(--gl-muted); font-size:12px}

.gl-footer-nav{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  margin:0 0 10px;
}
.gl-footer-nav a{
  color:var(--gl-muted);
  line-height:1.5;
}
.gl-footer-nav a:hover{color:var(--gl-text)}

.gl-footer{
  padding:22px 10px 10px;
  color:var(--gl-muted);
  font-size:12px;
  text-align:center;
}

.gk-dir-paginate{
  margin:28px auto 0;
  max-width:680px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
}
.gk-dir-paginate__item{
  min-width:44px;
  height:40px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.05);
  color:var(--gl-text);
  font-weight:700;
  text-decoration:none;
  line-height:1;
}
.gk-dir-paginate__item:hover{
  text-decoration:none;
  border-color:rgba(138,180,255,.35);
  background:rgba(255,255,255,.08);
}
.gk-dir-paginate__item.is-current{
  background:#1e5cff;
  border-color:rgba(30,92,255,.45);
  color:#fff;
}
.gk-dir-paginate__item.is-dots{
  background:rgba(255,255,255,.03);
  color:var(--gl-muted);
  pointer-events:none;
}
.gk-dir-paginate__item.is-arrow{
  min-width:48px;
}

.gl-section{
  width:100%;
  max-width:1040px;
  margin:0 auto 14px;
  padding:18px 16px;
  border:1px solid var(--gl-border);
  border-radius:14px;
  background:rgba(255,255,255,.03);
  text-align:left;
}
.gl-section--home{margin-top:18px}
.gl-section h1,.gl-section h2{margin:0 0 10px}
.gl-section p{margin:0 0 10px}
.gl-section--home p:last-child{margin-bottom:0}

.gl-donasi-grid{display:grid; gap:12px; margin-top:12px}
.gl-donasi-card{
  padding:14px 12px;
  border:1px solid var(--gl-border);
  border-radius:12px;
  background:rgba(0,0,0,.08);
}
.gl-donasi-row{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.gl-input{
  flex:1 1 360px;
  min-width:220px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--gl-border);
  background:transparent;
  color:var(--gl-text);
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size:13px;
}
.gl-donasi-hint{margin-top:8px; color:var(--gl-muted); font-size:12px; min-height:16px}

.gl-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:12px}
.gl-media{
  border:1px solid var(--gl-border);
  border-radius:12px;
  overflow:hidden;
  background:rgba(0,0,0,.08);
}
.gl-media img{display:block; width:100%; height:140px; object-fit:cover}
.gl-media .meta{padding:10px 10px 12px; display:grid; gap:8px}
.gl-media .meta small{color:var(--gl-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.gl-media textarea{
  width:100%;
  min-height:68px;
  padding:8px;
  border-radius:10px;
  border:1px solid var(--gl-border);
  background:transparent;
  color:var(--gl-text);
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size:12px;
  resize:vertical;
}

@media (max-width:520px){
  .gl-wrap{
    padding:18px 14px;
    gap:14px;
  }
  .gl-card{
    max-width:100%;
  }
  .gl-footer{
    padding:18px 14px 12px;
    font-size:11px;
  }
  .gl-footer-nav{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px 12px;
    margin:0 0 12px;
  }
  .gl-footer-nav a{
    display:block;
    padding:4px 0;
    text-align:center;
  }
  .gk-dir-paginate{
    gap:6px;
  }
  .gk-dir-paginate__item{
    min-width:40px;
    height:38px;
    padding:0 10px;
  }
}
