/*
Theme Name: LegendaryGaming Fanny Anime Neon
Theme URI: https://legendarygaming.site/
Author: LegendaryGaming
Description: Tema editorial Mobile Legends bergaya anime neon, responsif, dengan Hero Guides, artikel, dan footer yang bisa diedit.
Version: 2.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: legendarygaming
License: GNU General Public License v2 or later
*/
:root{--bg:#080918;--panel:#13162d;--ink:#f9f7ff;--muted:#b8b4d3;--pink:#ff4ebd;--cyan:#54e6ff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--cyan)}img{max-width:100%;height:auto} .wrap{width:min(1160px,92%);margin:auto}.site-header{background:#090b1be8;border-bottom:1px solid #7341a855;position:sticky;top:0;z-index:10;backdrop-filter:blur(14px)}.head-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}.brand{font-size:1.4rem;font-weight:950;letter-spacing:.04em}.brand span{color:var(--pink)}.tagline{display:block;font-size:.65rem;letter-spacing:.2em;color:var(--cyan)}.site-header ul,.footer-menu ul{display:flex;list-style:none;gap:20px;margin:0;padding:0;flex-wrap:wrap}.site-header a{font-weight:700}.hero{min-height:540px;display:flex;align-items:center;background:linear-gradient(90deg,#090b1bf7 8%,#090b1bc4 50%,#090b1b28 100%),url(assets/fanny-neon.webp) center 25%/cover no-repeat;border-bottom:1px solid #70346e}.hero-inner{padding:85px 0;max-width:700px}.eyebrow{text-transform:uppercase;color:var(--cyan);letter-spacing:.2em;font-size:.8rem;font-weight:900}.hero h1{font-size:clamp(2.8rem,7vw,6rem);line-height:1.05;margin:14px 0;text-shadow:0 4px 25px #000}.hero h1 em{font-style:normal;color:var(--pink)}.hero p{font-size:1.1rem;max-width:590px;color:#e4dcf2}.btn{display:inline-block;padding:12px 22px;border-radius:8px;background:linear-gradient(120deg,#d52da6,#6945e4);color:#fff;font-weight:800;margin:8px 8px 0 0}.btn.secondary{background:#152c4c;border:1px solid #4381a5}.section{padding:65px 0}.section-title{font-size:clamp(1.7rem,3vw,2.4rem);margin:0 0 6px}.section-sub{color:var(--muted);margin:0 0 25px}.section-bg{background-position:center;background-size:cover;background-repeat:no-repeat;position:relative}.section-bg .wrap{position:relative;z-index:1}.news-bg{background-image:linear-gradient(90deg,#090b1bf0,#090b1bb8),var(--news-hayabusa-bg, url(assets/fanny-neon.webp))}.spotlight-bg{background-image:linear-gradient(90deg,#090b1be8,#090b1b80),var(--hayabusa-bg,url(assets/fanny-neon.webp))}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{overflow:hidden;background:#15182eea;border:1px solid #74478c80;border-radius:15px;box-shadow:0 12px 35px #0006;transition:transform .2s}.card:hover{transform:translateY(-4px)}.card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.card .placeholder{aspect-ratio:16/10;background:linear-gradient(135deg,#2c164d,#122c4b);display:grid;place-items:center;color:var(--cyan);font-weight:800}.card-body{padding:20px}.card h3{margin:7px 0;font-size:1.15rem;line-height:1.35}.meta{font-size:.75rem;color:var(--cyan);text-transform:uppercase;font-weight:800}.card p{color:var(--muted);margin:8px 0}.spotlight-panel{max-width:610px;padding:28px;border:1px solid #ba61b7a0;background:#0d0e24d6;border-radius:16px;backdrop-filter:blur(8px)}.spotlight-panel h3{font-size:2rem;margin:0}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:34px}.article{background:#111428;padding:clamp(20px,4vw,46px);border:1px solid #70448670;border-radius:15px}.article h1{font-size:clamp(2rem,4vw,3rem);line-height:1.15}.article p,.article li{color:#d8d7e6}.article img{border-radius:12px}.sidebar{background:#111428;padding:24px;border:1px solid #70448670;border-radius:15px;align-self:start}.sidebar ul{padding-left:20px}.page-title{padding:55px 0 20px}.page-title h1{font-size:2.5rem;margin:0}.search-form{display:flex;gap:8px;margin:20px 0}.search-form input{flex:1;min-width:0;padding:12px;border-radius:8px;border:1px solid #654789;background:#15182e;color:#fff}.search-form button{border:0;padding:12px;border-radius:8px;background:var(--pink);color:#fff}.site-footer{border-top:2px solid #d535a1;background:#090b1d;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:30px}.site-footer h3{color:var(--cyan);font-size:1rem}.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{margin:9px 0;color:var(--muted)}.copyright{border-top:1px solid #5b3d6655;margin-top:32px;padding-top:18px;color:var(--muted);font-size:.85rem}.pagination{margin:30px 0}.pagination a,.pagination span{display:inline-block;margin:4px;padding:8px 12px;background:#201b3c;border-radius:5px}.screen-reader-text{position:absolute;left:-9999px}.wp-block-image img{height:auto}@media(max-width:800px){.cards{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}.head-inner{align-items:flex-start;flex-direction:column;padding:14px 0;gap:8px}.site-header ul{gap:12px;font-size:.8rem}.hero{min-height:450px;background-position:58% center}.hero-inner{padding:65px 0}}@media(max-width:520px){.cards,.footer-grid{grid-template-columns:1fr}.hero{background-position:60% center}.hero-inner{padding:50px 0}.section{padding:42px 0}}

/* v1.2 — cinematic Fanny hero, rebuilt as real responsive HTML */
body.home .site-header{background:#080918ed;border-bottom:1px solid #bb3eab80;box-shadow:0 6px 30px #0005}
body.home .hero{min-height:610px;background-image:linear-gradient(90deg,#080819 0%,#09091bdc 31%,#09091b60 55%,#09091b00 79%),url(assets/fanny-hero-new.webp);background-position:center,right center;background-size:cover,auto 100%;background-repeat:no-repeat;background-color:#0b0922;overflow:hidden}
body.home .hero .hero-inner{max-width:810px;padding:90px 0 100px}
body.home .hero h1{font-size:clamp(3.2rem,6.1vw,6.5rem);line-height:.99;max-width:760px;font-weight:1000;letter-spacing:-.055em;font-style:italic;text-transform:uppercase;text-shadow:0 5px 25px #070719b0}
body.home .hero h1 em{display:block;background:linear-gradient(110deg,#ff4bc1,#d731b9);background-clip:text;-webkit-background-clip:text;color:transparent}
body.home .hero p{max-width:560px;color:#fff;font-size:1.06rem;line-height:1.65}
body.home .hero .btn{padding:15px 24px;border-radius:12px;box-shadow:0 10px 35px #09051e75}
body.home .hero .eyebrow{color:#6feaff}
@media(max-width:800px){body.home .hero{min-height:560px;background-image:linear-gradient(90deg,#080819f2 0%,#080819c8 45%,#08081944 100%),url(assets/fanny-hero-new.webp);background-size:cover,auto 100%;background-position:center,65% center}body.home .hero .hero-inner{padding:75px 0 85px;max-width:620px}}
@media(max-width:520px){body.home .hero{min-height:580px;background-image:linear-gradient(0deg,#080819fa 0%,#080819c7 42%,#08081945 100%),url(assets/fanny-hero-new.webp);background-size:cover,auto 68%;background-position:center,center top}body.home .hero .hero-inner{padding:230px 0 35px}body.home .hero h1{font-size:clamp(2.6rem,11vw,4.2rem)}body.home .hero p{font-size:.95rem}body.home .hero .btn{padding:12px 15px;font-size:.8rem}}

/* v1.3 header menu: responsive, wraps on smaller screens */
.site-header .head-inner{gap:16px}.site-header nav ul{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(8px,1.2vw,22px);list-style:none;margin:0;padding:0}.site-header nav a{white-space:nowrap;font-size:clamp(11px,.9vw,14px)}@media(max-width:850px){.site-header .head-inner{flex-wrap:wrap}.site-header nav{width:100%;overflow-x:auto}.site-header nav ul{width:max-content;max-width:none;padding-bottom:5px}}

/* v1.4: compact screenshot-matched header */
.site-header{background:#080a1bf5!important;border-bottom:1px solid #392248!important;box-shadow:0 5px 24px #0009;backdrop-filter:blur(16px)}
.site-header .wrap.head-inner{width:min(1320px,96%);min-height:58px;display:flex;align-items:center;flex-direction:row;gap:clamp(10px,2vw,32px);padding:0}
.site-header .brand{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;font-size:13px;line-height:1.15;letter-spacing:.025em;color:#e5d9f3}
.site-header .brand-mark{font-size:26px;line-height:1;color:#e43dbb;text-shadow:0 0 12px #ec4bc880}
.site-header .brand-name{display:block}.site-header .brand-name>span{color:#fa42c1}
.site-header .tagline{margin-top:3px;color:#a6a2b7;font-size:7px;letter-spacing:.17em;font-weight:700}
.site-header nav{margin-left:auto;min-width:0}.site-header nav ul{display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(9px,1.6vw,22px)}
.site-header nav a{font-size:10px!important;white-space:nowrap;font-weight:800;color:#c6bfd1;letter-spacing:.015em;transition:color .2s}
.site-header nav a:hover,.site-header nav .current-menu-item>a{color:#f84bc8}
.header-search{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#15162c;color:#d9d2e6}
@media(max-width:900px){.site-header .wrap.head-inner{width:96%;gap:12px}.site-header nav{width:auto;overflow-x:auto;scrollbar-width:none}.site-header nav ul{padding:0}.site-header nav::-webkit-scrollbar{display:none}}
@media(max-width:560px){.site-header .wrap.head-inner{min-height:60px;flex-wrap:wrap;padding:8px 0;gap:5px 10px}.site-header .brand{font-size:12px}.site-header nav{order:3;flex-basis:100%;margin:0}.site-header nav ul{gap:16px;padding:3px 0 5px}.site-header .header-search{margin-left:auto}}

/* v1.5: one Fanny artwork across entire homepage, live HTML over image */
body.home{background:#09071c url(assets/fanny-full-background.webp) center top / cover fixed no-repeat;}
body.home:before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(5,5,22,.60),rgba(7,4,25,.16) 65%,rgba(5,4,19,.25));z-index:0}
body.home .site-header,body.home main,body.home .site-footer,body.home .hero,body.home .section{position:relative;z-index:1}
body.home .site-header{margin:16px auto 0;width:min(1220px,94%);border:1px solid #e851d085!important;border-radius:15px;background:#08091ce8!important;box-shadow:0 14px 38px #0007}
body.home .hero{background:none!important;border:0;min-height:430px}
body.home .hero .hero-inner{padding:80px 0 52px;max-width:730px}
body.home .hero h1{font-size:clamp(3.1rem,6.2vw,5.9rem);line-height:.97}
body.home .hero .eyebrow{color:#ffb2f1}
body.home .section{background:none!important;padding:18px 0}
body.home .section .wrap{background:rgba(6,8,28,.81);border:1px solid #b54ed6a8;border-radius:12px;padding:22px;backdrop-filter:blur(14px);box-shadow:0 16px 45px #0007}
body.home .section-title{font-size:1.55rem;text-transform:uppercase}
body.home .news-bg .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.home .card{border-radius:9px;background:#0c1025ed}
body.home .card .card-body{padding:13px}
body.home .card h3{font-size:.92rem}
body.home .card p{font-size:.78rem;line-height:1.45}
body.home .spotlight-bg .wrap{min-height:290px;display:flex;align-items:center;justify-content:flex-end;background:linear-gradient(90deg,#080b20e8,#080b20a0),url(assets/hayabusa-spotlight.webp) 15% center / cover no-repeat}
body.home .spotlight-panel{width:min(420px,100%);background:#0b0c25c9}
body.home .site-footer{margin-top:32px;background:#090a1be8;backdrop-filter:blur(12px)}
.lg-home-columns{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(280px,1fr);gap:16px;align-items:start}
.lg-home-columns .section .wrap{width:100%}
.lg-home-columns .section{padding:0}
.lg-guides{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:18px}
.lg-guide{border:1px solid #924cbd88;background:#11122de0;border-radius:9px;padding:10px;text-align:center;font-size:.8rem;font-weight:800}
.lg-guide:hover{border-color:#ff55d5;color:#ff55d5}
.lg-guide img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:7px;margin-bottom:5px}
.lg-trending{list-style:none;margin:12px 0 0;padding:0}.lg-trending li{display:flex;gap:9px;margin:10px 0;font-size:.84rem}.lg-trending b{display:grid;place-items:center;width:22px;height:22px;background:#dd2bb3;border-radius:4px;flex-shrink:0}
@media(max-width:950px){.lg-home-columns{grid-template-columns:1fr}body.home .news-bg .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lg-guides{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){body.home{background-attachment:scroll;background-position:63% top}body.home .site-header{margin-top:8px}body.home .hero{min-height:480px}body.home .hero .hero-inner{padding:185px 0 35px}body.home .news-bg .cards{grid-template-columns:1fr}.lg-guides{grid-template-columns:repeat(3,1fr)}body.home .section .wrap{padding:15px}}

/* v1.6 — Fanny background across individual post pages */
body.single-post{background:#080819 url("assets/fanny-full-background.webp") center top / cover fixed no-repeat;}
body.single-post::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background:linear-gradient(90deg,rgba(6,7,24,.76),rgba(8,7,26,.48)),linear-gradient(0deg,rgba(6,6,22,.7),transparent 65%);}
body.single-post .site-header,body.single-post main,body.single-post .site-footer{position:relative;z-index:1;}
body.single-post .article{background:rgba(9,11,31,.88);border:1px solid rgba(246,72,201,.44);box-shadow:0 20px 55px rgba(0,0,0,.42);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);}
body.single-post .sidebar{background:rgba(9,11,31,.86);border:1px solid rgba(246,72,201,.32);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}
body.single-post .site-footer{background:rgba(8,8,25,.9);}
body.single-post .entry-content{overflow-wrap:anywhere;}
@media(max-width:800px){body.single-post{background-attachment:scroll;background-size:auto 100vh;background-position:63% top;background-color:#080819;}body.single-post::before{background:rgba(6,7,24,.73);}body.single-post .article{background:rgba(9,11,31,.93);}}

/* v1.8 Homepage: no Spotlight or Trending; full-width latest and popular posts. */
body.home .lg-home-main{padding-top:22px;padding-bottom:54px}
body.home .lg-home-main>.section{padding:24px 0}
body.home .lg-home-main>.section>.wrap{width:100%}
body.home .lg-home-main .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.home .lg-popular-section{border-top:1px solid #74478c55;margin-top:22px}
@media(max-width:800px){body.home .lg-home-main .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body.home .lg-home-main .cards{grid-template-columns:1fr}}

/* v1.9: Favorites and infinite-scroll archive */
body.home .lg-fanny-favorites-section,body.home .lg-older-section{border-top:1px solid #74478c55;margin-top:22px}
body.home .lg-fanny-favorites-section .section-title{color:#ff83d7}
.lg-older-controls{text-align:center;padding:24px 0 6px}
.lg-load-more{appearance:none;border:1px solid #ff67d2;background:linear-gradient(120deg,#b92999,#593bc5);color:white;font:inherit;font-weight:800;padding:12px 24px;border-radius:10px;cursor:pointer}
.lg-load-more:hover{filter:brightness(1.14)}.lg-load-more:disabled{opacity:.65;cursor:wait}
.lg-load-more[hidden]{display:none}
#lg-load-status{color:var(--muted);font-size:.88rem;min-height:1.5em;margin:12px 0 0}
#lg-load-sentinel{height:1px}

/* v2.0: Single-post Mobile Legends-inspired navigation and recommendation blocks */
.lg-ml-post-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:28px 0 38px}
.lg-ml-nav-link{min-width:0;display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #bd79d37a;border-radius:14px;background:linear-gradient(135deg,#18204a,#231139);box-shadow:0 8px 25px #0005;transition:transform .2s,border-color .2s}
.lg-ml-nav-link:hover{transform:translateY(-3px);border-color:#f5c66c}
.lg-ml-nav-link span{min-width:0;display:block}
.lg-ml-nav-link small{display:block;color:#ffcb77;font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.lg-ml-nav-link strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;color:#fff;line-height:1.4;font-size:.93rem}
.lg-ml-nav-newer{text-align:right;justify-content:flex-end}
.lg-ml-emblem{width:46px;height:46px;flex:none;filter:drop-shadow(0 2px 5px #0009)}
.lg-post-recommendation{margin:34px 0 0;padding-top:26px;border-top:1px solid #80578d88}
.lg-post-recommendation-title{font-size:clamp(1.35rem,2.5vw,1.75rem);color:#ff83d7;margin:0 0 4px}
.lg-post-recommendation-subtitle{font-size:.9rem;color:#b8b4d3;margin:0 0 18px}
.lg-post-recommendation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.lg-post-recommendation-grid .card-body{padding:12px}
.lg-post-recommendation-grid .card h3{font-size:.91rem}
.lg-post-recommendation-grid .card p{font-size:.8rem;line-height:1.45}
.lg-post-recommendation-grid .card img{aspect-ratio:16/10}
@media(max-width:1000px){.lg-post-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.lg-ml-post-nav{grid-template-columns:1fr}.lg-ml-nav-empty{display:none}.lg-post-recommendation-grid{grid-template-columns:1fr}.lg-ml-nav-link{padding:12px}}
