/* Platform UI only. Game styles never live here. */
.hero-section{background:radial-gradient(circle at 72% 15%,#38315e 0,#1f1a3a 44%,#15152c 85%);color:#fff;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:30px;align-items:center;min-height:560px;padding-top:55px;padding-bottom:62px}
.hero-copy{position:relative;z-index:2;padding:22px 0 28px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:.8rem;letter-spacing:.07em;color:#d7cdeb;text-transform:uppercase;font-weight:790}
.eyebrow-dot{width:9px;height:9px;border-radius:50%;background:#ffa880;box-shadow:0 0 0 5px rgba(255,168,128,.12)}
.hero-copy h1{margin:21px 0 25px;font-size:clamp(3.25rem,6.3vw,5.5rem);line-height:1.05;letter-spacing:-.077em;max-width:700px}
.hero-copy h1 em{font-style:normal;color:#ffc18d}
.lead{color:#d2cbe8;font-size:1.05rem;max-width:525px;line-height:1.85}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:29px 0 33px}
.hero-highlights{display:flex;gap:23px;flex-wrap:wrap;color:#bbb2d5;font-weight:600;font-size:.77rem}
.hero-highlights span{display:inline-flex;align-items:center;gap:8px}
.hero-highlights i{color:#ffad78;font-size:.95rem;font-style:normal}
.hero-visual{position:relative;height:460px;min-width:0;isolation:isolate}
.visual-glow{position:absolute;border-radius:50%;filter:blur(40px);z-index:-1}
.visual-glow-one{width:250px;height:250px;background:rgba(144,109,225,.4);left:22%;top:12%}
.visual-glow-two{width:180px;height:180px;background:rgba(238,133,108,.18);right:12%;bottom:9%}
.visual-orbit{position:absolute;border:1px solid rgba(207,190,252,.18);border-radius:50%;transform:rotate(-21deg)}
.orbit-one{inset:18px 32px 15px 27px}
.orbit-two{inset:65px 78px}
.visual-core{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%) rotate(-10deg);width:215px;height:215px;border-radius:48px;background:linear-gradient(140deg,#fdc59a,#fa8b70);box-shadow:18px 23px 0 rgba(166,109,208,.27),0 36px 100px rgba(247,125,110,.23);display:flex;align-items:center;justify-content:center}
.core-ring{position:absolute;inset:26px;border:3px solid rgba(93,53,116,.35);border-radius:35px}
.core-triangle{font-size:5.4rem;color:#2d244b;transform:translateX(8px);line-height:1}
.core-spark{position:absolute;color:#fff;font-size:2.7rem;top:-40px;right:-30px}
.play-card{position:absolute;width:96px;height:101px;display:flex;justify-content:center;align-items:center;border-radius:22px;background:#eee8ff;transform:rotate(-9deg);box-shadow:0 18px 32px rgba(9,8,23,.23);color:#8064b9;font-size:3.3rem}
.play-card small{font-size:.7rem;position:absolute;top:9px;left:11px;color:#aaa0c1;font-weight:800}
.card-one{left:2%;top:22%;transform:rotate(-19deg)}
.card-two{right:2%;top:14%;background:#ffeacb;color:#db875e;transform:rotate(17deg)}
.card-three{right:7%;bottom:7%;background:#b8d9ce;color:#4b8b85;transform:rotate(-13deg)}
.visual-label{position:absolute;left:10%;bottom:3%;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:#bbb0dc;font-weight:700}
.games-section{background:#faf9fd}
.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.game-card,.article-card{background:#fff;border-radius:20px;border:1px solid #e9e5f1;overflow:hidden;transition:transform .2s,box-shadow .2s}
.game-card:hover,.article-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.game-cover{position:relative;display:block;aspect-ratio:8/5;background:#30294d;overflow:hidden}
.game-cover img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.game-card:hover .game-cover img{transform:scale(1.04)}
.card-arrow{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#2c244a;font-weight:800}
.game-card-content{padding:22px}
.game-card-content h3{font-size:1.36rem;margin:14px 0 8px;letter-spacing:-.038em}
.game-card-content p{color:var(--muted);font-size:.88rem;line-height:1.7;min-height:58px}
.empty-feature{display:grid;grid-template-columns:84px 1fr;align-items:center;gap:25px;border:1px dashed #d8cee9;border-radius:24px;padding:35px 38px;background:linear-gradient(108deg,#f0ecff,#fffaf6)}
.empty-feature-icon{width:74px;height:74px;border-radius:20px;display:grid;place-items:center;color:#8a66c1;background:#fff;font-size:2.9rem;box-shadow:0 9px 26px rgba(93,69,143,.12)}
.empty-feature h3{font-size:1.43rem;letter-spacing:-.04em;line-height:1.2;margin:0 0 8px}
.empty-feature p{margin:0 0 14px;color:var(--muted);font-size:.94rem;max-width:660px}
.journal-section{background:#f5f2fa}
.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.article-card-art{height:170px;display:flex;justify-content:center;align-items:center;background:linear-gradient(130deg,#42346d,#b39ce3);position:relative;overflow:hidden}
.article-card-art:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.3);border-radius:50%;width:260px;height:260px;left:50%;top:48%;transform:translate(-50%,-50%)}
.article-art-symbol{font-size:6rem;color:#ffd6a7;position:relative;z-index:2}
.article-art-grid{position:absolute;inset:0;background:linear-gradient(transparent 93%,rgba(255,255,255,.09) 94%) 0 0/32px 32px,linear-gradient(90deg,transparent 93%,rgba(255,255,255,.09) 94%) 0 0/32px 32px;transform:rotate(9deg) scale(1.2)}
 .article-cover-image{width:100%;height:100%;object-fit:cover;position:relative;z-index:2}
.article-card-body{padding:23px}
.article-meta{display:flex;align-items:center;gap:9px;color:#8b839c;font-size:.76rem;font-weight:700}
.article-card-body h3{font-size:1.3rem;line-height:1.28;letter-spacing:-.038em;margin:13px 0 9px}
.article-card-body h3 a:hover{color:#7757bd}
.article-card-body p{color:var(--muted);font-size:.87rem;line-height:1.7;margin:0 0 18px}
.promise-panel{margin-top:76px;background:#292144;color:#fff;border-radius:24px;padding:35px 44px;display:grid;grid-template-columns:85px 1fr auto;align-items:center;gap:30px;overflow:hidden}
.promise-decoration{font-size:5rem;color:#fbbf8d;line-height:1}
.promise-panel .kicker{color:#e4b99e}
.promise-panel h2{font-size:1.7rem;line-height:1.2;letter-spacing:-.04em;margin:0 0 5px}
.promise-panel p{color:#c7c0d8;margin:0;max-width:530px;font-size:.9rem}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}
.catalog-search{display:flex;gap:9px;align-items:center;background:#fff;border:1px solid var(--border);padding:7px;border-radius:14px;width:min(620px,100%)}
.catalog-search input{background:transparent;flex:1;min-width:0;border:0;padding:9px 13px;color:var(--ink);outline:none}
.catalog-search button{background:#2c244b;border:0;color:#fff;padding:10px 16px;border-radius:9px;font-size:.85rem;font-weight:730}
.catalog-count{font-weight:750;color:var(--muted);white-space:nowrap;font-size:.88rem}
.catalog-empty{max-width:600px;margin:30px auto 70px;padding:62px 32px;border:1px dashed #d7d0e7;background:#fff;border-radius:22px;display:flex;flex-direction:column;align-items:center;text-align:center}
.catalog-empty h2{font-size:1.8rem;letter-spacing:-.045em;margin:18px 0 8px}
.catalog-empty p{color:var(--muted);margin:0 0 20px}
.article-page{padding:60px 0 90px}
.article-header{max-width:790px;margin:10px auto 32px;text-align:center}
.article-header h1{font-size:clamp(2.4rem,5vw,4.2rem);line-height:1.12;letter-spacing:-.06em;margin:13px 0 19px}
.article-lede{color:#777185;font-size:1.16rem;line-height:1.75}
.article-header .article-meta{justify-content:center;margin-top:16px}
.article-hero{position:relative;max-width:960px;height:310px;margin:0 auto 65px;border-radius:23px;overflow:hidden;background:linear-gradient(112deg,#3d3167,#a88bdd);display:flex;align-items:center;justify-content:center}
.article-hero-grid{position:absolute;inset:-50px;background:linear-gradient(transparent 96%,rgba(255,255,255,.1) 97%) 0 0/38px 38px,linear-gradient(90deg,transparent 96%,rgba(255,255,255,.1) 97%) 0 0/38px 38px;transform:rotate(-13deg)}
 .article-hero-cover{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:2}
.article-hero-glyph{position:relative;font-size:11rem;color:#fcd3ae;line-height:1}
.article-hero-ring{position:absolute;width:400px;height:400px;border-radius:50%;border:1px solid rgba(255,255,255,.28)}
.article-content{max-width:710px;margin:auto;color:#4a465b;font-size:1.065rem;line-height:1.9}
.article-content section+section{margin-top:35px}
.article-content h2{color:var(--ink);font-size:1.68rem;line-height:1.3;letter-spacing:-.04em;margin:0 0 13px}
.article-content p{margin:0 0 19px}
.article-bottom{display:flex;justify-content:center;margin-top:55px}
.auth-section{padding:86px 0 75px}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px}
.auth-art{min-height:470px;position:relative;display:grid;place-items:center;border-radius:30px;background:radial-gradient(circle at 50% 40%,#524184,#221c43 68%);overflow:hidden}
.auth-orbit{position:absolute;border:1px solid rgba(255,255,255,.25);width:310px;height:310px;border-radius:50%;transform:rotate(-20deg)}
.auth-orbit-two{width:440px;height:440px}
.auth-spark{font-size:13rem;color:#ffc29c;line-height:1;filter:drop-shadow(0 25px 40px rgba(231,133,141,.28))}
.auth-mini{position:absolute;color:#bda4e9;font-size:2.5rem}
.auth-mini-a{top:66px;right:70px}
.auth-mini-b{left:55px;bottom:50px}
.auth-panel{max-width:445px;width:100%;margin-inline:auto}
.auth-panel h1{font-size:clamp(2.2rem,4vw,3rem);letter-spacing:-.06em;line-height:1.15;margin:8px 0 10px}
.auth-sub{color:#696479;margin:0 0 31px}
.button-google{width:100%;background:#fff;border:1px solid #dcd7e9;color:#312b45;box-shadow:0 5px 17px rgba(22,14,54,.04)}
.button-google svg{flex-shrink:0}
.auth-divider{display:flex;align-items:center;gap:14px;margin:24px 0;color:#8f8b9f;font-size:.8rem}
.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#e7e3ee}
.auth-form{display:flex;flex-direction:column;gap:12px}
.auth-form label{font-weight:760;font-size:.85rem}
.auth-form input{width:100%;border:1px solid #dad6e7;border-radius:12px;padding:13px 16px;outline:0;background:#fff;color:var(--ink)}
.auth-form input:focus{border-color:#a794df;box-shadow:0 0 0 4px #d9d0f5}
.auth-form-verify{margin-top:18px;border-top:1px solid var(--border);padding-top:18px}
.form-hint{color:#696479;margin:0 0 4px;font-size:.85rem}
.auth-status{font-size:.84rem;font-weight:700;min-height:21px;margin:18px 0 6px}
.auth-status.error{color:#c54d3f}
.auth-status.success{color:#288660}
.auth-footnote{font-size:.77rem;color:#888296;margin-top:18px}
.auth-center{text-align:center;background:#fff;border:1px solid var(--border);padding:54px 40px;border-radius:22px}
.auth-center p{color:var(--muted);margin:18px 0}
.account-card{background:#fff;border:1px solid var(--border);border-radius:21px;padding:30px;display:flex;align-items:center;gap:22px;box-shadow:var(--shadow)}
.account-avatar{height:72px;width:72px;flex:0 0 72px;display:grid;place-items:center;border-radius:18px;background:#eeccac;color:#59356f;font-weight:900;font-size:1.7rem}
.account-info{flex:1;min-width:0}
.account-info h2{margin:0;font-size:1.5rem;overflow-wrap:anywhere}
.account-info p{margin:0;color:var(--muted)}
.account-note{color:var(--muted);font-size:.9rem;margin:20px 8px}
.error-section{padding:110px 0}
.error-content{max-width:560px;text-align:center}
.error-glyph{font-size:5rem;color:#b399e0}
.error-content h1{font-size:2.5rem;letter-spacing:-.055em;line-height:1.2;margin:5px 0}
.error-content p{color:var(--muted);margin:14px 0 25px}
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr .85fr;gap:0}
  .hero-visual{height:410px}
  .hero-copy h1{font-size:3.8rem}
  .game-grid,.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .promise-panel{grid-template-columns:65px 1fr;gap:20px}
  .promise-panel .button{grid-column:2;justify-self:start}
}
@media(max-width:780px){
  .hero-grid{grid-template-columns:1fr;min-height:auto;padding-top:58px;padding-bottom:20px}
  .hero-copy{padding:0}
  .hero-copy h1{font-size:clamp(3rem,10vw,4.8rem)}
  .hero-visual{height:340px;max-width:470px;width:100%;margin:auto}
  .visual-core{width:170px;height:170px;border-radius:35px}
  .core-ring{inset:20px}
  .core-triangle{font-size:4.4rem}
  .play-card{width:76px;height:82px;font-size:2.6rem}
  .hero-highlights{gap:14px}
  .empty-feature{grid-template-columns:1fr;padding:26px;gap:18px}
  .game-grid,.article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .catalog-toolbar{flex-direction:column;align-items:stretch}
  .catalog-count{padding-left:8px}
  .promise-panel{margin-top:30px;grid-template-columns:1fr;gap:10px;padding:29px}
  .promise-decoration{display:none}
  .promise-panel .button{grid-column:1}
  .auth-layout{grid-template-columns:1fr}
  .auth-art{display:none}
  .auth-section{padding:56px 0}
  .article-hero{height:200px;margin-bottom:44px}
  .article-hero-glyph{font-size:8rem}
  .article-page{padding:38px 0 60px}
  .account-card{flex-wrap:wrap}
  .logout-form{width:100%}
  .logout-form .button{width:100%}
}
@media(max-width:530px){
  .hero-copy h1{font-size:3.25rem}
  .hero-highlights{font-size:.69rem}
  .hero-actions{gap:9px}
  .hero-actions .button{width:100%}
  .visual-orbit.orbit-one{inset:8px 12px}
  .visual-label{left:8%}
  .section-heading h2{font-size:2.05rem}
  .game-grid,.article-grid{grid-template-columns:1fr}
  .article-card-art{height:190px}
  .article-content{font-size:1rem}
  .article-header h1{font-size:2.5rem}
  .catalog-empty{padding:38px 22px}
  .page-banner h1{font-size:2.5rem}
}
