/* P-Prece Studio — draft one-page site. No external requests. */
@font-face{font-family:Prompt;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/prompt-400-thai.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:Prompt;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/prompt-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Prompt;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/prompt-600-thai.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:Prompt;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/prompt-600-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Prompt;font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/prompt-800-thai.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:Prompt;font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/prompt-800-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --teal:#0b8f97; --teal-d:#06666d; --teal-l:#16bec4; --mint:#bfeee0;
  --coral:#fd665a; --coral-d:#c94236; --sun:#f6c343; --sun-d:#e68b10;
  --cream:#fff8ec; --ink:#1b2a33; --ink-2:#3b4a54; --white:#fff;
  --radius:28px; --shadow:0 10px 0 rgba(0,0,0,.12),0 18px 40px rgba(6,60,66,.18);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:Prompt,"Noto Sans Thai","Leelawadee UI",Tahoma,system-ui,sans-serif;font-size:21px;line-height:1.65;color:var(--ink);background:var(--cream)}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
:focus-visible{outline:4px solid var(--sun);outline-offset:3px;border-radius:12px}
.wrap{width:min(1120px,100% - 40px);margin-inline:auto}

/* language toggle: Thai by default, works without JS */
html.lang-en .t, html:not(.lang-en) .e{display:none!important}

.nw{white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:var(--sun);color:var(--ink);padding:12px 18px;font-weight:800;z-index:20}
.skip:focus{left:12px;top:12px}

