:root {
  color-scheme: dark;
  --color-card: #1e1623;
  --color-text: #fff;
  --color-gold: #e5bc94;
  --color-muted: #c9becb;
  --color-border: #ffffff1a;
  --panel-radius: 1.75rem;
  --panel-shadow: 0 12px 36px #00000030;
  --image-background: url("https://yt3.googleusercontent.com/Qq3BKckOorXma3b5V4vPVexhQqknh1xAwLE0dLjVH_DgVwbdM4DzNEU1MkAU7gWz095z9xBi=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj");
  font-family: "Rajdhani", system-ui, sans-serif;
  color: var(--color-text);
  background: #360e19;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2rem, 8vh, 6rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  isolation: isolate;
}
/* The artwork remains the page's backdrop, with only a light softening layer. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--image-background) 20% 20% / cover no-repeat;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #100b1430, #100b1470);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.card {
  width: 100%;
  max-width: 32rem;
  padding: 3.5rem 3rem 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 5rem;
  background: var(--color-card);
  box-shadow: var(--panel-shadow);
  text-align: center;
}
.profile-card { grid-column: 1; grid-row: 1 / 3; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.creator-role {
  margin: 0;
  color: var(--color-gold);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.pfp {
  display: block;
  width: 6rem;
  height: 6rem;
  margin: 0 auto .75rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .7);
}
.title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: "Unica One", "Rajdhani", sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.title b { font-size: 1.5em; font-weight: inherit; line-height: 1; }
.link-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  margin-top: 2.25rem;
}
.social-group { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.icon {
  display: block;
  width: 100%;
  max-width: 4.5rem;
  aspect-ratio: 1;
  justify-self: center;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #990707;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 2px 4px rgba(255, 70, 60, .25), 0 3px 7px rgba(0, 0, 0, .5);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
/* Optical sizing gives each differently shaped logo similar visual weight. */
.icon.a { background-image: url("../images/social/twitter.png"); background-size: 57%; }
.icon.b { background-image: url("../images/social/twitch.png"); background-size: 55%; }
.icon.b { position: relative; }
.icon.b.is-live { outline: 2px solid #ff6379; outline-offset: 3px; }
.icon.b.is-live:focus-visible { outline-color: var(--color-gold); outline-offset: 6px; }
.live-badge { position: absolute; bottom: -.2rem; left: 50%; transform: translateX(-50%); padding: .1rem .45rem; border: 2px solid var(--color-card); border-radius: .4rem; background: #be123c; color: #fff; font-size: .65rem; font-weight: 600; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.live-badge[hidden] { display: none; }
.icon.d { background-image: url("../images/social/discord.png"); background-size: 61%; }
.icon.c { background-image: url("../images/social/youtube.png"); background-size: 60%; }
.count { display: flex; flex-direction: column; align-items: center; gap: .1rem; width: 100%; margin: .6rem 0 0; }
.count-value { font-size: 1rem; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-width: 0; }
.count-label { color: var(--color-muted); font-size: .8rem; font-weight: 500; line-height: 1.4; }
.icon:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 5px; }
.icon:active { transform: scale(.96); }
@media (hover: hover) {
  .icon:hover {
    transform: translateY(-2px) scale(1.04);
    background-color: #bb1525;
    box-shadow: inset 0 2px 4px rgba(255, 90, 70, .3), 0 5px 10px rgba(0, 0, 0, .4);
  }
}
@media (max-width: 860px) {
    .profile-card, }
@media (max-width: 480px) {
  body { padding: 1.5rem 1rem; }
  .card { padding: 2.25rem 1.5rem 1.75rem; border-radius: 4.5rem; }
  .title { font-size: clamp(1.5rem, 8vw, 2.5rem); }
  .pfp { width: 5.5rem; height: 5.5rem; }
  .link-container { gap: .65rem; }
  .count-label { font-size: .7rem; }
  body::before { background-position: 8% center; }
}
@media (max-width: 320px) {
  .card { padding-inline: 1rem; }
  .link-container { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .icon { transition: none; }
  .icon:hover, .icon:active { transform: none; }
}

/* Video feature and the separate game-suggestion page. */
.latest-video { display: block; overflow: hidden; padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--panel-radius); background: var(--color-card); color: var(--color-text); text-decoration: none; box-shadow: var(--panel-shadow); }
.video-media { position: relative; display: grid; place-items: center; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; border-radius: .85rem; background: #151019; }
.video-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-thumbnail[hidden] { display: none; }
.video-copy { padding: 1.25rem .25rem .25rem; }
.video-action { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); color: var(--color-gold); font-size: .95rem; font-weight: 600; }
.latest-video:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 5px; }
@media (hover: hover) {
  .latest-video:hover { border-color: #e5bc9466; }
  .latest-video:hover .video-action { color: var(--color-gold); }
}
@media (max-width: 480px) {
  .latest-video { padding: 1rem; }
  .video-copy { padding: 1rem .25rem .25rem; }
  }
.send-suggestion:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 5px;
  border-radius: .25rem;
}
.suggestions-card { max-width: 36rem; border-radius: var(--panel-radius); padding: 2rem 2.5rem 2.5rem; text-align: left; }
.form-eyebrow { margin: 0 0 .65rem; color: var(--color-gold); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.page-title {
  margin: 0;
  font-family: "Unica One", "Rajdhani", sans-serif;
  font-size: clamp(2rem, 6vw, 2.7rem);
  line-height: 1.15;
  font-weight: 400;
}
.page-intro { margin: .75rem 0 0; color: #c9becb; font-size: 1rem; line-height: 1.5; }
.suggestion-form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.form-field { display: grid; gap: .5rem; min-width: 0; }
.form-field label { display: flex; align-items: baseline; gap: .5rem; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.required-mark { color: var(--color-gold); }
.optional-label { color: #b0a3b3; font-size: .8rem; font-weight: 400; }
.form-field input, .form-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 3.25rem;
  padding: .85rem 1rem;
  border: 1px solid #ffffff26;
  border-radius: .75rem;
  background: #151019;
  color: var(--color-text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
.form-field textarea { resize: vertical; min-height: 8rem; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a596aa; opacity: 1; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--color-gold); outline-offset: 2px; border-color: transparent; }
.form-field [aria-invalid="true"] { border-color: #ee8a92; }
.field-error { margin: 0; color: #ffb3b9; font-size: .9rem; line-height: 1.4; }
.submission-note { margin: 0; padding: .85rem 1rem; border-left: 2px solid var(--color-gold); color: #e2dce4; font-size: .95rem; line-height: 1.5; }
.send-suggestion { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 3.25rem; margin-top: .25rem; padding: .85rem 1.1rem; border: 1px solid #cf3340; border-radius: .75rem; background: #a30d1d; color: white; font: inherit; font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.send-suggestion span { font-size: 1.3rem; line-height: 1; }
.form-note { margin: -.5rem 0 0; color: #b0a3b3; font-size: .8rem; line-height: 1.5; text-align: center; }
@media (hover: hover) {
  .send-suggestion:hover { background: #bb1525; }
}
@media (max-width: 480px) {
  .suggestions-page { padding: 1rem .75rem; }
  .suggestions-card { border-radius: 1.5rem; padding: 1.25rem 1.25rem 1.5rem; }
}
@media (forced-colors: active) {
  .icon { forced-color-adjust: none; border: 1px solid white; }
}
