/* onU Games: a bright arcade-inspired home. Scoped to the home page. */
.game-home{--bg:#f6f9ff;--ink:#172746;--purple:#285bd6;--line:#dae3f3;background:var(--bg);color:var(--ink);font-family:'Malgun Gothic','Apple SD Gothic Neo',Arial,sans-serif}
.game-home header.home-header{height:120px;background:#fff;border-bottom:1px solid var(--line)}
.game-home .home-header .brand-logo-full{width:230px}
.game-home #home-auth{gap:8px}
.game-home #home-auth a,.game-home #home-auth .auth-logout{border-radius:12px;padding:11px 15px;color:#233d66;background:#f0f5ff}
.game-home #home-auth a:hover,.game-home #home-auth .auth-logout:hover{background:#dfeaff}
.game-home .home-section-nav{position:relative;z-index:4;min-height:68px;background:#fff;gap:12px;padding-block:10px}
.game-home .home-section-nav a{padding:12px 30px;border-radius:14px;font-weight:800;transition:background .2s,color .2s}
.game-home .home-section-nav a:hover{background:#fff0cf;color:#8b4c00}
.game-home .hero{position:relative;isolation:isolate;max-width:1400px;min-height:640px;padding:64px 5% 72px;gap:18px;background:radial-gradient(ellipse at 85% 35%,#cfedff 0,transparent 52%),radial-gradient(ellipse at 5% 80%,#fff0cd 0,transparent 52%),#f5f9ff;overflow:hidden}
.game-home .hero:before{content:'';position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#5988c72b 1px,transparent 1px);background-size:25px 25px;mask-image:linear-gradient(120deg,transparent,#000)}
.game-home .hero-copy{position:relative;z-index:2}
.game-home .hero-copy .eyebrow{display:inline-flex;padding:10px 15px;border:1px solid #e8c884;border-radius:99px;background:#fff5d9;font-size:10px;color:#80501d;letter-spacing:1.5px;box-shadow:0 3px 0 #eddcae}
.game-home .dot{background:#f49b16;box-shadow:0 0 0 4px #ffbd4529}
.game-home h1{font-size:clamp(40px,4.6vw,65px);line-height:1.28;font-weight:900;letter-spacing:-.065em;margin:30px 0 22px}
.game-home .joy{color:#245edb}
.game-home .joy svg{stroke:#ffc44f;bottom:-8px;stroke-width:8}
.game-home .period{color:#ff9b19}
.game-home .hero-copy>p{color:#526581;font-size:15px;line-height:1.95}
.game-home .hero-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.game-home .button{border-radius:15px;padding:18px 24px;font-weight:800;gap:24px;transition:transform .2s,box-shadow .2s}
.game-home .dark{background:#ffb32d;color:#382600;box-shadow:0 5px 0 #d58a0e,0 12px 24px #d6982630}
.game-home .dark:hover{background:#ffc348;transform:translateY(-3px);box-shadow:0 8px 0 #d58a0e,0 15px 24px #d6982630}
.game-home .secondary-cta{padding:16px 18px;border:1px solid #bdcde7;border-radius:15px;background:#ffffffa8;font-size:13px;font-weight:800}
.game-home .secondary-cta:hover{background:#fff}
.game-home .hero-note{margin-top:34px;letter-spacing:1.3px;font-size:9px;color:#60748e}
.game-home .hero-note span{color:#ed990f}
.game-home .hero-art{height:490px;min-width:0}
.game-home .hero-art:before{width:86%;height:86%;background:linear-gradient(145deg,#fff9d8,#ffdf88);box-shadow:inset 0 0 0 13px #ffffff78,0 25px 60px #dca32926;border:2px solid #fff;border-radius:42% 58% 52% 48%;transform:rotate(-8deg)}
.game-home .onu-mascot{max-height:470px;filter:drop-shadow(0 22px 13px #9d640b20)}
.game-home .orbit{border:2px dashed #75a1e74d;width:98%;height:72%}
.game-home .orbit-two{border:1px solid #f3b53a70;width:93%;height:95%;transform:rotate(22deg)}
.game-home .spark-one{color:#ffad19;top:8px;left:36px}
.game-home .spark-two{color:#2d78dc;right:6px;bottom:50px}
.game-home .play-label{top:35px;right:0;color:#fff;background:#2d67db;border:3px solid white;border-radius:16px;box-shadow:0 6px 0 #b8ccea;transform:rotate(8deg);font-weight:800}
.game-home .art-caption{left:50%;transform:translateX(-50%);bottom:-15px;white-space:nowrap;color:#537093;letter-spacing:1.4px;font-weight:700}
.game-home .ticker{background:#193a70;border:0;color:#fff5dc;height:56px;font-size:10px;gap:40px}
.game-home .ticker b{color:#ffc548}
.game-home .section{padding:86px 5%}
.game-home .eyebrow{color:#476a9c;font-size:10px;letter-spacing:1.8px;font-weight:800}
.game-home h2{font-size:clamp(28px,3.1vw,42px);font-weight:900;letter-spacing:-.055em}
.game-home .section-heading>p{color:#65758d;line-height:1.9}
.game-home .game-grid{gap:28px;align-items:stretch}
.game-home .game-card{min-width:0;background:#fff;border:1px solid #dce6f6;border-radius:24px;padding:10px;box-shadow:0 7px 0 #e4ebf6,0 15px 35px #1f4c8420;transition:transform .25s,box-shadow .25s;overflow:hidden}
.game-home .game-card:hover{transform:translateY(-5px);box-shadow:0 9px 0 #d8e3f6,0 22px 38px #1f4c8428}
.game-home .game-image{display:block;border-radius:16px;height:auto;aspect-ratio:1672/941}
.game-home .game-image:hover{transform:none}
.game-home .game-image.straight-banner{aspect-ratio:1672/941;height:auto}
.game-home .game-description{padding:22px 16px 14px}
.game-home .game-description h3{font-size:24px;line-height:1.5;font-weight:900;letter-spacing:-.04em}
.game-home .game-description h3 small{display:block;margin-left:0;font-size:12px;color:#637697}
.game-home .game-description p{font-size:13px;color:#61738b;line-height:1.9}
.game-home .game-meta{display:flex;gap:7px;margin-bottom:12px;flex-wrap:wrap}
.game-home .game-meta span{font-size:10px;font-weight:800;letter-spacing:.5px;border-radius:7px;padding:6px 9px;background:#edf3ff;color:#305bb0}
.game-home .game-meta .development{background:#fff1ce;color:#835511}
.game-home .text-button{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:20px;padding:13px 16px;border-radius:11px;background:#edf3ff;color:#2758b8;text-align:left;font-size:12px}
.game-home .text-button:hover{background:#dce9ff}
.game-home .card-top{inset:16px 18px auto;color:#193854}
.game-home .status{background:#fff4cb;border:1px solid #ffdf85;font-weight:800}
.game-home .game-wordmark{font-size:clamp(22px,2.6vw,34px);bottom:24px;left:20px}
.game-home .game-wordmark>span{font-size:12px}
.game-home .concept-note{line-height:1.8;color:#677993;margin-top:23px}
.game-home .about{margin:0 auto;border:0;border-radius:32px;background:#eaf1ff;gap:65px;position:relative}
.game-home .about-mark{height:340px;background:radial-gradient(circle,#fff5d2,#ffdda0);border:6px solid #ffffffb5;border-radius:28px;overflow:hidden;transform:rotate(-3deg);box-shadow:0 10px 0 #d0dcf1}
.game-home .studio-mascot{display:block;width:90%;height:90%;object-fit:contain}
.game-home .about-mark small{bottom:17px;left:22px;font-size:9px;color:#74521d;letter-spacing:1.3px;line-height:1.5}
.game-home .about-copy>p{color:#536983;font-size:14px}
.game-home .values{border-color:#c8d8f0;gap:12px;flex-wrap:wrap;color:#4b72a6}
.game-home .values b{color:#1f4479}
.game-home .news-row{background:#fff;border:1px solid #dde6f4;border-radius:22px;padding:28px;box-shadow:0 6px 0 #e6edf8;gap:24px}
.game-home .news-tag{background:#fff1cf;color:#855b16;border:0;font-weight:800;padding:10px 13px}
.game-home .news-row p{color:#65778f;font-size:13px}
.game-home .news-row>a{background:#eef4ff;color:#3269cd;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;flex-shrink:0}
.game-home .news-star{color:#ffb429}
.game-home .closing{margin:0 auto;max-width:1400px;background:radial-gradient(ellipse at 90% 5%,#4785e8,transparent 65%),#214ca3;border-radius:30px;padding:56px 6%;isolation:isolate}
.game-home .closing>p{color:#bdd5ff}
.game-home .closing h2{font-size:42px;line-height:1.4}
.game-home .closing-spark{color:#ffffff19;z-index:-1}
.game-home .light{background:#ffbf3e;color:#3b2a09;box-shadow:0 5px 0 #b97d15}
.game-home footer{padding-top:46px;padding-bottom:40px}
.game-home footer p{color:#647791}
.game-home .back-top{font-weight:700;color:#325b91}
.game-home dialog{border:2px solid #d5e2fa;border-radius:26px;background:#fff;box-shadow:0 24px 90px #12316c40}
.game-home dialog::backdrop{background:#10244699;backdrop-filter:blur(7px)}
.game-home dialog h2{font-size:30px}
.game-home dialog>p,.game-home dialog li{color:#536983}
.game-home .dialog-done{background:#ffb32d;color:#382600;box-shadow:0 4px 0 #d58a0e}
@media(min-width:1400px){.game-home .about,.game-home .closing{max-width:1260px}}
@media(max-width:1000px){.game-home .hero{padding-top:45px;min-height:560px}.game-home .hero-art{height:400px}.game-home .onu-mascot{max-height:390px}.game-home .hero-copy>p{font-size:13px}.game-home .about{gap:35px}.game-home .game-description{padding:18px 10px 12px}}
@media(max-width:760px){.game-home header.home-header{height:auto;min-height:104px}.game-home .hero{grid-template-columns:1fr;gap:20px;padding:42px 6% 52px}.game-home .hero-copy{text-align:center}.game-home .hero-actions{justify-content:center}.game-home .hero-copy .eyebrow{font-size:9px}.game-home h1{font-size:clamp(37px,7vw,54px);margin-top:26px}.game-home .hero-note{justify-content:center;margin-top:27px}.game-home .hero-art{width:100%;max-width:440px;height:390px;margin:6px auto 0}.game-home .hero-art .art-caption{bottom:-13px}.game-home .hero-art .play-label{top:28px;right:12px}.game-home .hero-art .spark-one{left:15px;top:4px}.game-home .game-grid{grid-template-columns:1fr;gap:28px}.game-home .section{padding:58px 6%}.game-home .section-heading{display:block}.game-home .section-heading>p{margin-top:16px}.game-home .about{grid-template-columns:1fr;border-radius:0;gap:35px}.game-home .about-mark{height:280px;max-width:400px;width:100%;margin:auto}.game-home .about-copy{min-width:0}.game-home .news-row{padding:22px;gap:16px}.game-home .news-row>div{width:100%;order:3}.game-home .news-row>a{order:2}.game-home .closing{border-radius:0;padding:44px 6%}.game-home .closing h2{font-size:34px}.game-home footer{padding:30px 6%}}
@media(max-width:700px){.game-home .home-header .brand-logo-full{width:160px}.game-home .home-section-nav{min-height:58px;gap:7px}.game-home .home-section-nav a{padding:11px 21px;font-size:13px}.game-home .game-description h3{font-size:23px}}
@media(max-width:380px){.game-home .hero-art{height:320px}.game-home .onu-mascot{max-height:310px}.game-home .hero-copy>p br{display:none}.game-home .button{padding:16px 19px;font-size:13px}.game-home .secondary-cta{font-size:12px;padding:15px}.game-home .values{font-size:9px}.game-home .values b{font-size:11px}}
@media(prefers-reduced-motion:reduce){.game-home *, .game-home *:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Full-width backgrounds, game-first introduction, quiet sketch mascot. */
.game-home{background:#f6f9ff}
.game-home header.home-header,.game-home .home-section-nav{max-width:none;width:100%;padding-left:max(6%,calc((100% - 1200px)/2));padding-right:max(6%,calc((100% - 1200px)/2))}
.game-home header.home-header{background:transparent}
.game-home .home-section-nav{background:transparent}
.game-home .hero{max-width:none;width:100%;min-height:510px;padding:52px max(6%,calc((100% - 1200px)/2)) 64px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px;background:radial-gradient(ellipse at 85% 40%,#e4f2ff 0,transparent 60%),linear-gradient(180deg,#f6f9ff,#f3f7fe)}
.game-home .hero:before{opacity:.4;mask-image:linear-gradient(120deg,transparent,#000)}
.game-home h1{font-size:clamp(38px,3.7vw,54px);margin:24px 0 20px}
.game-home .hero-copy>p{font-size:14px}
.game-home .hero-copy .eyebrow{background:transparent;border:0;box-shadow:none;padding:0;color:#557092;font-size:9px}
.game-home .hero-note{margin-top:28px}
.featured-game{position:relative;min-width:0;align-self:center;background:#fff;border:1px solid #d8e4f4;border-radius:22px;overflow:hidden;box-shadow:0 14px 36px #294d7d14}
.featured-banner{display:block;width:100%;padding:0;border:0;background:#163975;line-height:0;overflow:hidden}
.featured-banner img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;transition:filter .2s}
.featured-banner:hover img{filter:brightness(1.06)}
.featured-info{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:22px 24px}
.game-home .featured-info h2{font-size:25px;margin:0 0 8px;font-weight:900}
.featured-info p{font-size:12px;line-height:1.8;color:#60738d;margin:0}
.game-home .featured-info .game-meta{margin-bottom:10px}
.featured-more{flex-shrink:0;display:flex;align-items:center;gap:14px;padding:13px 15px;border:1px solid #cdddf5;border-radius:12px;background:#edf4ff;color:#2555a4;font-size:12px;font-weight:800}
.featured-more:hover{background:#dae8ff}
.game-home .about{width:100%;max-width:none;border-radius:0;background:linear-gradient(180deg,#f6f9ff,#edf3fd,#f6f9ff);padding-left:max(6%,calc((100% - 1200px)/2));padding-right:max(6%,calc((100% - 1200px)/2));grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:60px}
.game-home .about-mark{height:250px;max-width:300px;width:100%;justify-self:center;transform:none;border:0;background:transparent;box-shadow:none;border-radius:0;overflow:visible}
.game-home .studio-mascot{width:230px;height:230px;max-width:100%;object-fit:contain}
.game-home .about-mark small{left:50%;bottom:0;transform:translateX(-50%);white-space:nowrap;color:#7b756a;font-size:8px;letter-spacing:1px}
.game-home .closing{max-width:none;width:100%;border-radius:0;padding-left:max(6%,calc((100% - 1200px)/2));padding-right:max(6%,calc((100% - 1200px)/2))}
@media(max-width:1000px){.game-home .hero{gap:28px;min-height:480px}.game-home .hero-copy>p{font-size:13px}.game-home .featured-info{padding:18px;flex-wrap:wrap}.game-home .featured-info h2{font-size:23px}.game-home .featured-info p br{display:none}.game-home .featured-more{padding:11px 13px}}
@media(max-width:760px){.game-home .hero{grid-template-columns:1fr;gap:30px;padding-top:36px;padding-bottom:42px}.game-home .hero-copy{text-align:center}.game-home .hero-copy .eyebrow{font-size:8px;letter-spacing:1.2px}.game-home h1{font-size:clamp(36px,7vw,48px)}.game-home .hero-copy>p{font-size:13px}.featured-game{width:100%;max-width:580px;justify-self:center}.game-home .featured-info{padding:18px;flex-wrap:nowrap}.game-home .featured-info h2{font-size:22px}.featured-info p{font-size:11px}.game-home .about{grid-template-columns:1fr;gap:22px}.game-home .about-mark{height:190px;order:2}.game-home .studio-mascot{width:170px;height:170px}.game-home .about-copy{order:1}}
@media(max-width:380px){.game-home .featured-info{flex-wrap:wrap}.game-home .featured-more{width:100%;justify-content:space-between}}

/* Gentle floating motion for the studio's sketch mascot. */
@keyframes onu-sketch-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.game-home .studio-mascot{animation:onu-sketch-float 4s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.game-home .studio-mascot{animation:none!important;transform:none}}

/* Restore the sunny mascot backdrop without the caption. */
.game-home .about-mark{position:relative;isolation:isolate}
.game-home .about-mark:before{content:'';position:absolute;z-index:-1;width:88%;height:88%;left:6%;top:6%;border-radius:42% 58% 52% 48%;background:linear-gradient(145deg,#fff9d8,#ffdf88);border:2px solid #fff;box-shadow:inset 0 0 0 9px #ffffff78,0 15px 35px #dca32920;transform:rotate(-8deg);box-sizing:border-box}
.game-home .about-mark .mascot-orbit{position:absolute;z-index:-1;left:1%;top:14%;width:98%;height:74%;border:1px dashed #75a1e77a;border-radius:50%;transform:rotate(-28deg);pointer-events:none}
.game-home .about-mark .mascot-orbit:after{content:'';position:absolute;inset:-16% 5%;border:1px solid #efbd5470;border-radius:50%;transform:rotate(50deg)}
.game-home .about-mark .mascot-spark{position:absolute;z-index:1;line-height:1;letter-spacing:0;pointer-events:none}
.game-home .about-mark .mascot-spark-one{top:5%;left:4%;font-size:28px;color:#f5aa19}
.game-home .about-mark .mascot-spark-two{bottom:4%;right:3%;font-size:30px;color:#2d78dc}
.game-home .studio-mascot{position:relative;z-index:1}
@media(max-width:760px){.game-home .about-mark{max-width:230px}.game-home .about-mark .mascot-spark-one{font-size:22px}.game-home .about-mark .mascot-spark-two{font-size:24px}}

/* Slightly enlarge the mascot and its backdrop together. */
.game-home .about-mark{height:275px;max-width:330px}
.game-home .studio-mascot{width:253px;height:253px}
@media(max-width:760px){.game-home .about-mark{height:209px;max-width:253px}.game-home .studio-mascot{width:187px;height:187px}}

/* A distinct navigation band between account header and game content. */
.game-home .home-section-nav{background:#e7effc;border-bottom:1px solid #c5d5ef;box-shadow:0 5px 14px #244a8010;min-height:80px;padding-top:14px;padding-bottom:14px;gap:14px}
.game-home .home-section-nav a{display:flex;justify-content:center;align-items:center;min-width:122px;min-height:46px;padding:11px 28px;background:#f8fbff;border:1px solid #c8d7ee;border-radius:12px;color:#395577;font-size:14px;font-weight:800;box-shadow:0 2px 0 #d3dff1;transition:background .2s,color .2s,border-color .2s}
.game-home .home-section-nav a:hover{background:#fff5da;border-color:#e6ba59;color:#714900}
.game-home 
@media(max-width:700px){.game-home .home-section-nav{min-height:72px;padding:12px 6%;gap:9px}.game-home .home-section-nav a{min-width:0;flex:1;max-width:140px;min-height:44px;padding:10px 12px;font-size:13px}}

/* Text navigation: retain the band, replace button styling with an underline. */
.game-home .home-section-nav a{position:relative;background:transparent;border:0;border-radius:0;box-shadow:none;color:#395577}
.game-home .home-section-nav a:hover{background:transparent;color:#245bd1;border-color:transparent}
.game-home .home-section-nav a[aria-current]{background:transparent;color:#245bd1;border-color:transparent;box-shadow:none}
.game-home .home-section-nav a[aria-current]::after{content:'';position:absolute;bottom:0;left:25%;right:25%;height:3px;background:#245bd1;border-radius:2px}

/* Game platform filter. */
.game-home .game-filters{display:flex;gap:28px;align-items:center;border-bottom:1px solid #cfddf0;margin-bottom:28px}
.game-home .game-filters button{position:relative;min-height:48px;padding:12px 8px;background:transparent;border:0;color:#63758f;font-size:14px;font-weight:800}
.game-home .game-filters button:hover{color:#245bd1}
.game-home .game-filters button[aria-pressed="true"]{color:#245bd1}
.game-home .game-filters button[aria-pressed="true"]:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:3px;background:#245bd1;border-radius:2px}
.game-home .filter-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.game-home .games-empty{padding:60px 20px;margin:0;background:#edf3fc;border:1px dashed #c6d7ef;border-radius:18px;text-align:center;color:#526b8e;font-size:14px;line-height:1.9}
.game-home .game-card[hidden],.game-home .games-empty[hidden]{display:none!important}
@media(max-width:700px){.game-home .game-filters{gap:22px;margin-bottom:23px}.game-home .games-empty{padding:42px 18px;font-size:13px}}
.game-home #game-dialog{width:min(760px,calc(100% - 32px))}
.game-home .game-screenshots{display:grid;gap:12px;margin:20px 0}
.game-home .game-screenshots img{display:block;width:100%;height:auto;border-radius:12px}
