@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');:root{--bg:#0c1226;--panel:#171e35;--ink:#141c2c;--muted:#9ca8c1;--orange:#ff995a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',system-ui,sans-serif;background:var(--bg);color:#fff}h1,h2,h3,.brand{font-family:Outfit,system-ui,sans-serif}a{text-decoration:none;color:inherit}button{font:inherit;cursor:pointer}.header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5%,calc((100% - 1200px)/2));gap:20px;background:#0b1123f2;border-bottom:1px solid #ffffff16;position:sticky;top:0;z-index:20;backdrop-filter:blur(18px)}.brand{font-size:23px;font-weight:900;letter-spacing:.5px;display:flex;align-items:center;gap:9px;white-space:nowrap}.brand em{font-style:normal;color:#ffa36c}.brand-icon{width:37px;height:37px;border-radius:12px;background:linear-gradient(135deg,#f9c06d,#ff654f);display:inline-grid;place-items:center;color:#181a2d;font-size:28px}.header nav{display:flex;gap:23px;align-items:center}.header nav a{font-size:13px;font-weight:700;color:#c5ccdd;white-space:nowrap}.header nav a:hover{color:#ffb475}.controls{display:flex;align-items:center;gap:9px}.lang,.hamb{border:1px solid #445071;background:#1a2441;color:white;border-radius:10px;padding:10px 12px;font-weight:800}.hamb{display:none}.hero{background:radial-gradient(ellipse at 73% 30%,#303565 0%,#131b38 41%,#0b1226 78%);overflow:hidden}.hero-inner{max-width:1200px;margin:auto;padding:87px 4% 95px;min-height:550px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:35px}.eyebrow,.kicker{font-size:11px;letter-spacing:2.6px;font-weight:900;color:#ffb17b}.hero h1{font-size:clamp(52px,7vw,92px);line-height:.98;letter-spacing:-3px;margin:20px 0}.hero h1 strong{color:#ff9b67}.hero p{color:#bcc8dd;font-size:17px;line-height:1.75;max-width:520px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:29px}.btn{display:inline-flex;justify-content:center;align-items:center;border-radius:13px;padding:15px 24px;font-weight:900;font-size:13px;transition:transform .2s}.btn:hover,.small-btn:hover{transform:translateY(-2px)}.primary{background:linear-gradient(130deg,#ffb26f,#ff7958);color:#171e31}.secondary{border:1px solid #626c86;color:#e9eefb}.hero-note{margin-top:32px;color:#8495b8;font-size:12px;display:flex;gap:10px}.hero-note span:first-child{color:#ffa46a}.hero-art{height:380px;position:relative;display:grid;place-items:center}.halo{position:absolute;width:330px;height:330px;border:1px solid #6fa3dd40;border-radius:50%;box-shadow:0 0 0 32px #8f7cc311,0 0 0 74px #7b8ccb09}.hero-ring{position:absolute;width:330px;height:330px;animation:float 9s ease-in-out infinite}.hero-ring span{position:absolute;display:grid;place-items:center;width:76px;height:76px;border-radius:24px;background:linear-gradient(145deg,#3e5184,#1b2946);box-shadow:0 14px 36px #0007,inset 0 1px 0 #ffffff38;font-size:38px}.hero-ring span:nth-child(1){top:0;left:38px;transform:rotate(-12deg)}.hero-ring span:nth-child(2){top:10px;right:18px;transform:rotate(9deg)}.hero-ring span:nth-child(3){bottom:10px;left:7px;transform:rotate(10deg)}.hero-ring span:nth-child(4){bottom:3px;right:35px;transform:rotate(-8deg)}.hero-center{height:175px;width:175px;border-radius:50%;background:linear-gradient(145deg,#ffbf6c,#f7696b);box-shadow:0 0 95px #f7796e69,0 10px 50px #0005;display:flex;justify-content:center;align-items:center;flex-direction:column;font-size:100px;color:#1a1e38;font-weight:900}.hero-center small{font-size:16px;letter-spacing:5px;margin-top:-18px}.orbit-dot{position:absolute;width:9px;height:9px;background:#75ddff;border-radius:100%;box-shadow:0 0 20px #75ddff}.d1{top:10%;right:20%}.d2{bottom:8%;left:21%}@keyframes float{50%{transform:translateY(-14px)}}.section{padding:90px max(5%,calc((100% - 1200px)/2));scroll-margin-top:76px}.dark{background:#0d1429}.light{background:#f8f8f5;color:#1e2840}.cream{background:#f1efe9;color:#22283a}.section-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:29px}.section h2{font-size:clamp(35px,5vw,56px);line-height:1.1;letter-spacing:-1.5px;margin:13px 0}.section-top p,.about>p{color:#8b97b0;line-height:1.7;max-width:600px;margin:0}.light .section-top p,.cream .section-top p,.about>p{color:#687286}.filters{display:flex;gap:9px;flex-wrap:wrap;margin:25px 0}.chip{border:1px solid #43516c;background:#1b2540;color:#c1cce3;padding:10px 16px;border-radius:100px;font-weight:800;font-size:12px}.chip.active{background:#ff9f69;color:#172139;border-color:#ff9f69}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.game-card{border-radius:23px;overflow:hidden;border:1px solid #415174;background:#171f37}.game-card[hidden]{display:none}.cover{height:245px;position:relative;display:flex;align-items:center;justify-content:center;gap:20px;overflow:hidden}.brain-cover{background:radial-gradient(circle at 45% 45%,#7461d3,#24336d 51%,#101e3e)}.race-cover{background:linear-gradient(150deg,#167c9f,#1b2658 62%,#171d3f)}.cover:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 41px,#fff1 42px 43px),repeating-linear-gradient(90deg,transparent 0 41px,#fff1 42px 43px);transform:rotate(-8deg) scale(1.2)}.cover-emoji{font-size:100px;filter:drop-shadow(0 10px 20px #0006);z-index:1}.cover-title{font-family:Outfit;font-size:44px;font-weight:900;line-height:.9;letter-spacing:-1px;z-index:1;text-shadow:0 5px 18px #0009}.corner{position:absolute;right:15px;top:15px;background:#ffffff20;border:1px solid #ffffff60;border-radius:12px;padding:7px 12px;font-size:11px;font-weight:900}.card-content{padding:22px;display:flex;justify-content:space-between;align-items:end;gap:20px}.mini-tag{font-size:11px;font-weight:900;color:#fba577;letter-spacing:1px}.card-content h3{font-size:24px;margin:6px 0}.card-content p{font-size:13px;color:#a5b1cb;line-height:1.55;margin:0;max-width:310px}.small-btn{background:#f6a16c;color:#222032;font-size:12px;font-weight:900;border-radius:10px;padding:12px;white-space:nowrap}.section-foot{margin-top:30px;font-size:13px;color:#9ca9c4}.text-link{font-weight:900;color:#a65a3c;font-size:14px}.color-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.color-tile{padding:12px;background:white;border:1px solid #e8e7e4;border-radius:18px;box-shadow:0 8px 23px #151a2810;text-align:center}.color-drawing{height:160px;background:#fbf4e9;border-radius:13px;margin-bottom:12px;display:grid;place-items:center;font-size:75px}.color-tile:nth-child(2) .color-drawing{background:#eaf2ff}.color-tile:nth-child(3) .color-drawing{background:#eaf8ed}.color-tile:nth-child(4) .color-drawing{background:#f1eafd}.ink{background:#202b48;color:white}.story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.story-card{background:#fff;border-radius:20px;overflow:hidden;display:grid;grid-template-columns:40% 60%;box-shadow:0 9px 22px #1822350c}.story-pic{min-height:245px;display:grid;place-items:center;font-size:100px}.sp1{background:radial-gradient(circle,#ffb47d,#b45370)}.sp2{background:radial-gradient(circle,#b3b4ee,#353578);color:#ffea9e}.story-body{padding:22px}.story-body h3{font-size:24px;margin:12px 0}.story-body p{font-size:13px;line-height:1.6;color:#657084}.story-open{border:0;background:transparent;color:#a55a3a;padding:8px 0;font-weight:900}.shop-panel{padding:45px;border-radius:25px;background:linear-gradient(115deg,#342952,#192946);display:grid;grid-template-columns:1.3fr .7fr;gap:25px;align-items:center}.shop-panel h2{margin:12px 0}.shop-panel p{color:#bdc4df;max-width:510px;line-height:1.8;margin-bottom:25px}.shop-art{height:250px;display:grid;place-content:center;text-align:center;font-size:160px;color:#ffae7b;transform:rotate(6deg);text-shadow:0 12px 45px #ff96895e}.shop-art small{font-size:12px;color:#fff;letter-spacing:4px}.download-panel{margin-top:35px;padding:27px 31px;border:1px solid #3b4965;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.download-panel h3{font-size:25px;margin:8px 0}.download-panel p{font-size:13px;color:#acb8cd;line-height:1.65;max-width:720px}.download-icon{font-size:65px;color:#f8a36e}.about{padding-top:75px;padding-bottom:85px}.about>p{font-size:16px;max-width:700px}.about-links{display:flex;gap:25px;margin-top:25px;flex-wrap:wrap}.about-links a{color:#b25f38;font-weight:800}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:31px max(5%,calc((100% - 1200px)/2));flex-wrap:wrap;color:#b2bdd4;font-size:12px;border-top:1px solid #ffffff18}.modal-backdrop{position:fixed;inset:0;background:#071020cf;z-index:40;display:grid;place-items:center;padding:20px}.modal-backdrop[hidden]{display:none}.story-modal{position:relative;max-width:670px;max-height:85vh;overflow:auto;border-radius:22px;padding:36px;background:#fff;color:#24304b}.story-modal h2{font-size:38px}.story-modal p{line-height:1.9;color:#49556b;font-size:17px}.close{position:absolute;right:17px;top:12px;border:0;background:transparent;font-size:32px;color:#3e4860}@media(max-width:940px){.header nav{display:none;position:absolute;top:77px;left:0;right:0;padding:20px 5%;background:#111a30;flex-direction:column;align-items:start;gap:18px}.header nav.open{display:flex}.hamb{display:block}.hero-inner{grid-template-columns:1fr}.hero-art{height:300px;order:-1}.hero{padding-top:0}.hero-inner{padding-top:30px}.hero-ring,.halo{transform:scale(.78)}.game-grid{grid-template-columns:1fr}.story-card{grid-template-columns:1fr}.story-pic{min-height:170px}.cover{height:230px}}@media(max-width:600px){.header{height:66px;padding:0 18px}.header nav{top:65px}.brand{font-size:18px}.brand-icon{width:32px;height:32px}.hero-inner{padding:25px 20px 60px;gap:0}.hero h1{font-size:58px}.hero-art{height:225px;transform:scale(.72);margin:-35px 0}.hero p{font-size:15px}.section{padding:62px 20px;scroll-margin-top:65px}.section h2{font-size:39px}.cover{height:185px}.cover-title{font-size:33px}.cover-emoji{font-size:76px}.card-content{align-items:start;flex-direction:column}.color-preview{grid-template-columns:repeat(2,1fr)}.color-drawing{height:118px;font-size:58px}.story-grid{grid-template-columns:1fr}.shop-panel{grid-template-columns:1fr;padding:26px}.shop-art{display:none}.download-panel{padding:19px}.download-icon{font-size:37px}footer{padding:25px 20px}.section-top{align-items:start;flex-direction:column}}
/* Additional original games */
.mole-cover{background:radial-gradient(circle at 48% 28%,#d8cf80 0%,#6fb079 37%,#294d52 100%)}
.xo-cover{background:radial-gradient(circle at 52% 42%,#657aa5 0%,#313c66 52%,#161a36 100%)}
.mole-cover .cover-emoji,.xo-cover .cover-emoji{filter:drop-shadow(0 9px 15px #0006)}
.game-card[hidden]{display:none!important}

/* Mobile-ready FENIX GAMES update */
.lang{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:42px}
.flag{width:26px;height:18px;border-radius:3px;object-fit:cover;box-shadow:0 1px 4px #0005;flex:none}
.cover{background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}
.cover:before,.cover-emoji,.cover-title{display:none!important}
.corner{z-index:2;background:#101830d9;backdrop-filter:blur(4px);color:white}
@media(max-width:940px){.hero-inner{display:flex;flex-direction:column;align-items:stretch;gap:0;padding-top:50px}.hero-art{order:2;transform:none;margin:24px auto 0;width:100%;max-width:370px;height:265px}.hero-inner>div:first-child{order:1}.hero-ring,.halo{transform:scale(.75)}.hero-ring{left:calc(50% - 165px);top:0}.hero-center{position:relative}.hero h1{font-size:clamp(44px,8vw,70px)}.hero-actions{position:relative;z-index:2}}
@media(max-width:600px){.header{height:68px;gap:8px;padding:0 15px}.brand{font-size:clamp(15px,4.7vw,20px);gap:7px}.brand-icon{width:32px;height:32px}.lang{font-size:14px;padding:9px}.flag{width:23px;height:16px}.hamb{font-size:19px;padding:8px 12px}.hero-inner{padding:46px 22px 48px}.eyebrow{font-size:10px;letter-spacing:1.8px}.hero h1{font-size:clamp(45px,12vw,64px);letter-spacing:-1.5px;margin:19px 0 15px}.hero p{font-size:15px;line-height:1.6}.hero-actions{gap:10px;margin-top:24px}.hero-actions .btn{flex:1;white-space:nowrap;padding:14px 8px;font-size:12px}.hero-note{margin-top:22px}.hero-art{height:195px;max-width:260px;margin:24px auto -20px;transform:scale(.58);transform-origin:top center}.cover{height:clamp(170px,51vw,255px)}.card-content{padding:18px}.card-content h3{font-size:23px}.section{padding:54px 18px}.game-grid{gap:18px}.game-card{border-radius:18px}}

/* FENIX GAMES: premium artwork and interactive orbit - v2 */
.brand-logo{height:49px;width:49px;object-fit:cover;border-radius:13px;box-shadow:0 0 16px #f8703b66;flex-shrink:0}
.cover{background-size:cover!important;background-position:center!important;aspect-ratio:16/9;height:auto!important;min-height:0!important;display:block;isolation:isolate;transition:filter .22s,transform .22s}
.cover::before{display:none!important}
.cover:hover{filter:brightness(1.12)}
.cover-play{position:absolute;right:15px;bottom:13px;z-index:3;background:linear-gradient(140deg,#ffdb6a,#ff743a);border:2px solid #ffdf92;color:#351b22;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;font-size:17px;box-shadow:0 5px 22px #071027b0}
.game-card{transition:transform .2s,border-color .2s}.game-card:hover{transform:translateY(-3px);border-color:#ffab70}
.hero{background:radial-gradient(ellipse at 79% 45%,#26285e 0%,#101631 45%,#090f24 88%)}
.hero-inner{grid-template-columns:1.08fr 1fr;gap:36px}
.hero-art{height:465px;width:100%;max-width:520px;aspect-ratio:1;position:relative;margin:auto;display:block;transform:none;order:initial;isolation:isolate}
.orbit-aura{position:absolute;inset:12%;border-radius:50%;border:2px solid #fa91499a;box-shadow:0 0 22px #ff743d80,0 0 0 25px #c743ff0b,inset 0 0 42px #8a61f252;background:radial-gradient(circle,#6b399527 15%,transparent 60%);pointer-events:none}
.planet-core{position:absolute;inset:28%;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 35% 25%,#4059b9,#0b1547 72%);border:2px solid #ff9654;box-shadow:0 0 40px #fa713d95,inset 0 0 24px #52baff8a;display:grid;place-items:center;z-index:2}
.planet-core img{height:100%;width:100%;object-fit:cover;display:block}
.orbital-path{position:absolute;inset:0;animation:fenixorbit 27s linear infinite;transform-origin:center;z-index:3;pointer-events:none}
.orbit-link{--radius:176px;position:absolute;top:50%;left:50%;width:82px;height:82px;margin:-41px 0 0 -41px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:#fff;background:linear-gradient(140deg,#324583,#121936);border:1px solid #aeb4ff78;border-radius:20px;box-shadow:0 8px 22px #070a29,0 0 20px #764cff60,inset 0 2px 4px #ffffff42;pointer-events:auto;transform:rotate(calc(var(--n)*60deg)) translateY(calc(-1 * var(--radius))) rotate(calc(var(--n)*-60deg));animation:fenixcounter 27s linear infinite;transition:background .2s,border-color .2s}
.orbit-link span{font-size:30px;line-height:1.1}
.orbit-link small{font-size:10px;font-weight:900;white-space:nowrap;color:#fff}
.orbit-link:hover,.orbit-link:focus-visible{background:linear-gradient(140deg,#fa9a3d,#a63068);border-color:#fff1a0;box-shadow:0 0 26px #ffad59}
.hero-art:focus-within .orbital-path,.hero-art:hover .orbital-path{animation-play-state:paused}
.hero-art:focus-within .orbit-link,.hero-art:hover .orbit-link{animation-play-state:paused}
@keyframes fenixorbit{to{transform:rotate(360deg)}}
@keyframes fenixcounter{to{rotate:-360deg}}
@media(max-width:940px){
 .hero-inner{grid-template-columns:1fr;gap:14px;padding-top:35px}
 .hero-art{height:min(87vw,435px);width:min(87vw,435px);max-width:435px;order:initial;transform:none}
 .orbit-link{--radius:min(33vw,165px);width:73px;height:73px;margin:-36.5px 0 0 -36.5px;border-radius:17px}
 .orbit-link span{font-size:27px}
 .hero-inner>div:first-child{order:0}
 .hero-art{order:1}
}
@media(max-width:600px){
 .brand-logo{height:38px;width:38px;border-radius:10px}
 .hero-inner{padding:44px 22px 43px;gap:25px}
 .hero h1{font-size:clamp(42px,12vw,60px);line-height:1.03;letter-spacing:-2px}
 .hero p{font-size:15px;line-height:1.65}
 .hero-actions{gap:10px}
 .hero-actions a{flex:1;min-width:125px;padding:15px 12px;text-align:center}
 .hero-art{height:min(88vw,390px);width:min(88vw,390px);margin:15px auto 0}
 .orbit-link{--radius:calc(min(88vw,390px)*.34);width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:16px}
 .orbit-link span{font-size:23px}
 .orbit-link small{font-size:9px}
 .game-grid{grid-template-columns:1fr}
 .cover{aspect-ratio:16/9}
 .header{z-index:20}
}
@media(prefers-reduced-motion:reduce){.orbital-path,.orbit-link{animation:none!important}}
