/*
Theme Name: CruxCrown Dark Arena
Theme URI: https://example.com/moy
Author: CruxCrown Studio
Author URI: https://example.com/moy
Description: Vietnamese gaming theme (Full-bleed overlay hero + masonry game wall blueprint) with dark palette and dynamic accents.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.0
License: GNU General Public License v2 or later
Text Domain: moyvn
*/

/* =========================================================
   CruxCrown Dark Arena — blueprint 01: overlay hero + masonry wall
   ========================================================= */
.moy-topbar{position:sticky;top:0;z-index:120;background:rgba(8,10,16,.92);border-bottom:1px solid rgba(255,255,255,0.13);backdrop-filter:blur(8px)}
.moy-topbar-inner{max-width:1240px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:20px}
.moy-burger{display:none;background:none;border:1px solid rgba(255,255,255,0.13);border-radius:8px;padding:10px 9px;cursor:pointer}
.moy-burger span{display:block;width:20px;height:2px;background:#f5b83d;margin:4px 0}
.moy-brand{display:flex;align-items:center;gap:12px}
.moy-brand img{height:44px;width:auto}
.moy-brand-name{font-family:'Oswald';font-size:27px;color:#f5b83d;letter-spacing:.05em;text-transform:uppercase}
.moy-topbar-search{margin-left:auto;width:250px}
.moy-topbar-search .moy-searchform input{padding:8px 12px;font-size:13px}
.moy-cta-group{display:flex;gap:10px;margin-left:12px}
.moy-mainnav{background:#12141f;border-bottom:1px solid rgba(255,255,255,0.13)}
.moy-nav-inner{max-width:1240px;margin:0 auto;padding:0 20px}
.moy-menu,.menu{list-style:none;display:flex;gap:4px;margin:0;padding:0;flex-wrap:wrap}
.moy-menu a,.menu a{display:block;padding:13px 16px;font-family:'Oswald';font-size:16px;letter-spacing:.06em;text-transform:uppercase;color:#e8e6e3}
.moy-menu a:hover,.menu a:hover{color:#f5b83d;background:rgba(255,255,255,.04)}
.moy-catbar{background:rgba(255,255,255,.02);border-bottom:1px solid rgba(255,255,255,0.13)}
.moy-catbar-inner{max-width:1240px;margin:0 auto;padding:9px 20px;display:flex;gap:10px;overflow-x:auto}
.moy-chip{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#9a97a3;border:1px solid rgba(255,255,255,0.13);border-radius:99px;padding:5px 13px;white-space:nowrap}
.moy-chip img{width:18px;height:18px;object-fit:contain}
.moy-chip:hover{color:#f5b83d;border-color:#d4a017}
.moy-hero{position:relative;min-height:520px;display:flex;align-items:center;background-size:cover;background-position:center;background-repeat:no-repeat}
.moy-hero-scrim{position:absolute;inset:0;background:linear-gradient(100deg,rgba(6,8,14,.94) 12%,rgba(6,8,14,.62) 55%,rgba(6,8,14,.18) 100%)}
.moy-hero-inner{position:relative;padding:84px 20px;max-width:1240px;margin:0 auto;width:100%}
.moy-hero-kicker{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:#f5b83d;border:1px solid #d4a017;border-radius:99px;padding:7px 16px;margin-bottom:20px;background:rgba(0,0,0,.35)}
.moy-hero-title{font-size:62px;line-height:1.02;margin:0 0 18px;text-transform:uppercase;text-shadow:0 4px 26px rgba(0,0,0,.6)}
.moy-hero-title em{font-style:normal;color:#f5b83d}
.moy-hero-sub{max-width:560px;color:#cfd3dd;font-size:17px;margin:0 0 28px}
.moy-hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.moy-quick{background:#12141f;border-bottom:1px solid rgba(255,255,255,0.13)}
.moy-quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:2px;padding:18px 20px}
.moy-quick-item{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 8px;color:#e8e6e3;font-size:13px;border-radius:10px;transition:background .2s ease}
.moy-quick-item:hover{background:rgba(255,255,255,.05);color:#f5b83d}
.moy-quick-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.14),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,0.13);border-radius:14px}
.moy-quick-icon img{width:34px;height:34px;object-fit:contain}
.moy-masonry{columns:4;column-gap:18px}
.moy-tile{position:relative;display:block;margin:0 0 18px;break-inside:avoid;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,0.13)}
.moy-tile img{width:100%;display:block;transition:transform .45s ease}
.moy-tile:hover img{transform:scale(1.07)}
.moy-tile-flag{position:absolute;top:10px;left:10px;background:linear-gradient(135deg,#dc2626,#7f1d1d);color:#fff;font-size:11px;font-weight:800;letter-spacing:.1em;padding:4px 10px;border-radius:6px}
.moy-cta-band{background:linear-gradient(110deg,#12141f 20%,#1a1d2e);border-top:1px solid #d4a017;border-bottom:1px solid #d4a017}
.moy-cta-band-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-top:30px;padding-bottom:30px;flex-wrap:wrap}
.moy-cta-band-copy strong{display:block;font-family:'Oswald';font-size:26px;color:#fff;text-transform:uppercase;letter-spacing:.04em}
.moy-cta-band-copy span{font-size:14px;color:#9a97a3}
.moy-footer{margin-top:64px;background:rgba(5,6,10,.9);border-top:1px solid rgba(255,255,255,0.13)}
.moy-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:34px;padding-top:52px}
.moy-footer-brand img{height:46px;margin-bottom:14px}
.moy-footer-brand p{font-size:13px;color:#9a97a3}
.moy-footer-title{font-size:19px;text-transform:uppercase;color:#f5b83d;margin:0 0 14px}
.moy-footer-col ul{list-style:none;margin:0;padding:0}
.moy-footer-col li{margin-bottom:9px}
.moy-footer-col a{font-size:14px;color:#9a97a3}
.moy-footer-col a:hover{color:#f5b83d}
.moy-footer-cta{background:linear-gradient(160deg,#12141f,#1a1d2e);border:1px solid #d4a017;border-radius:14px;padding:20px}
.moy-footer-cta strong{font-family:'Oswald';font-size:21px;color:#fff;text-transform:uppercase}
.moy-footer-cta p{font-size:13px;color:#9a97a3}
@media(max-width:980px){
  .moy-burger{display:block}
  .moy-mainnav{display:none}
  .moy-mainnav.open{display:block}
  .moy-menu,.menu{flex-direction:column}
  .moy-cta-group{display:none}
  .moy-hero-title{font-size:40px}
  .moy-masonry{columns:2}
  .moy-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .moy-topbar-inner{flex-wrap:wrap;padding:10px 14px;gap:10px}
  .moy-quick-grid{grid-template-columns:repeat(2,1fr);padding:12px 14px}
  .moy-hero-title{font-size:28px}
  .moy-masonry{columns:1}
  .moy-cta-band-inner{flex-direction:column;align-items:flex-start;gap:14px}
  .moy-footer-grid{grid-template-columns:1fr}
}

/* ---------- shared foundation ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Be Vietnam Pro';font-size:16px;line-height:1.65;color:#e8e6e3;-webkit-font-smoothing:antialiased;background-color:#0b0d14;background-image:url('assets/images/bg-main.png');background-size:cover;background-position:center top;background-repeat:no-repeat}
/* NOTE: intentionally NO full-page scrim pseudo-element here (Template-828
   parity) — bg-main.png must stay clearly visible; hero-level tints live
   inside each blueprint's own hero component only. */
img{max-width:100%;height:auto}
a{color:#f5b83d;text-decoration:none;transition:color .2s ease}
a:hover{color:#fff}
h1,h2,h3,h4{font-family:'Oswald';font-weight:400;line-height:1.15;color:#fff;margin:0 0 .6em;letter-spacing:.02em}
.moy-wrap{max-width:1240px;margin:0 auto;padding:0 20px}
.moy-skip{position:absolute;left:-9999px;top:0;background:#d4a017;color:#000;padding:8px 16px;z-index:999}
.moy-skip:focus{left:8px}
.moy-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 24px;border-radius:8px;font-family:'Oswald';font-size:17px;letter-spacing:.05em;text-transform:uppercase;line-height:1;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;white-space:nowrap;border:1px solid transparent}
.moy-btn:hover{transform:translateY(-2px);filter:brightness(1.1);color:#fff}
.moy-btn-gold{background:linear-gradient(135deg,#d4a017,#f5b83d);color:#1a1000;box-shadow:0 6px 22px rgba(0,0,0,.35)}
.moy-btn-red{background:linear-gradient(135deg,#dc2626,#7f1d1d);color:#fff}
.moy-btn-ghost{border-color:rgba(255,255,255,0.13);color:#e8e6e3;background:rgba(255,255,255,.04)}
.moy-btn-dark{background:#101218;color:#f5b83d;border-color:rgba(255,255,255,0.13)}
.moy-btn-block{display:flex;width:100%;margin-top:10px}
.moy-section{padding:48px 0}
.moy-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap}
.moy-section-title{font-size:34px;margin:0;text-transform:uppercase}
.moy-section-title em{font-style:normal;color:#f5b83d}
.moy-section-link{font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:#9a97a3}
.moy-section-link:hover{color:#f5b83d}
.moy-card{background:linear-gradient(180deg,#12141f,#1a1d2e);border:1px solid rgba(255,255,255,0.13);border-radius:12px;overflow:hidden;transition:transform .25s ease,border-color .25s ease}
.moy-card:hover{transform:translateY(-4px);border-color:#d4a017}
.moy-card-media{display:block;aspect-ratio:16/10;overflow:hidden}
.moy-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.moy-card:hover .moy-card-media img{transform:scale(1.06)}
.moy-card-body{padding:16px}
.moy-card-cat{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#f5b83d;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,0.13);padding:3px 9px;border-radius:99px;margin-bottom:8px}
.moy-card-title{font-size:19px;margin:0 0 8px}
.moy-card-title a{color:#fff}
.moy-card-title a:hover{color:#f5b83d}
.moy-card-excerpt{font-size:14px;color:#9a97a3;margin-bottom:10px}
.moy-card-meta{font-size:12px;color:#9a97a3;display:flex;gap:12px}
.moy-content-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;padding-top:40px;padding-bottom:56px}
.moy-page-title{font-size:38px;text-transform:uppercase}
.moy-post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}
.moy-none{color:#9a97a3}
.moy-single-cat{margin-bottom:12px}
.moy-single-title{font-size:40px}
.moy-single-meta{display:flex;gap:18px;color:#9a97a3;font-size:13px;margin-bottom:20px;text-transform:uppercase;letter-spacing:.05em}
.moy-single-media{margin:0 0 24px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,0.13)}
.moy-single-content{font-size:17px}
.moy-single-content p{margin:0 0 1.2em}
.moy-single-content h2{font-size:28px;margin-top:1.4em}
.moy-single-content h3{font-size:22px;margin-top:1.2em}
.moy-single-content img{border-radius:10px}
.moy-single-cta{margin:36px 0;padding:26px;border-radius:14px;background:linear-gradient(120deg,#12141f,#1a1d2e);border:1px solid #d4a017;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.moy-single-cta strong{font-family:'Oswald';font-size:24px;color:#fff;letter-spacing:.03em;text-transform:uppercase}
.moy-single-cta-btns{display:flex;gap:12px;flex-wrap:wrap}
.moy-related{margin-top:44px}
.moy-related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.moy-sidebar{display:flex;flex-direction:column;gap:26px;align-self:start;position:sticky;top:90px}
.moy-widget{background:linear-gradient(180deg,#12141f,#1a1d2e);border:1px solid rgba(255,255,255,0.13);border-radius:14px;padding:20px}
.moy-widget-cta{border-color:#d4a017}
.moy-widget-cta strong{font-family:'Oswald';font-size:20px;color:#f5b83d;text-transform:uppercase;letter-spacing:.04em}
.moy-widget-cta p{font-size:13px;color:#9a97a3}
.moy-widget-title{font-size:20px;margin:0 0 14px;text-transform:uppercase;color:#f5b83d}
.moy-widget-list{list-style:none;margin:0;padding:0}
.moy-widget-list li{border-bottom:1px dashed rgba(255,255,255,0.13)}
.moy-widget-list a{display:block;padding:9px 2px;font-size:14px;color:#e8e6e3}
.moy-widget-list a:hover{color:#f5b83d}
.moy-widget-posts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.moy-widget-posts a{display:flex;gap:10px;align-items:center;font-size:13px;color:#e8e6e3}
.moy-widget-posts img{width:64px;height:44px;object-fit:cover;border-radius:6px;flex:none}
.moy-pagination .nav-links{display:flex;gap:8px;justify-content:center;margin-top:34px;flex-wrap:wrap}
.moy-pagination .page-numbers{padding:9px 15px;border:1px solid rgba(255,255,255,0.13);border-radius:8px;color:#e8e6e3;font-size:14px}
.moy-pagination .page-numbers.current{background:#d4a017;color:#000;border-color:#d4a017}
.moy-searchform{display:flex;gap:8px}
.moy-searchform input{flex:1;min-width:0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,0.13);color:#e8e6e3;padding:10px 14px;border-radius:8px;font-family:inherit}
.moy-searchform button{background:#d4a017;border:none;color:#000;font-family:'Oswald';letter-spacing:.05em;padding:10px 18px;border-radius:8px;cursor:pointer;text-transform:uppercase}
.moy-err{padding:80px 20px;text-align:center;max-width:640px;margin:0 auto}
.moy-err-code{font-family:'Oswald';font-size:120px;color:#d4a017;display:block;line-height:1}
.moy-err-title{font-size:36px}
.moy-err-actions{display:flex;gap:14px;justify-content:center;margin:26px 0;flex-wrap:wrap}
.moy-legal{margin-top:44px;padding-top:26px;border-top:1px solid rgba(255,255,255,0.13)}
/* ---------- archive / search header band ---------- */
.moy-arch-head{padding:42px 0 26px;border-bottom:1px solid rgba(255,255,255,0.13);background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0))}
.moy-arch-kicker{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#101218;background:linear-gradient(135deg,#d4a017,#f5b83d);padding:5px 14px;border-radius:99px;margin-bottom:12px}
.moy-arch-title{font-size:38px;text-transform:uppercase;margin:0}
.moy-arch-title em{font-style:normal;color:#f5b83d}
.moy-arch-rule{display:block;width:92px;height:4px;border-radius:99px;background:linear-gradient(90deg,#d4a017,#f5b83d);margin:14px 0 10px}
.moy-arch-desc{color:#9a97a3;max-width:720px;margin:0 0 6px}
.moy-arch-search{max-width:480px;margin-top:6px}
.moy-arch-strip{display:flex;gap:12px;margin-top:20px;overflow-x:auto;padding-bottom:4px}
.moy-arch-poster{flex:none;width:170px;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.13);transition:border-color .2s ease,transform .2s ease}
.moy-arch-poster:hover{border-color:#d4a017;transform:translateY(-2px)}
.moy-arch-poster img{width:100%;display:block;aspect-ratio:3/4;object-fit:cover}
/* ---------- designed empty state (zero posts) ---------- */
.moy-empty{padding:26px 0 12px}
.moy-empty-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}
.moy-empty-poster{display:block;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.13);transition:border-color .2s ease}
.moy-empty-poster:hover{border-color:#d4a017}
.moy-empty-poster img{width:100%;display:block;aspect-ratio:3/4;object-fit:cover}
.moy-empty-title{font-size:27px;text-transform:uppercase}
.moy-empty-text{color:#9a97a3;max-width:640px}
.moy-empty-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
/* ---------- static-art fallback cards (no posts yet) ---------- */
.moy-static-card{display:block}
.moy-static-card .moy-card-title{display:block;font-weight:700;color:#fff}
.moy-static-banner{position:relative;display:block;margin-top:24px;border:1px solid #d4a017;border-radius:14px;overflow:hidden}
.moy-static-banner img{width:100%;display:block;max-height:210px;object-fit:cover}
.moy-static-banner span{position:absolute;right:14px;bottom:14px;background:#dc2626;color:#fff;font-family:'Oswald';font-size:13px;letter-spacing:.06em;text-transform:uppercase;padding:7px 14px;border-radius:8px}
@media(max-width:980px){
  .moy-content-wrap{grid-template-columns:1fr}
  .moy-sidebar{position:static}
  .moy-section{padding:34px 0}
  .moy-section-title{font-size:27px}
  .moy-single-title{font-size:30px}
}
@media(max-width:560px){
  body{font-size:15px}
  .moy-wrap{padding:0 14px}
  .moy-section-title{font-size:22px}
  .moy-page-title{font-size:26px}
  .moy-single-title{font-size:24px}
  .moy-post-grid{grid-template-columns:1fr}
  .moy-btn{padding:9px 16px;font-size:14px}
  .moy-arch-title{font-size:25px}
  .moy-arch-poster{width:126px}
  .moy-empty-strip{gap:8px}
  .moy-empty-title{font-size:21px}
  .moy-err-code{font-size:76px}
  .moy-err-title{font-size:26px}
  .moy-single-cta{flex-direction:column;align-items:flex-start}
}
