/* Homepage composition shared by three separate, server-rendered designs. */
.wg-redesign { --rd-bg:#101417;--rd-panel:#181e23;--rd-soft:#222a30;--rd-text:#f5f5f2;--rd-muted:#b0b9c0;--rd-line:#ffffff1c;--rd-accent:#ff822f;--rd-on-accent:#17120b; }
html[data-theme="horizon"] .wg-redesign { --rd-bg:#faf9f6;--rd-panel:#ffffff;--rd-soft:#f1f3f4;--rd-text:#18232d;--rd-muted:#53616c;--rd-line:#1c30421c;--rd-accent:#b94708;--rd-on-accent:#fff; }
html[data-theme="gameverse"] .wg-redesign { --rd-bg:#100e0b;--rd-panel:#1c1913;--rd-soft:#282217;--rd-text:#fff4df;--rd-muted:#c3b7a3;--rd-line:#f7cf8530;--rd-accent:#ffb344; }
.wg-redesign .em-header { gap:20px; padding-inline:max(28px,calc((100% - 1360px)/2));background:var(--rd-bg);border-color:var(--rd-line); }
.wg-redesign .em-brand { align-items:center;flex-shrink:0; }
.wg-redesign .em-desktop-nav a { color:var(--rd-muted); }
.wg-redesign .em-desktop-nav a:is(:hover,.is-current),.wg-redesign .em-account { color:var(--rd-text); }
.wg-redesign .em-footer { background:var(--rd-bg);border-color:var(--rd-line); }
.wg-redesign .em-footer :is(a,p,small) { color:var(--rd-muted); }
.wg-redesign .em-menu-toggle { color:var(--rd-text);border-color:var(--rd-line); }
.wg-redesign .em-mobile-menu { background:var(--rd-panel); }
.wg-redesign .em-mobile-menu>a { color:var(--rd-text);border-color:var(--rd-line); }
.rd-home { overflow:clip;background:var(--rd-bg);color:var(--rd-text); }
.rd-home *, .rd-home *::before, .rd-home *::after { box-sizing:border-box; }
.rd-home a { text-decoration:none; }
.rd-home :is(h1,h2,h3,p) { margin:0; }
.rd-home :is(h1,h2,h3) { color:var(--rd-text); }
.rd-home h1 { font-size:clamp(44px,5.3vw,78px);line-height:1.02;letter-spacing:-.055em;font-weight:850; }
.rd-home h1 em { font-style:normal;color:var(--rd-accent); }
.rd-home h2 { font-size:clamp(28px,3vw,42px);line-height:1.12;letter-spacing:-.04em; }
.rd-home h3 { font-size:23px;line-height:1.2;letter-spacing:-.025em; }
.rd-wrap { width:min(1320px,calc(100% - 80px));margin-inline:auto; }
.rd-eyebrow { display:block;font-size:10px;font-weight:700;line-height:1.7;letter-spacing:.19em;text-transform:uppercase;color:var(--rd-accent);margin-bottom:24px; }
.rd-hero-copy>p { color:var(--rd-muted);font-size:17px;line-height:1.75;max-width:49ch;margin-top:26px; }
.rd-actions { display:flex;flex-wrap:wrap;gap:14px;margin-top:34px; }
.rd-btn { display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:16px 23px;min-height:54px;background:var(--rd-accent);color:var(--rd-on-accent);border:1px solid var(--rd-accent);border-radius:6px;font-size:13px;font-weight:750;transition:transform .18s,box-shadow .18s; }
.rd-btn:hover { transform:translateY(-2px);box-shadow:0 7px 24px #0002; }
.rd-btn-secondary { background:transparent;border-color:var(--rd-line);color:var(--rd-text); }
.rd-platform-labels { display:flex;gap:20px;margin-top:38px;color:var(--rd-muted);font-size:9px;letter-spacing:.12em;font-weight:650; }
.rd-platform-labels span+span { border-inline-start:1px solid var(--rd-line);padding-inline-start:20px; }
.rd-command-hero { position:relative;background:linear-gradient(110deg,#101417 15%,#101417e8 55%,#10141796),url('../../images/hero-games-bg.webp') center/cover; }
.rd-hero-grid { display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center;min-height:610px;padding-block:70px; }
.rd-showcase { position:relative;min-width:0; }
.rd-showcase::before { content:'';position:absolute;inset:-70px;background:radial-gradient(ellipse,#ff81251b,transparent 70%);pointer-events:none; }
.rd-showcase .rd-demo { transform:perspective(1400px) rotateY(-6deg);box-shadow:0 28px 90px #0008; }
.rd-showcase-note { margin-top:26px;text-align:center;color:var(--rd-muted);font-size:11px;letter-spacing:.02em; }
.rd-showcase-note span { color:var(--rd-accent);margin-inline-end:10px; }
.rd-demo { position:relative;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-panel);overflow:hidden;text-align:start; }
.rd-demo-top { display:flex;align-items:center;gap:15px;padding:10px 18px;border-bottom:1px solid var(--rd-line); }
.rd-demo-top img { width:104px;height:auto; }
.rd-demo-top>span { margin-inline-start:auto;font-size:9px;letter-spacing:.08em;color:var(--rd-muted);text-transform:uppercase; }
.rd-demo-top>i { color:var(--rd-muted);font-style:normal;letter-spacing:2px; }
.rd-demo-body { display:flex; }
.rd-demo-body>aside { display:flex;flex-direction:column;gap:24px;align-items:center;padding:25px 18px;border-inline-end:1px solid var(--rd-line);color:var(--rd-muted); }
.rd-demo-body>aside strong { color:var(--rd-accent); }
.rd-demo-content { padding:24px;flex:1;min-width:0; }
.rd-demo-heading { display:flex;align-items:center;justify-content:space-between;gap:8px; }
.rd-home .rd-demo-heading h2 { font-size:18px;letter-spacing:-.02em; }
.rd-demo-heading>span { color:var(--rd-muted);font-size:9px; }
.rd-demo-stats { display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-block:20px; }
.rd-demo-stats>div { background:var(--rd-soft);border:1px solid var(--rd-line);padding:13px;border-radius:5px; }
.rd-demo-stats small { display:block;color:var(--rd-muted);font-size:9px;margin-bottom:5px; }
.rd-demo-stats strong { color:var(--rd-text);font-size:26px;font-weight:600; }
.rd-demo-row { display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--rd-line);padding:12px 0; }
.rd-demo-row img { width:36px;height:36px;object-fit:cover;border-radius:7px; }
.rd-demo-row strong { display:block;font-size:11px;color:var(--rd-text); }
.rd-demo-row small { display:block;font-size:9px;color:var(--rd-muted);margin-top:4px; }
.rd-demo-pill { font-size:8px;margin-inline-start:auto;color:#8cdbad;background:#50b77817;border:1px solid #50b7783d;border-radius:30px;padding:4px 8px; }
.rd-home .rd-demo-caption { font-size:9px;color:var(--rd-muted);margin-top:14px; }
.rd-section { padding-block:76px;border-top:1px solid var(--rd-line); }
.rd-section-title { display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:32px; }
.rd-section-title .rd-eyebrow { margin-bottom:13px; }
.rd-section-title>p { max-width:35ch;color:var(--rd-muted);font-size:13px;line-height:1.7; }
.rd-product-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px; }
.rd-product { display:flex;flex-direction:column;padding:28px;background:var(--rd-panel);border:1px solid var(--rd-line);border-radius:8px;position:relative; }
.rd-product-number { color:var(--rd-muted);font-size:9px;letter-spacing:.13em; }
.rd-product svg { width:43px;height:43px;color:var(--rd-accent);margin:30px 0 22px; }
.rd-home .rd-product p { color:var(--rd-muted);font-size:13px;line-height:1.8;margin-top:14px;margin-bottom:24px; }
.rd-product>a { display:flex;justify-content:space-between;align-items:center;color:var(--rd-accent);font-size:12px;font-weight:650;margin-top:auto;padding-top:18px;border-top:1px solid var(--rd-line); }
.rd-product:hover { border-color:var(--rd-accent); }
.rd-game-grid { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px; }
.rd-game-card { display:flex;flex-direction:column;border:1px solid var(--rd-line);background:var(--rd-panel);border-radius:8px;overflow:hidden;transition:transform .2s; }
.rd-game-card:hover { transform:translateY(-4px);border-color:var(--rd-accent); }
.rd-game-card>img { width:100%;height:auto;aspect-ratio:1;object-fit:cover; }
.rd-game-card>div:not(.rd-game-art) { padding:18px 14px;display:flex;flex:1;flex-direction:column; }
.rd-game-card small { font-size:8px;color:var(--rd-accent);letter-spacing:.07em;text-transform:uppercase; }
.rd-home .rd-game-card h3 { font-size:16px;line-height:1.3;margin-top:9px;margin-bottom:20px; }
.rd-game-card span { display:flex;justify-content:space-between;margin-top:auto;font-size:10px;color:var(--rd-muted); }
.rd-game-card b { color:var(--rd-accent); }
.rd-steps { display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start; }
.rd-link { display:inline-block;color:var(--rd-accent);margin-top:25px;font-size:13px;font-weight:600; }
.rd-steps ol { margin:0;padding:0;list-style:none; }
.rd-steps li { display:flex;gap:23px;padding:24px 0;border-bottom:1px solid var(--rd-line); }
.rd-steps li:first-child { padding-top:0; }
.rd-steps li>span { color:var(--rd-accent);font-size:12px; }
.rd-home .rd-steps h3 { font-size:18px; }
.rd-home .rd-steps p { color:var(--rd-muted);font-size:13px;line-height:1.7;margin-top:9px; }
.rd-final { padding:64px;text-align:center;border:1px solid var(--rd-line);border-radius:12px;background:radial-gradient(ellipse at 50% 100%,#ff8c2018,transparent 75%),var(--rd-panel);margin-bottom:24px; }
.rd-final .rd-eyebrow { margin-bottom:15px; }
.rd-home .rd-final p { color:var(--rd-muted);font-size:14px;margin:18px 0 28px; }
/* Clean Horizon: centred editorial hero and a wide, flat dashboard. */
.rd-horizon-hero { text-align:center;padding-top:65px;position:relative; }
.rd-horizon-hero::before { content:'';position:absolute;inset:0 -400px;background:radial-gradient(ellipse at 15% 35%,#ffc99235,transparent 35%),radial-gradient(ellipse at 85% 40%,#ffc99235,transparent 35%);pointer-events:none; }
.rd-horizon-hero> * { position:relative; }
.rd-home .rd-horizon-hero h1 { font-size:clamp(45px,5.6vw,82px); }
.rd-home .rd-horizon-hero h1 br { display:none; }
.rd-home .rd-horizon-hero h1 em::before { content:' '; }
.rd-home .rd-horizon-hero>p { max-width:65ch;margin:24px auto 0;color:var(--rd-muted);font-size:17px;line-height:1.7; }
.rd-horizon-hero .rd-actions { justify-content:center; }
.rd-horizon-showcase { max-width:950px;margin:50px auto 0;position:relative;padding-bottom:50px; }
.rd-horizon-showcase .rd-demo { box-shadow:0 22px 65px #243a5015; }
.rd-horizon-showcase .rd-demo-content { padding:28px 36px; }
.rd-horizon-showcase .rd-demo-row { padding:11px 0; }
.rd-floating-note { position:absolute;bottom:90px;inset-inline-end:-50px;display:flex;align-items:center;gap:15px;background:white;padding:18px 24px;border:1px solid var(--rd-line);border-radius:12px;box-shadow:0 10px 40px #243a5015;text-align:start; }
.rd-floating-note>span { color:var(--rd-accent);font-size:30px; }
.rd-floating-note strong { display:block;color:var(--rd-text);font-size:12px; }
.rd-floating-note small { display:block;color:var(--rd-muted);font-size:11px;margin-top:5px; }
html[data-theme="horizon"] .rd-demo-pill { color:#1c7547; }
html[data-theme="horizon"] .rd-product { background:transparent;border:0;border-inline-end:1px solid var(--rd-line);border-radius:0; }
html[data-theme="horizon"] .rd-product:last-child { border-inline-end:0; }
html[data-theme="horizon"] .rd-game-card { box-shadow:0 5px 18px #243a5008; }
/* Gameverse: full-bleed cinematic scene with the game catalogue immediately below. */
.rd-gameverse-hero { position:relative;isolation:isolate;min-height:650px;padding-top:85px;display:flex;flex-direction:column;justify-content:space-between; }
.rd-cinematic-art { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center;z-index:-2; }
.rd-gameverse-hero::before { content:'';position:absolute;inset:0;background:linear-gradient(90deg,#100e0bf5 0%,#100e0bc4 39%,#100e0b10 80%),linear-gradient(0deg,#100e0b 0%,transparent 45%);z-index:-1; }
.rd-gameverse-hero .rd-hero-copy { max-width:680px; }
.rd-gameverse-hero .rd-hero-copy>p { color:#e2d8c7; }
.rd-gameverse-hero .rd-platform-labels { color:#e2d8c7;margin-top:24px; }
.rd-gameverse-hero .rd-btn-secondary { border-color:#ffffff70; }
.rd-hero-bottom { display:flex;justify-content:space-between;gap:20px;margin-top:65px;padding:24px max(40px,calc((100% - 1320px)/2));font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--rd-muted);border-top:1px solid var(--rd-line); }
.rd-hero-bottom a { color:var(--rd-accent); }
html[data-theme="gameverse"] .rd-games { padding-top:44px; }
html[data-theme="gameverse"] .rd-game-card { border-radius:4px; }
html[data-theme="gameverse"] .rd-game-card>img { aspect-ratio:4/5; }
@media(min-width:1600px){.rd-hero-grid{min-height:700px}.rd-gameverse-hero{min-height:750px}}
@media(max-width:1100px){.rd-hero-grid{gap:25px;grid-template-columns:1fr 1fr}.rd-demo-content{padding:16px}.rd-demo-body>aside{padding-inline:12px}.rd-game-grid{grid-template-columns:repeat(3,1fr)}.rd-floating-note{inset-inline-end:-10px}.rd-section-title{align-items:start}.rd-section-title>p{max-width:28ch}.rd-home h1{font-size:54px}}
@media(max-width:800px){.rd-wrap{width:calc(100% - 40px)}.rd-hero-grid{grid-template-columns:1fr;padding-block:45px;gap:40px}.rd-home h1{font-size:clamp(43px,8vw,62px)}.rd-hero-copy>p{font-size:15px}.rd-showcase .rd-demo{transform:none}.rd-showcase-note{margin-top:14px}.rd-section{padding-block:48px}.rd-section-title{display:block}.rd-section-title>p{max-width:60ch;margin-top:16px}.rd-product-grid{grid-template-columns:1fr;gap:14px}.rd-product{padding:24px}.rd-product svg{margin:22px 0 15px}.rd-steps{grid-template-columns:1fr;gap:35px}.rd-final{padding:40px 22px}.rd-home .rd-horizon-hero h1 br{display:block}.rd-horizon-hero{padding-top:45px}.rd-horizon-showcase{margin-top:35px;padding-bottom:40px}.rd-floating-note{display:none}.rd-horizon-showcase .rd-demo-content{padding:20px}.rd-gameverse-hero{padding-top:55px;min-height:640px}.rd-gameverse-hero::before{background:linear-gradient(90deg,#100e0be8,#100e0b80),linear-gradient(0deg,#100e0b,transparent)}.rd-hero-bottom{padding:20px;font-size:9px}.rd-gameverse-hero .rd-hero-copy{max-width:90%}html[data-theme="horizon"] .rd-product{border-inline-end:0;border-bottom:1px solid var(--rd-line)}}
@media(max-width:480px){.rd-home h1{font-size:45px}.rd-actions{gap:10px}.rd-btn{padding:14px 15px;gap:12px;font-size:12px}.rd-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rd-home .rd-game-card h3{font-size:15px}.rd-platform-labels{gap:10px;font-size:8px;letter-spacing:.06em}.rd-platform-labels span+span{padding-inline-start:10px}.rd-demo-body>aside{display:none}.rd-demo-content,.rd-horizon-showcase .rd-demo-content{padding:15px}.rd-demo-heading>span{display:none}.rd-demo-stats>div{padding:9px}.rd-demo-stats strong{font-size:22px}.rd-demo-top{padding:8px 12px}.rd-demo-row{gap:9px}.rd-demo-row strong{font-size:10px}.rd-demo-pill{font-size:7px;padding:3px 5px}.rd-gameverse-hero .rd-hero-copy{max-width:none}.rd-hero-bottom{letter-spacing:0}.wg-redesign .em-header{padding-inline:16px;gap:10px}.wg-redesign .em-header-actions{gap:10px}.wg-redesign .em-account{font-size:11px}.wg-redesign .em-menu-toggle{font-size:11px;padding:8px}.wg-redesign .wg-theme-logo{width:112px}}
@media(prefers-reduced-motion:reduce){.rd-home *{transition:none!important;scroll-behavior:auto!important}}

/* Existing game icons are small assets: retain their intended scale. */
.rd-game-art { min-height:132px;display:grid;place-items:center;background:radial-gradient(ellipse at center,#ff9c3426,transparent 75%),var(--rd-soft);border-bottom:1px solid var(--rd-line); }
.rd-game-art img { width:64px;height:64px;object-fit:cover;border-radius:12px;box-shadow:0 8px 24px #0003; }
/* Each Gameverse card maps to its game, independent of display order. */
html[data-theme="gameverse"] .rd-game-art {
 min-height:165px;
 background-image:linear-gradient(#100e0b10,#100e0b55),var(--gameverse-art,none);
 background-size:cover;
 background-position:center;
}
html[data-theme="gameverse"] .home-game-mafia { --gameverse-art:url("../../images/themes/gameverse/mafia-city.svg"); }
html[data-theme="gameverse"] .home-game-grand { --gameverse-art:url("../../images/themes/gameverse/the-grand-mafia.svg"); }
html[data-theme="gameverse"] .home-game-chief { --gameverse-art:url("../../images/themes/gameverse/chief-almighty.svg"); }
html[data-theme="gameverse"] .home-game-dino { --gameverse-art:url("../../images/themes/gameverse/dino-cataclysm.svg"); }
html[data-theme="gameverse"] .home-game-savage { --gameverse-art:url("../../images/themes/gameverse/savage-survival.svg"); }
html[data-theme="gameverse"] .home-game-last-rise { --gameverse-art:url("../../images/themes/gameverse/last-rise.svg"); }
