/* PGSLOT Demo Games — scoped to .pgdg; uses the theme's colour variables so it follows light/dark. */
.pgdg{--pgdg-card:var(--surface,rgba(8,28,52,.78));--pgdg-line:var(--line,rgba(90,190,255,.16));--pgdg-text:var(--text,#eaf7ff);--pgdg-muted:var(--muted,#8aa4bd);--pgdg-accent:var(--blue-2,#45c6ff)}
.pgdg .pgdg-hero .lead{max-width:860px}
.pgdg-notice{margin:16px 0 0;padding:12px 16px;border:1px solid var(--pgdg-line);border-left:4px solid var(--dark-warning,#ffd866);border-radius:14px;background:var(--pgdg-card);color:var(--pgdg-text);font-size:15px;line-height:1.6}
.pgdg-notice a{color:inherit;text-decoration:underline}
.pgdg-toolbar{display:grid;grid-template-columns:2fr repeat(3,1fr) auto;gap:12px;align-items:end;margin:0 0 18px}
.pgdg-field{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--pgdg-muted)}
.pgdg-field input,.pgdg-field select{min-height:44px;padding:10px 12px;border-radius:12px;border:1px solid var(--pgdg-line);background:var(--surface-strong,#0a203c);color:var(--pgdg-text);font:inherit}
.pgdg-field input:focus-visible,.pgdg-field select:focus-visible{outline:2px solid var(--dark-focus,#ffd866);outline-offset:2px}
.pgdg-count{margin:0;padding-bottom:10px;color:var(--pgdg-muted);white-space:nowrap}
.pgdg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}
.pgdg-grid--small{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.pgdg-card{display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:var(--pgdg-card);border:1px solid var(--pgdg-line);color:var(--pgdg-text);text-decoration:none;transition:transform .18s ease,border-color .18s ease}
.pgdg-card[hidden]{display:none}
.pgdg-card:hover,.pgdg-card:focus-visible{transform:translateY(-3px);border-color:var(--pgdg-accent)}
.pgdg-card:focus-visible{outline:2px solid var(--dark-focus,#ffd866);outline-offset:2px}
.pgdg-card__img{position:relative;display:block;aspect-ratio:1/1;background:rgba(255,255,255,.04)}
.pgdg-card__img img{width:100%;height:100%;object-fit:cover;display:block}
.pgdg-badge{position:absolute;top:8px;left:8px;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:700}
.pgdg-badge--new{background:var(--cyan,#10e4db);color:#04111f}
.pgdg-card__body{display:flex;flex-direction:column;gap:4px;padding:10px 12px 12px}
.pgdg-card__body b{font-size:15px;line-height:1.35}
.pgdg-card__body small{color:var(--pgdg-muted);font-size:13px}
.pgdg-card__cta{margin-top:4px;font-size:13px;font-weight:700;color:var(--pgdg-accent)}
.pgdg-empty{padding:24px;text-align:center;color:var(--pgdg-muted)}
.pgdg-player{border-radius:20px;overflow:hidden;border:1px solid var(--pgdg-line);background:#020812}
.pgdg-player__stage{position:relative;aspect-ratio:16/9;display:grid;place-items:center;background:#020812}
.pgdg-player__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45}
.pgdg-player__start{position:relative;z-index:1;font-size:17px;min-height:52px;padding:14px 22px}
.pgdg-player__off{position:relative;z-index:1;color:#fff;padding:16px;text-align:center}
.pgdg-player__stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pgdg-player__bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:10px 14px;background:var(--pgdg-card)}
.pgdg-player__status{margin:0;font-size:14px;color:var(--pgdg-muted)}
.pgdg-player__actions{display:flex;gap:8px}
.pgdg-player__actions .btn{min-height:40px;padding:8px 14px}
.pgdg-player:fullscreen{display:flex;flex-direction:column;border-radius:0}
.pgdg-player:fullscreen .pgdg-player__stage{flex:1;aspect-ratio:auto}
.pgdg-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:14px 0}
.pgdg-specs>div{display:flex;flex-direction:column;gap:2px;padding:14px;border-radius:16px;background:var(--pgdg-card);border:1px solid var(--pgdg-line)}
.pgdg-specs span{font-size:13px;color:var(--pgdg-muted)}
.pgdg-specs strong{font-size:22px;color:var(--pgdg-text)}
.pgdg-specs small{font-size:12px;color:var(--pgdg-muted)}
.pgdg-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}
.pgdg-chips span{padding:5px 10px;border-radius:999px;border:1px solid var(--pgdg-line);background:var(--pgdg-card);font-size:14px}
.pgdg-chips--soft span{opacity:.85}
.pgdg-source{margin-top:14px;font-size:13px;color:var(--pgdg-muted)}
.pgdg-next{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.pgdg-steps{padding-left:22px;line-height:1.8}
.pgdg-faq details{border:1px solid var(--pgdg-line);border-radius:14px;padding:12px 16px;margin:10px 0;background:var(--pgdg-card)}
.pgdg-faq summary{cursor:pointer;font-weight:700;min-height:28px}
.pgdg-faq p{margin:10px 0 0}
.pgdg-standalone{margin:0;font-family:"Sarabun","Kanit",sans-serif;background:#061426;color:#eaf7ff}
.pgdg-standalone .wrap{max-width:1180px;margin:0 auto;padding:0 16px}
@media (max-width:900px){.pgdg-toolbar{grid-template-columns:1fr 1fr}.pgdg-toolbar .pgdg-field:first-child{grid-column:1/-1}.pgdg-count{grid-column:1/-1;padding:0}}
@media (max-width:520px){.pgdg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pgdg-player__stage{aspect-ratio:9/14}.pgdg-specs strong{font-size:19px}}
@media (prefers-reduced-motion:reduce){.pgdg-card{transition:none}.pgdg-card:hover{transform:none}}
