/* inowios.com showcase (variant A, concepts/2026-12-05): night sky, aurora, gold-rimmed glass panels. Dark by design. */
@font-face { font-family: "Montserrat"; src: url(/fonts/montserrat.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: dark;
  --void: #02040a;
  --night: #071022;
  --gold: #f4c25e;
  --gold-hi: #ffe3a1;
  --gold-deep: #c98a22;
  --teal: #2fe3b9;
  --text: #f2f5fb;
  --muted: #b3c0d4;
  --rim: rgba(244, 194, 94, .55);
  --glass: linear-gradient(160deg, rgba(20, 34, 52, .78), rgba(6, 14, 26, .82));
  --page: min(1180px, 100% - 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--void); color: var(--text); overflow-x: hidden; font: 400 1rem/1.6 "Montserrat", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.gold-text { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- sky ---------- */
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.scene { position: relative; z-index: 1; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(34px); mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(64, 255, 190, .85), rgba(30, 200, 150, .32) 52%, transparent 74%); }
.aurora i:nth-child(1) { width: 95vw; height: 210px; left: -30vw; top: 150px; transform: rotate(-14deg); opacity: .75; }
.aurora i:nth-child(2) { width: 90vw; height: 190px; right: -32vw; top: 110px; transform: rotate(15deg); opacity: .7; }
.aurora i:nth-child(3) { width: 120vw; height: 150px; left: -10vw; top: 520px; transform: rotate(-3deg); opacity: .3; }
.aurora i:nth-child(4) { width: 110vw; height: 220px; left: -5vw; bottom: 520px; transform: rotate(5deg); opacity: .45; }
.scene::before { content: ""; position: absolute; z-index: -2; top: -120px; right: -10vw; width: 60vw; height: 520px; border-radius: 50%; filter: blur(60px); opacity: .5;
  background: radial-gradient(closest-side, rgba(120, 90, 220, .5), transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  .aurora i { animation: sway 16s ease-in-out infinite alternate; }
  .aurora i:nth-child(2) { animation-duration: 21s; animation-delay: -6s; }
  .aurora i:nth-child(3) { animation-duration: 25s; animation-delay: -11s; }
  @keyframes sway { to { translate: 5vw 22px; scale: 1.08 1.18; } }
}

/* ---------- top bar ---------- */
.in { width: var(--page); margin-inline: auto; }
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: linear-gradient(180deg, rgba(2, 4, 10, .82), rgba(2, 4, 10, .35)); }
.top .in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 800; letter-spacing: .32em; font-size: 1.05rem; }
.top nav { display: flex; gap: clamp(18px, 4vw, 40px); font-weight: 600; font-size: .95rem; }
.top nav a { padding: 8px 2px; transition: color .2s; }
.top nav a:hover { color: var(--gold-hi); }

/* ---------- home hero ---------- */
.hero { width: var(--page); margin: clamp(22px, 3.4vw, 40px) auto 0; text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.04; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.hero .sub { margin-top: 10px; font-size: clamp(1.05rem, 2.1vw, 1.4rem); font-weight: 500; }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; margin: clamp(20px, 3vw, 32px) auto 0; padding-bottom: 46px; max-width: 690px; }
.phones::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 110px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 130, .7), rgba(244, 194, 94, .2) 55%, transparent 75%); filter: blur(14px); }
.phone { display: block; width: 31%; border-radius: clamp(16px, 2.6vw, 30px); padding: clamp(3px, .5vw, 6px); position: relative;
  background: linear-gradient(160deg, #ffe9b8, #b27a22 38%, #5a3a0c 62%, #f4c25e);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .9), 0 0 34px -6px rgba(244, 194, 94, .55); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.phone img { width: 100%; border-radius: clamp(13px, 2.2vw, 25px); background: #0b1420; }
.phone.p1 { transform: rotate(-9deg) translate(9%, 4%); z-index: 1; }
.phone.p2 { width: 34%; z-index: 2; }
.phone.p3 { transform: rotate(9deg) translate(-9%, 4%); z-index: 1; }
@media (hover: hover) {
  .phone.p1:hover { transform: rotate(-6deg) translate(6%, -1%); }
  .phone.p2:hover { transform: translateY(-10px); }
  .phone.p3:hover { transform: rotate(6deg) translate(-6%, -1%); }
}

/* ---------- sections ---------- */
.sec { width: var(--page); margin: clamp(52px, 8vw, 92px) auto 0; }
.rule { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); font-size: clamp(1.7rem, 4.4vw, 3rem); font-weight: 800; line-height: 1.1; text-align: center; margin-bottom: clamp(22px, 3.4vw, 38px); }
.rule::before, .rule::after { content: ""; flex: 1; height: 2px; min-width: 16px; border-radius: 2px; }
.rule::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.rule::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { position: relative; border-radius: 22px; background: var(--glass); border: 1.5px solid var(--rim);
  box-shadow: inset 0 0 28px rgba(244, 194, 94, .08), 0 0 26px -10px rgba(244, 194, 94, .5), 0 22px 46px -26px #000; backdrop-filter: blur(6px);
  transition: border-color .25s, box-shadow .25s, translate .25s; }
@media (hover: hover) { .card:hover { border-color: var(--gold-hi); translate: 0 -3px; box-shadow: inset 0 0 34px rgba(244, 194, 94, .14), 0 0 38px -8px rgba(244, 194, 94, .7), 0 26px 50px -26px #000; } }
.icon { border-radius: 23%; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.card h3 { font-weight: 800; line-height: 1.15; }
/* the whole card opens the game page: the title link is stretched over the card; store buttons stay on top */
.card { cursor: pointer; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .stores, .card .more { position: relative; z-index: 2; }
.card h3 a:hover { color: var(--gold-hi); }
.card p { color: var(--muted); }

.card.big { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 14px; padding: clamp(16px, 2vw, 24px); overflow: hidden; min-height: 330px; }
.card.big .info { display: flex; flex-direction: column; align-items: flex-start; }
.card.big .icon { width: clamp(72px, 8vw, 104px); }
.card.big h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 14px; }
.card.big p { margin-top: 6px; font-size: 1.02rem; color: var(--text); max-width: 15em; }
.card.big .stores { margin-top: auto; padding-top: 16px; }
.card.big .more { margin-top: 12px; }
.card.big .shots { display: flex; gap: 10px; align-items: flex-start; margin: 0 -40px -70px 0; }
.card.big .shots img { width: 54%; flex: none; border-radius: 14px; border: 1.5px solid rgba(255, 227, 161, .7); box-shadow: 0 16px 30px -12px #000; }
.card.big .shots img + img { margin-top: 34px; }

.card.small { display: flex; flex-direction: column; overflow: hidden; }
.card.small .pic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 12px 0; }
.card.small .pic img { width: 100%; border-radius: 12px; border: 1.5px solid rgba(255, 227, 161, .65); box-shadow: 0 12px 24px -12px #000; transition: translate .35s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .card.small:hover .pic img { translate: 0 -4px; } }
.card.small .body { display: flex; gap: 14px; padding: 16px 18px 0; align-items: flex-start; }
.card.small .ic { flex: none; }
.card.small .icon { width: 68px; }
.card.small .info { min-width: 0; }
.card.small h3 { font-size: 1.25rem; }
.card.small p { font-size: .9rem; line-height: 1.45; margin-top: 5px; }
.card.small .acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 14px 18px 18px; }

.more { white-space: nowrap; color: var(--gold); font-weight: 600; font-size: .95rem; border-bottom: 1px solid rgba(244, 194, 94, .6); padding-bottom: 1px; }
.more:hover { color: var(--gold-hi); border-color: var(--gold-hi); }

/* ---------- store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.store { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 13px; border-radius: 10px; font-weight: 600; font-size: .86rem; white-space: nowrap;
  background: rgba(3, 8, 16, .75); border: 1.5px solid rgba(255, 227, 161, .75); transition: background .2s, border-color .2s, color .2s; }
.store svg { width: 17px; height: 17px; flex: none; }
.store:hover { background: var(--gold); border-color: var(--gold-hi); color: #1a1204; }
.store.big { min-height: 54px; padding: 10px 22px; border-radius: 14px; font-size: 1.1rem; border-width: 2px; box-shadow: 0 0 22px -8px rgba(244, 194, 94, .8); }
.store.big svg { width: 26px; height: 26px; }

/* ---------- strip, studio, contact, footer ---------- */
.strip { width: var(--page); margin: clamp(56px, 9vw, 100px) auto 0; text-align: center; font-weight: 700; font-style: italic; font-size: clamp(1.25rem, 3.6vw, 2.5rem); line-height: 1.3; text-wrap: balance; }
.strip i { color: var(--gold); font-style: normal; margin: 0 .25em; }
.dawn { position: relative; margin-top: clamp(30px, 6vw, 70px); padding: clamp(180px, 30vw, 380px) 0 clamp(36px, 6vw, 70px); text-align: center; }
.dawn.slim { padding: clamp(150px, 24vw, 300px) 0 0; }
.dawn .sky { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 26%, #000 70%, transparent); }
.dawn .sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.studio, .contact { width: min(760px, 100% - 40px); margin-inline: auto; }
.studio h2, .contact h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; }
.studio { padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: rgba(3, 8, 16, .62); border: 1.5px solid rgba(244, 194, 94, .3); backdrop-filter: blur(8px); }
.studio p { margin-top: 14px; font-size: 1.06rem; }
.contact { margin-top: clamp(34px, 5vw, 56px); }
.contact a { display: inline-block; margin-top: 12px; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 1.1rem; border: 1.5px solid var(--rim); background: rgba(3, 8, 16, .7); }
.contact a:hover { background: var(--gold); color: #1a1204; }
.foot { border-top: 1px solid rgba(244, 194, 94, .25); background: rgba(2, 4, 10, .8); }
.foot .in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; padding: 26px 0 30px; font-size: .95rem; }
.foot a:not(.brand) { border-bottom: 1px solid rgba(255, 255, 255, .35); }
.foot a:hover { color: var(--gold-hi); }
.foot small { flex-basis: 100%; text-align: center; color: var(--muted); font-size: .8rem; }

/* ---------- game page ---------- */
.back { width: var(--page); margin: 18px auto 0; font-weight: 600; font-size: .95rem; }
.back a { color: var(--gold); padding: 6px 0; }
.back a:hover { color: var(--gold-hi); }
.ghero { width: var(--page); margin: clamp(14px, 3vw, 34px) auto 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.ghero .txt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 2.6vw, 30px); align-items: center; }
.ghero .icon { width: clamp(96px, 14vw, 168px); box-shadow: 0 0 44px -6px rgba(244, 194, 94, .55), 0 18px 40px -14px #000; }
.ghero h1 { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ghero .kind { margin-top: 10px; font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1.2; }
.ghero .pitch { margin-top: 12px; font-size: clamp(1rem, 1.7vw, 1.2rem); max-width: 30em; }
.ghero .stores { grid-column: 1 / -1; gap: 14px; margin-top: 8px; }
.phone.solo { width: min(100%, 330px); margin-inline: auto; transform: rotate(3deg); }
.phone.solo::after { content: ""; position: absolute; inset: auto -12% -34px; height: 70px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 130, .75), transparent 75%); filter: blur(12px); }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.how li { text-align: center; padding: clamp(20px, 3vw, 32px) 18px; border-radius: 22px; background: var(--glass); border: 1.5px solid var(--rim); box-shadow: inset 0 0 28px rgba(244, 194, 94, .08), 0 0 26px -10px rgba(244, 194, 94, .5); }
.how svg { width: 76px; height: 76px; margin: 0 auto 12px; fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(244, 194, 94, .55)); }
.how h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; }
.how p { margin-top: 6px; color: var(--muted); }

/* picture + text blocks: the store description, one screenshot per part, sides alternate */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); }
.feat { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(22px, 5vw, 70px); align-items: center;
  padding: clamp(18px, 3vw, 38px) clamp(18px, 4vw, 56px); border-radius: 26px; background: var(--glass); border: 1.5px solid var(--rim);
  box-shadow: inset 0 0 28px rgba(244, 194, 94, .08), 0 0 26px -10px rgba(244, 194, 94, .5), 0 22px 46px -26px #000; }
.feat.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 290px); }
.feat.flip .pic { order: 2; }
.feat .pic { position: relative; }
.feat .pic::after { content: ""; position: absolute; inset: auto 4% -22px; height: 60px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 130, .6), transparent 75%); filter: blur(12px); }
.feat .pic img { width: 100%; border-radius: 22px; border: 2px solid rgba(255, 227, 161, .8); box-shadow: 0 24px 50px -18px #000; rotate: -2deg; transition: rotate .4s cubic-bezier(.2, .8, .2, 1); }
.feat.flip .pic img { rotate: 2deg; }
@media (hover: hover) { .feat:hover .pic img { rotate: 0deg; } }
.feat.text { grid-column: auto; display: block; padding: clamp(18px, 2.6vw, 30px); }
.feat .txt > :first-child { margin-top: 0; }
.feat h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.15; color: var(--gold-hi); text-wrap: balance; }
.feat.text h3 { font-size: 1.3rem; }
.feat p { margin-top: 14px; font-size: 1.06rem; }
.feat ul { margin-top: 16px; display: grid; gap: 11px; }
.feat li { position: relative; padding-left: 32px; font-size: 1.03rem; }
.feat li::before { content: ""; position: absolute; left: 4px; top: .48em; width: 13px; height: 7px; border: solid var(--gold); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }

.shotgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(12px, 2vw, 22px); max-width: 1000px; margin-inline: auto; }
.shotgrid li { border-radius: 20px; padding: 7px; background: var(--glass); border: 1.5px solid var(--rim); box-shadow: 0 0 24px -10px rgba(244, 194, 94, .6); }
.shotgrid img { width: 100%; border-radius: 14px; }

.cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 34px); align-items: center; padding: clamp(20px, 3.4vw, 40px); border-radius: 26px;
  background: linear-gradient(120deg, rgba(244, 194, 94, .2), rgba(20, 34, 52, .8) 45%, rgba(47, 227, 185, .14)); border: 2px solid var(--gold); box-shadow: 0 0 46px -12px rgba(244, 194, 94, .8); }
.cta .icon { width: clamp(72px, 9vw, 120px); }
.cta h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.15; }
.cta p { margin-top: 6px; color: var(--muted); }
.cta .stores { gap: 12px; }

.moregames { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.moregames a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 8px 16px; text-align: center; font-weight: 700; line-height: 1.2; border-radius: 20px; background: var(--glass); border: 1.5px solid var(--rim); transition: border-color .25s, translate .25s; }
.moregames a:hover { border-color: var(--gold-hi); translate: 0 -3px; color: var(--gold-hi); }
.moregames .icon { width: min(100%, 104px); }
.all { text-align: center; margin-top: 26px; }

/* ---------- reveal on scroll: pure CSS, so nothing is ever hidden where it is not supported ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
  }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .g2 { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .feat, .feat.flip { grid-template-columns: 1fr; }
  .feat .pic { width: min(72%, 320px); margin-inline: auto; order: 0; }
  .feat.flip .pic { order: 0; }
  .feat.text { grid-column: 1 / -1; }
  .cta { grid-template-columns: auto minmax(0, 1fr); }
  .cta .stores { grid-column: 1 / -1; }
  .ghero { grid-template-columns: 1fr; }
  .phone.solo { width: min(74%, 300px); margin-top: 10px; }
  .moregames { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .g3 { grid-template-columns: 1fr; }
  .top nav { gap: 16px; font-size: .88rem; }
  .brand { letter-spacing: .24em; font-size: .95rem; }
  .card.big { min-height: 300px; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
  .card.big .shots { margin-right: -70px; }
  .card.big .stores { flex-direction: column; align-items: flex-start; }
  .ghero .txt { grid-template-columns: 1fr; justify-items: start; }
  .store.big { flex: 1; justify-content: center; padding-inline: 14px; }
  .phones { padding-bottom: 30px; }
}
@media (max-width: 400px) { .moregames { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
