/* Titans Productions · titansproductions.com (choose a store) */
:root {
  --bg: #0b0710;
  --text: #f6eef8;
  --muted: #b3a6bf;
  --pink: #ff3d8b;
  --orange: #ff8a3d;
  --gold: #ffd36b;
  --red: #b8341f;
  --sand: #f3c98b;
  --sunset: linear-gradient(90deg, #ff3d8b 0%, #ff8a3d 55%, #ffd36b 100%);
  --display: 'Barlow Condensed', Impact, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --west: 'Special Elite', Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--body); display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* two-tone background: Wild West red on the left, Vice City purple on the right */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg i { position: absolute; top: -20%; bottom: -20%; width: 70%; filter: blur(70px); opacity: 0.55; transition: opacity 0.5s, transform 0.6s; }
.bg-west { left: -20%; background: radial-gradient(closest-side, #7a1d10, transparent); }
.bg-vice { right: -20%; background: radial-gradient(closest-side, #5b1f9e, transparent); }
body.hover-redm .bg-west, body.hover-vice .bg-vice { opacity: 0.9; transform: scale(1.08); }
body.hover-redm .bg-vice, body.hover-vice .bg-west { opacity: 0.25; }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, rgba(255, 61, 139, 0.12), transparent 60%); }

.top { display: flex; justify-content: flex-end; padding: 18px 22px 0; }
.lang select { appearance: none; font: 600 13px var(--body); color: var(--text); background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23b3a6bf'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; padding: 9px 32px 9px 12px; cursor: pointer; }
.lang select:hover, .lang select:focus-visible { border-color: rgba(255, 61, 139, 0.6); outline: none; }
.lang option { background: #160c22; }

main { flex: 1; width: min(1180px, 100% - 40px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; padding: 6px 0 30px; }

/* logo + title */
.brand { text-align: center; display: grid; justify-items: center; gap: 4px; animation: rise 0.8s ease both; }
.logo { width: 230px; height: auto; filter: drop-shadow(0 0 22px rgba(255, 61, 139, 0.35)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.4)); }
.tagline { margin: 10px 0 0; color: var(--muted); font-size: 15px; letter-spacing: 0.04em; }
.choose { margin: 26px 0 22px; display: flex; align-items: center; gap: 14px; font: 800 15px var(--display); letter-spacing: 0.32em; color: #fff; }
.choose::before, .choose::after { content: ""; width: 60px; height: 2px; border-radius: 2px; background: var(--sunset); }
.choose::before { background: linear-gradient(90deg, transparent, var(--red)); }
.choose::after { background: linear-gradient(90deg, var(--pink), transparent); }

/* the two store cards */
.stores { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.store { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; text-decoration: none; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); transform: translateY(0);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s, border-color 0.35s, filter 0.35s; animation: rise 0.8s ease both; }
.store-redm { background: linear-gradient(180deg, #1c0805, #0f0403); }
.store-vice { background: linear-gradient(180deg, #160830, #0c0520); animation-delay: 0.12s; }
.store .art-box { position: relative; height: 240px; overflow: hidden; flex: none;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.store .art { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s cubic-bezier(.2, .8, .2, 1); }
.store-redm .art { background-image: url("/assets/wild-west.svg"); background-position: center 85%; }
.store-vice .art { background-image: url("/assets/vice-city.png"); image-rendering: pixelated; background-position: center 35%; }
.store::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 2; }
.store-redm::before { background: linear-gradient(90deg, #6e1a10, #c2412a, #f3a65a); }
.store-vice::before { background: var(--sunset); }
.content { position: relative; margin-top: -34px; padding: 0 32px 28px; display: grid; gap: 8px; }
.kicker { font: 700 12px var(--display); letter-spacing: 0.24em; color: var(--muted); }
.name { font: italic 900 64px/0.95 var(--display); letter-spacing: 0.01em; }
.store-redm .name { font: 400 58px/1 var(--west); font-style: normal; color: var(--sand); text-shadow: 0 2px 0 #3a0f08, 0 0 24px rgba(194, 65, 42, 0.55); }
.store-vice .name { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(255, 61, 139, 0.45)); padding-right: 6px; }
.desc { max-width: 430px; color: #e2d7e6; font-size: 15px; line-height: 1.55; }
.go { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 13px 22px; border-radius: 12px; font: 800 15px var(--display); letter-spacing: 0.16em; color: #fff; transition: gap 0.25s, box-shadow 0.25s; }
.go b { font-size: 18px; transition: transform 0.25s; }
.store-redm .go { background: linear-gradient(90deg, #8f2825, #c2412a); box-shadow: 0 8px 24px rgba(143, 40, 37, 0.45); font-family: var(--west); font-weight: 400; letter-spacing: 0.08em; }
.store-vice .go { background: var(--sunset); box-shadow: 0 8px 24px rgba(255, 61, 139, 0.4); }
.host { font-size: 12px; color: #8f8299; letter-spacing: 0.02em; }

.store:hover, .store:focus-visible { transform: translateY(-6px); outline: none; }
.store:hover .art, .store:focus-visible .art { transform: scale(1.06); }
.store:hover .go b, .store:focus-visible .go b { transform: translateX(5px); }
.store-redm:hover, .store-redm:focus-visible { border-color: rgba(243, 166, 90, 0.6); box-shadow: 0 24px 70px rgba(143, 40, 37, 0.45); }
.store-vice:hover, .store-vice:focus-visible { border-color: rgba(255, 61, 139, 0.65); box-shadow: 0 24px 70px rgba(255, 61, 139, 0.35); }
.stores:hover .store:not(:hover) { filter: saturate(0.6) brightness(0.75); }

.discord { margin: 30px 0 0; }
.discord a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px; text-decoration: none; font: 800 14px var(--display); letter-spacing: 0.16em;
  background: rgba(88, 101, 242, 0.14); border: 1px solid rgba(88, 101, 242, 0.5); color: #dfe3ff; transition: background 0.2s, transform 0.2s; }
.discord a:hover, .discord a:focus-visible { background: rgba(88, 101, 242, 0.3); transform: translateY(-2px); outline: none; }
.discord svg { width: 20px; height: 20px; }

.foot { text-align: center; padding: 22px 20px 26px; color: #8f8299; font-size: 12px; line-height: 1.6; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.foot p { margin: 2px 0; }
.foot a { color: #c9bcd4; }
.foot a:hover { color: var(--gold); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 860px) {
  .stores { grid-template-columns: 1fr; gap: 16px; }
  .store .art-box { height: 200px; }
  .name { font-size: 52px; }
  .store-redm .name { font-size: 46px; }
  .stores:hover .store:not(:hover) { filter: none; }
}
@media (max-width: 520px) {
  main { width: calc(100% - 28px); }
  .top { padding: 12px 14px 0; }
  .logo { width: 170px; }
  .tagline { font-size: 13px; }
  .choose { margin: 18px 0 16px; font-size: 13px; letter-spacing: 0.24em; }
  .choose::before, .choose::after { width: 34px; }
  .store { border-radius: 18px; }
  .store .art-box { height: 170px; }
  .content { padding: 0 20px 20px; margin-top: -26px; gap: 6px; }
  .name { font-size: 44px; }
  .store-redm .name { font-size: 38px; }
  .desc { font-size: 14px; }
  .go { padding: 11px 18px; font-size: 14px; }
}

/* 404 page */
.nf { justify-content: center; padding: 40px 0; }
.nf .logo { width: 150px; }
.nf-code { margin: 14px 0 0; font: italic 900 92px/1 var(--display); background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 8px; }
.nf-title { margin: 0; font: 800 22px var(--display); letter-spacing: 0.24em; }
.nf .discord a { background: rgba(255, 61, 139, 0.12); border-color: rgba(255, 61, 139, 0.5); color: #fff; }
.tagline.est { margin-top: 12px; font: 700 13px var(--display); letter-spacing: 0.34em; text-transform: uppercase; color: #d9c7e6; }
