/* U.C.M homepage, desktop and tablet design (760 px and wider only; phones keep the artwork poster in index.html). 2026-11-14 redesign, direction C "Scene". */
/* U.C.M homepage design, 2026-11-14 redesign. Royal midnight + gold, dark only. Mobile first, one layout for every screen.
   Base = shared parts + hero skeleton. Direction files (home-a.css / home-b.css) add the hero treatment.
   Per-game accent is set on each tile with --h (hue). */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/fonts/cinzel-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/fonts/cinzel-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --night: #060918; --night-2: #0a0e24; --gold: #e6b45a; --gold-hi: #f6d58b; --gold-line: rgba(230, 180, 90, .45);
  --ink: #f4f1fb; --ink-2: #d4cee6; --ink-3: #a29eb9; --cyan: #9fd8ff; --violet: #b79cff;
  --display: Cinzel, Georgia, "Times New Roman", serif;
  --wrap: 1240px; --gut: 20px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--night); }
body { color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; overflow-x: hidden; min-height: 100vh; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
img { max-width: 100%; }
a { color: inherit; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* atmosphere: fixed deep-night gradient with a faint gold dust, no image weight */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(1200px 700px at 78% -8%, rgba(110, 80, 230, .22), transparent 60%),
              radial-gradient(900px 600px at 6% 38%, rgba(230, 180, 90, .10), transparent 62%),
              radial-gradient(1000px 700px at 60% 105%, rgba(40, 90, 200, .16), transparent 60%), var(--night); }
.desk { position: relative; z-index: 1; overflow-x: clip; }

/* ---------- top bar ---------- */
.dbar { position: sticky; top: 0; z-index: 40; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  background: linear-gradient(90deg, rgba(10, 13, 20, .94), rgba(6, 8, 24, .94) 55%, rgba(2, 6, 26, .94)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, rgba(230, 180, 90, .25), #f2c46f 30%, #9fd8ff 50%, #f2c46f 70%, rgba(230, 180, 90, .25)); box-shadow: 0 0 10px rgba(130, 190, 255, .5); }
.dbar .ucm-menu-btn { position: relative; top: auto; left: auto; flex: none; }
.dlogo { flex: none; display: block; height: 42px; } .dlogo img { height: 100%; width: auto; display: block; }
.dnav { display: none; margin-left: 10px; gap: 2px; }
.dnav a { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 9px 12px; border-radius: 10px; transition: background .2s ease, color .2s ease; }
.dnav a:hover, .dnav a:focus-visible { background: rgba(230, 180, 90, .14); color: #fff; outline: none; }
.grow { flex: 1; }
.dsocials { display: none; align-items: center; gap: 2px; }
.dsocials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background .2s ease, transform .2s ease; }
.dsocials a:hover, .dsocials a:focus-visible { background: radial-gradient(circle, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 70%); transform: scale(1.08); outline: none; }
.dsocials svg { width: 21px; height: 21px; fill: currentColor; display: block; }
.dcta { flex: none; text-decoration: none; font-weight: 700; font-size: 14px; color: #1a1205; padding: 10px 16px; border-radius: 12px; background: linear-gradient(135deg, #fbe3a0, #e6b45a 55%, #c8913c); box-shadow: 0 0 0 1px rgba(255, 236, 180, .6) inset, 0 6px 18px rgba(230, 180, 90, .28); transition: transform .18s ease, box-shadow .18s ease; }
.dcta:hover, .dcta:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 1px #fff3c8 inset, 0 10px 28px rgba(255, 196, 96, .5); outline: none; }
@media (min-width: 760px) { .dsocials { display: flex; } .dcta { font-size: 15px; padding: 11px 20px; } }
@media (min-width: 1020px) { .dnav { display: flex; } }
@media (min-width: 1100px) { .dnav a { padding: 9px 13px; } }

/* ---------- hero skeleton ---------- */
.dhero { position: relative; isolation: isolate; }
.dhero-in { position: relative; z-index: 2; width: min(var(--wrap), calc(100% - 2 * var(--gut))); margin: 0 auto; }
.dtext { position: relative; z-index: 3; }
.deyebrow { margin: 0 0 12px; font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--violet); }
.dtitle { margin: 0 0 16px; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 8.6vw, 62px); line-height: 1.08; letter-spacing: .01em; text-wrap: balance;
  background: linear-gradient(180deg, #fff 8%, #f6d58b 55%, #d9a14a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dlead { margin: 0 0 24px; max-width: 52ch; color: #ded8f1; font-size: clamp(16px, 4.2vw, 19px); line-height: 1.62; }
.dstores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.dstore { display: block; line-height: 0; border-radius: 12px; box-shadow: 0 0 0 1px rgba(230, 180, 90, .55), 0 8px 20px rgba(0, 0, 0, .5); transition: transform .18s ease, box-shadow .18s ease; }
.dstore img { display: block; height: 52px; width: auto; border-radius: 11px; }
.dstore:hover, .dstore:focus-visible { transform: translateY(-3px); box-shadow: 0 0 0 1.5px #f6d58b, 0 12px 28px rgba(0, 0, 0, .55), 0 0 24px rgba(246, 213, 139, .35); outline: none; }
.dsmall { margin: 0; color: var(--ink-3); font-size: 14px; }
.dhero-art picture, .dhero-art img { display: block; width: 100%; height: 100%; }
.dhero-art img { object-fit: cover; }

/* ---------- sections ---------- */
.dsec { width: min(var(--wrap), calc(100% - 2 * var(--gut))); margin: 0 auto; padding: clamp(30px, 6vh, 56px) 0; }
.dh { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: clamp(19px, 5vw, 28px); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); text-wrap: balance; }
.dh::before, .dh::after { content: ""; flex: 1; min-width: 14px; height: 1px; background: linear-gradient(90deg, transparent, rgba(230, 180, 90, .55)); }
.dh::after { transform: scaleX(-1); }
.dsub { margin: 0 0 24px; text-align: center; color: #b9b4ce; font-size: 16px; }

/* game tiles: abstract art on top, name below, accent line by --h */
.dgames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dgame { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate;
  background: linear-gradient(160deg, rgba(24, 28, 64, .86), rgba(9, 11, 28, .94)); border: 1px solid rgba(230, 180, 90, .32); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.dgame:hover, .dgame:focus-visible { transform: translateY(-4px); border-color: #f6d58b; box-shadow: 0 16px 36px rgba(0, 0, 0, .55), 0 0 28px hsl(var(--h, 40) 90% 60% / .28); outline: none; }
.dgame-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0a0d1c; }
.dgame-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dgame:hover .dgame-art img, .dgame:focus-visible .dgame-art img { transform: scale(1.06); }
.dgame-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 10, 28, .88)); }
.dgame-art::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, hsl(var(--h, 40) 85% 62%), transparent); }
.dgame-body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 10px 16px; margin-top: -4px; position: relative; z-index: 3; }
.dgame-name { padding: 0 4px 2px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .02em; color: var(--gold-hi); text-wrap: balance; }
.dgame-sub { padding: 2px 4px 8px; color: #b9b4ce; font-size: 13.5px; }
.dgame-go { font-size: 14px; color: var(--cyan); } .dgame-go b { font-weight: 400; display: inline-block; transition: transform .2s ease; } .dgame:hover .dgame-go b { transform: translateX(4px); }
@media (min-width: 560px) { .dgames { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 760px) { .dgames { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; } .dgame { width: calc((100% - 32px) / 3); } }
@media (min-width: 1000px) { .dgames { gap: 18px; } .dgame { width: calc((100% - 54px) / 4); } }

.dsteps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 22px; }
.dstep { position: relative; padding: 24px 22px 22px; border-radius: 16px; background: linear-gradient(160deg, rgba(24, 28, 64, .74), rgba(9, 11, 28, .86)); border: 1px solid rgba(230, 180, 90, .3); overflow: hidden; }
.dstep::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(230, 180, 90, .14), transparent 70%); pointer-events: none; }
.dnum { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 50%; font-family: var(--display); font-weight: 600; font-size: 18px; color: #1a1205; background: linear-gradient(135deg, #fbe3a0, #c8913c); box-shadow: 0 6px 16px rgba(230, 180, 90, .3); }
.dstep h3 { margin: 0 0 8px; font-family: var(--display); font-size: 20px; letter-spacing: .02em; color: var(--gold-hi); }
.dstep p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.62; }
@media (min-width: 900px) { .dsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

.dlinks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; }
.dlinks a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; text-decoration: none; background: rgba(12, 14, 36, .72); border: 1px solid rgba(230, 180, 90, .28); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.dlinks a:hover, .dlinks a:focus-visible { border-color: #f6d58b; background: rgba(30, 24, 60, .84); transform: translateY(-2px); outline: none; }
.dlinks b { color: var(--gold-hi); font-size: 17px; } .dlinks span { color: #b9b4ce; font-size: 14.5px; line-height: 1.45; }
@media (min-width: 620px) { .dlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .dlinks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }

/* "What is U.C.M?" text band (was phone-only, now on every screen) */
.aboutband { width: min(860px, calc(100% - 2 * var(--gut))); margin: 0 auto; padding: 8px 0 34px; text-align: center; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.aboutband h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.aboutband p { margin: 0 0 12px; }
.aboutband a { color: var(--cyan); }
.aboutband-links { font-size: 13.5px; color: var(--ink-3); }

.dfoot { position: relative; margin-top: 8px; padding: 26px 20px 32px; text-align: center; background: rgba(5, 7, 20, .86); }
.dfoot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, rgba(230, 180, 90, .25), #f2c46f 30%, #9fd8ff 50%, #f2c46f 70%, rgba(230, 180, 90, .25)); box-shadow: 0 0 10px rgba(130, 190, 255, .5); }
.dfoot-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; font-family: var(--display); font-size: 13px; letter-spacing: .06em; color: #d9cfb9; }
.dfoot-row b { color: var(--gold); font-weight: 400; font-size: 11px; }
.dfoot a { color: #d9cfb9; text-decoration: none; } .dfoot a:hover, .dfoot a:focus-visible { color: var(--gold-hi); outline: none; }
.dfoot-ai { margin: 14px auto 0; max-width: 60ch; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 12px; letter-spacing: 0; color: #8f8ba6; }



/* Direction C "Scene": the phone page's sunset-room artwork, full screen on every device, logo + tagline centred over it */
.dhero { min-height: min(860px, calc(100svh - 64px)); min-height: min(860px, max(640px, calc(100svh - 64px))); display: flex; align-items: center; justify-content: center; padding: 44px 0 56px; text-align: center; }
.dhero-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.dhero-art img { object-position: 55% 40%; }
.dhero-art::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 52% 62% at 50% 52%, rgba(6, 9, 24, .78), rgba(6, 9, 24, .42) 62%, rgba(6, 9, 24, 0) 100%),
              linear-gradient(180deg, rgba(6, 9, 24, .25) 0%, rgba(6, 9, 24, 0) 22%, rgba(6, 9, 24, 0) 72%, var(--night) 100%); }
.dhero-in { display: flex; justify-content: center; }
.dhero .dtext { max-width: 640px; display: flex; flex-direction: column; align-items: center; }
.dhero-logo { display: block; width: clamp(150px, 20vw, 210px); height: auto; margin: 0 0 6px; filter: drop-shadow(0 8px 28px rgba(0, 0, 0, .55)); }
.dtagline { margin: 0 0 22px; font-family: var(--display); font-weight: 600; font-size: clamp(13px, 2.4vw, 16px); letter-spacing: .34em; text-transform: uppercase; color: #f4ecff; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.dtagline b { color: var(--gold); font-weight: 400; margin: 0 .5em; }
.dhero .dtitle { font-size: clamp(30px, 7.4vw, 50px); }
.dhero .dlead { max-width: 56ch; text-shadow: 0 1px 12px rgba(0, 0, 0, .75); }
.dhero .dstores, .dhero .dsmall { justify-content: center; }
.dhero .dsmall { text-shadow: 0 1px 10px rgba(0, 0, 0, .8); color: #c3bfd8; }

/* wide hero scene as a CSS background so it is only fetched on screens that show this layout */
.dhero-art { background: #0a0d1c url(/img/heroC_scene-2000.webp) 55% 40% / cover no-repeat; }
@media (max-width: 1100px) { .dhero-art { background-image: url(/img/heroC_scene-1000.webp); } }

/* swap the phone poster for this layout */
.stage, .toast { display: none; }
.desk { display: block; }
.aboutband { display: block; max-width: none; }
.backdrop { inset: 0; filter: none; transform: none; background: radial-gradient(1200px 700px at 78% -8%, rgba(110, 80, 230, .22), transparent 60%), radial-gradient(900px 600px at 6% 38%, rgba(230, 180, 90, .10), transparent 62%), radial-gradient(1000px 700px at 60% 105%, rgba(40, 90, 200, .16), transparent 60%), var(--night); }
.backdrop::after { content: none; }

/* ---------- footer (2026-11-14 redesign): brand + socials + store badges, game links, learn links, legal row ---------- */
.sfoot { position: relative; z-index: 2; margin-top: auto; padding: 0; text-align: left; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none;
  background: radial-gradient(900px 260px at 15% 0%, rgba(110, 80, 230, .16), transparent 70%), linear-gradient(180deg, rgba(6, 8, 22, .9), #05061a); }
.sfoot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, rgba(230, 180, 90, .25), #f2c46f 30%, #9fd8ff 50%, #f2c46f 70%, rgba(230, 180, 90, .25)); box-shadow: 0 0 10px rgba(130, 190, 255, .5); }
.sfoot-in { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 28px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 34px 56px; }
.sfoot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sfoot-logo { display: block; line-height: 0; }
.sfoot-logo img { width: 92px; height: auto; filter: drop-shadow(0 6px 18px rgba(130, 100, 255, .5)); }
.sfoot-social { display: flex; gap: 8px; }
.sfoot-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #f2e3c0; background: rgba(255, 255, 255, .04); border: 1px solid rgba(230, 180, 90, .32); transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease; }
.sfoot-social a:hover, .sfoot-social a:focus-visible { transform: translateY(-3px); color: #fff; background: rgba(230, 180, 90, .2); border-color: #f6d58b; outline: none; }
.sfoot-social svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.sfoot-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.sfoot-stores a { display: block; line-height: 0; border-radius: 11px; box-shadow: 0 0 0 1px rgba(230, 180, 90, .5); transition: transform .18s ease, box-shadow .18s ease; }
.sfoot-stores img { display: block; height: 44px; width: auto; border-radius: 10px; }
.sfoot-stores a:hover, .sfoot-stores a:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 1.5px #f6d58b, 0 8px 20px rgba(246, 213, 139, .25); outline: none; }
.sfoot-h { margin: 0 0 14px; padding-bottom: 10px; font-family: Cinzel, Georgia, serif; font-weight: 600; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: #f6d58b; border-bottom: 1px solid rgba(230, 180, 90, .3); }
.sfoot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sfoot-col a { display: inline-block; padding: 4px 0; color: #cfcae0; text-decoration: none; font-size: 15px; transition: color .2s ease, transform .2s ease; }
.sfoot-col a:hover, .sfoot-col a:focus-visible { color: #f6d58b; transform: translateX(4px); outline: none; }
.sfoot-base { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0 calc(24px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.sfoot-copy { font-family: Cinzel, Georgia, serif; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #d9cfb9; }
.sfoot .dot { color: #e6b45a; margin: 0 8px; font-size: 11px; }
.sfoot-legal a { margin-left: 18px; color: #b9b7c4; text-decoration: none; font-size: 13.5px; }
.sfoot-legal a:hover, .sfoot-legal a:focus-visible { color: #f6d58b; outline: none; }
.sfoot-ai { flex-basis: 100%; margin: 2px 0 0; max-width: 78ch; font-size: 12px; line-height: 1.5; color: #8f8ba6; }
@media (max-width: 860px) { .sfoot-in { grid-template-columns: 1fr 1fr; gap: 30px 28px; } .sfoot-brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px 24px; } }
@media (max-width: 520px) { .sfoot-in { padding-top: 34px; } .sfoot-legal a:first-child { margin-left: 0; } .sfoot-brand { flex-direction: column; align-items: flex-start; } }

/* ---------- redesigned top bar on the homepage (2026-11-14) ---------- */
/* ---------- top bar (2026-11-14 redesign: glass bar, gold-ring menu button, pill nav, social row, gold app button) ---------- */
.sbar { position: sticky; top: 0; z-index: 60; height: 70px; display: flex; align-items: center; gap: 14px; padding: 0 max(16px, calc((100vw - 1180px) / 2 + 24px));
  background: linear-gradient(90deg, rgba(10, 13, 24, .9), rgba(7, 9, 26, .9) 55%, rgba(4, 8, 30, .9)); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.sbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, rgba(230, 180, 90, .25), #f2c46f 30%, #9fd8ff 50%, #f2c46f 70%, rgba(230, 180, 90, .25)); box-shadow: 0 0 12px rgba(130, 190, 255, .5); }
.slogo { flex: none; display: block; height: 42px; }
.slogo img { height: 100%; width: auto; display: block; }
.sbar .grow { flex: 1; }
.sbar-nav { display: none; align-items: center; gap: 2px; }
.sbar-nav a { position: relative; color: var(--ink-2); text-decoration: none; font-size: 14.5px; padding: 9px 14px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.sbar-nav a:hover, .sbar-nav a:focus-visible { background: rgba(230, 180, 90, .14); color: #fff; outline: none; }
.sbar-nav a[aria-current="page"] { color: var(--gold-hi); background: rgba(230, 180, 90, .12); box-shadow: inset 0 0 0 1px rgba(230, 180, 90, .35); }
.sbar-social { display: none; align-items: center; gap: 2px; margin: 0 4px 0 6px; padding: 0 0 0 14px; border-left: 1px solid rgba(230, 180, 90, .3); }
.sbar-social a, .dsocials a { --c: #fff; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #e8e4f5; transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.sbar-social a[data-n="tiktok"], .dsocials a[aria-label="TikTok"] { --c: #25f4ee; } .sbar-social a[data-n="youtube"], .dsocials a[aria-label="YouTube"] { --c: #ff5a50; }
.sbar-social a[data-n="instagram"], .dsocials a[aria-label="Instagram"] { --c: #ff6fb5; } .sbar-social a[data-n="facebook"], .dsocials a[aria-label="Facebook"] { --c: #6ea8ff; }
.sbar-social a:hover, .sbar-social a:focus-visible, .dsocials a:hover, .dsocials a:focus-visible { color: var(--c); background: rgba(255, 255, 255, .07); transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), 0 6px 16px color-mix(in srgb, var(--c) 30%, transparent); outline: none; }
.sbar-social svg, .dsocials svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.sbar-cta, .dcta { position: relative; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 14px; color: #1a1205; padding: 10px 18px 10px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #fbe3a0, #e6b45a 55%, #c8913c); box-shadow: 0 0 0 1px rgba(255, 236, 180, .65) inset, 0 6px 20px rgba(230, 180, 90, .32); transition: transform .2s ease, box-shadow .2s ease; }
.sbar-cta::before, .dcta::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--dl) center / contain no-repeat; mask: var(--dl) center / contain no-repeat; }
.sbar-cta::after, .dcta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -50%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-18deg); }
.sbar-cta:hover, .sbar-cta:focus-visible, .dcta:hover, .dcta:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 1px #fff3c8 inset, 0 10px 28px rgba(255, 196, 96, .55); outline: none; color: #1a1205; }
.sbar-cta:hover::after, .sbar-cta:focus-visible::after, .dcta:hover::after, .dcta:focus-visible::after { animation: sweep .8s ease forwards; }
@keyframes sweep { to { left: 125%; } }
:root { --dl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v11.2l4.2-4.2 1.6 1.6L12 17.4 6.2 11.6 7.8 10l4.2 4.2V3zM5 19h14v2H5z'/%3E%3C/svg%3E"); }
@media (min-width: 900px) { .sbar-nav { display: flex; } }
@media (min-width: 1180px) { .sbar-social { display: flex; } }
@media (max-width: 380px) { .sbar-cta { padding: 8px 12px 8px 10px; font-size: 12.5px; } .slogo { height: 32px; } }


.dbar { height: 70px; gap: 14px; background: linear-gradient(90deg, rgba(10, 13, 24, .9), rgba(7, 9, 26, .9) 55%, rgba(4, 8, 30, .9)); }
.dsocials { display: none; margin: 0 4px 0 6px; padding-left: 14px; border-left: 1px solid rgba(230, 180, 90, .3); }
@media (min-width: 860px) { .dsocials { display: flex; } }
.dcta { font-size: 14px; padding: 10px 18px 10px 14px; }
.dnav a[aria-current="page"] { color: var(--gold-hi); background: rgba(230, 180, 90, .12); box-shadow: inset 0 0 0 1px rgba(230, 180, 90, .35); }
.dnav a { border-radius: 999px; padding: 9px 14px; }
.dfoot { display: none; }

/* page order on desktop: header, hero, games, steps, links, "What is U.C.M?", footer */
body { display: flex; flex-direction: column; }
.desk { display: contents; }
.dbar { order: 0; } .dhero, .dsec { order: 1; z-index: 1; } .dsec { position: relative; }
.aboutband { order: 2; position: relative; z-index: 1; width: min(860px, calc(100% - 40px)); padding-top: 24px; }
.sfoot { order: 3; margin-top: 0; }
.dhero, .dsec { width: min(var(--wrap), calc(100% - 2 * var(--gut))); }
.dhero { align-self: stretch; width: 100%; }