/* header */
.top{position:sticky;top:0;z-index:10;background:rgba(255,248,236,.94);backdrop-filter:blur(8px);border-bottom:3px solid #f1e3c8}
.top .wrap{display:flex;align-items:center;gap:16px;min-height:76px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;font-size:24px;letter-spacing:.2px}
.brand img{width:52px;height:52px;border-radius:14px}
.nav{margin-left:auto;display:flex;align-items:center;gap:8px}
.nav a{text-decoration:none;font-weight:600;font-size:20px;padding:10px 16px;border-radius:999px}
.nav a:hover{background:#f3e6cc}
.lang{font:inherit;font-weight:800;font-size:20px;border:3px solid var(--ink);background:var(--white);color:var(--ink);border-radius:999px;padding:8px 18px;cursor:pointer;min-height:52px}
.lang:hover{background:var(--sun)}

/* hero */
.hero{background:radial-gradient(1200px 500px at 80% -10%,var(--teal-l),transparent 60%),linear-gradient(160deg,var(--teal) 0%,var(--teal-d) 100%);color:var(--white);overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:40px;padding:72px 0 88px}
.hero h1{margin:0;font-size:clamp(52px,7vw,92px);line-height:1.05;font-weight:800;letter-spacing:-.5px;text-shadow:0 4px 0 rgba(0,0,0,.18)}
.hero .th-name{display:block;font-size:.42em;font-weight:600;color:var(--mint);letter-spacing:0;margin-top:10px}
.tagline{margin:22px 0 10px;font-size:clamp(32px,4.2vw,50px);line-height:1.25;font-weight:800;color:var(--sun)}
.lead{margin:0 0 32px;font-size:clamp(22px,2.2vw,26px);max-width:30ch;color:#eafffb}
.hero-art{justify-self:center;position:relative}
.hero-art img{width:min(400px,80vw);border-radius:48px;box-shadow:0 14px 0 rgba(0,0,0,.18),0 30px 60px rgba(0,0,0,.25);transform:rotate(2deg);border:6px solid rgba(255,255,255,.85)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:64px;padding:12px 30px;border-radius:999px;font-weight:800;font-size:22px;text-decoration:none;border:3px solid var(--ink);box-shadow:0 6px 0 var(--ink);transition:transform .08s,box-shadow .08s}
.btn:active{transform:translateY(4px);box-shadow:0 2px 0 var(--ink)}
.btn-sun{background:var(--sun);color:var(--ink)}
.btn-sun:hover{background:#ffd462}
.btn-play{background:var(--ink);color:var(--white);border-color:var(--ink);box-shadow:0 6px 0 #000}
.btn-play:hover{background:#25414f}
.btn-play svg{width:30px;height:30px;flex:none}
.btn-play small{display:block;font-size:16px;font-weight:600;line-height:1.1;opacity:.85}
.btn-play b{display:block;font-size:22px;line-height:1.15}
.soon{display:inline-flex;align-items:center;gap:10px;min-height:64px;padding:12px 28px;border-radius:999px;font-weight:800;font-size:22px;background:#fff1d0;color:#8a5a00;border:3px dashed var(--sun-d)}

/* sections */
section{padding:84px 0}
.sec-title{margin:0 0 8px;font-size:clamp(40px,5vw,60px);line-height:1.15;font-weight:800}
.sec-sub{margin:0 0 44px;font-size:24px;color:var(--ink-2)}

/* games */
.games{display:grid;grid-template-columns:1fr;gap:36px;max-width:1000px}
.game{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);border:3px solid #f0e2c6;padding:36px 40px;display:grid;grid-template-columns:1fr 210px;gap:40px;align-items:center}
.game-head{display:flex;align-items:center;gap:18px;margin-bottom:14px}
.game-head img{width:112px;height:112px;border-radius:24px;box-shadow:0 4px 0 rgba(0,0,0,.12);flex:none}
.game h3{margin:0;font-size:38px;line-height:1.15;font-weight:800}
.badge{display:inline-block;margin-top:6px;padding:2px 14px;border-radius:999px;font-size:17px;font-weight:600}
.badge.live{background:#d9f7ea;color:#0d6b47}
.badge.test{background:#fff1d0;color:#8a5a00}
.game p{margin:0 0 28px;font-size:24px;max-width:34ch;color:var(--ink-2)}
.shot{border-radius:22px;border:5px solid var(--ink);box-shadow:0 6px 0 rgba(0,0,0,.15);background:#111;aspect-ratio:9/16;object-fit:cover;width:100%}
.game.coming .shot{filter:saturate(.9)}

/* contact */
.contact{background:var(--coral);color:var(--white)}
.contact .sec-sub{color:#fff3ef}
.contact-grid{display:flex;flex-wrap:wrap;gap:20px}
.contact .btn{background:var(--white);color:var(--ink)}
.contact .btn:hover{background:var(--sun)}
.contact .btn svg{width:30px;height:30px;flex:none}
.email-text{font-size:clamp(24px,3vw,34px);font-weight:800;word-break:break-all;margin:28px 0 0}

/* footer */
footer{background:var(--ink);color:#e9eef1;padding:48px 0 56px;font-size:20px}
footer h2{font-size:24px;margin:0 0 12px;color:var(--sun)}
footer ul{list-style:none;padding:0;margin:0 0 28px;display:flex;flex-wrap:wrap;gap:10px 28px}
footer a{color:#fff;text-underline-offset:5px;text-decoration-thickness:2px}
footer a:hover{color:var(--sun)}
.copy{margin:0;color:#b9c5cc}

@media (max-width:980px){
  .game{grid-template-columns:1fr 180px;gap:28px;padding:28px}
}
@media (max-width:760px){
  body{font-size:20px}
  .top .wrap{min-height:68px;gap:10px}
  .brand{font-size:21px}
  .brand img{width:44px;height:44px}
  .nav a{display:none}
  .hero .wrap{grid-template-columns:1fr;text-align:center;padding:40px 0 60px;gap:24px}
  .hero-art{order:-1}
  .hero-art img{width:min(250px,64vw);border-radius:36px}
  .lead{margin-inline:auto}
  section{padding:60px 0}
  .sec-sub{font-size:21px;margin-bottom:32px}
  .game{grid-template-columns:1fr;padding:22px;gap:22px}
  .game p{font-size:21px}
  .game-head img{width:84px;height:84px}
  .nw{white-space:normal}
  .tagline .nw{white-space:nowrap}
  .game h3{font-size:29px}
  .game .shot{width:min(230px,70%);justify-self:center;grid-row:auto}
  .btn,.soon{width:100%}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
