/*
Theme Name: 22WIN VIP Hall
Description: Thai 22WIN mobile and game hall theme.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: 22win-hall
*/
.page-visual.page-visual-mobile{display:block;min-height:0;padding:24px 20px;background:#151b48}.mobile-visual-inner{width:min(780px,100%);margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:48px;align-items:center}.mobile-visual-brand{justify-self:center;text-align:center}.page-visual-mobile .mobile-visual-brand img{display:block;width:min(260px,100%);height:auto;max-height:none;margin:auto}.mobile-visual-brand span{display:block;margin-top:20px;color:#f7d37e;font-size:1.25rem;font-weight:700}.page-visual-mobile img.mobile-screen{display:block;width:180px;height:350px;max-height:none;object-fit:cover;object-position:top;border:8px solid #0a0e2d;border-radius:23px;box-shadow:0 12px 28px #0007}
@media(max-width:760px){.mobile-visual-inner{grid-template-columns:1fr;gap:18px;justify-items:center}.mobile-visual-brand{order:2}.page-visual-mobile .mobile-visual-brand img{width:160px}.mobile-visual-brand span{font-size:1rem;margin-top:8px}.page-visual-mobile img.mobile-screen{width:150px;height:288px}}
.live-feature{padding:38px 0;background:#171d4a;border-bottom:1px solid #404476}.live-feature-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:42px;align-items:center}.live-feature figure{margin:0}.live-feature img{display:block;width:100%;height:auto;border-radius:6px}.live-feature h2{color:#f7d37e;font-size:1.55rem;line-height:1.35;margin:8px 0}.live-feature p{color:#dcdbec;max-width:50ch}
@media(max-width:760px){.live-feature{padding:26px 0}.live-feature-inner{grid-template-columns:1fr;gap:20px}.live-feature h2{font-size:1.3rem}}
:root{color-scheme:dark;--navy:#11183f;--deep:#0a1031;--side:#362173;--panel:#1b2455;--violet:#ae36e8;--pink:#ef4cc0;--gold:#ffd66d;--text:#f5f4ff;--muted:#c4c6dd;--line:#515284}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--navy);color:var(--text);font-family:Tahoma,"Noto Sans Thai",Arial,sans-serif;line-height:1.75}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}img{max-width:100%;height:auto}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.site-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{background:linear-gradient(175deg,#342077,#302163 65%,#251c55);border-right:1px solid #6253a1;padding:22px 14px;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:block;width:145px;margin:0 auto 26px}.brand img{display:block;width:100%;height:auto}.sidebar nav ul{list-style:none;margin:0;padding:0}.sidebar nav a{display:flex;gap:12px;align-items:center;padding:10px 13px;border-radius:6px;color:#f7f2ff;font-weight:600}.sidebar nav a:hover,.sidebar nav .current-menu-item a{background:#6947b4;color:white}.side-note{margin:28px 12px 0;padding-top:18px;border-top:1px solid #6855a3;font-size:.8rem;color:#d4c6e9}
.main{min-width:0}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:72px;padding:10px clamp(18px,3vw,46px);background:#090e30f5;border-bottom:1px solid #3c3f72}.topbar .brand{display:none;margin:0;width:113px}.top-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 19px;border:1px solid #b55bea;border-radius:6px;font-size:.93rem;font-weight:700;line-height:1.2;text-align:center;background:#251a5c;color:#fff;box-shadow:inset 0 0 0 1px #ffffff14}.button:hover{color:white;background:#6231a6}.button.primary{background:linear-gradient(100deg,#a71ee2,#e733c0);border-color:#dc61e8}.button.primary:hover{background:#c528e9}.button.secondary{border-color:#e8ba63;background:#493070}.mobile-toggle{display:none;background:transparent;border:0;color:white;font-size:1.6rem;padding:2px 8px}
.wrap{width:min(1320px,100%);margin:auto;padding:0 clamp(18px,3vw,48px)}.hero{padding:32px 0 16px;background:radial-gradient(circle at 85% 12%,#442173 0,transparent 42%),#141a45}.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:36px;align-items:center}.eyebrow{font-size:.79rem;text-transform:uppercase;font-weight:700;color:#ffdc81}.hero h1{font-size:clamp(1.85rem,2.6vw,3rem);line-height:1.25;margin:12px 0;color:#fff}.hero p{max-width:65ch;color:#e0dff2}.hero-visual{display:flex;justify-content:center;align-items:center;min-height:270px;gap:12px}.hero-visual img{display:block;max-height:340px;object-fit:contain}.hero-visual .phone{max-width:34%}.hero-visual .game-cover{max-width:28%;border-radius:6px;box-shadow:0 15px 25px #0008}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.disclaimer{font-size:.82rem;color:#d4cfe8;margin:16px 0 0}.ticker{background:#303b79;color:#f4e5fa;border:1px solid #525e9d;border-radius:6px;padding:9px 15px;margin-top:26px;font-size:.9rem}
.section{padding:38px 0;border-bottom:1px solid #353d72}.section h2{font-size:1.45rem;line-height:1.35;margin:0 0 18px;color:#ffdc82}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-head a{color:#e696fb}.game-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.game-card{display:block;min-width:0;border:1px solid #465082;border-radius:6px;background:#212858;overflow:hidden;transition:transform .15s,border-color .15s}.game-card:hover{transform:translateY(-3px);border-color:#d06be9}.game-card img{display:block;width:100%;height:auto;aspect-ratio:220/290;object-fit:contain;background:#171c43}.game-card span{display:block;padding:8px;font-size:.82rem;line-height:1.3;min-height:3.6em}.category-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.category-link{display:flex;align-items:center;gap:12px;padding:13px 15px;background:#242c61;border:1px solid #484b84;border-radius:6px;font-weight:700}.category-link img{width:32px;height:32px;object-fit:contain}.category-link:hover{background:#49387d;color:white}
.article{max-width:850px;margin:0 auto;padding:36px 0 62px;color:#ecebfa}.article h1{font-size:clamp(1.8rem,2.5vw,2.7rem);line-height:1.3;margin:0 0 18px;color:#fff}.article h2{font-size:1.38rem;line-height:1.4;color:#ffdc82;margin:40px 0 14px}.article h3{font-size:1.14rem;color:#f2b5ec;margin:26px 0 10px}.article p,.article li{font-size:1rem;line-height:1.95}.article p{margin:0 0 18px}.article ul,.article ol{padding-left:1.5em}.article a:not(.button){color:#e9a6f8;text-decoration:underline;text-underline-offset:3px}.article figure{margin:30px 0}.article figure img{display:block;width:auto;max-width:100%;max-height:430px;object-fit:contain;margin:auto}.article figcaption{font-size:.86rem;text-align:center;color:#c9c8e2}.article blockquote{border-left:3px solid var(--pink);margin:25px 0;padding:6px 18px;background:#1e2450}.article-cta{border-top:1px solid var(--line);padding:23px 0;margin-top:32px}.breadcrumb{padding:17px 0 0;color:#c3badd;font-size:.83rem}.breadcrumb a{color:#dbc6ff}.page-visual{display:flex;justify-content:center;background:#151b48;padding:20px;min-height:220px}.page-visual img{max-height:300px;width:auto;object-fit:contain}.related{border-top:1px solid var(--line);padding:30px 0 45px}.related h2{color:#ffdc82;font-size:1.2rem}.related-links{display:flex;flex-wrap:wrap;gap:12px}.related-links a{padding:8px 14px;background:#2a3269;border:1px solid #4c5385;border-radius:5px}
.footer{background:#090e2d;padding:34px 0 100px;border-top:1px solid #464774;color:#c9c8df;font-size:.85rem}.footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}.footer a{margin-right:15px;color:#e6d5f5}.mobile-bar{display:none}.skip-link{position:absolute;left:-10000px;top:auto}.skip-link:focus{left:12px;top:12px;z-index:100;background:#fff;color:#000;padding:10px}
@media(max-width:1100px){.site-shell{grid-template-columns:205px minmax(0,1fr)}.game-row{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-grid{gap:15px}.hero-visual img{max-height:280px}}
@media(max-width:760px){.site-shell{display:block}.sidebar{position:fixed;z-index:50;transform:translateX(-105%);transition:transform .2s;width:min(82vw,310px);box-shadow:10px 0 20px #0008}.sidebar.open{transform:none}.topbar{min-height:60px;padding:8px 14px}.topbar .brand{display:block}.mobile-toggle{display:block}.top-actions .button{min-height:36px;padding:7px 11px;font-size:.78rem}.top-actions .button.secondary{display:none}.wrap{padding:0 16px}.hero{padding-top:24px}.hero-grid{display:flex;flex-direction:column-reverse;align-items:stretch;gap:8px}.hero-visual{min-height:180px}.hero-visual img{max-height:210px}.hero-visual .phone{max-width:28%}.hero-visual .game-cover{max-width:27%}.hero h1{font-size:1.8rem}.hero-actions .button{flex:1}.ticker{margin-top:18px}.section{padding:25px 0}.game-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.game-card span{font-size:.73rem}.category-strip{grid-template-columns:repeat(2,1fr);gap:8px}.category-link{padding:10px;font-size:.84rem}.article{padding:24px 0 48px}.article h2{margin-top:32px}.footer{padding-bottom:100px}.mobile-bar{display:flex;position:fixed;z-index:30;bottom:0;left:0;right:0;align-items:center;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#0b1035;border-top:1px solid #634a9b}.mobile-bar .button{flex:1}}
@media(max-width:390px){.top-actions .button{padding:6px 8px}.topbar .brand{width:88px}.game-row{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* VIP hall */
:root{--navy:#11183f;--deep:#090e30;--side:#392579;--gold:#f4d083;--pink:#d843d7;--text:#f8f6ff;--muted:#c8c7dc;--line:#4b4974}
body{background:#121943;letter-spacing:0}.site-shell{grid-template-columns:246px minmax(0,1fr)}
.sidebar{background:linear-gradient(170deg,#432981,#35216e 72%,#28205c);border-color:#5b42a4;padding:25px 12px}.sidebar .brand{width:155px;margin-bottom:38px}.sidebar nav li{margin:3px 0}.sidebar nav a{padding:11px 16px;font-weight:600;border-left:3px solid transparent}.sidebar nav a:hover,.sidebar nav a[aria-current="page"]{background:#20185499;border-left-color:#f5c85d;color:#fff}.side-bottom{margin:38px 15px 0;border-top:1px solid #7964ac;padding:22px 0;color:#d0c6e8;font-size:.83rem}.side-bottom span{color:#eac573;font-size:.76rem;font-weight:700}.side-bottom p{margin:7px 0}
.topbar{height:66px;min-height:66px;background:#090d30;border-color:#2e2e64}.topbar-label{color:#a7a5ce;font-size:.74rem;letter-spacing:0}.button{border-radius:7px;box-shadow:none}.button.primary{background:linear-gradient(110deg,#a325d4,#db31d5);border-color:#c736e7}.button.secondary{border-color:#b784d7;background:#221549}.top-actions .button{min-width:100px}
.vip-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 76% 38%,#4d3182 0,#252258 32%,#171b4a 67%,#141840 100%);border-bottom:1px solid #55517d}.vip-hero:before{content:"";position:absolute;inset:0;opacity:.27;background:repeating-linear-gradient(120deg,transparent 0 80px,#d49cfa18 81px 82px)}.vip-hero-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr);align-items:center;gap:20px;min-height:365px;padding-top:36px;padding-bottom:36px}.vip-intro{max-width:650px}.vip-intro h1{font-size:2.55rem;line-height:1.23;color:#fff;margin:12px 0 15px}.vip-intro p{font-size:1.05rem;max-width:54ch;color:#e9e1f3;margin:0}.vip-intro .eyebrow,.section-kicker{color:#f4d083;font-size:.75rem;font-weight:800;letter-spacing:0}.vip-emblem{text-align:center;align-self:center}.emblem-ring{width:min(290px,100%);aspect-ratio:1;margin:auto;border:2px solid #d9b166;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,#584071,#252152 67%,#15163f);box-shadow:0 0 0 9px #d6a95119,0 0 35px #cf7bee4d,inset 0 0 55px #e9b75d1e}.emblem-ring img{width:116px;height:116px;object-fit:contain}.emblem-ring strong{color:#f9d688;font-size:1.6rem;line-height:1.2}.vip-emblem>span{display:block;color:#c9bedf;margin-top:16px;font-size:.86rem}.hero-actions{margin-top:25px}
.lobby-band{padding:28px 0 34px;background:#191e4e;border-bottom:1px solid #414172}.lobby-title{display:flex;align-items:baseline;gap:15px;margin-bottom:16px}.lobby-title span{font-size:.7rem;color:#e6ad6b;font-weight:800}.lobby-title h2{font-size:1.3rem;line-height:1.4;margin:0;color:#fff}.category-strip{gap:10px}.category-link{background:#242451;border:1px solid #5a5283;min-height:82px;padding:13px}.category-link:hover{background:#443079;border-color:#d6aa60}.category-link img{width:40px;height:40px;flex:none}.category-link span{display:block;line-height:1.2}.category-link small{display:block;font-size:.72rem;font-weight:400;color:#c2bddb;margin-top:7px}
.section.featured{padding:32px 0;border-color:#343b6a}.featured:nth-of-type(odd){background:#171d4a}.section-head h2{margin:4px 0 18px;color:#f6d278;font-size:1.4rem}.section-head a{color:#dca8ef;white-space:nowrap}.game-row{gap:13px}.game-card{border-color:#3d4573;background:#1b204b}.game-card img{aspect-ratio:220/290;object-fit:contain}.game-card span{font-size:.83rem;min-height:3.2em}.sports-band{background:#202355;border-top:1px solid #404476;border-bottom:1px solid #404476}.sports-band-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:42px;padding-top:32px;padding-bottom:32px}.sports-band h2{font-size:1.55rem;color:#f7d37e;margin:8px 0}.sports-band p{color:#dcdbec;max-width:48ch}.sports-band img{width:100%;max-height:280px;object-fit:contain;border-radius:6px}.text-link{color:#edb8ef;text-decoration:underline;text-underline-offset:4px}.article{max-width:900px}.article h1{font-size:2.15rem}.home-article{padding-top:47px}.article h2{color:#f7d37e}.article h3{color:#e5abe8}.page-visual img{object-fit:contain}.footer{padding-bottom:34px}
@media(max-width:1050px){.site-shell{grid-template-columns:205px minmax(0,1fr)}.vip-intro h1{font-size:2.15rem}.category-strip{grid-template-columns:repeat(2,1fr)}.game-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.site-shell{display:block}.sidebar{width:min(82vw,310px);height:100dvh}.sidebar .brand{margin-bottom:25px}.topbar{height:60px;min-height:60px}.topbar-label{display:none}.topbar .brand{display:block}.top-actions .button.primary{min-width:0}.vip-hero-inner{grid-template-columns:1fr;gap:10px;min-height:0;padding-top:28px;padding-bottom:27px}.vip-intro h1{font-size:1.85rem}.vip-intro p{font-size:.94rem}.vip-emblem{grid-row:1}.emblem-ring{width:145px;box-shadow:0 0 0 5px #d6a95119,0 0 20px #cf7bee4d}.emblem-ring img{width:64px;height:64px}.emblem-ring strong{font-size:.95rem}.vip-emblem>span{display:none}.hero-actions{margin-top:17px}.lobby-title{display:block}.lobby-title h2{font-size:1.16rem}.category-link{min-height:68px;padding:9px}.category-link img{width:30px;height:30px}.category-link small{font-size:.66rem}.game-row{grid-template-columns:repeat(3,minmax(0,1fr))}.game-card span{font-size:.72rem}.sports-band-inner{grid-template-columns:1fr;gap:18px}.sports-band img{max-height:220px}.footer{padding-bottom:92px}}
@media(max-width:390px){.game-row{grid-template-columns:repeat(2,minmax(0,1fr))}.category-link span{font-size:.83rem}.vip-intro h1{font-size:1.7rem}}
.page-visual.page-visual-slots{min-height:0;padding:0;background:#0b0c19}.page-visual-slots img{display:block;width:min(812px,100%);height:auto;max-height:none;object-fit:contain}
.home-carousel{position:relative;overflow:hidden;background:#100e2d;aspect-ratio:1728/540;min-height:260px;border-bottom:1px solid #61517d;outline-offset:-4px}
.carousel-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.carousel-slide[hidden]{display:none}
.carousel-banner img{display:block;width:100%;height:100%;object-fit:contain}
.carousel-feature-slide{justify-content:space-between;gap:3%;padding:2.5% 6%;background:linear-gradient(110deg,#191043,#35216c 55%,#14183f)}
.carousel-feature-slide:nth-of-type(3){background:linear-gradient(110deg,#111a36,#224861 60%,#131c3a)}
.carousel-feature-copy{flex:0 0 35%;position:relative;z-index:1}
.carousel-feature-copy h2{font-size:clamp(1.45rem,2.7vw,2.9rem);line-height:1.25;margin:10px 0;color:#fff}
.carousel-feature-copy p{font-size:clamp(.9rem,1.3vw,1.16rem);color:#e5dff0;max-width:33ch;margin:0 0 20px}
.carousel-feature-slide img{display:block;width:60%;height:100%;object-fit:contain;object-position:center}
.carousel-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:38px;height:48px;border:1px solid #fff7;border-radius:4px;background:#120e2cbb;color:#fff;font-size:2.2rem;line-height:1}
.carousel-arrow:hover{background:#522377}.carousel-prev{left:12px}.carousel-next{right:12px}
.carousel-dots{position:absolute;z-index:2;bottom:13px;left:50%;transform:translateX(-50%);display:flex;gap:9px;padding:6px 9px;border-radius:20px;background:#100d26a6}
.carousel-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#eee9f9a1}
.carousel-dots button[aria-current="true"]{background:#ffce6e;box-shadow:0 0 0 2px #1b113b}
.home-intro{background:#191d4a;border-bottom:1px solid #414172}
.home-intro-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:17px;padding-bottom:18px}
.home-intro h1{font-size:1.45rem;line-height:1.3;color:#fff;margin:4px 0}
.home-intro p{color:#d6d4ed;font-size:.88rem;max-width:77ch;margin:0}
.home-intro .hero-actions{flex:none;margin:0}
@media(max-width:760px){.home-carousel{min-height:180px;aspect-ratio:auto}.carousel-feature-slide{padding:12px 43px;gap:8px}.carousel-feature-copy{flex-basis:44%}.carousel-feature-copy h2{font-size:1.25rem}.carousel-feature-copy p{font-size:.78rem;line-height:1.4;margin-bottom:10px}.carousel-feature-copy .button{min-height:34px;padding:6px 9px;font-size:.76rem}.carousel-feature-slide img{width:52%;height:83%}.carousel-arrow{width:27px;height:37px;font-size:1.65rem}.carousel-prev{left:5px}.carousel-next{right:5px}.carousel-dots{bottom:8px}.home-intro-inner{display:block;padding-top:14px;padding-bottom:15px}.home-intro h1{font-size:1.25rem}.home-intro p{font-size:.78rem}.home-intro .hero-actions{margin-top:10px}.home-intro .button{min-height:35px;font-size:.8rem;padding:7px 10px}}
@media(max-width:390px){.carousel-feature-slide img{width:48%}.carousel-feature-copy{flex-basis:48%}.carousel-feature-copy h2{font-size:1.08rem}}

/* Consistent heading palette across the home page and content pages. */
:root{--title-primary:#a5f3e6;--title-secondary:#ffc69a;--title-tertiary:#dfbfff}
.main h1{color:var(--title-primary)}
.main h2{color:var(--title-secondary)}
.main h3{color:var(--title-tertiary)}
.main h4,.main h5,.main h6{color:#d2eee8}
.main .section-kicker,.main .eyebrow,.main .lobby-title span{color:#93e7dd}
.main .game-card span,.main .category-link span{color:#e4f8f3}
.main .mobile-visual-brand span{color:var(--title-secondary)}
