/* ============================================================
   GOGOANIME — skin ditulis ULANG dari nol meniru gogoanimes.cv
   (tanpa mewarisi kotakanime). Kuning #f5b50a di atas hitam pekat.
   ============================================================ */
:root{
  --bg:#0e0e10; --panel:#151517; --panel-2:#1c1c1f; --card:#161618;
  --line:rgba(255,255,255,.07); --line-2:rgba(255,255,255,.13);
  --text:#e9e9ec; --text-2:#b9b9c0; --muted:#7d7d86;
  --gold:#f5b50a; --gold-2:#e8a806; --gold-hi:#ffd166; --green:#56bc3a;
  --sub:#2a2a2e;
  --radius:6px; --tap:44px; --head:64px; --wrap:1250px;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--bg)}
body.gg{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased;padding-bottom:calc(var(--tap) + env(safe-area-inset-bottom))}
@media(min-width:900px){body.gg{padding-bottom:0}}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font:inherit;cursor:pointer}
::selection{background:rgba(245,181,10,.4);color:#000}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:4px}
.gg-wrap{max-width:var(--wrap);margin:0 auto;padding:0 12px}
@media(min-width:900px){.gg-wrap{padding:0 18px}}
.gg-skip{position:absolute;left:-9999px}.gg-skip:focus{left:8px;top:8px;z-index:200;background:var(--gold);color:#000;padding:8px 14px;border-radius:6px;font-weight:700}

/* ---------- HEADER ---------- */
.gg-topbar{background:#0a0a0b;border-bottom:1px solid var(--line)}
.gg-topbar .gg-wrap{display:flex;align-items:center;justify-content:flex-end;gap:14px;height:34px;font-size:.78rem;color:var(--muted)}
.gg-topbar a{color:var(--muted)}.gg-topbar a:hover{color:var(--gold)}
.gg-social{display:flex;gap:8px}.gg-social a{width:22px;height:22px;display:grid;place-items:center;background:var(--gold);color:#000;border-radius:4px;font-size:.7rem}
.gg-header{position:sticky;top:0;z-index:100;background:rgba(14,14,16,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.gg-header-in{display:flex;align-items:center;gap:14px;height:var(--head)}
.gg-burger{display:grid;gap:5px;width:var(--tap);height:var(--tap);place-content:center;background:none;border:0}
.gg-burger span{width:22px;height:2px;background:var(--gold);border-radius:2px;transition:.2s}
@media(min-width:900px){.gg-burger{display:none}}
.gg-brand{display:flex;align-items:baseline;gap:2px;font-weight:900;letter-spacing:-.5px;font-size:1.5rem;line-height:1}
.gg-brand .g1{color:var(--gold)}.gg-brand .g2{color:#fff}.gg-brand .tv{background:var(--green);color:#fff;font-size:.6rem;font-weight:800;padding:2px 4px;border-radius:3px;margin-left:3px;transform:translateY(-6px)}
.gg-nav{display:none;gap:22px;margin-left:18px}
@media(min-width:900px){.gg-nav{display:flex}}
.gg-nav a{font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text);padding:6px 0;border-bottom:2px solid transparent}
.gg-nav a:hover,.gg-nav a[aria-current]{color:var(--gold);border-color:var(--gold)}
.gg-search{margin-left:auto;display:none;align-items:center;background:var(--panel-2);border:1px solid var(--line-2);border-radius:5px;height:38px;width:280px}
@media(min-width:900px){.gg-search{display:flex}}
.gg-search input{flex:1;background:none;border:0;color:var(--text);padding:0 12px;font-size:.85rem;outline:none}
.gg-search button{background:none;border:0;color:var(--gold);padding:0 12px;height:100%}
.gg-search-m{margin-left:auto;width:var(--tap);height:var(--tap);display:grid;place-items:center;background:none;border:0;color:var(--gold)}
@media(min-width:900px){.gg-search-m{display:none}}
.gg-msearch{display:none;padding:10px 0;border-top:1px solid var(--line);background:var(--panel)}
.gg-msearch.open{display:block}
.gg-msearch form{display:flex;gap:8px}
.gg-msearch input{flex:1;height:var(--tap);background:var(--panel-2);border:1px solid var(--line-2);border-radius:5px;color:var(--text);padding:0 12px}
.gg-msearch button{height:var(--tap);padding:0 18px;background:var(--gold);color:#000;border:0;border-radius:5px;font-weight:800}

/* ---------- LAYOUT 2 kolom ---------- */
.gg-layout{display:grid;gap:18px;padding:16px 0 40px}
@media(min-width:1000px){.gg-layout{grid-template-columns:1fr 300px}}

/* ---------- BAR SEKSI kuning ---------- */
.gg-bar{display:flex;align-items:center;gap:10px;background:var(--gold);border-radius:6px 6px 0 0;padding:0 14px;height:44px;position:relative;overflow:hidden}
.gg-bar h2,.gg-bar h1{margin:0;font-size:.92rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#151515}
.gg-bar .gg-tabs{display:flex;gap:8px;font-size:.78rem}
.gg-bar .gg-tabs a{color:#5a4300;font-weight:700}.gg-bar .gg-tabs a.on,.gg-bar .gg-tabs a:hover{color:#151515}
.gg-bar .gg-pages{margin-left:auto;display:flex;gap:5px;font-size:.8rem;font-weight:700}
.gg-bar .gg-pages a,.gg-bar .gg-pages span{color:#5a4300;padding:2px 6px;border-radius:4px}
.gg-bar .gg-pages .on{background:var(--green);color:#fff}
.gg-bar .gg-more{margin-left:auto;color:#151515;font-weight:800;font-size:.78rem}
.gg-bar .gg-mascot{width:40px;height:40px;object-fit:contain;margin-top:-6px}
.gg-panel{background:var(--panel);border:1px solid var(--line);border-top:0;border-radius:0 0 6px 6px;padding:16px 14px}

/* ---------- GRID KARTU ---------- */
.gg-grid{display:grid;gap:14px 12px;grid-template-columns:repeat(2,1fr)}
@media(min-width:520px){.gg-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.gg-grid{grid-template-columns:repeat(4,1fr)}}
.gg-card{display:block}
.gg-poster{position:relative;aspect-ratio:3/4;border-radius:5px;overflow:hidden;background:var(--card);border:1px solid var(--line)}
.gg-poster img{width:100%;height:100%;object-fit:cover;transition:transform .35s var(--ease);color:transparent;font-size:0}
@media(hover:hover){.gg-card:hover .gg-poster img{transform:scale(1.07)}}
.gg-sub{position:absolute;left:0;bottom:0;background:var(--gold);color:#151515;font-size:.64rem;font-weight:800;letter-spacing:.05em;padding:3px 8px;border-radius:0 5px 0 0}
.gg-eptag{position:absolute;left:6px;top:6px;background:rgba(0,0,0,.78);color:#fff;font-size:.64rem;font-weight:700;padding:3px 7px;border-radius:4px}
.gg-rate{position:absolute;right:6px;top:6px;background:rgba(0,0,0,.78);color:var(--gold-hi);font-size:.64rem;font-weight:800;padding:3px 6px;border-radius:4px}
.gg-play{position:absolute;inset:0;display:grid;place-items:center;opacity:0;transition:.2s;background:rgba(0,0,0,.32)}
.gg-play svg{width:46px;height:46px;fill:var(--gold)}
@media(hover:hover){.gg-card:hover .gg-play{opacity:1}}
.gg-card .t{margin:8px 0 2px;font-size:.82rem;font-weight:700;color:var(--gold);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gg-card .e{font-size:.74rem;color:var(--muted)}

/* ---------- SIDEBAR ---------- */
.gg-side{display:flex;flex-direction:column;gap:18px}
.gg-rank{list-style:none;margin:0;padding:0}
.gg-rank li{border-bottom:1px solid var(--line)}
.gg-rank a{display:flex;gap:10px;padding:9px 0;align-items:center}
.gg-rank img{width:46px;height:64px;object-fit:cover;border-radius:4px;flex:0 0 auto}
.gg-rank-info strong{display:block;font-size:.8rem;color:var(--text);font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gg-rank-info span{font-size:.72rem;color:var(--muted)}
.gg-rank a:hover strong{color:var(--gold)}
.gg-genres{display:grid;grid-template-columns:1fr 1fr;gap:2px 16px}
.gg-genres a{padding:6px 0;font-size:.82rem;color:var(--gold);border-bottom:1px solid var(--line)}
.gg-genres a:hover{color:var(--gold-hi);padding-left:4px}

/* ---------- NOTICE ---------- */
.gg-notice{background:var(--gold);color:#151515;border-radius:6px;padding:10px 14px;font-size:.82rem;font-weight:700;text-align:center;margin-bottom:16px}

/* ---------- DETAIL ---------- */
.gg-det{display:grid;gap:16px}
@media(min-width:640px){.gg-det{grid-template-columns:220px 1fr}}
.gg-det-poster{border-radius:6px;overflow:hidden;border:1px solid var(--line-2);max-width:220px}
.gg-det-poster img{width:100%;aspect-ratio:3/4;object-fit:cover}
.gg-det h1{margin:0 0 10px;font-size:1.3rem;color:var(--gold);font-weight:800}
.gg-det .row{margin:5px 0;font-size:.86rem;color:var(--text-2)}
.gg-det .row b{color:var(--gold);font-weight:700}
.gg-det .row a{color:var(--text)}.gg-det .row a:hover{color:var(--gold)}
.gg-syn{margin:12px 0;font-size:.88rem;color:var(--text-2);line-height:1.75}
.gg-eptitle{margin:20px 0 10px;font-size:1rem;color:var(--gold);font-weight:800;border-bottom:1px solid var(--line);padding-bottom:8px}
.gg-seasons{display:flex;flex-wrap:wrap;gap:6px 12px;margin-bottom:14px;font-size:.82rem}
.gg-seasons a{color:var(--text-2)}.gg-seasons a.on,.gg-seasons a:hover{color:var(--gold);text-decoration:underline}
.gg-eplist{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.gg-eplist a{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:var(--tap);padding:0 10px;background:var(--panel-2);border:1px solid var(--line);border-radius:5px;font-size:.8rem;font-weight:700;transition:.15s}
.gg-eplist a:hover{border-color:var(--gold);color:var(--gold)}
.gg-eplist a[aria-current]{background:var(--gold);border-color:var(--gold);color:#151515}
.gg-eplist .s{font-size:.6rem;font-weight:800;color:var(--muted);background:var(--sub);padding:2px 5px;border-radius:3px}
.gg-eplist a[aria-current] .s{color:#151515;background:rgba(0,0,0,.15)}

/* ---------- TONTON ---------- */
.gg-player{position:relative;aspect-ratio:16/9;background:#000;border-radius:6px;overflow:hidden;margin-bottom:12px}
.gg-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.gg-wnav{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.gg-wbtn{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 16px;background:var(--panel-2);border:1px solid var(--line-2);border-radius:5px;font-size:.82rem;font-weight:700;color:var(--text)}
.gg-wbtn:hover{border-color:var(--gold);color:var(--gold)}
.gg-wbtn.prim{background:var(--gold);border-color:var(--gold);color:#151515}
.gg-wbtn.dis{opacity:.4;pointer-events:none}
.gg-server{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:5px;margin-top:8px;background:var(--panel-2)}
.gg-server .ic{color:var(--gold)}
.gg-server .pick{margin-left:auto;background:var(--gold);color:#151515;font-size:.72rem;font-weight:800;padding:5px 12px;border-radius:4px}

/* ---------- ANIME LIST A-Z ---------- */
.gg-alpha{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:16px}
.gg-alpha a{min-width:30px;height:30px;display:grid;place-items:center;background:var(--panel-2);border:1px solid var(--line);border-radius:4px;font-size:.78rem;font-weight:700;color:var(--text-2)}
.gg-alpha a:hover,.gg-alpha a.on{background:var(--gold);border-color:var(--gold);color:#151515}
.gg-azlist{columns:2;column-gap:24px}
@media(max-width:560px){.gg-azlist{columns:1}}
.gg-azlist a{display:block;padding:6px 0;font-size:.85rem;color:var(--text);break-inside:avoid;border-bottom:1px solid var(--line)}
.gg-azlist a:hover{color:var(--gold)}

/* ---------- PAGINATION ---------- */
.gg-pagi{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:24px 0}
.gg-pagi a,.gg-pagi span{min-width:var(--tap);height:var(--tap);display:inline-flex;align-items:center;justify-content:center;padding:0 12px;background:var(--panel-2);border:1px solid var(--line);border-radius:5px;font-weight:700;font-size:.84rem}
.gg-pagi a:hover{border-color:var(--gold);color:var(--gold)}
.gg-pagi .on{background:var(--gold);border-color:var(--gold);color:#151515}
.gg-pagi .dis{opacity:.4;pointer-events:none}

/* ---------- SEO text + serupa + komentar ---------- */
.gg-seotext{margin:18px 0;padding:12px 14px;background:var(--panel-2);border-left:3px solid var(--gold);border-radius:5px;font-size:.85rem;color:var(--text-2);line-height:1.7}

/* ---------- FOOTER ---------- */
.gg-foot{border-top:1px solid var(--line);padding:26px 0;margin-top:20px}
.gg-foot .gg-wrap{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.gg-foot .gg-brand{font-size:1.3rem}
.gg-foot p{margin:6px 0;font-size:.78rem;color:var(--muted)}
.gg-foot .top{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.78rem}
.gg-foot .top svg{width:34px;height:34px;fill:none;stroke:var(--gold);stroke-width:2}

/* ---------- TABBAR mobile ---------- */
.gg-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:120;height:calc(var(--tap) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:rgba(10,10,11,.96);border-top:1px solid var(--line);display:flex}
@media(min-width:900px){.gg-tabbar{display:none}}
.gg-tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:.6rem;font-weight:700;text-transform:uppercase;color:var(--muted)}
.gg-tabbar a[aria-current]{color:var(--gold)}
.gg-tabbar svg{width:20px;height:20px}

/* ---------- DRAWER ---------- */
.gg-scrim{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:130;opacity:0;pointer-events:none;transition:.2s}
.gg-scrim.on{opacity:1;pointer-events:auto}
.gg-drawer{position:fixed;top:0;left:0;bottom:0;width:82%;max-width:320px;background:var(--panel);z-index:140;transform:translateX(-100%);transition:transform .25s var(--ease);overflow-y:auto;padding:16px}
.gg-drawer.on{transform:none}
.gg-drawer nav a{display:block;padding:12px 8px;border-bottom:1px solid var(--line);font-weight:700;color:var(--text)}
.gg-drawer nav a:hover{color:var(--gold)}
.gg-drawer .gg-genres{margin-top:14px}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ---------- KOMENTAR ---------- */
.gg-comments{margin-top:22px}
.gg-clist{list-style:none;margin:0 0 16px;padding:0}
.gg-clist .comment{margin:0 0 10px}
.gg-clist .comment-body{background:var(--panel-2);border:1px solid var(--line);border-radius:5px;padding:11px 13px}
.gg-clist .children{list-style:none;margin:8px 0 0 20px;padding:0}
.gg-clist .comment-author{display:flex;gap:8px;align-items:center;font-weight:700;font-size:.86rem}
.gg-clist .comment-author .avatar{border-radius:50%;width:30px;height:30px}
.gg-clist .comment-author .says{display:none}
.gg-clist .comment-metadata{font-size:.7rem;margin:2px 0 6px 38px;color:var(--muted)}
.gg-clist .comment-content{margin-left:38px;font-size:.88rem;color:var(--text-2);overflow-wrap:anywhere}
.gg-clist .reply{margin-left:38px;font-size:.76rem}.gg-clist .reply a{color:var(--gold);font-weight:700}
.gg-cnote{color:var(--muted);font-size:.8rem;margin:0 0 10px}
.gg-creply-title{font-size:1rem;margin:16px 0 6px;color:var(--gold)}
.comment-form .comment-form-author input,.comment-form textarea{width:100%;background:var(--panel-2);border:1px solid var(--line-2);border-radius:5px;color:var(--text);padding:10px 12px;font:inherit;font-size:.9rem}
.comment-form textarea{resize:vertical;min-height:90px}
.comment-form .comment-form-author{max-width:300px}
.comment-form .form-submit{margin-top:10px}
.gg-btn{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 22px;background:var(--gold);color:#151515!important;border:0;border-radius:99px;font-weight:800;font-size:.85rem}
.gg-btn:hover{background:var(--gold-hi)}
.gg-hp{position:absolute!important;left:-9999px!important;height:1px;overflow:hidden}

/* judul utama beranda — satu H1 per halaman (kontrak mesin SEO) */
.gg-h1{font-size:15px;line-height:1.4;font-weight:800;letter-spacing:.2px;margin:0 0 12px;padding:0 2px;opacity:.92}
@media(max-width:640px){.gg-h1{font-size:13.5px;margin-bottom:10px}}
