/*
Theme Name: Thai Game News Neon
Theme URI: https://example.com/
Author: Custom Theme
Description: Thai-language neon-purple gaming news WordPress theme with posts, categories, provider directory and mobile dock.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: thai-game-news
License: GPL-2.0-or-later
*/
:root{--bg:#0c031c;--panel:#1a0933;--line:#8d27d1;--pink:#f044ff;--purple:#a92dff;--white:#fff;--muted:#c9b6db}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 45% 0,#37065e 0,transparent 37%),#0c031c;color:var(--white);font-family:Tahoma,'Noto Sans Thai',Arial,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input{font:inherit}.container{width:min(1480px,calc(100% - 36px));margin:auto}.site-header{background:#10041fdd;border-bottom:1px solid #8530b6;position:relative;z-index:4}.head-inner{min-height:77px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-size:28px;font-weight:900;font-style:italic;letter-spacing:.5px;white-space:nowrap;text-shadow:0 0 15px #b500ff}.brand-icon{font-size:44px;filter:drop-shadow(0 0 9px #cb33ff)}.brand small{display:block;font-size:12px;font-style:normal;letter-spacing:0;text-shadow:none}.top-nav{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-left:auto}.top-nav a,.top-nav .menu-item a{display:block;padding:9px 13px;border-radius:10px;font-size:14px;font-weight:bold}.top-nav a:hover,.top-nav .current-menu-item a{background:linear-gradient(100deg,#d313ec,#6815d9);box-shadow:0 0 17px #b92aff}.menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}.header-actions{display:flex;gap:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d94bff;border-radius:12px;padding:9px 18px;background:linear-gradient(100deg,#b50bf3,#6512d7);box-shadow:0 0 14px #a521fa8c;color:#fff;font-weight:bold}.btn.gold{background:linear-gradient(#7e4b08,#291600);border-color:#ffcb57;box-shadow:0 0 12px #f3a32370}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 12px}.section-title h2{font-size:23px;margin:0;text-shadow:0 0 8px #b64bff}.section-title h2 span{margin-right:9px}.more{padding:5px 16px;border:1px solid #aa39ff;border-radius:99px;background:#38085b}.hero{position:relative;min-height:315px;margin-top:10px;overflow:hidden;border:1px solid #a627e0;border-radius:15px;background:linear-gradient(90deg,#180325 0%,#1a0422aa 52%,transparent),url('assets/images/hero.jpg') center 35%/cover}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#170322e8 0%,#1e0534b0 32%,transparent 75%)}.hero-content{position:relative;padding:55px 38px;max-width:650px}.eyebrow{display:inline-block;background:#9207b9;border:1px solid #ff5bf2;border-radius:8px;padding:2px 11px}.hero h1{font-size:clamp(29px,4vw,57px);line-height:1.18;margin:14px 0;color:#fff2a5;text-shadow:3px 4px 0 #a90065,0 0 14px #fc46f2}.hero p{font-size:17px;font-weight:bold;text-shadow:1px 1px 6px #000}.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}.category-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.category-tile{position:relative;min-height:122px;display:flex;flex-direction:column;justify-content:flex-end;text-align:center;overflow:hidden;border:1px solid #b02df9;border-radius:10px;background:#1d0735}.category-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}.category-tile:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 25%,#0a001de8)}.category-tile span{position:relative;z-index:1;font-weight:bold;padding:8px 2px;text-shadow:0 1px 5px #000}.provider-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.provider{min-height:75px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:9px 5px;background:#100522;border:1px solid #8223c3;border-radius:9px;text-align:center}.provider img{height:38px;max-width:90%;object-fit:contain}.provider strong{font-size:clamp(12px,1.2vw,17px);color:#e9d7ff}.provider small{font-size:10px;color:#bcb0cb}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.post-card,.widget,.article-shell{overflow:hidden;background:linear-gradient(160deg,#22093b,#10051f);border:1px solid #7028ad;border-radius:12px;box-shadow:0 3px 14px #0005}.post-card .thumb{display:block;aspect-ratio:1.65;overflow:hidden}.post-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.post-card:hover .thumb img{transform:scale(1.05)}.post-card-body{padding:12px}.pill{display:inline-block;background:#a000da;border-radius:7px;padding:2px 9px;font-size:12px;font-weight:bold}.post-card h3{font-size:17px;line-height:1.4;margin:9px 0}.meta{font-size:12px;color:var(--muted)}.widget{padding:15px;margin-bottom:15px}.widget h3{margin:0 0 12px;font-size:19px}.widget li{margin:8px 0}.widget ul{padding-left:20px}.rank{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #50266c}.rank b{background:#3a075a;border:1px solid #ac37e5;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.rank span{font-size:13px}.newsletter{background:radial-gradient(circle at top right,#8e12ba,#270541 65%)}.newsletter input{width:100%;border:1px solid #a638e1;border-radius:9px;padding:10px;background:#1c0831;color:#fff}.newsletter .btn{width:100%;margin-top:10px}.article-shell{padding:25px;margin:20px 0 60px}.article-shell h1{font-size:clamp(26px,3vw,40px);line-height:1.35}.article-shell .featured{width:100%;max-height:470px;object-fit:cover;border-radius:12px}.article-content{font-size:17px;line-height:1.9}.article-content a{color:#f2b5ff;text-decoration:underline}.pagination{margin:24px 0 55px}.pagination .page-numbers{display:inline-block;padding:7px 12px;border:1px solid #8e2dd4;border-radius:8px;margin:2px}.pagination .current{background:#a325e8}.site-footer{margin:40px 0 90px;padding:25px 0;border-top:1px solid #5c2582;color:#c9b6db;text-align:center}.bottom-dock{position:fixed;z-index:9;bottom:12px;left:50%;transform:translateX(-50%);width:min(840px,calc(100% - 20px));display:flex;align-items:center;justify-content:space-around;border:1px solid #e36cff;border-radius:28px;background:linear-gradient(125deg,#6615b7ed,#270347f5,#7612a7ed);box-shadow:0 0 25px #c900ff99,inset 0 0 18px #b42eff55;backdrop-filter:blur(14px);padding:8px 12px}.dock-item{min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:12px;font-weight:bold}.dock-item .symbol{font-size:24px;filter:drop-shadow(0 0 6px #ff5bfa)}.dock-item.center .symbol{font-size:35px;background:#b60dff;border:2px solid #ed99ff;border-radius:50%;height:56px;width:56px;display:grid;place-items:center;margin-top:-28px;box-shadow:0 0 22px #d429ff}.empty{padding:30px;text-align:center;border:1px dashed #7935a3;border-radius:12px}.wp-block-image img{border-radius:12px}@media(max-width:1100px){.layout{grid-template-columns:minmax(0,1fr) 270px}.category-grid{grid-template-columns:repeat(4,1fr)}.top-nav{display:none}.header-actions{margin-left:auto}}@media(max-width:760px){.container{width:calc(100% - 22px)}.head-inner{min-height:66px}.brand{font-size:19px}.brand-icon{font-size:30px}.brand small{font-size:10px}.header-actions .gold{display:none}.header-actions .btn{padding:8px}.hero{min-height:280px}.hero-content{padding:36px 20px}.hero h1{font-size:33px}.layout{display:block}.category-grid{grid-template-columns:repeat(3,1fr)}.provider-grid{grid-template-columns:repeat(3,1fr)}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{margin-top:22px}.dock-item{font-size:10px}.dock-item .symbol{font-size:20px}.dock-item.center .symbol{font-size:29px;width:49px;height:49px}.article-shell{padding:16px}}@media(max-width:420px){.post-grid{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.header-actions .btn{font-size:12px}}

/* v1.1 provider artwork & external CTA links */
.provider{padding:0 0 9px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.provider:hover{transform:translateY(-3px);box-shadow:0 0 20px #a724fa77}
.provider img{display:block;width:100%;height:auto;max-width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px 8px 0 0;margin-bottom:7px}
.provider strong{padding:0 5px}
.line-btn{background:linear-gradient(120deg,#05a96b,#087b55);border-color:#48f0a8}
@media(max-width:760px){.line-btn{display:none}}
