/*
Theme Name: Thai Home Dark Dynamic
Theme URI: https://example.com/
Author: Codex
Description: A dark Thai video portal theme with an adult-content age gate.
Version: 1.1.0
Text Domain: thai-home-dark-dynamic
*/
.thumb.has-image:after{display:none}.thumb img{width:100%;height:100%;object-fit:cover;display:block}.empty-posts{margin:0;color:var(--muted)}
:root{--bg:#0c0a0e;--surface:#171219;--surface2:#241a23;--ink:#fff8fb;--muted:#afa1ac;--line:#342b35;--hot:#f62867;--orange:#ff8a4c;--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tahoma,"Noto Sans Thai",sans-serif;font-size:16px;line-height:1.55}.site-shell{min-height:100vh}.topline{height:4px;background:linear-gradient(90deg,var(--hot),var(--orange))}.wrap{width:min(1180px,calc(100% - 32px));margin:auto}.masthead{background:#0d0b0f;border-bottom:1px solid #2b252d}.main-nav{height:76px;display:flex;align-items:center;gap:28px}.brand{font-size:1.28rem;font-weight:900;color:#fff;text-decoration:none;letter-spacing:-.04em;white-space:nowrap}.brand em{color:var(--hot);font-style:normal}.menu{display:flex;gap:24px;margin:0 auto 0 0;padding:0;list-style:none}.menu a{color:#c8bdc6;text-decoration:none;font-weight:800;font-size:.92rem}.menu a:hover{color:#fff}.search-form{display:flex;align-items:center;width:min(290px,30vw);height:43px;border:1px solid #372d38;border-radius:999px;background:#221b23;padding:0 15px}.search-form:before{content:"⌕";font-size:1.35rem;color:#91848f;margin-right:8px}.search-form input{width:100%;border:0;outline:0;background:transparent;color:#fff}.search-form input::placeholder{color:#867983}.category-bar{border-top:1px solid #1d181e;border-bottom:1px solid #332b33}.category-scroll{display:flex;gap:10px;overflow:auto;padding:9px 0}.category-scroll a{flex:0 0 auto;border:2px solid var(--hot);background:#17142b;color:#fff;text-decoration:none;font-weight:850;padding:8px 15px}.category-scroll a:first-child,.category-scroll a:hover{background:var(--hot)}.hero{padding:52px 0 42px}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px}.hero-panel{min-height:370px;padding:56px;border:1px solid #3b2733;border-radius:28px;background:radial-gradient(circle at 90% 15%,rgba(246,40,103,.25),transparent 30%),linear-gradient(135deg,#25151f,#100d12 72%);position:relative;overflow:hidden}.hero-panel:after{content:"18+";position:absolute;right:-10px;bottom:-60px;font-size:12rem;font-weight:900;color:rgba(255,255,255,.035)}.eyebrow{display:flex;align-items:center;gap:10px;color:#ffb0c4;font-size:.85rem;font-weight:850}.eyebrow:before{content:"";height:2px;width:28px;background:var(--hot)}h1{font-size:clamp(2.6rem,5vw,4.7rem);line-height:1.06;letter-spacing:-.06em;max-width:650px;margin:22px 0}.hero-panel p{color:#c2b3be;max-width:550px;margin:0}.buttons{display:flex;gap:12px;margin-top:30px}.button{display:inline-block;text-decoration:none;border-radius:999px;background:var(--hot);color:#fff;padding:12px 19px;font-weight:900}.button.alt{background:#2a222c}.stats{display:grid;grid-template-rows:1fr 1fr;gap:18px}.stat{border:1px solid var(--line);border-radius:24px;padding:28px;background:#171218;display:flex;flex-direction:column;justify-content:space-between}.stat.hot{background:linear-gradient(145deg,#f52b68,#b40f50);border:0}.stat-label{display:flex;justify-content:space-between;color:#d3c5ce}.stat strong{font-size:2.2rem;letter-spacing:-.05em}.stat small{color:#b4a7b0}.stat.hot small,.stat.hot .stat-label{color:#ffe6ee}.pill{font-style:normal;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.13);font-size:.75rem;font-weight:900}.content{padding:12px 0 60px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head h2{font-size:1.75rem;letter-spacing:-.04em;margin:0}.section-head p{margin:4px 0 0;color:var(--muted)}.filters{display:flex;gap:9px;flex-wrap:wrap}.filter{color:#bdb0bb;border:1px solid var(--line);border-radius:999px;padding:8px 14px;background:transparent;text-decoration:none;font-weight:800}.filter:first-child,.filter:hover{background:#fff;color:#1a1118;border-color:#fff}.video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.video-card{color:inherit;text-decoration:none}.thumb{position:relative;aspect-ratio:16/10;border-radius:18px;overflow:hidden;border:1px solid #352b36;background:radial-gradient(circle at 26% 20%,var(--glow,#f52b68),transparent 28%),radial-gradient(circle at 78% 80%,var(--glow2,#783899),transparent 30%),linear-gradient(135deg,#21151f,#08070a)}.thumb:after{content:"";position:absolute;left:40%;top:-20%;height:145%;width:43%;border-radius:50%;background:rgba(255,255,255,.07);transform:rotate(22deg)}.tag,.duration,.play{position:absolute;z-index:1}.tag{top:12px;left:12px;background:var(--hot);border-radius:7px;padding:3px 8px;font-size:.75rem;font-weight:900}.duration{bottom:9px;right:9px;border-radius:7px;background:rgba(0,0,0,.75);padding:3px 7px;font-size:.74rem;font-weight:850}.play{bottom:15px;left:16px;width:42px;height:42px;border-radius:50%;background:#fff;color:#291721;display:grid;place-items:center;font-size:.9rem}.video-card h3{font-size:1rem;line-height:1.4;margin:12px 1px 4px}.meta{font-size:.82rem;color:#968a94}.notice{display:flex;gap:16px;margin:48px 0 0;padding:20px 24px;border:1px solid var(--line);border-radius:20px;background:#141015}.badge{width:48px;height:48px;flex:0 0 auto;display:grid;place-items:center;border-radius:14px;background:var(--hot);font-weight:950}.notice p{margin:2px 0 0;color:var(--muted);font-size:.9rem}.site-footer{border-top:1px solid var(--line);padding:30px 0;color:#90848e}.site-footer .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}@media(max-width:900px){.menu{display:none}.hero-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr;grid-template-rows:auto}.video-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.wrap{width:min(100% - 22px,1180px)}.main-nav{height:66px;gap:10px}.brand{font-size:1.05rem}.search-form{width:44px;padding:0 12px}.search-form input{display:none}.category-scroll{width:calc(100vw - 11px)}.hero{padding:24px 0}.hero-panel{min-height:0;padding:32px 25px}.hero-panel:after{font-size:7rem}.hero-panel p{font-size:.94rem}.stats{gap:10px}.stat{padding:20px;border-radius:18px}.stat strong{font-size:1.65rem}.section-head{align-items:start;flex-direction:column}.filters{flex-wrap:nowrap;overflow:auto;width:calc(100vw - 11px)}.filter{white-space:nowrap}.video-grid{gap:18px 12px}.video-card h3{font-size:.93rem}}
