:root {
  color-scheme: dark;
  --bg: #03070d;
  --panel: rgba(4, 14, 26, 0.82);
  --panel-strong: rgba(4, 13, 24, 0.94);
  --line: rgba(91, 184, 255, 0.24);
  --text: #f4f8ff;
  --muted: #92a6bd;
  --blue: #087cff;
  --cyan: #51c9ff;
  --ice: #b7eaff;
  --green: #55ffc2;
  --orange: #ffad18;
  --pink: #ff326f;
}

* { box-sizing: border-box; }

html { min-height: 100%; scroll-behavior: smooth; background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, rgba(2, 7, 13, .98) 0%, rgba(2, 8, 15, .88) 33%, rgba(2, 8, 15, .34) 64%, rgba(2, 7, 13, .16) 100%),
    linear-gradient(0deg, rgba(2, 7, 13, .8), transparent 42%),
    url("assets/pepeuffmax-profile-simple-bg.webp");
  background-position: center, center, center;
  background-size: cover;
  background-attachment: fixed;
  font-family: Inter, system-ui, sans-serif;
  overscroll-behavior-x: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, transparent 0 34px, rgba(95, 204, 255, .018) 34px 35px),
    radial-gradient(circle at 10% 35%, rgba(0, 119, 255, .14), transparent 30%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  box-shadow: inset 0 0 140px rgba(0,0,0,.78);
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .52;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .09;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(125, 207, 255, .2) 3px 4px);
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.activity-toast {
  position: fixed;
  z-index: 6;
  left: max(12px, calc((100vw - 1280px) / 2 + 38px));
  top: 104px;
  width: min(620px, calc(100% - 24px));
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px 10px 16px;
  color: #8c98aa;
  background: rgba(6, 10, 18, .94);
  border: 1px solid rgba(116, 141, 178, .14);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
  font-size: 12px;
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(13px);
}

.activity-toast.is-changing { opacity: 0; transform: translateY(-5px); }
.activity-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #19c786; box-shadow: 0 0 10px rgba(25, 199, 134, .72); }
.activity-copy { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.activity-copy strong { color: #f2f4f8; font-weight: 800; }
.activity-copy em { color: #ff2f73; font-style: normal; font-weight: 700; }
.activity-demo { flex: 0 0 auto; padding: 4px 6px; color: #607085; background: rgba(255,255,255,.03); border-radius: 5px; font-size: 6px; font-weight: 800; letter-spacing: .12em; }
.access-dialog .activity-toast { position: static; width: 100%; min-height: 46px; margin: 0 0 16px; padding: 10px 11px 10px 13px; border-radius: 12px; text-align: left; transform: none; }
.access-dialog .activity-toast.is-changing { transform: translateY(-3px); }
.access-dialog .activity-copy { white-space: normal; line-height: 1.45; }

.site-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  min-height: 100vh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  padding: 22px 38px 18px;
}

.topbar {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(100, 185, 255, .18);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 145px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan), transparent);
  box-shadow: 0 0 12px rgba(77, 196, 255, .6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid rgba(94, 193, 255, .55);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(0, 126, 255, .3);
}

.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font-family: "Space Grotesk", sans-serif; font-size: 19px; font-style: italic; letter-spacing: -.02em; }
.brand-copy strong span { color: var(--cyan); }
.brand-copy small { color: #7890aa; font-size: 8px; font-weight: 700; letter-spacing: .22em; }

.top-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: #a7bad0;
  background: rgba(2, 10, 19, .54);
  border: 1px solid rgba(88, 181, 255, .17);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}

.live-dot, .pulse-ring {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(85, 255, 194, .08), 0 0 14px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 650px) 250px;
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  padding: clamp(46px, 8vh, 88px) 0 44px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 7%;
  top: 18%;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(82, 198, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(49, 144, 255, .025), 0 0 0 68px rgba(49, 144, 255, .018);
}

.battle-hud {
  position: absolute;
  right: 0;
  top: 22px;
  display: flex;
  gap: 7px;
}

.battle-hud span {
  padding: 6px 8px;
  color: #66839f;
  background: rgba(3, 12, 22, .56);
  border: 1px solid rgba(91, 177, 255, .12);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .14em;
}

.hero-copy { position: relative; min-width: 0; }
.hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -34px -40px -30px -70px; background: radial-gradient(ellipse at center, rgba(3, 12, 23, .72), transparent 72%); filter: blur(10px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9cdfff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}

.crosshair {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--cyan);
  border: 1px solid rgba(81, 201, 255, .45);
  border-radius: 50%;
  font-size: 15px;
}

