@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700;800;900&family=Noto+Sans+KR:wght@400;500;700;800;900&display=swap');
:root{font-family:'DM Sans','Noto Sans KR',system-ui,sans-serif;color:#fbfaf4;background:#121827;font-synthesis:none;scroll-behavior:smooth}
*{box-sizing:border-box}
body{margin:0;min-width:320px;background:#121827}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:3px solid #c6fa65;outline-offset:4px}
.page-shell{max-width:1440px;margin:auto;padding:0 32px 28px}
.site-header{height:86px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;flex:0 0 auto;width:160px;line-height:0}
.brand img{width:100%;height:auto;display:block}
.main-nav{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:800}
.main-nav a:hover,.account-link:hover{color:#c6fa65}
.header-actions{display:flex;align-items:center;gap:22px;white-space:nowrap}
.account-link{font-size:12px;font-weight:800;color:#d5dce9}
.head-cta{border:1px solid #384257;background:#202737;padding:11px 15px;border-radius:999px;font-size:12px;font-weight:800}
.head-cta:hover{border-color:#c6fa65;color:#c6fa65}
.hero{background:#252d3d;min-height:350px;border-radius:25px;display:grid;grid-template-columns:1fr .86fr;align-items:center;padding:34px 42px;position:relative;overflow:hidden;isolation:isolate}
.hero:before{content:"";position:absolute;width:330px;height:330px;border-radius:50%;right:-90px;top:-100px;background:#33422f;z-index:-1}
.hero-copy{position:relative;z-index:2}
.eyebrow{font-size:11px;color:#c6fa65;font-weight:900;letter-spacing:2px;margin:0 0 17px}
.hero h1{font-size:clamp(35px,4.5vw,54px);line-height:1.22;letter-spacing:-3px;margin:0 0 17px;font-weight:900;word-break:keep-all}
.hero h1 span{color:#c6fa65}
.lead{color:#bac2d1;font-size:14px;line-height:1.75;word-break:keep-all;margin:0 0 23px}
.hero-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.main-cta{display:inline-block;background:#c6fa65;color:#172017;padding:13px 18px;border-radius:11px;font-weight:900;font-size:13px;box-shadow:0 10px 25px #c6fa6525}
.main-cta:hover{background:#dcff9a;transform:translateY(-2px)}
.secondary-cta{color:#e9eddf;font-size:12px;font-weight:800;border-bottom:1px solid #89947d;padding:8px 0}
.secondary-cta:hover{color:#c6fa65;border-color:#c6fa65}
.hero-art{height:255px;position:relative;z-index:1}
.art-card{position:absolute;border-radius:16px;box-shadow:0 14px 28px #1b1d4930}
.history-art{left:10%;top:20px;width:250px;height:205px;padding:18px;background:#282c58;color:#fff;transform:rotate(-5deg)}
.history-art small{font-size:9px;color:#c1c6ff;letter-spacing:1px;font-weight:800}
.history-art strong{display:block;margin:20px 0 13px;font-size:19px}
.history-art i{display:block;font-style:normal;background:#494e79;border-radius:7px;padding:8px 10px;margin-top:7px;font-size:11px}
.history-art i:first-of-type{background:#6a8652}
.japanese-art,.english-art{right:0;width:150px;height:98px;padding:13px;transform:rotate(8deg)}
.japanese-art{top:3px;background:#fff4d9;color:#453957}
.english-art{bottom:3px;background:#d0f2e2;color:#255347}
.japanese-art small,.english-art small{display:block;font-size:9px;font-weight:900;letter-spacing:1px}
.japanese-art strong,.english-art strong{display:block;margin-top:11px;font-size:21px;letter-spacing:-1px}
.games{scroll-margin-top:16px}
.section-title{display:flex;justify-content:space-between;align-items:end;margin:29px 0 15px;gap:10px}
.section-title h2{font-size:25px;letter-spacing:-1px;margin:0}
.section-title p{color:#bac2d1;font-size:14px;margin:5px 0 0}
.section-title>span{color:#bac2d1;font-size:10px;font-weight:800;white-space:nowrap}
.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.game-card{min-width:0;background:#202737;border:1px solid #384257;border-radius:17px;padding:12px 12px 19px;display:flex;flex-direction:column;transition:transform .2s,border-color .2s}
.game-card:hover{transform:translateY(-4px);border-color:#7a995b}
.preview-link{display:block;aspect-ratio:1.72;overflow:hidden;border-radius:11px;border:1px solid #4b5569;background:#2b3547}
.preview-link img{display:block;width:100%;height:100%;object-fit:cover}
.history-preview{aspect-ratio:1.72;position:relative;isolation:isolate;background:#f5dce9;border-color:#d7a8c8}
.history-preview::before{content:"";position:absolute;inset:-8px;z-index:0;background:url('/game-previews/history-public-hero.jpg') center/cover no-repeat;filter:blur(10px);opacity:.45;transform:scale(1.04);pointer-events:none}
.history-preview img{position:relative;z-index:1;object-fit:contain}
.game-card-body{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:0 7px}
.tag{display:inline-block;background:#354537;color:#c6fa65;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;margin-top:16px}
.game-card h3{font-size:22px;letter-spacing:-.8px;line-height:1.35;margin:12px 0 9px}
.game-card p{font-size:15px;line-height:1.7;color:#cbd2df;margin:0;word-break:keep-all}
.game-link{display:inline-block;color:#c6fa65;font-size:14px;font-weight:900;margin-top:auto;padding-top:18px}
.game-link:hover{text-decoration:underline;text-underline-offset:3px}
footer{display:flex;justify-content:space-between;gap:12px;margin-top:22px;color:#bac2d1;font-size:10px}
@media(max-width:800px){.site-header{height:76px}.main-nav{display:none}.hero{grid-template-columns:1fr;padding:30px 24px 16px}.hero-art{height:225px;margin-top:12px;max-width:380px;width:100%;justify-self:center}.game-grid{grid-template-columns:1fr}.preview-link{aspect-ratio:1.85}.game-card{max-width:550px;width:100%;justify-self:center}}
@media(max-width:550px){.page-shell{padding:0 18px 25px}.site-header{height:70px;gap:10px}.brand{width:132px}.header-actions{gap:10px}.account-link{font-size:11px}.head-cta{font-size:11px;padding:9px 10px}.hero{border-radius:20px;padding:30px 20px 12px}.hero h1{font-size:38px;letter-spacing:-2px}.hero-art{height:225px}.history-art{left:0;transform:rotate(-5deg) scale(.85);transform-origin:top left}.japanese-art{transform:rotate(8deg) scale(.8);transform-origin:top right}.english-art{transform:rotate(8deg) scale(.8);transform-origin:bottom right}.section-title{margin-top:29px}.game-card h3{font-size:20px}}
@media(max-width:390px){.brand{width:110px}.head-cta{display:none}.hero h1{font-size:35px}.history-art{transform:rotate(-5deg) scale(.74)}.japanese-art,.english-art{transform:rotate(8deg) scale(.7)}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}.main-cta,.game-card{transition:none}}

.alchemist-card .tag{background:#2c4b52;color:#ace4df}.alchemist-card h3 small{display:inline-block;font-size:13px;font-weight:500;margin-left:7px;color:#b8ceda}.alchemist-preview{background:#c8e1e7}.alchemist-preview img{object-fit:contain}

/* Homepage posters share one canvas; retain the complete title and illustration. */
.portal-page .game-card .poster-preview{aspect-ratio:16 / 10;background:#182131;border-color:#4b5569}
.portal-page .game-card .poster-preview::before{content:none}
.portal-page .game-card .poster-preview img{object-fit:contain;object-position:center}
