/* The IMP Files' site: his stream deck's look (mind/ileana/ui/deck.css), his logo pixel for pixel, his background image (2026-11-12) as the
   guide for the room. Colour keeps the deck's meaning: Ileana purple, Pebbles blue, Minu charcoal, games lilac; Twitch its purple, YouTube
   its red. The words are the screen's own heaviest italic, as on the deck: nothing is fetched for them.
   Minu, 2026-11-12: "ABOSOLUTELY NO SCROLL BARS AND WHITE backgrounds": every background is his purples, and no scroll bar shows. */
:root {
  --navy: #1b0b45; --navy2: #2a1468; --ink: #2b1a5c;
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #2a1468; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar { display: none; width: 0; height: 0; }
* { scrollbar-width: none; }
body { margin: 0; font: 400 17px/1.55 var(--font); color: #fff; background: #2a1468; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }

/* the outlined heavy italic of the deck's keys */
.title, .tagline, .lbl, .card h3, .soon p {
  font-style: italic; font-weight: 900; color: #fff; letter-spacing: -.005em;
  text-shadow: 0 .07em 0 var(--navy), .07em 0 0 var(--navy), -.07em 0 0 var(--navy), 0 -.07em 0 var(--navy),
               .05em .05em 0 var(--navy), -.05em .05em 0 var(--navy), .05em -.05em 0 var(--navy), -.05em -.05em 0 var(--navy),
               0 .15em 0 var(--navy), .05em .14em 0 var(--navy), -.05em .14em 0 var(--navy);
}

/* ---- the room: his image's sky, dark above, lilac below ------------------------------------------------------------------------- */
.room { position: absolute; left: 0; right: 0; top: 0; height: 100svh; min-height: 640px; overflow: hidden; pointer-events: none; z-index: 0;
        background: radial-gradient(120% 55% at 50% 106%, rgba(214, 190, 255, .55) 0 25%, transparent 60%),
                    linear-gradient(180deg, #1f1149 0%, #2f1868 14%, #4a2a9c 34%, #6a44c8 58%, #8460da 80%, #8f6be0 100%); }
.room > * { position: absolute; }
.dots { inset: 0; background-image: radial-gradient(circle, rgba(170, 130, 245, .45) 0 1.7px, transparent 2.1px); background-size: 13px 13px;
        -webkit-mask-image: radial-gradient(30% 26% at 0% 55%, #000, transparent), radial-gradient(30% 26% at 100% 55%, #000, transparent),
                            radial-gradient(26% 12% at 50% 10%, #000, transparent);
                mask-image: radial-gradient(30% 26% at 0% 55%, #000, transparent), radial-gradient(30% 26% at 100% 55%, #000, transparent),
                            radial-gradient(26% 12% at 50% 10%, #000, transparent); }
.streak { height: 3.2vmin; border-radius: 99px; transform: rotate(-24deg); transform-origin: left center; }
.streak.s1 { width: 60vmax; right: -26vmax; top: 3vmin; background: linear-gradient(90deg, transparent, #9b5cff 30%, #c08bff 70%, #e6d2ff); }
.streak.s2 { width: 44vmax; right: -22vmax; top: 10vmin; height: 1.6vmin; background: linear-gradient(90deg, transparent, #5ab8ff 40%, #9fe2ff); }
.streak.s3 { width: 52vmax; left: -24vmax; bottom: 16vmin; background: linear-gradient(90deg, #e6d2ff, #b27cff 40%, #7f45f0 80%, transparent); }
.streak.s4 { width: 36vmax; left: -20vmax; bottom: 23vmin; height: 1.4vmin; background: linear-gradient(90deg, #a6e6ff, #4aa8ff 60%, transparent); }
.check { width: 12vmin; height: 12vmin; background: conic-gradient(#6a35d8 0 25%, transparent 0 50%, #6a35d8 0 75%, transparent 0) 0 0 / 2.4vmin 2.4vmin; }
.check.c1 { left: 0; top: 0; -webkit-mask-image: linear-gradient(135deg, #000 30%, transparent 70%); mask-image: linear-gradient(135deg, #000 30%, transparent 70%); }
.check.c2 { right: 0; bottom: 0; -webkit-mask-image: linear-gradient(315deg, #000 30%, transparent 70%); mask-image: linear-gradient(315deg, #000 30%, transparent 70%); opacity: .8; }
.topclouds { left: 0; right: 0; top: 0; width: 100%; height: 22vmin; }
.spark-dot { width: 2.4vmin; height: 2.4vmin; min-width: 12px; min-height: 12px; animation: twinkle 3.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(20deg); opacity: .5; } }

/* ---- the hero: his logo, one line, the keys ---------------------------------------------------------------------------------------- */
.hero { position: relative; z-index: 1; min-height: 100svh; min-height: max(100svh, 640px); display: flex; flex-direction: column;
        align-items: center; justify-content: center; gap: clamp(14px, 3vh, 30px); padding: 64px var(--gutter) 150px; text-align: center; }
.frame { position: absolute; inset: clamp(10px, 2vmin, 22px); bottom: 150px; border: 2px solid rgba(255, 255, 255, .5); border-radius: clamp(12px, 2vmin, 22px);
         pointer-events: none;
         -webkit-mask-image: linear-gradient(#000 0 10%, transparent 18% 82%, #000 90%), linear-gradient(90deg, #000 0 5%, transparent 10% 90%, #000 95%);
                 mask-image: linear-gradient(#000 0 10%, transparent 18% 82%, #000 90%), linear-gradient(90deg, #000 0 5%, transparent 10% 90%, #000 95%); }
.logo { width: min(880px, 92vw); height: auto; display: block;
        filter: drop-shadow(0 0 1.4px #fff) drop-shadow(0 0 1.4px #fff) drop-shadow(0 0 3px #fff) drop-shadow(0 1vmin 1.6vmin rgba(27, 11, 69, .45));
        animation: rise .8s cubic-bezier(.2, .9, .3, 1.2) both; }
.tagline { margin: 0; font-size: clamp(20px, 3.2vw, 34px); line-height: 1.2; animation: rise .8s cubic-bezier(.2, .9, .3, 1.2) both .12s; }
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 2vw, 24px); margin-top: clamp(4px, 1.5vh, 16px); }
.keys .key { animation: pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.keys .key:nth-child(1) { animation-delay: .25s; } .keys .key:nth-child(2) { animation-delay: .32s; } .keys .key:nth-child(3) { animation-delay: .39s; }
.down { position: absolute; bottom: 118px; left: 50%; width: 60px; transform: translateX(-50%) rotate(90deg); opacity: .85; animation: nudge 1.8s ease-in-out infinite; }
.down svg { display: block; width: 100%; }
.heart { position: absolute; width: clamp(56px, 8vmin, 96px); left: clamp(18px, 5vw, 70px); bottom: 70px; filter: drop-shadow(0 .5vmin 0 rgba(27, 11, 69, .25)); z-index: 2; }
.moon { position: absolute; width: clamp(96px, 14vmin, 170px); right: clamp(14px, 4vw, 60px); bottom: 56px; z-index: 2; }
.hero::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -2px; height: 130px; z-index: 1; pointer-events: none;
               background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 130' preserveAspectRatio='none'%3E%3Cg fill='%23c9b1f7'%3E%3Ccircle cx='40' cy='120' r='92'/%3E%3Ccircle cx='190' cy='138' r='72'/%3E%3Ccircle cx='330' cy='120' r='80'/%3E%3Ccircle cx='480' cy='150' r='70'/%3E%3Ccircle cx='640' cy='158' r='66'/%3E%3Ccircle cx='800' cy='162' r='70'/%3E%3Ccircle cx='960' cy='158' r='66'/%3E%3Ccircle cx='1120' cy='150' r='70'/%3E%3Ccircle cx='1270' cy='120' r='80'/%3E%3Ccircle cx='1410' cy='138' r='72'/%3E%3Ccircle cx='1560' cy='120' r='92'/%3E%3C/g%3E%3Cg fill='%238a66dc'%3E%3Ccircle cx='40' cy='124' r='88'/%3E%3Ccircle cx='190' cy='142' r='68'/%3E%3Ccircle cx='330' cy='124' r='76'/%3E%3Ccircle cx='480' cy='154' r='66'/%3E%3Ccircle cx='640' cy='162' r='62'/%3E%3Ccircle cx='800' cy='166' r='66'/%3E%3Ccircle cx='960' cy='162' r='62'/%3E%3Ccircle cx='1120' cy='154' r='66'/%3E%3Ccircle cx='1270' cy='124' r='76'/%3E%3Ccircle cx='1410' cy='142' r='68'/%3E%3Ccircle cx='1560' cy='124' r='88'/%3E%3C/g%3E%3C/svg%3E") center bottom / max(100%, 1100px) 100% no-repeat; }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(22px) scale(.75); } to { opacity: 1; transform: none; } }
@keyframes nudge { 50% { transform: translateX(-50%) translateX(0) rotate(90deg) translateX(8px); } }

/* ---- a key, as on the deck: an outline, a white rim, its face, lifted on a dark base ---------------------------------------------- */
.key { --c1: #c98bff; --c2: #8b3cf5; --c3: #5f1cd6; --glow: #b46bff; --depth: 8px; --down: 0px;
       position: relative; display: block; width: clamp(150px, 21vw, 232px); aspect-ratio: 2.05 / 1; container-type: size;
       text-decoration: none; border: 0; padding: 0; background: none; cursor: pointer; font: inherit; color: #fff;
       -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.key .cap { position: absolute; inset: 0 0 var(--depth) 0; transform: translateY(var(--down));
            filter: drop-shadow(0 calc(var(--depth) - var(--down)) 0 var(--navy)) drop-shadow(0 calc(var(--depth) - var(--down) + 5px) 8px rgba(27, 11, 69, .35));
            transition: transform .26s cubic-bezier(.34, 1.7, .5, 1), filter .26s cubic-bezier(.34, 1.7, .5, 1); }
.out, .rim, .face { --ch: min(21cqh, 10.5cqw); display: block;
       clip-path: polygon(var(--ch) 0, calc(100% - var(--ch)) 0, 100% var(--ch), 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%,
                          var(--ch) 100%, 0 calc(100% - var(--ch)), 0 var(--ch)); }
.key .out { position: absolute; inset: 0; background: var(--navy); padding: max(2.5px, 2.6cqh); }
.key .rim { height: 100%; --ch: calc(min(21cqh, 10.5cqw) - max(1px, 1.1cqh)); padding: max(3px, 3.4cqh); background: linear-gradient(170deg, #fff, #eadfff); }
.key .face { position: relative; height: 100%; --ch: calc(min(21cqh, 10.5cqw) - max(2px, 2.5cqh)); overflow: hidden;
             display: flex; flex-direction: column; align-items: center; justify-content: center;
             background: linear-gradient(180deg, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%);
             box-shadow: inset 0 -.55em .7em -.2em rgba(20, 0, 60, .32), inset 0 .3em .4em -.1em rgba(255, 255, 255, .45); font-size: 10cqh; }
.key .face::before, .card .face::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34) 0 6%, rgba(255, 255, 255, .14) 40%, transparent 52%),
              linear-gradient(118deg, transparent 0 7%, rgba(255, 255, 255, .62) 7.5% 13%, transparent 13.5% 16%, rgba(255, 255, 255, .3) 16.5% 19%, transparent 19.5%); }
.key .lbl { position: relative; font-size: min(31cqh, 12.6cqw); line-height: 1; padding: 0 6%; }
.key .sub { position: relative; margin-top: .5em; font: 800 min(10.5cqh, 5.4cqw)/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
            text-shadow: 0 1px 0 var(--navy), 0 0 6px rgba(27, 11, 69, .6); }
.key .sub:empty { display: none; }
.key .spark { position: absolute; right: 7%; bottom: 10%; width: min(22cqh, 11cqw); height: min(22cqh, 11cqw); filter: drop-shadow(0 0 3px rgba(255, 255, 255, .9)); }
@media (hover: hover) { .key:hover { --down: -3px; } .key:hover .cap { filter: drop-shadow(0 calc(var(--depth) + 3px) 0 var(--navy)) drop-shadow(0 0 14px var(--glow)); } }
.key:active, .key.down { --down: calc(var(--depth) - 2px); }
.key:active .cap, .key.down .cap { transition-duration: .06s; }
.key.is-soon .face { filter: saturate(.55) brightness(.9); }
.key:focus-visible { outline: 3px solid #fff; outline-offset: 6px; border-radius: 12px; }

.k-twitch { --c1: #c08cff; --c2: #9146ff; --c3: #5f22c9; --glow: #a970ff; }
.k-youtube { --c1: #ff7a7a; --c2: #ec1f2a; --c3: #a10d16; --glow: #ff4d57; }
.k-cast { --c1: #c4f6ff; --c2: #55cdf3; --c3: #1c8fd8; --glow: #6fdcff; }      /* the logo swoosh's teal blue (his pick, 2026-11-12) */
.k-sound { --c1: #6c6188; --c2: #352b52; --c3: #1d1730; --glow: #9f8fd6; width: 150px; }

/* ---- the sections ------------------------------------------------------------------------------------------------------------------- */
main { position: relative; z-index: 1; }
section { padding: clamp(40px, 7vw, 90px) var(--gutter); position: relative; }
.title { text-align: center; margin: 0 0 clamp(20px, 3vw, 36px); font-size: clamp(30px, 5vw, 52px); line-height: 1.1; }
.watch { background: linear-gradient(180deg, #8a66dc, #7150cf); }
.cast { background: radial-gradient(circle, rgba(214, 190, 255, .2) 0 1.6px, transparent 2px) 0 0 / 14px 14px, linear-gradient(180deg, #7150cf, #5d3abd); }
.what { background: linear-gradient(180deg, #5d3abd, #45269d); text-align: center; }

/* the screen: a big key's frame round Twitch's player */
.screen { position: relative; max-width: 980px; margin: 0 auto; container-type: inline-size; filter: drop-shadow(0 8px 0 var(--navy)) drop-shadow(0 16px 22px rgba(27, 11, 69, .3)); }
.screen > .screen-in { --ch: clamp(14px, 3.4cqw, 34px); --rim: clamp(8px, 1.4cqw, 13px); position: relative; aspect-ratio: 16 / 9; padding: clamp(3px, .5cqw, 5px);
                       background: linear-gradient(170deg, #fff, #eadfff) content-box, var(--navy);
                       clip-path: polygon(var(--ch) 0, calc(100% - var(--ch)) 0, 100% var(--ch), 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%,
                                          var(--ch) 100%, 0 calc(100% - var(--ch)), 0 var(--ch)); }
.screen iframe, .soon { --c2: calc(var(--ch) - var(--rim) * .4); position: absolute; inset: var(--rim); width: calc(100% - 2 * var(--rim));
                         height: calc(100% - 2 * var(--rim)); border: 0; background: var(--navy);
                         clip-path: polygon(var(--c2) 0, calc(100% - var(--c2)) 0, 100% var(--c2), 100% calc(100% - var(--c2)), calc(100% - var(--c2)) 100%,
                                            var(--c2) 100%, 0 calc(100% - var(--c2)), 0 var(--c2)); }
.soon { display: grid; place-items: center; align-content: center; gap: 4%; background: linear-gradient(180deg, #2c1770, #6c46cc 60%, #b89af3); }
.soon img { width: min(58%, 878px); height: auto; filter: drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 2.5px #fff); }
.soon p { margin: 0; font-size: clamp(18px, 3.4cqw, 34px); }
.k-sound { position: absolute; right: clamp(10px, 2.4cqw, 24px); bottom: clamp(10px, 2.4cqw, 24px); width: clamp(110px, 16cqw, 160px); }

/* the cast: one card each, the deck's colours */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); max-width: 1100px; margin: 0 auto; }
.card { --c1: #c98bff; --c2: #8b3cf5; --c3: #5f1cd6; filter: drop-shadow(0 7px 0 var(--navy)) drop-shadow(0 14px 18px rgba(27, 11, 69, .25)); }
.card .out, .card .rim, .card .face { --ch: 26px; }
.card .out { background: var(--navy); padding: 3px; height: 100%; }
.card .rim { --ch: 25px; padding: 4px; background: linear-gradient(170deg, #fff, #eadfff); height: 100%; }
.card .face { --ch: 23px; position: relative; height: 100%; padding: clamp(20px, 2.4vw, 30px) clamp(18px, 2.2vw, 28px) clamp(24px, 2.8vw, 34px);
              background: linear-gradient(180deg, var(--c1) 0%, var(--c2) 55%, var(--c3) 100%); color: #fff;
              box-shadow: inset 0 -1.2em 1.4em -.6em rgba(20, 0, 60, .35); }
.card h3 { position: relative; margin: 0 0 .35em; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.card p { position: relative; margin: 0; font-size: 17px; line-height: 1.5; text-shadow: 0 1px 2px rgba(27, 11, 69, .55); font-weight: 600; }
.k-ileana { --c1: #c98bff; --c2: #8b3cf5; --c3: #5f1cd6; }
.k-pebbles { --c1: #8fe6ff; --c2: #2aa8f6; --c3: #106fd8; }
.k-minu { --c1: #6c6188; --c2: #352b52; --c3: #1d1730; }

/* what we do: the games, each a small lilac key of the deck's (what we're doing is lilac there) */
.lede { max-width: 640px; margin: 0 auto 30px; font-size: clamp(17px, 1.6vw, 19px); font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(27, 11, 69, .6); }
.games { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 16px; max-width: 1180px; }
.game { --c1: #f1e6ff; --c2: #c6a9fa; --c3: #9a74ec; position: relative;
        filter: drop-shadow(0 6px 0 var(--navy)) drop-shadow(0 10px 12px rgba(27, 11, 69, .35)); }
.game .out { --ch: 14px; background: var(--navy); padding: 3px; }
.game .rim { --ch: 13px; padding: 3px; background: linear-gradient(170deg, #fff, #eadfff); }
.game .face { --ch: 12px; position: relative; display: flex; align-items: center; padding: 13px 34px 14px 24px; overflow: hidden;
              background: linear-gradient(180deg, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%);
              box-shadow: inset 0 -.5em .6em -.25em rgba(20, 0, 60, .3), inset 0 .25em .35em -.1em rgba(255, 255, 255, .5); }
.game .face::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34) 0 6%, rgba(255, 255, 255, .12) 40%, transparent 52%),
              linear-gradient(112deg, transparent 0 4%, rgba(255, 255, 255, .6) 4.5% 8%, transparent 8.5% 10%, rgba(255, 255, 255, .28) 10.5% 12%, transparent 12.5%); }
.game .lbl { position: relative; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.1; white-space: nowrap; }
.game .spark { position: absolute; right: 9px; bottom: 7px; width: 13px; height: 13px; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .9)); }

.foot { position: relative; z-index: 1; text-align: center; padding: 40px var(--gutter) calc(40px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, #45269d, #2a1468); color: #e9dcff; font-weight: 700; font-size: 15px; }
.foot img { width: min(300px, 70vw); height: auto; filter: drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 2px #fff); }
.foot p { margin: 10px 0 0; opacity: .8; }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; }
  .hero { padding-bottom: 170px; }
  .down { bottom: 128px; }
  .heart { bottom: 86px; }
  .moon { bottom: 74px; }
}
@media (max-width: 420px) { .keys .key { width: calc(50vw - var(--gutter) - 8px); } .keys { gap: 14px 12px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.sprite { position: absolute; width: 0; height: 0; }