h1 {
  max-width: 690px;
  margin: 18px 0 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 6.1vw, 82px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-shadow: 0 8px 32px rgba(0, 0, 0, .65);
}

h1 span {
  color: transparent;
  background: linear-gradient(92deg, #4cc8ff, #1381ff 58%, #b7ecff);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 18px rgba(0, 125, 255, .24));
}

h1::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 0 16px rgba(255, 82, 72, .45);
}

.intro {
  max-width: 570px;
  margin: 0;
  color: #a1b1c4;
  font-size: 15px;
  line-height: 1.7;
  text-shadow: 0 2px 10px #000;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.cta {
  min-width: 350px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 14px 22px 14px 25px;
  color: white;
  background: linear-gradient(105deg, #08a8ff, #0873ef 54%, #173fd5);
  border: 2px solid rgba(115, 225, 255, .9);
  border-radius: 7px;
  box-shadow: 0 15px 42px rgba(0, 119, 255, .42), 0 0 22px rgba(0, 207, 255, .24), inset 0 1px 0 rgba(255,255,255,.3);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
  animation: ctaPulse 2.4s ease-in-out infinite;
  touch-action: manipulation;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.38) 48%, transparent 70%);
  transform: translateX(-115%);
  transition: transform .5s ease;
}

.cta:hover { transform: translateY(-3px); filter: saturate(1.12) brightness(1.08); box-shadow: 0 20px 52px rgba(0, 119, 255, .52), 0 0 30px rgba(0, 213, 255, .34); }
.cta:hover::before { transform: translateX(115%); }
.cta:active { transform: translateY(0); }
.cta:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.cta-label { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font: 900 14px/1 Inter, sans-serif; letter-spacing: .075em; text-shadow: 0 1px 10px rgba(0, 20, 72, .42); }
.cta-label small { color: #dff8ff; font-size: 8px; letter-spacing: .2em; }
.cta-arrow { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(255,255,255,.13); font-size: 27px; transition: transform .2s ease, background .2s ease; }
.cta:hover .cta-arrow { transform: translateX(4px); }

.players-online { display: flex; align-items: center; gap: 10px; }
.players-online div { display: flex; flex-direction: column; gap: 3px; }
.players-online strong { color: #d9eafa; font-size: 9px; letter-spacing: .12em; }
.players-online small { color: #6d829a; font-size: 8px; }

.trust-strip {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.trust-strip span {
  padding: 7px 9px;
  color: #7e9ab6;
  background: rgba(4, 15, 27, .62);
  border: 1px solid rgba(94, 177, 255, .12);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .1em;
}

.loot-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 570px; margin-top: 13px; }
.loot-showcase article { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 9px 10px; background: linear-gradient(120deg, rgba(9, 24, 42, .86), rgba(4, 12, 22, .72)); border: 1px solid rgba(86, 174, 255, .14); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }
.loot-showcase i { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; color: var(--orange); background: rgba(255, 163, 23, .08); border: 1px solid rgba(255, 170, 32, .2); border-radius: 50%; font-style: normal; font-size: 12px; }
.loot-showcase article span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.loot-showcase small { color: #617990; font-size: 6px; font-weight: 800; letter-spacing: .12em; }
.loot-showcase strong { overflow: hidden; color: #b8cee0; font-size: 7px; letter-spacing: .07em; white-space: nowrap; text-overflow: ellipsis; }

.mission-card {
  position: relative;
  align-self: center;
  padding: 16px 17px 18px;
  background: linear-gradient(155deg, rgba(9, 28, 48, .87), rgba(2, 9, 17, .94));
  border: 1px solid rgba(99, 192, 255, .24);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  backdrop-filter: blur(14px);
}

.mission-card::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 2px;
  left: 16px;
  top: 0;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.mission-header { display: flex; justify-content: space-between; color: #7189a2; font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.mission-header strong { color: var(--green); }
.rarity-tag { position: absolute; right: -1px; top: 40px; padding: 6px 8px; color: #211200; background: linear-gradient(90deg, var(--orange), #ffd845); font-size: 6px; font-weight: 900; letter-spacing: .15em; clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%, 0 7px); }
.mission-logo { display: block; width: 108px; height: 108px; margin: 20px auto 15px; object-fit: cover; border: 2px solid #315f88; border-radius: 50%; box-shadow: 0 0 0 5px rgba(67, 169, 255, .07), 0 0 28px rgba(0, 119, 255, .28); }
.mission-card > p { margin: 0; color: var(--cyan); font-size: 8px; font-weight: 800; letter-spacing: .18em; text-align: center; }
.mission-card h2 { margin: 6px 0 14px; font: 700 20px/1 "Space Grotesk", sans-serif; letter-spacing: -.03em; text-align: center; }
.mission-line { height: 2px; margin-bottom: 14px; overflow: hidden; background: rgba(255,255,255,.08); }
.mission-line span { display: block; width: 82%; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 8px var(--cyan); }
.mission-card dl { margin: 0; display: grid; gap: 9px; }
.mission-card dl div { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
.mission-card dt { color: #637a91; font-size: 7px; letter-spacing: .15em; }
.mission-card dd { margin: 0; color: #bdd3e8; font-size: 8px; font-weight: 800; letter-spacing: .1em; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.profile-proof {
  margin: 4px 0 24px;
  overflow: hidden;
  background: #031020;
  border: 1px solid rgba(86, 195, 255, .34);
  border-radius: 13px;
  box-shadow: 0 20px 55px rgba(0,0,0,.36), 0 0 28px rgba(0, 136, 255, .12);
}
.profile-proof a { display: grid; color: inherit; text-decoration: none; }
.profile-proof-action { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 14px; color: #eaf9ff; background: linear-gradient(100deg, rgba(3, 42, 77, .97), rgba(0, 92, 190, .84)); border-top: 1px solid rgba(98, 218, 255, .34); font-size: 8px; font-weight: 900; letter-spacing: .11em; text-align: center; transition: filter .2s ease; }
.profile-proof-action b { font-size: 15px; }
.profile-proof a:hover .profile-proof-action { filter: brightness(1.13); }
.profile-proof a:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.profile-proof img { width: 100%; height: auto; display: block; }

.ff-archive {
  position: relative;
  margin: 10px 0 28px;
  padding: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(5, 18, 32, .86), rgba(3, 10, 19, .7));
  border: 1px solid rgba(89, 182, 255, .16);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  backdrop-filter: blur(14px);
}

.ff-archive::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  top: -130px;
  background: #006eff;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  pointer-events: none;
}

.archive-heading { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 16px; }
.archive-heading > div { display: flex; flex-direction: column; gap: 5px; }
.archive-heading small { color: var(--orange); font-size: 7px; font-weight: 900; letter-spacing: .2em; }
.archive-heading h2 { margin: 0; font: 700 clamp(20px, 2.6vw, 31px)/1 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.archive-heading > span { color: #526b83; font-size: 6px; font-weight: 800; letter-spacing: .14em; }

.archive-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 11px; }
.archive-card { position: relative; min-width: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #07101d; border: 1px solid rgba(106, 200, 255, .2); clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%); box-shadow: 0 16px 35px rgba(0,0,0,.35); isolation: isolate; }
.archive-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .65s ease; }
.archive-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(2, 6, 13, .98), rgba(2, 8, 16, .08) 72%); }
.archive-card::after { content: ""; position: absolute; z-index: 2; inset: -70% -35%; pointer-events: none; background: linear-gradient(110deg, transparent 42%, rgba(135, 227, 255, .22) 50%, transparent 58%); transform: translateX(-70%) rotate(7deg); animation: archiveSweep 8s ease-in-out infinite; }
.archive-card:nth-child(2)::after { animation-delay: -2.7s; }
.archive-card:nth-child(3)::after { animation-delay: -5.4s; }
.archive-card:hover img { transform: scale(1.07); filter: saturate(1.18) contrast(1.05); }
.archive-overlay { position: absolute; z-index: 3; inset: auto 0 0; display: flex; flex-direction: column; gap: 3px; padding: 34px 13px 12px; text-align: left; }
.archive-overlay small { color: var(--cyan); font-size: 6px; font-weight: 900; letter-spacing: .16em; }
.archive-overlay strong { color: white; font: 700 clamp(13px, 1.5vw, 19px)/1 "Space Grotesk", sans-serif; letter-spacing: -.02em; }
.archive-overlay span { color: #738ba2; font-size: 6px; font-weight: 700; letter-spacing: .12em; }

@keyframes archiveSweep {
  0%, 70% { transform: translateX(-70%) rotate(7deg); }
  88%, 100% { transform: translateX(70%) rotate(7deg); }
}

.feature-grid article {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  background: linear-gradient(120deg, rgba(5, 18, 32, .77), rgba(3, 11, 20, .6));
  border: 1px solid rgba(83, 168, 245, .14);
  backdrop-filter: blur(10px);
}

.feature-number { color: rgba(80, 192, 255, .5); font: 700 23px/1 "Space Grotesk", sans-serif; }
.feature-grid article div { display: flex; flex-direction: column; gap: 4px; }
.feature-grid strong { color: #c8dbec; font-size: 9px; letter-spacing: .12em; }
.feature-grid small { color: #657b92; font-size: 8px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  color: #536a80;
  border-top: 1px solid rgba(90, 178, 255, .12);
  font-size: 8px;
  letter-spacing: .04em;
}

.access-dialog {
  width: min(calc(100% - 28px), 450px);
  max-height: 92svh;
  padding: 29px 25px 24px;
  overflow-y: auto;
  color: var(--text);
  background: linear-gradient(155deg, #0a2138, #030b14 70%);
  border: 1px solid rgba(93, 193, 255, .38);
  border-radius: 10px;
  box-shadow: 0 30px 100px rgba(0,0,0,.8), 0 0 45px rgba(0, 120, 255, .2);
  text-align: center;
}

.access-dialog::backdrop { background: rgba(1, 5, 10, .84); backdrop-filter: blur(8px); }
.access-dialog > img { width: 72px; height: 72px; object-fit: cover; border: 2px solid #3b84bb; border-radius: 50%; box-shadow: 0 0 24px rgba(38, 151, 255, .3); }
.dialog-close { position: absolute; right: 8px; top: 7px; width: 44px; height: 44px; cursor: pointer; color: #b9cde0; background: transparent; border: 0; font-size: 29px; line-height: 1; touch-action: manipulation; }
.dialog-close:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.dialog-kicker { margin-top: 13px; color: var(--cyan); font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.access-dialog h2 { margin: 7px 0 8px; font: 700 27px/1 "Space Grotesk", sans-serif; text-transform: uppercase; }
.dialog-status { min-height: 20px; margin: 0; color: #849ab0; font-size: 11px; }
.progress-track { height: 5px; margin: 17px 0 18px; overflow: hidden; background: rgba(255,255,255,.08); border-radius: 999px; }
.progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 10px var(--cyan); transition: width .45s ease; }
.account-preview { display: grid; gap: 15px; margin-bottom: 17px; }
.account-preview[hidden] { display: none; }

.result-card { padding: 14px; background: linear-gradient(160deg, rgba(18, 23, 47, .95), rgba(8, 13, 27, .98)); border: 1px solid rgba(130, 75, 255, .42); border-radius: 15px; }
.result-meta { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 11px; border-bottom: 1px solid rgba(255,255,255,.07); }
.level-badge { padding: 7px 10px; color: white; background: linear-gradient(100deg, #ffba19, #ff8a00); border-radius: 7px; box-shadow: 0 0 18px rgba(255, 158, 0, .3); font-size: 10px; }
.masked-uid { color: #8392aa; font-size: 10px; }
.masked-uid b { font-weight: 600; }
.result-emblem { position: relative; width: 76px; height: 76px; display: grid; place-items: center; margin: 20px auto 24px; color: #3ed8ff; background: #111629; border: 1px dashed #9b5aff; border-radius: 50%; box-shadow: 0 0 25px rgba(126, 68, 255, .3); font-size: 38px; }
.result-emblem i { position: absolute; left: 50%; bottom: -22px; width: 45px; height: 45px; display: grid; place-items: center; transform: translateX(-50%); background: #151b2d; border: 2px solid #ff256a; border-radius: 50%; box-shadow: 0 0 18px rgba(255, 37, 106, .5); font-size: 17px; font-style: normal; }
.reward-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
.reward-grid article { min-height: 70px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px 11px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; }
.reward-grid small { color: #7c889d; font-size: 8px; font-weight: 700; }
.reward-grid strong { color: #f1f4fa; font-size: 11px; line-height: 1.25; }
.reward-grid article:first-child strong { color: #19d4f4; }
.allocation-note { padding: 13px 14px; background: rgba(6, 68, 66, .34); border: 1px solid rgba(35, 222, 181, .28); border-left: 4px solid #15dba9; border-radius: 10px; text-align: left; }
.allocation-note strong { color: #20dcb3; font-size: 9px; }
.allocation-note p { margin: 5px 0 0; color: #b7c7d3; font-size: 10px; line-height: 1.45; }
.dialog-continue { width: 100%; min-height: 60px; display: flex; justify-content: center; align-items: center; gap: 13px; cursor: pointer; color: #eafff8; background: linear-gradient(100deg, #063d32, #015d48); border: 2px solid #13d9a6; border-radius: 9px; box-shadow: 0 0 22px rgba(19, 217, 166, .14); font: 800 11px/1 Inter, sans-serif; letter-spacing: .12em; touch-action: manipulation; }
.dialog-continue:disabled { cursor: wait; opacity: .38; filter: grayscale(.5); }
.dialog-continue:not(:disabled):hover { filter: brightness(1.15); }
.dialog-continue:focus-visible { outline: 3px solid white; outline-offset: 3px; }

.video-tutorial-dialog {
  width: min(calc(100% - 20px), 460px);
  max-height: calc(100svh - 18px);
  padding: 24px 18px 18px;
  overflow-y: auto;
  color: var(--text);
  background: linear-gradient(155deg, #071d35, #020913 72%);
  border: 1px solid rgba(93, 193, 255, .42);
  border-radius: 14px;
  box-shadow: 0 30px 100px rgba(0,0,0,.82), 0 0 45px rgba(0, 120, 255, .22);
  text-align: center;
}
.video-tutorial-dialog::backdrop { background: rgba(1, 5, 10, .88); backdrop-filter: blur(9px); }
.video-tutorial-dialog h2 { margin: 7px 32px 7px; font: 700 25px/1 "Space Grotesk", sans-serif; text-transform: uppercase; }
.video-trust-note { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; padding: 10px 11px; color: #bcefe0; background: rgba(23, 211, 159, .08); border: 1px solid rgba(60, 235, 184, .26); border-radius: 9px; text-align: left; }
.video-trust-note strong { color: var(--green); font-size: 7px; letter-spacing: .14em; }
.video-trust-note span { font-size: 9px; line-height: 1.45; }
.video-tutorial-frame { width: 100%; margin-bottom: 14px; overflow: hidden; background: #000; border: 1px solid rgba(91, 185, 255, .42); border-radius: 12px; box-shadow: 0 13px 32px rgba(0,0,0,.4); }
.video-tutorial-frame video { width: 100%; max-height: 64svh; display: block; object-fit: contain; background: #000; }

.tutorial-dialog {
  width: min(calc(100% - 20px), 430px);
  max-height: calc(100svh - 18px);
  padding: 24px 18px 18px;
  overflow-y: auto;
  color: var(--text);
  background: linear-gradient(155deg, #071d35, #020913 72%);
  border: 1px solid rgba(93, 193, 255, .42);
  border-radius: 14px;
  box-shadow: 0 30px 100px rgba(0,0,0,.82), 0 0 45px rgba(0, 120, 255, .22);
  text-align: center;
}
.tutorial-dialog::backdrop { background: rgba(1, 5, 10, .88); backdrop-filter: blur(9px); }
.tutorial-kicker { color: var(--cyan); font-size: 7px; font-weight: 900; letter-spacing: .2em; }
.tutorial-dialog h2 { margin: 7px 32px 6px; font: 700 25px/1 "Space Grotesk", sans-serif; text-transform: uppercase; }
.tutorial-choice-hint { max-width: 330px; margin: 7px auto 0; color: #8ca1b5; font-size: 10px; line-height: 1.45; }
.tutorial-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 13px 0 11px; }
.tutorial-option { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; color: #7890a8; background: rgba(255,255,255,.035); border: 1px solid rgba(101, 164, 221, .18); border-radius: 9px; font-family: Inter, sans-serif; touch-action: manipulation; }
.tutorial-option small { font-size: 6px; font-weight: 800; letter-spacing: .16em; }
.tutorial-option strong { color: #b9cadb; font-size: 10px; letter-spacing: .08em; }
.tutorial-option.is-active { color: #dff8ff; background: linear-gradient(105deg, rgba(8, 168, 255, .28), rgba(7, 94, 231, .28)); border-color: rgba(115, 225, 255, .78); box-shadow: 0 0 18px rgba(0, 153, 255, .18); }
.tutorial-option.is-active strong { color: white; }
.tutorial-option:focus-visible { outline: 3px solid white; outline-offset: 2px; }
.tutorial-intro { margin: 0 0 14px; color: #8ca1b5; font-size: 11px; line-height: 1.45; }
.tutorial-image-frame { width: 100%; aspect-ratio: 942 / 1450; overflow: hidden; background: white; border: 1px solid rgba(91, 185, 255, .42); border-radius: 12px; box-shadow: 0 13px 32px rgba(0,0,0,.36); }
.tutorial-image-frame.is-tiktok { aspect-ratio: 942 / 1350; }
.tutorial-image-frame img { width: 100%; height: auto; display: block; }
.eligibility-note { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; padding: 11px 12px; color: #ffe99a; background: rgba(255, 181, 0, .09); border: 1px solid rgba(255, 190, 28, .38); border-radius: 9px; text-align: left; }
.eligibility-note strong { color: #ffc93d; font-size: 7px; letter-spacing: .14em; }
.eligibility-note span { font-size: 9px; font-weight: 700; line-height: 1.45; }
.tutorial-note { margin: 12px 0 10px; color: #71879c; font-size: 8px; line-height: 1.45; }
.tutorial-open { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; color: white; background: linear-gradient(105deg, #08a8ff, #075ee7 58%, #173fd5); border: 2px solid rgba(115, 225, 255, .88); border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 119, 255, .34); font: 900 11px/1 Inter, sans-serif; letter-spacing: .08em; touch-action: manipulation; }
.tutorial-open:hover { filter: brightness(1.1); }
.tutorial-open:focus-visible { outline: 3px solid white; outline-offset: 3px; }

@keyframes pulse { 50% { opacity: .55; transform: scale(.78); } }
@keyframes ctaPulse {
  50% { box-shadow: 0 18px 50px rgba(0, 119, 255, .55), 0 0 34px rgba(0, 213, 255, .34), inset 0 1px 0 rgba(255,255,255,.3); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media (max-width: 980px) {
  body {
    background-image:
      linear-gradient(90deg, rgba(2, 7, 13, .97), rgba(2, 8, 15, .67) 70%, rgba(2, 7, 13, .42)),
      linear-gradient(0deg, rgba(2, 7, 13, .86), transparent 40%),
      url("assets/pepeuffmax-profile-simple-bg.webp");
    background-position: center, center, 65% center;
  }
  .hero { grid-template-columns: 1fr 215px; gap: 30px; }
  .action-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  body {
    background-image:
      linear-gradient(rgba(2, 7, 13, .78), rgba(2, 7, 13, .97) 68%),
      url("assets/pepeuffmax-profile-simple-bg.webp");
    background-position: center, 78% top;
    background-size: cover, auto 62vh;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
  body::before, body::after { display: none; }
  #starfield, .scanlines { display: none; }
  .activity-toast { left: 12px; top: 78px; width: calc(100% - 24px); min-height: 41px; padding: 9px 10px 9px 13px; gap: 8px; border-radius: 16px; font-size: 10px; }
  .activity-demo { font-size: 5px; }
  .site-shell {
    min-height: 100svh;
    overflow-x: clip;
    padding:
      max(12px, env(safe-area-inset-top))
      max(13px, env(safe-area-inset-right))
      max(15px, env(safe-area-inset-bottom))
      max(13px, env(safe-area-inset-left));
  }
  .topbar { min-height: 52px; padding-bottom: 10px; }
  .brand { min-height: 44px; gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 7px; }
  .top-status { padding: 8px 9px; font-size: 7px; }
  .hero { min-height: calc(100svh - 124px); display: flex; align-items: center; padding: clamp(27px, 7vw, 36px) 0 24px; }
  .battle-hud { display: none; }
  .hero::before { display: none; }
  .hero-copy { width: 100%; }
  .eyebrow { font-size: 8px; }
  h1 { max-width: 470px; margin: 14px 0 16px; font-size: clamp(40px, 12.7vw, 58px); line-height: .94; text-wrap: balance; }
  .intro { max-width: 440px; font-size: 14px; line-height: 1.55; }
  .action-row { width: 100%; gap: 13px; margin-top: 22px; }
  .cta { width: 100%; max-width: none; min-width: 0; min-height: 80px; padding: 15px 17px 15px 20px; border-radius: 8px; }
  .cta:active { transform: scale(.99); }
  .cta-label { font-size: 15px; }
  .cta-arrow { width: 42px; height: 42px; }
  .players-online, .mission-card, .feature-grid { display: none; }
  .trust-strip { max-width: 470px; margin-top: 15px; }
  .trust-strip span { padding: 7px 6px; }
  footer { flex-direction: column; gap: 5px; padding-top: 11px; font-size: 7px; line-height: 1.4; }
  .loot-showcase { max-width: 470px; }
  .profile-proof { margin: 0 0 17px; border-radius: 10px; }
  .profile-proof-action { min-height: 52px; padding: 11px 9px; font-size: 7px; line-height: 1.35; }
  .ff-archive { margin-top: 0; padding: 16px 0 16px 14px; clip-path: none; border-inline: 0; }
  .archive-heading { padding-right: 14px; }
  .archive-heading > span { display: none; }
  .archive-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86vw, 380px); gap: 9px; padding-right: 14px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0 14px; scrollbar-width: none; touch-action: pan-x; -webkit-overflow-scrolling: touch; }
  .archive-grid::-webkit-scrollbar { display: none; }
  .archive-card { scroll-snap-align: start; }
  .archive-card::after { animation: none; }
  .archive-card-main { aspect-ratio: 16 / 10; }
}

@media (max-width: 480px) {
  .top-status { display: none; }
  .cta { width: 100%; min-width: 0; }
  .trust-strip { flex-wrap: wrap; }
  .trust-strip span { flex: 1 1 auto; text-align: center; }
  .loot-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .loot-showcase article { justify-content: center; padding: 8px 4px; }
  .loot-showcase i { width: 25px; height: 25px; }
  .loot-showcase article span { display: none; }
  .access-dialog {
    width: calc(100% - 10px);
    max-height: calc(100dvh - 10px);
    padding: 22px 13px max(14px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    border-radius: 12px;
  }
  .access-dialog > img { width: 64px; height: 64px; }
  .access-dialog h2 { margin-top: 6px; font-size: clamp(21px, 7vw, 24px); }
  .dialog-close { right: 4px; top: 4px; border-radius: 50%; background: rgba(255,255,255,.035); }
  .access-dialog .activity-toast { margin-bottom: 12px; font-size: 10px; }
  .result-card { padding: 11px; }
  .result-emblem { margin-block: 16px 22px; }
  .account-preview { gap: 12px; margin-bottom: 12px; }
  .dialog-continue { position: sticky; z-index: 4; bottom: 0; min-height: 64px; box-shadow: 0 -9px 20px rgba(3, 11, 20, .7), 0 0 22px rgba(19, 217, 166, .14); }
  .video-tutorial-dialog {
    width: calc(100% - 8px);
    max-height: calc(100dvh - 8px);
    padding: 20px 11px max(11px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    border-radius: 12px;
  }
  .video-tutorial-dialog h2 { margin-inline: 34px; font-size: clamp(20px, 6.5vw, 22px); }
  .video-tutorial-frame video { max-height: 62dvh; }
  #video-tutorial-continue { position: sticky; z-index: 4; bottom: 0; min-height: 66px; box-shadow: 0 -9px 20px rgba(3, 11, 20, .72), 0 14px 34px rgba(0, 119, 255, .34); }
  .tutorial-dialog {
    width: calc(100% - 8px);
    max-height: calc(100dvh - 8px);
    padding: 20px 11px max(11px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    border-radius: 12px;
  }
  .tutorial-dialog h2 { margin-inline: 34px; font-size: clamp(20px, 6.5vw, 22px); }
  .tutorial-choice-hint { font-size: 9px; }
  .tutorial-options { gap: 6px; margin-block: 11px 10px; }
  .tutorial-option { min-height: 58px; padding-inline: 5px; }
  .tutorial-option strong { font-size: 9px; }
  .tutorial-intro { margin-bottom: 11px; font-size: 10px; }
  .tutorial-image-frame { border-radius: 9px; }
  .eligibility-note { margin-top: 10px; padding: 10px; }
  .eligibility-note span { font-size: 10px; }
  .tutorial-note { margin-block: 9px 8px; }
  .tutorial-open { position: sticky; z-index: 4; bottom: 0; min-height: 66px; padding-inline: 9px; font-size: 10px; box-shadow: 0 -9px 20px rgba(3, 11, 20, .72), 0 14px 34px rgba(0, 119, 255, .34); }
  .reward-grid article { min-height: 64px; padding: 9px; }
}

@media (max-width: 360px) {
  .site-shell { padding-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right)); }
  h1 { font-size: 38px; }
  .cta-label { font-size: 13px; }
  .cta-arrow { width: 40px; height: 40px; }
  .trust-strip span { font-size: 6px; }
  .activity-demo { padding: 3px 4px; font-size: 4px; }
  .profile-proof-action { font-size: 6px; }
  .reward-grid { gap: 6px; }
  .reward-grid article { padding: 8px; }
  .reward-grid small { font-size: 7px; }
  .reward-grid strong { font-size: 10px; }
  .tutorial-option strong { font-size: 8px; }
}

@media (max-width: 330px) {
  h1 { font-size: 34px; }
  .intro { font-size: 13px; }
  .cta { min-height: 76px; padding-inline: 16px 13px; }
  .cta-label { font-size: 12px; }
  .trust-strip span { font-size: 5px; }
  .tutorial-dialog { padding-inline: 9px; }
}

@media (max-width: 760px) and (orientation: landscape) {
  .hero { min-height: auto; padding-block: 25px; }
  h1 { max-width: 590px; font-size: clamp(38px, 8vw, 52px); }
}
