:root {
  --bg: #030912;
  --bg-2: #071323;
  --panel: rgba(12, 25, 43, .76);
  --panel-2: rgba(19, 35, 58, .86);
  --line: rgba(103, 184, 255, .18);
  --line-strong: rgba(38, 162, 255, .68);
  --text: #f7fbff;
  --muted: #a8b8ca;
  --blue: #179bff;
  --blue-2: #55c3ff;
  --danger: #ff4d6d;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .44);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #020712, #06101e 50%, #020711);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { width: min(1440px, calc(100% - 64px)); margin: 0 auto; }
.site-header {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  height: 84px;
  display: flex;
  align-items: center;
  gap: 34px;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(3, 9, 18, .72);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.brand { font-weight: 900; letter-spacing: .04em; font-size: 28px; white-space: nowrap; }
.brand span { color: #fff; }
.brand strong { color: var(--blue); }
.nav { display: flex; gap: 28px; margin-left: 44px; font-size: 14px; color: rgba(255,255,255,.9); }
.nav a:hover, .footer a:hover { color: var(--blue-2); }
.header-actions { margin-left: auto; display: flex; gap: 14px; }
.nav-toggle { display: none; }
.btn {
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.03);
  color: #fff;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.btn-primary { background: linear-gradient(135deg, var(--blue), #0878ed); border-color: rgba(57, 191, 255, .65); box-shadow: 0 18px 50px rgba(0, 144, 255, .24); }
.btn-glass, .btn-ghost { background: rgba(5, 16, 30, .7); }
.btn-large { min-height: 56px; padding: 0 34px; }
.btn-danger { border-color: rgba(255, 77, 109, .44); color: #fff; background: rgba(255, 77, 109, .12); }
.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 40px;
  align-items: center;
  position: relative;
  padding: 28px 0 46px;
}
.eyebrow { color: var(--blue-2); text-transform: uppercase; letter-spacing: .22em; font-weight: 900; margin: 0 0 18px; }
.hero h1, .page h1 {
  margin: 0;
  font-size: clamp(52px, 7.2vw, 92px);
  line-height: .92;
  letter-spacing: -.055em;
}
.hero h1 br + * { color: var(--blue); }
.hero h1 { background: linear-gradient(180deg, #fff 25%, #d8ecff); -webkit-background-clip: text; color: transparent; }
.hero h1::first-line { color: #fff; }
.lead { color: #cfdae6; font-size: 21px; line-height: 1.55; max-width: 620px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.members { display: flex; align-items: center; gap: 0; margin-top: 30px; color: var(--muted); }
.members b { color: var(--blue-2); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; margin-right: -8px; border: 2px solid #08111f;
  background: radial-gradient(circle at 35% 30%, #f9d3b5 0 20%, #4e6074 21% 55%, #162740 56%);
}
.a2 { background: radial-gradient(circle at 35% 35%, #c99a75 0 22%, #263d56 23% 55%, #0b1726 56%); }
.a3 { margin-right: 16px; background: radial-gradient(circle at 42% 34%, #eed0bf 0 18%, #0b2840 20% 55%, #0b1726 56%); }
.hero-visual {
  min-height: 510px;
  border-radius: 0 0 0 80px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 58% 24%, rgba(92, 204, 255, .92), transparent 6rem),
    radial-gradient(circle at 48% 25%, rgba(0, 119, 255, .65), transparent 18rem),
    linear-gradient(180deg, rgba(10, 38, 65, .92), rgba(3, 9, 18, .98)),
    url('');
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), var(--shadow);
}
.stage-glow::before, .stage-glow::after {
  content: ""; position: absolute; top: 70px; width: 4px; height: 250px; background: linear-gradient(var(--blue-2), transparent); filter: blur(1px); opacity: .65;
}
.stage-glow::before { left: 34%; transform: rotate(-24deg); box-shadow: 90px 0 0 rgba(85,195,255,.6), 190px 0 0 rgba(85,195,255,.35); }
.stage-glow::after { right: 22%; transform: rotate(26deg); box-shadow: -120px 0 0 rgba(85,195,255,.45); }
.crowd {
  position: absolute; inset: 230px 0 0;
  background:
    radial-gradient(circle at 10% 80%, #142947 0 14px, transparent 15px),
    radial-gradient(circle at 18% 78%, #10243e 0 20px, transparent 21px),
    radial-gradient(circle at 28% 82%, #07192e 0 18px, transparent 19px),
    radial-gradient(circle at 38% 78%, #18304e 0 22px, transparent 23px),
    radial-gradient(circle at 50% 83%, #102946 0 24px, transparent 25px),
    radial-gradient(circle at 62% 78%, #162a45 0 21px, transparent 22px),
    radial-gradient(circle at 73% 82%, #0c1f36 0 18px, transparent 19px),
    radial-gradient(circle at 84% 78%, #19314e 0 24px, transparent 25px),
    radial-gradient(circle at 95% 84%, #091b31 0 21px, transparent 22px),
    linear-gradient(180deg, transparent, #01050c 88%);
  filter: saturate(1.25);
}
.silhouette {
  position: absolute; left: 48%; bottom: 0; width: 210px; height: 360px; transform: translateX(-50%);
  background: linear-gradient(#01040a, #02060c); border-radius: 46% 46% 0 0;
  clip-path: polygon(38% 100%, 39% 45%, 27% 29%, 8% 4%, 12% 1%, 36% 24%, 43% 16%, 49% 11%, 56% 15%, 63% 26%, 88% 1%, 93% 4%, 73% 31%, 61% 45%, 62% 100%);
  filter: drop-shadow(0 0 32px rgba(0,0,0,.9));
}
.reward-card { position: absolute; right: 34px; bottom: 52px; width: 260px; padding: 22px 24px; border-radius: 18px; background: rgba(12, 25, 43, .84); border: 1px solid rgba(115, 196, 255, .22); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.reward-card small { color: var(--muted); display: block; margin-bottom: 12px; }
.reward-card strong { font-size: 26px; }
.reward-card span { font-weight: 500; color: #dbeafe; }
.reward-card em { float: right; color: var(--muted); font-style: normal; font-size: 12px; margin-top: 6px; }
.progress { height: 8px; margin-top: 14px; background: rgba(157, 204, 255, .13); border-radius: 99px; overflow: hidden; }
.progress i { height: 100%; display: block; background: linear-gradient(90deg, #24b8ff, #69d6ff); border-radius: inherit; }
.floating { animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.rewards-panel { padding: 22px; margin-top: 4px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
h2 { margin: 0 0 24px; font-size: 24px; text-transform: uppercase; letter-spacing: -.02em; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--blue-2); }
.deal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 20px; }
.deal-card { min-width: 0; background: rgba(3, 13, 25, .78); border: 1px solid rgba(103, 184, 255, .15); border-radius: 14px; overflow: hidden; transition: transform .2s, border-color .2s; }
.deal-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.deal-image { height: 150px; background-size: cover; background-position: center; }
.placeholder { background: radial-gradient(circle at 30% 20%, rgba(88,208,255,.75), transparent 34%), linear-gradient(135deg, #06305a, #09101d 70%); }
.p2 { background: linear-gradient(135deg, #36b8ff, #e6f8ff 36%, #00a084 37%, #0b5f87); }
.p3 { background: linear-gradient(145deg, #d8f1ff 0 42%, #9ab8cf 43% 47%, #1a4970 48%); }
.p4 { background: radial-gradient(circle at 45% 55%, #3f5870 0 25%, transparent 26%), linear-gradient(135deg, #c8dae4, #23364a); }
.p5 { background: linear-gradient(135deg, #3ab9ef, #7de3ff 42%, #0d4a5f 43%, #0e1828); }
.p6 { background: linear-gradient(135deg, #150b0d, #3c1d20 40%, #081427); }
.deal-body { padding: 16px; }
.deal-body h3 { margin: 0 0 8px; font-size: 17px; }
.deal-body p { margin: 0 0 12px; color: var(--muted); }
.deal-body span { font-size: 11px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #169dff, #0769da); padding: 7px 9px; border-radius: 5px; }
.how, .membership, .wallet { margin: 48px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.steps article { position: relative; display: grid; grid-template-columns: 104px 1fr; column-gap: 22px; row-gap: 12px; align-items: start; }
.steps .icon { grid-column: 1; grid-row: 1 / span 2; width: 104px; height: 104px; border-radius: 16px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--blue-2); font-size: 40px; background: rgba(8, 23, 40, .76); box-shadow: 0 0 42px rgba(0, 151, 255, .12); }
.steps b { position: absolute; left: 94px; top: 4px; background: linear-gradient(135deg, var(--blue), #72cfff); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; }
.steps h3 { grid-column: 2; grid-row: 1; margin: 18px 0 0; }
.steps p { grid-column: 2; grid-row: 2; margin: 0; color: var(--muted); line-height: 1.5; max-width: 280px; }
.membership-intro { max-width: 760px; margin: -10px 0 8px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 22px; overflow: visible; }
.price-card { position: relative; min-height: 330px; padding: 32px; border-radius: 16px; background: linear-gradient(180deg, rgba(13, 33, 55, .82), rgba(4, 15, 28, .86)); border: 1px solid rgba(103, 184, 255, .2); display: flex; flex-direction: column; overflow: hidden; }
.price-card.highlight { border-color: #18a9ff; box-shadow: 0 0 58px rgba(0, 162, 255, .22), inset 0 1px rgba(255,255,255,.08); }
.badge { position: absolute; right: 20px; top: -16px; z-index: 5; border-radius: 999px; padding: 9px 16px; background: linear-gradient(135deg, #1ea7ff, #5bc8ff); font-size: 11px; font-weight: 900; }
.price-card h3 { margin: 0 0 12px; color: var(--blue-2); font-size: 22px; }
.price-card .tier-description { min-height: 48px; margin: -4px 0 14px; color: var(--muted); line-height: 1.5; }
.price { font-size: 32px; font-weight: 900; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; }
ul { list-style: none; padding: 0; margin: 24px 0; color: #d4e1f0; line-height: 2; }
li::before { content: '✓'; color: var(--blue-2); margin-right: 10px; }
.price-card .btn { margin-top: auto; width: 100%; }

/* Membership tier kleuren */
.price-card.tier-premium,
.account-membership.tier-premium {
  border-color: rgba(45, 220, 134, .72);
  background:
    radial-gradient(circle at 18% 0%, rgba(45, 220, 134, .22), transparent 32%),
    linear-gradient(180deg, rgba(8, 48, 35, .92), rgba(3, 17, 24, .88));
  box-shadow: 0 0 46px rgba(45, 220, 134, .16), inset 0 1px rgba(255,255,255,.08);
}
.price-card.tier-premium.highlight,
.account-membership.tier-premium.active {
  border-color: rgba(74, 255, 167, .95);
  box-shadow: 0 0 70px rgba(45, 220, 134, .28), inset 0 1px rgba(255,255,255,.12);
}
.price-card.tier-premium h3,
.account-membership.tier-premium h3,
.account-membership.tier-premium .price,
.price-card.tier-premium li::before,
.account-membership.tier-premium li::before {
  color: #54f0a1;
}
.price-card.tier-premium .badge,
.account-membership.tier-premium .badge,
.price-card.tier-premium .btn-primary,
.account-membership.tier-premium .btn-primary {
  background: linear-gradient(135deg, #20c875, #79ffc1);
  color: #03130b;
  box-shadow: 0 14px 34px rgba(45, 220, 134, .24);
}

.price-card.tier-vip,
.account-membership.tier-vip {
  border-color: rgba(255, 200, 83, .76);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 206, 91, .24), transparent 34%),
    linear-gradient(180deg, rgba(55, 38, 9, .9), rgba(6, 15, 25, .9));
  box-shadow: 0 0 52px rgba(255, 185, 57, .18), inset 0 1px rgba(255,255,255,.08);
}
.price-card.tier-vip.active,
.account-membership.tier-vip.active {
  border-color: rgba(255, 222, 118, .96);
  box-shadow: 0 0 78px rgba(255, 190, 48, .3), inset 0 1px rgba(255,255,255,.12);
}
.price-card.tier-vip h3,
.account-membership.tier-vip h3,
.account-membership.tier-vip .price,
.price-card.tier-vip li::before,
.account-membership.tier-vip li::before {
  color: #ffd66b;
}
.price-card.tier-vip .badge,
.account-membership.tier-vip .badge,
.price-card.tier-vip .btn,
.account-membership.tier-vip .btn-primary {
  background: linear-gradient(135deg, #b77a16, #ffd66b 52%, #fff2a8);
  color: #1b1002;
  box-shadow: 0 14px 38px rgba(255, 190, 48, .25);
}
.price-card.tier-vip .btn:hover,
.account-membership.tier-vip .btn-primary:hover,
.price-card.tier-premium .btn-primary:hover,
.account-membership.tier-premium .btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.partners-showcase {
  position: relative;
  padding: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 157, 255, .13), transparent 28%),
    radial-gradient(circle at 88% 100%, rgba(45, 220, 134, .08), transparent 30%),
    linear-gradient(180deg, rgba(10, 28, 48, .92), rgba(5, 18, 33, .9));
}
.partners-showcase::before {
  content: '';
  position: absolute;
  inset: 0 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(70, 190, 255, .72), transparent);
}
.partners-showcase-heading { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.partners-showcase-heading .eyebrow { margin: 0 0 8px; color: var(--blue-2); }
.partners-showcase-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 38px); }
.partners-showcase-heading > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.partner-logo-grid { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.partner-logo-card {
  min-width: 0;
  min-height: 96px;
  padding: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(103, 184, 255, .13);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  color: #fff;
  font-weight: 900;
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.partner-logo-card img { width: min(82%, 170px) !important; height: 48px !important; max-width: 82% !important; max-height: 48px !important; object-fit: contain !important; opacity: .74; filter: grayscale(1) brightness(1.2); transition: opacity .22s ease, filter .22s ease, transform .22s ease; }
.partner-logo-card:hover { transform: translateY(-4px); border-color: rgba(72, 190, 255, .5); background: rgba(16, 54, 83, .58); box-shadow: 0 14px 34px rgba(0, 143, 255, .13); }
.partner-logo-card:hover img { opacity: 1; filter: grayscale(0) brightness(1.08); transform: scale(1.04); }
@media (max-width: 1050px) { .partner-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .partners-showcase { padding: 26px 18px; }
  .partners-showcase-heading { text-align: left; }
  .partners-showcase-heading h2 { font-size: 27px; }
  .partners-showcase-heading > p:last-child { font-size: 15px; }
  .partner-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
  .partner-logo-card { min-height: 78px; padding: 14px 10px; }
  .partner-logo-card img { width: min(82%, 140px) !important; height: 38px !important; max-height: 38px !important; }
}
.wallet { min-height: 380px; display: grid; grid-template-columns: 430px 1fr; gap: 54px; align-items: center; padding: 40px 70px; border-radius: 34px; background: radial-gradient(circle at 20% 90%, rgba(0, 153, 255, .42), transparent 26rem), linear-gradient(180deg, transparent, rgba(6, 22, 38, .62)); }
.wallet-phone-art { display: flex; align-items: center; justify-content: center; min-height: 380px; }
.wallet-phone-art img { width: min(100%, 410px); height: auto; display: block; filter: drop-shadow(0 28px 70px rgba(0, 0, 0, .55)); }
.wallet h2 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 4px; }
.wallet h3 { color: var(--blue-2); letter-spacing: .08em; margin: 0 0 18px; }
.wallet p { color: #c9d8e8; font-size: 18px; line-height: 1.6; }
.footer { width: min(1440px, calc(100% - 64px)); margin: 70px auto 0; padding: 42px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.page { padding: 70px 0; min-height: 70vh; }
.page-grid { grid-template-columns: repeat(4, 1fr); }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.partner-tile { min-height: 160px; border: 1px solid var(--line); background: var(--panel); border-radius: 22px; display: grid; place-items: center; font-size: 22px; font-weight: 900; }
.partner-tile img { max-height: 70px; max-width: 75%; }
.admin-body { background: #050b14; }
.login-card { width: min(470px, calc(100% - 40px)); margin: 10vh auto; padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); box-shadow: var(--shadow); }
.alert { padding: 12px 14px; background: rgba(255,77,109,.14); border: 1px solid rgba(255,77,109,.35); border-radius: 10px; margin-bottom: 18px; }
form label { display: grid; gap: 8px; color: #d8e6f4; font-weight: 700; }
input, textarea, select {
  width: 100%; border: 1px solid rgba(134, 196, 255, .18); border-radius: 12px; background: rgba(4, 13, 25, .88); color: #fff; padding: 13px 14px; font: inherit;
}
textarea { min-height: 110px; resize: vertical; }
.login-card form { display: grid; gap: 18px; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; padding: 28px; border-right: 1px solid var(--line); background: rgba(5, 12, 23, .92); }
.admin-sidebar nav { display: grid; gap: 12px; margin: 40px 0; }
.admin-sidebar nav a { padding: 13px 14px; border-radius: 12px; background: rgba(255,255,255,.03); }
.admin-main { margin-left: 280px; width: auto; padding: 34px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.admin-panel { border: 1px solid var(--line); background: var(--panel); border-radius: 24px; padding: 28px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
.span-2 { grid-column: span 2; }
.check { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.check input { width: auto; }
.admin-list { display: grid; gap: 16px; margin-top: 24px; }
.admin-item { padding: 18px; border: 1px solid rgba(103, 184, 255, .12); border-radius: 18px; background: rgba(3, 13, 25, .55); }
.admin-accommodations {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(103, 184, 255, .12);
}
.admin-accommodations .section-head {
  margin-bottom: 14px;
}
.accommodation-form {
  padding: 14px;
  border: 1px solid rgba(103, 184, 255, .1);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}
.accommodation-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.accommodation-admin-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(103, 184, 255, .1);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}
.accommodation-thumb {
  height: 92px;
}
.accommodation-order-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.accommodation-order-controls span {
  color: var(--muted);
  font-weight: 900;
}
.accommodation-order-controls form {
  display: inline-flex;
}
.accommodation-order-controls .btn {
  min-height: 40px;
  padding: 10px 14px;
}
.accommodation-order-controls .btn:disabled {
  opacity: .45;
  cursor: default;
  box-shadow: none;
}
.xp-action-item {
  display: grid;
  gap: 14px;
}
.xp-action-status {
  align-self: stretch;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
}
.xp-action-status strong {
  display: block;
  color: #fff;
}
.xp-action-status small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}
.xp-action-item.is-inactive {
  opacity: .68;
}
.xp-action-form textarea {
  min-height: 84px;
}
.analytics-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.analytics-stat-card {
  min-width: 0;
  border: 1px solid rgba(103, 184, 255, .14);
  border-radius: 18px;
  padding: 18px;
  background: rgba(3, 13, 25, .58);
}
.analytics-stat-card span,
.analytics-stat-card small,
.analytics-row small {
  color: var(--muted);
}
.analytics-stat-card span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.analytics-stat-card strong {
  display: block;
  margin: 10px 0 4px;
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
}
.analytics-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.analytics-table {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.analytics-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,.025);
}
.analytics-row > * {
  position: relative;
  z-index: 1;
}
.analytics-row strong {
  display: block;
  color: #fff;
  line-height: 1.2;
}
.analytics-row small {
  display: block;
  margin-top: 5px;
  line-height: 1.35;
}
.analytics-row span {
  color: #dff3ff;
  font-weight: 900;
  white-space: nowrap;
}
.analytics-row i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  min-width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #1ea7ff, #5bc8ff);
}
.game-analytics-table {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 16px;
}
.game-analytics-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) repeat(5, minmax(105px, .8fr)) minmax(155px, 1.1fr);
  gap: 14px;
  align-items: center;
  min-width: 1000px;
  padding: 13px 16px;
  border-top: 1px solid rgba(103, 184, 255, .1);
  background: rgba(255, 255, 255, .02);
}
.game-analytics-row:first-child { border-top: 0; }
.game-analytics-game-block + .game-analytics-game-block { border-top: 8px solid rgba(3, 13, 25, .72); }
.game-analytics-row > span { min-width: 0; color: #dff3ff; }
.game-analytics-row strong { display: block; color: #fff; line-height: 1.25; }
.game-analytics-row small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.3; }
.game-analytics-game-title {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: none;
}
.game-analytics-game-title img {
  flex: 0 0 42px;
  width: 42px;
  max-width: 42px;
  height: 28px;
  border: 1px solid rgba(103, 184, 255, .16);
  border-radius: 6px;
  object-fit: cover;
  background: rgba(255, 255, 255, .04);
}
.game-analytics-head {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(30, 167, 255, .06);
}
.game-analytics-head > span { color: var(--muted); }
.game-analytics-head .game-analytics-game-title strong { color: #fff; letter-spacing: 0; }
.thumb { width: 100%; height: 80px; border-radius: 12px; background: rgba(255,255,255,.05); overflow: hidden; display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.logo-thumb img { object-fit: contain; padding: 12px; }
.bg-orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  filter: none;
  opacity: 1;
}
.orb-1 {
  background:
    radial-gradient(circle at 18% 22%, rgba(41, 185, 255, .20), transparent 18rem),
    radial-gradient(circle at 84% 14%, rgba(56, 129, 255, .18), transparent 22rem),
    linear-gradient(90deg, rgba(2, 8, 17, .92) 0%, rgba(2, 8, 17, .66) 18%, rgba(2, 8, 17, .28) 34%, rgba(2, 8, 17, .18) 50%, rgba(2, 8, 17, .28) 66%, rgba(2, 8, 17, .66) 82%, rgba(2, 8, 17, .92) 100%),
    linear-gradient(180deg, rgba(2, 8, 17, .06), rgba(2, 8, 17, .48) 82%, rgba(2, 8, 17, .78)),
    url('/images/site-background.webp') center top / cover no-repeat;
}
.orb-2 {
  display: none;
}
@media (max-width: 1050px) {
  main, .site-header, .footer { width: min(100% - 36px, 900px); }
  .nav-toggle { display: block; margin-left: auto; background: none; border: 1px solid var(--line); color: #fff; width: 44px; height: 44px; border-radius: 10px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 84px; padding: 18px; flex-direction: column; background: rgba(3,9,18,.96); border: 1px solid var(--line); border-radius: 18px; }
  .nav.open { display: flex; }
  .header-actions { margin-left: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { border-radius: 34px; }
  .deal-grid, .page-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .pricing-grid, .wallet, .partner-grid { grid-template-columns: 1fr; }
  .wallet { padding: 34px 24px; }
  .wallet-phone-art { min-height: 0; }
  .wallet-phone-art img { width: min(100%, 320px); }
  .admin-sidebar { position: static; width: auto; }
  .admin-main { margin-left: 0; padding: 18px; }
  .form-grid, .form-grid.compact, .analytics-stat-grid, .analytics-split-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
}
@media (max-width: 640px) {
  .site-header { gap: 12px; }
  .brand { font-size: 22px; }
  .header-actions .btn-ghost { display: none; }
  .hero h1 { font-size: 48px; }
  .hero-visual { min-height: 380px; }
  .reward-card { right: 16px; left: 16px; bottom: 20px; width: auto; }
  .deal-grid, .page-grid { grid-template-columns: 1fr; }
  .steps article { grid-template-columns: 74px 1fr; column-gap: 16px; row-gap: 10px; }
  .steps .icon { width: 74px; height: 74px; font-size: 30px; }
  .steps b { left: 66px; }
  .steps h3 { margin-top: 8px; }
  .steps p { max-width: none; }
  .footer { flex-direction: column; gap: 20px; }
}


/* Realistic hero event photo + app store badges */
.hero-event-photo {
  isolation: isolate;
  border-radius: 28px 28px 28px 82px;
  background:
    linear-gradient(90deg, rgba(2, 8, 17, .28), rgba(2, 8, 17, .04) 42%, rgba(2, 8, 17, .22)),
    url('/img/hero-event.webp') center / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 -120px 130px rgba(2, 8, 17, .36),
    0 35px 100px rgba(0,0,0,.52),
    0 0 70px rgba(29, 153, 255, .16);
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 55% 22%, rgba(85, 195, 255, .18), transparent 18rem),
    linear-gradient(180deg, rgba(2, 8, 17, .06), rgba(2, 8, 17, .36));
}
.hero-event-photo .reward-card { z-index: 2; }

.wallet {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 78%, rgba(0, 153, 255, .42), transparent 22rem),
    radial-gradient(circle at 75% 20%, rgba(85, 195, 255, .13), transparent 22rem),
    linear-gradient(135deg, rgba(4, 18, 33, .88), rgba(2, 8, 17, .96));
  border: 1px solid rgba(103, 184, 255, .14);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.04);
}
.wallet::before {
  content: "";
  position: absolute;
  left: -12%;
  bottom: -48%;
  width: 55%;
  height: 95%;
  background: radial-gradient(circle, rgba(33, 169, 255, .34), transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}
.wallet > * { position: relative; z-index: 1; }
.phone-real {
  position: relative;
  width: 268px;
  height: 438px;
  padding: 13px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.22), transparent 12%),
    linear-gradient(145deg, #202c3c, #02060c 58%, #1a2635);
  box-shadow:
    32px 44px 92px rgba(0,0,0,.64),
    -18px 22px 70px rgba(0, 142, 255, .22),
    inset 1px 1px 0 rgba(255,255,255,.18),
    inset -2px -2px 0 rgba(0,0,0,.45);
}
.phone-real::before,
.phone-real::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
}
.phone-real::before { left: -4px; top: 118px; width: 3px; height: 66px; }
.phone-real::after { right: -4px; top: 146px; width: 3px; height: 84px; }
.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 21px;
  left: 50%;
  width: 92px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: #02060c;
  box-shadow: inset 0 -1px rgba(255,255,255,.08);
}
.phone-real .phone-screen {
  padding: 42px 22px 24px;
  border-radius: 31px;
  background:
    radial-gradient(circle at 82% 0%, rgba(44, 171, 255, .22), transparent 10rem),
    linear-gradient(180deg, #071b30, #02070e 70%);
}
.phone-real .mini-cards i:nth-child(1) { background: linear-gradient(180deg, #29a9ff, #0c335c); }
.phone-real .mini-cards i:nth-child(2) { background: linear-gradient(180deg, #7d42ff, #142848); }
.phone-real .mini-cards i:nth-child(3) { background: linear-gradient(180deg, #1e9fff, #09345d); }
.store-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  align-items: center;
}
.store-badge {
  height: 58px;
  min-width: 178px;
  padding: 7px 14px 7px 12px;
  border-radius: 9px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.10);
  transition: transform .18s ease, border-color .18s ease;
}
.store-badge:hover { transform: translateY(-2px); border-color: rgba(85,195,255,.75); }
.store-badge small { display: block; font-size: 10px; line-height: 1; letter-spacing: .03em; color: #fff; font-weight: 500; }
.store-badge strong { display: block; font-size: 21px; line-height: 1.05; letter-spacing: -.02em; }
.store-icon.apple { font-size: 34px; line-height: 1; margin-top: -2px; }
.store-icon.play {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.store-icon.play i {
  width: 30px;
  height: 30px;
  display: block;
  clip-path: polygon(12% 4%, 92% 50%, 12% 96%);
  background: linear-gradient(135deg, #00d36f 0 32%, #27a7ff 33% 55%, #ffd12f 56% 72%, #ff4a4a 73%);
  box-shadow: 0 0 18px rgba(39, 167, 255, .25);
}
@media (max-width: 1050px) {
  .hero-event-photo { border-radius: 34px; min-height: 430px; }
  .store-badges { justify-content: center; }
}
@media (max-width: 640px) {
  .hero-event-photo { min-height: 350px; background-position: center; }
  .phone-real { width: 230px; height: 378px; }
  .store-badge { min-width: 160px; height: 54px; }
  .store-badge strong { font-size: 18px; }
}

.admin-sidebar nav a.active {
  background: linear-gradient(135deg, rgba(30, 167, 255, .26), rgba(91, 200, 255, .10));
  border: 1px solid rgba(91, 200, 255, .26);
  color: #fff;
}
.deal-link { display: block; color: inherit; text-decoration: none; }
.user-pill { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: #dcecff; background: rgba(255,255,255,.04); font-weight: 800; }
.header-actions form { margin: 0; }
.auth-modal[hidden] { display: none; }
.auth-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.auth-backdrop { position: absolute; inset: 0; background: rgba(0, 5, 12, .78); backdrop-filter: blur(10px); }
.auth-dialog { position: relative; width: min(520px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, rgba(9, 25, 43, .98), rgba(3, 12, 24, .98)); box-shadow: var(--shadow); }
.auth-close { position: absolute; right: 18px; top: 14px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); color: #fff; font-size: 24px; cursor: pointer; }
.auth-dialog h2 { margin-bottom: 10px; }
.auth-intro { color: var(--muted); line-height: 1.55; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03); }
.auth-tabs button { border: 0; border-radius: 12px; padding: 12px; background: transparent; color: var(--muted); font-weight: 900; cursor: pointer; }
.auth-tabs button.active { background: linear-gradient(135deg, #1ea7ff, #5bc8ff); color: #fff; }
.auth-form { display: grid; gap: 16px; }
.auth-form[hidden] { display: none; }
.auth-message { min-height: 20px; margin: 0; color: #ff8fa3; font-weight: 800; }
.auth-switch-line { margin: 4px 0 0; color: var(--muted); text-align: center; line-height: 1.45; }
.auth-switch-line button { border: 0; padding: 0; background: transparent; color: #5bc8ff; font: inherit; font-weight: 900; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.modal-open { overflow: hidden; }
.auth-page .login-card { min-height: 420px; }
.detail-panel { display: grid; grid-template-columns: minmax(260px, 480px) 1fr; gap: 36px; padding: 30px; }
.detail-image { min-height: 520px; border-radius: 24px; background-size: cover; background-position: center; border: 1px solid var(--line); }
.detail-content h1 { font-size: clamp(34px, 5vw, 64px); margin: 12px 0; line-height: .95; text-transform: uppercase; }
.detail-content h2 { margin: 28px 0 8px; font-size: 18px; }
.detail-content p { color: #d1dfed; line-height: 1.7; }
.detail-type { display: inline-flex; font-size: 12px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #169dff, #0769da); padding: 9px 12px; border-radius: 7px; }
.detail-meta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; color: var(--muted); }
.detail-meta span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--blue-2); font-weight: 900; }
.btn-danger { background: rgba(255,77,109,.12); border: 1px solid rgba(255,77,109,.4); color: #ff9daf; }
@media (max-width: 900px) { .detail-panel { grid-template-columns: 1fr; } .detail-image { min-height: 320px; } .auth-dialog { padding: 26px; } }
.section-note { margin: 8px 0 0; color: var(--muted); line-height: 1.5; font-weight: 700; }
.auth-helper { margin: -6px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.country-pill { align-self: end; color: var(--muted); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,.03); font-size: .92rem; }

.avatar.uploaded {
  overflow: hidden;
  background: #10233a;
}
.avatar.uploaded img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-avatar-settings {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.025);
}
.admin-avatar-settings h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #fff;
}
.admin-avatar-settings p {
  margin: 0 0 16px;
  color: var(--muted);
}
.avatar-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.avatar-upload-card {
  gap: 10px;
}
.avatar-preview {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid rgba(91,199,255,.35);
  background: radial-gradient(circle at 35% 30%, #f9d3b5 0 20%, #4e6074 21% 55%, #162740 56%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.avatar-preview-2 { background: radial-gradient(circle at 35% 35%, #c99a75 0 22%, #263d56 23% 55%, #0b1726 56%); }
.avatar-preview-3 { background: radial-gradient(circle at 42% 34%, #eed0bf 0 18%, #0b2840 20% 55%, #0b1726 56%); }
.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 760px) {
  .avatar-upload-grid { grid-template-columns: 1fr; }
}

/* Evenementenagenda */
.events-page {
  padding-top: 38px;
}
.events-hero {
  display: block;
  padding: 38px;
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 78% 22%, rgba(34, 170, 255, .26), transparent 18rem),
    linear-gradient(135deg, rgba(12, 32, 54, .92), rgba(4, 14, 27, .92));
}
.events-hero h1 {
  margin: 6px 0 10px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.05em;
}
.events-hero p:not(.eyebrow) {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.events-layout {
  display: block;
}
.events-summary {
  position: sticky;
  top: 110px;
  padding: 26px;
}
.summary-number {
  display: block;
  font-size: 64px;
  line-height: .9;
  font-weight: 950;
  color: #fff;
  letter-spacing: -.05em;
}
.events-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.events-summary p {
  color: var(--muted);
  line-height: 1.55;
}
.event-list {
  display: grid;
  gap: 18px;
}
.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(320px, 420px) 1fr;
  gap: 22px;
  padding: 18px;
  overflow: hidden;
  align-items: stretch;
}
.event-card.is-highlighted {
  border-color: rgba(91, 200, 255, .42);
  box-shadow: 0 0 70px rgba(0, 145, 255, .12), var(--shadow);
}
.event-date-badge {
  align-self: stretch;
  min-height: 142px;
  border: 1px solid rgba(91, 200, 255, .28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(27, 159, 255, .24), rgba(5, 16, 29, .72));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
}
.event-date-badge span {
  display: block;
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
}
.event-date-badge small {
  display: block;
  margin-top: -18px;
  color: var(--blue-2);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.event-cover {
  border-radius: 18px;
  border: 1px solid rgba(103, 184, 255, .14);
  background: rgba(2, 9, 18, .7);
  overflow: hidden;
  align-self: center;
}
.event-cover img {
  width: 100%;
  height: auto;
  display: block;
}
.event-cover-placeholder {
  min-height: 220px;
  background:
    radial-gradient(circle at 25% 25%, rgba(91, 200, 255, .65), transparent 26%),
    radial-gradient(circle at 72% 72%, rgba(40, 111, 255, .42), transparent 28%),
    linear-gradient(135deg, #07182b, #0b1020 72%);
}
.event-info {
  padding: 4px 6px 4px 0;
  display: flex;
  flex-direction: column;
}
.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.event-meta-row span {
  padding: 8px 10px;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.event-meta-row .event-label {
  color: #fff;
  background: linear-gradient(135deg, #169dff, #0769da);
  border-color: transparent;
}
.event-info h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}
.event-location, .event-description {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 10px;
}
.event-description {
  color: #d4e2f0;
}
.event-actions {
  margin-top: auto;
  display: grid;
  gap: 12px;
}
.event-main-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.event-engagement-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 16px;
}
.event-engagement-row span {
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  font-weight: 800;
  font-size: 13px;
}
.event-engagement-row strong,
.event-engagement-row .event-user-status {
  color: #fff;
}
.event-engagement-row .event-user-status {
  border-color: rgba(43, 210, 122, .35);
  background: rgba(43, 210, 122, .12);
}
.event-rsvp-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.rsvp-btn {
  min-height: 46px;
  border: 1px solid rgba(255, 178, 69, .45);
  border-radius: 13px;
  padding: 12px 18px;
  color: #1b1000;
  background: linear-gradient(135deg, #ffb23f, #ff7a1a);
  box-shadow: 0 14px 30px rgba(255, 122, 26, .18);
  font: inherit;
  font-weight: 1000;
  text-align: center;
  cursor: pointer;
}
.rsvp-btn.is-active {
  border-color: rgba(43, 210, 122, .5);
  color: #04150b;
  background: linear-gradient(135deg, #35d878, #1fa85a);
  box-shadow: 0 14px 30px rgba(43, 210, 122, .18);
}
.rsvp-btn:hover {
  transform: translateY(-1px);
}
.event-login-rsvp {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.event-accommodation-panel {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid rgba(103, 184, 255, .13);
}
.event-accommodation-panel[hidden] {
  display: none;
}
.event-accommodation-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.event-accommodation-head h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
}
.event-accommodation-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.event-accommodation-meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.event-accommodation-head span {
  flex: 0 0 auto;
  border: 1px solid rgba(103, 184, 255, .18);
  border-radius: 999px;
  padding: 8px 12px;
  color: #dff3ff;
  font-weight: 900;
  background: rgba(255,255,255,.035);
}
.event-accommodation-controls {
  display: inline-flex;
  gap: 8px;
}
.accommodation-scroll-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(103, 184, 255, .18);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.045);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.accommodation-scroll-btn:hover {
  border-color: rgba(35, 166, 255, .55);
  background: rgba(35, 166, 255, .14);
}
.event-accommodation-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 4px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(103, 184, 255, .45) rgba(255,255,255,.04);
}
.event-accommodation-list::-webkit-scrollbar {
  height: 10px;
}
.event-accommodation-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,.04);
  border-radius: 999px;
}
.event-accommodation-list::-webkit-scrollbar-thumb {
  background: rgba(103, 184, 255, .45);
  border-radius: 999px;
}
.event-accommodation-item {
  flex: 0 0 clamp(300px, 32vw, 430px);
  min-width: 0;
  display: grid;
  grid-template-rows: 150px 1fr;
  scroll-snap-align: start;
  border: 1px solid rgba(103, 184, 255, .13);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.025);
}
.event-accommodation-image {
  min-width: 0;
  background: rgba(2, 9, 18, .72);
}
.event-accommodation-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.event-accommodation-image.is-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}
.event-accommodation-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}
.event-accommodation-copy h4 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}
.event-accommodation-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.event-accommodation-copy .btn {
  width: fit-content;
  margin-top: 4px;
}
.ticket-muted {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
  font-weight: 900;
}
.event-empty {
  padding: 36px;
}
@media (max-width: 1050px) {
  .event-card { grid-template-columns: 86px 1fr; }
  .event-cover { grid-column: 1 / -1; order: -1; width: 100%; }
  .event-accommodation-item { flex-basis: min(340px, calc(100vw - 72px)); }
}
@media (max-width: 640px) {
  .events-hero { padding: 26px; }
  .event-card { grid-template-columns: 1fr; }
  .event-date-badge { min-height: 86px; grid-template-columns: auto auto; justify-content: center; gap: 8px; }
  .event-date-badge small { margin-top: 0; }
  .event-cover-placeholder { min-height: 220px; }
  .event-actions, .event-accommodation-head { align-items: stretch; flex-direction: column; }
  .event-accommodation-meta { justify-content: space-between; }
  .event-accommodation-item { flex-basis: min(300px, calc(100vw - 54px)); }
}

/* Uitgelichte events op de landingspagina */
.featured-events-panel {
  padding: 22px;
  margin-top: 26px;
}
.featured-event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.featured-event-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(103, 184, 255, .15);
  border-radius: 16px;
  background: rgba(3, 13, 25, .78);
  transition: transform .2s, border-color .2s;
}
.featured-event-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}
.featured-event-poster {
  height: 150px;
  background: rgba(2, 9, 18, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.featured-event-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-event-body {
  padding: 14px 16px 16px;
}
.featured-event-body span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.featured-event-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.12;
}
.featured-event-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

/* Agenda filters */
.event-filter {
  padding: 22px;
  margin: 0 0 18px;
}
.event-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}
.event-filter h2 {
  margin: 0;
  font-size: 22px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.month-filter-wrap {
  margin-top: 12px;
}
.filter-chip {
  border: 1px solid rgba(103, 184, 255, .18);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #d8e6f4;
  padding: 11px 16px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.filter-chip:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.filter-chip.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #169dff, #0769da);
  box-shadow: 0 8px 24px rgba(0, 145, 255, .2);
}
.event-card[hidden],
.event-empty[hidden],
.month-row[hidden] {
  display: none;
}
@media (max-width: 1050px) {
  .featured-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .featured-event-grid { grid-template-columns: 1fr; }
  .event-filter-head { display: grid; }
  .filter-chip { width: auto; }
}

/* Rustige blauwe glow voor uitgelichte events op de agenda */
.event-card.is-highlighted {
  border-color: rgba(91, 200, 255, .62);
  box-shadow:
    0 0 0 1px rgba(91, 200, 255, .18),
    0 0 34px rgba(0, 145, 255, .24),
    0 0 86px rgba(0, 145, 255, .10),
    var(--shadow);
}

.event-card.is-highlighted::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(91, 200, 255, .10), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(91, 200, 255, .16), transparent 32%);
  opacity: .85;
}

.event-card.is-highlighted > * {
  position: relative;
  z-index: 1;
}

/* Account button and account page */
.account-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(85, 195, 255, .46);
  background: radial-gradient(circle at 30% 22%, rgba(85,195,255,.32), rgba(8, 22, 39, .94) 62%);
  box-shadow: 0 0 28px rgba(23, 155, 255, .22), inset 0 1px rgba(255,255,255,.14);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.account-circle:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 195, 255, .9);
  box-shadow: 0 0 42px rgba(23, 155, 255, .34), inset 0 1px rgba(255,255,255,.18);
}
.account-circle svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}
.account-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-dashboard {
  display: grid;
  gap: 24px;
}
.account-page h1 { font-size: clamp(34px, 4vw, 60px); }
.account-hero-pro {
  position: relative;
  overflow: hidden;
  padding: 30px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 0;
  background:
    radial-gradient(circle at 76% 12%, rgba(91, 200, 255, .22), transparent 24rem),
    linear-gradient(135deg, rgba(8, 25, 44, .95), rgba(3, 12, 24, .94));
}
.account-avatar-large {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 24%, rgba(85,195,255,.42), rgba(6, 18, 32, .95) 62%);
  border: 1px solid rgba(85, 195, 255, .46);
  box-shadow: 0 0 54px rgba(23, 155, 255, .2);
  font-size: 46px;
}
.account-avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.account-hero-copy { min-width: 0; }
.account-hero-copy h1 { margin: 4px 0 6px; line-height: .95; }
.account-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.account-hero-tags span {
  border: 1px solid rgba(91, 200, 255, .18);
  border-radius: 999px;
  padding: 9px 12px;
  color: #dff3ff;
  background: rgba(255,255,255,.045);
  font-weight: 900;
}
.account-muted { color: var(--muted); line-height: 1.55; margin: 8px 0 0; }
.account-muted strong { color: var(--blue-2); }
.account-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
}
.account-tabs button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 1000;
  cursor: pointer;
}
.account-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #1ea7ff, #23b45f);
  box-shadow: 0 12px 28px rgba(0, 145, 255, .16);
}
.account-tab-panel {
  display: grid;
  gap: 22px;
}
.account-tab-panel[hidden] {
  display: none;
}
.wallet-overview-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
.account-event-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.account-event-summary span {
  border: 1px solid rgba(103, 184, 255, .13);
  border-radius: 16px;
  padding: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  font-weight: 800;
}
.account-event-summary strong {
  display: block;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 6px;
}
.account-event-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.account-event-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.025);
}
.account-event-item.is-attended {
  border-color: rgba(43, 210, 122, .34);
  background: linear-gradient(135deg, rgba(43, 210, 122, .09), rgba(255,255,255,.025));
}
.account-event-media {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.account-event-poster {
  min-height: 118px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(103, 184, 255, .14);
  background: rgba(2, 9, 18, .7);
}
.account-event-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.account-event-poster.is-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
}
.account-event-date {
  min-height: 78px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(27, 159, 255, .24), rgba(5, 16, 29, .72));
  border: 1px solid rgba(91, 200, 255, .24);
}
.account-event-date strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}
.account-event-date span {
  color: var(--blue-2);
  font-weight: 1000;
  text-transform: uppercase;
}
.account-event-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.account-event-title-row h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}
.account-event-title-row span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 10px;
  color: #dff3ff;
  background: rgba(91, 200, 255, .12);
  border: 1px solid rgba(91, 200, 255, .22);
  font-weight: 900;
  font-size: 13px;
}
.account-event-copy p,
.account-event-copy small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  margin: 8px 0 0;
}
.account-event-actions form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.wallet-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: 22px;
}
.wallet-command-card,
.wallet-action-panel,
.account-card-pro {
  padding: 26px;
}
.wallet-command-primary {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(35, 180, 95, .24), transparent 18rem),
    radial-gradient(circle at 4% 100%, rgba(30, 167, 255, .22), transparent 20rem),
    linear-gradient(145deg, rgba(4, 15, 28, .95), rgba(5, 20, 34, .92));
}
.wallet-command-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}
.wallet-command-head h2 {
  margin: 4px 0 4px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .9;
}
.wallet-command-head p {
  margin: 0;
  color: #c8d9ea;
  font-weight: 800;
}
.wallet-level-ring {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #06111f 0 58%, transparent 59%),
    conic-gradient(#5bc8ff var(--progress), rgba(255,255,255,.1) 0);
  box-shadow: 0 18px 40px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.08);
}
.wallet-level-ring span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateY(10px);
}
.wallet-level-ring strong {
  color: #fff;
  font-size: 38px;
  line-height: .8;
  transform: translateY(-12px);
}
.wallet-progress-track {
  height: 10px;
  margin: 24px 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.wallet-progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #23b45f, #5bc8ff);
}
.wallet-earn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.wallet-earn-grid span,
.wallet-locked-note {
  border: 1px solid rgba(103, 184, 255, .13);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-weight: 800;
}
.wallet-earn-grid strong {
  display: block;
  margin-top: 6px;
  color: #fff;
}
.wallet-locked-note {
  margin-top: 14px;
  color: #ffe6a7;
  border-color: rgba(255, 206, 89, .28);
  background: rgba(255, 206, 89, .08);
}
.wallet-actions-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.wallet-mini-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.025);
}
.wallet-mini-form .btn {
  min-height: 48px;
}
.account-content-grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}
.account-side-stack,
.account-main-stack {
  display: grid;
  gap: 22px;
}
.wallet-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.wallet-badge {
  min-height: 124px;
  border: 1px solid rgba(103, 184, 255, .11);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.025);
  opacity: .62;
}
.wallet-badge.active {
  opacity: 1;
  border-color: rgba(91, 200, 255, .32);
  background: linear-gradient(145deg, rgba(30, 167, 255, .12), rgba(255,255,255,.035));
}
.wallet-badge span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #04111f;
  background: #5bc8ff;
  font-weight: 900;
}
.wallet-badge strong {
  display: block;
  margin: 12px 0 4px;
  color: #fff;
}
.wallet-badge small,
.wallet-history-empty {
  color: var(--muted);
  line-height: 1.45;
}
.wallet-history {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.wallet-history-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.025);
}
.wallet-history-item > span {
  width: 58px;
  min-height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #06150c;
  background: linear-gradient(135deg, #23b45f, #49d981);
  font-weight: 1000;
}
.wallet-history-item strong {
  display: block;
  color: #fff;
}
.wallet-history-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.account-form-pro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.account-form-pro .btn {
  justify-self: start;
}
.account-notice { padding: 14px 16px; border-radius: 14px; font-weight: 800; transition: opacity .35s ease, transform .35s ease, max-height .35s ease, margin .35s ease, padding .35s ease; overflow: hidden; }
.account-notice.is-hiding { opacity: 0; transform: translateY(-8px); max-height: 0; margin: 0; padding-top: 0; padding-bottom: 0; }
.account-notice.success { background: rgba(43, 210, 122, .14); border: 1px solid rgba(43, 210, 122, .32); color: #dfffee; }
.account-notice.error { background: rgba(255, 77, 109, .14); border: 1px solid rgba(255, 77, 109, .35); color: #ffd9e1; }
.account-memberships { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; padding-top: 22px; overflow: visible; }
.account-membership {
  position: relative;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 20px;
  background: rgba(3, 13, 25, .62);
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.account-membership.active {
  border-color: rgba(91, 200, 255, .55);
  box-shadow: 0 0 0 1px rgba(91, 200, 255, .18), 0 18px 40px rgba(0, 145, 255, .14);
}
.account-membership h3 { margin: 0 0 10px; color: var(--blue-2); font-size: 22px; }
.account-membership ul { margin: 16px 0 22px; }
.account-membership form, .account-membership .btn { margin-top: auto; width: 100%; }
.account-membership .btn[disabled],
.wallet-mini-form .btn[disabled],
.wallet-mini-form input[disabled] { opacity: .58; cursor: default; }
.membership-current-overlay {
  position: absolute;
  inset: 12px 12px auto auto;
  z-index: 4;
  border-radius: 999px;
  padding: 8px 12px;
  color: #06150c;
  background: linear-gradient(135deg, #23b45f, #49d981);
  font-size: 11px;
  font-weight: 1000;
}
@media (max-width: 1050px) {
  .account-hero-pro,
  .wallet-command-grid,
  .account-content-grid,
  .wallet-overview-grid,
  .account-event-summary { grid-template-columns: 1fr; }
  .account-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-logout { justify-self: start; }
  .account-memberships { grid-template-columns: 1fr; }
  .wallet-earn-grid { grid-template-columns: 1fr; }
  .account-form-pro { grid-template-columns: 1fr; }
  .account-form-pro .btn { justify-self: stretch; }
}
@media (max-width: 640px) {
  .wallet-command-head { display: grid; }
  .wallet-mini-form,
  .account-event-item,
  .account-event-media { grid-template-columns: 1fr; }
  .account-tabs { grid-template-columns: 1fr; }
  .account-event-title-row { display: grid; }
  .event-rsvp-form,
  .event-main-actions { width: 100%; }
  .event-rsvp-form .rsvp-btn,
  .event-main-actions .btn,
  .event-login-rsvp { width: 100%; }
  .wallet-badge-grid { grid-template-columns: 1fr; }
  .wallet-level-ring { width: 118px; height: 118px; }
}

.payment-modal[hidden] { display: none; }
.payment-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.payment-backdrop { position: absolute; inset: 0; background: rgba(0, 5, 12, .76); backdrop-filter: blur(12px); }
.payment-dialog {
  position: relative;
  width: min(980px, 100%);
  padding: 34px;
  border: 1px solid rgba(85, 195, 255, .28);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(9, 24, 41, .98), rgba(4, 14, 27, .98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45), 0 0 70px rgba(23, 155, 255, .14), var(--shadow);
}
.payment-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-right: 68px;
}
.payment-dialog h2 { margin: 8px 0 8px; }
.payment-intro { max-width: 740px; margin-bottom: 24px; }
.payment-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid rgba(103, 184, 255, .18);
  background: rgba(255,255,255,.04);
  color: #d7e8f9;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.payment-lock { font-size: 14px; }
.payment-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr); gap: 22px; align-items: start; }
.payment-main, .payment-summary-panel {
  border: 1px solid rgba(103, 184, 255, .16);
  border-radius: 24px;
  background: rgba(255,255,255,.03);
}
.payment-main { padding: 22px; }
.payment-summary-panel { padding: 22px; }
.payment-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.payment-section-head h3 { margin: 0; font-size: 20px; }
.payment-section-head span { color: var(--muted); font-size: 13px; }
.payment-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.payment-method-card { display: block; cursor: pointer; }
.payment-method-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-method-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(103, 184, 255, .14);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.payment-method-card input:checked + .payment-method-card-inner {
  border-color: rgba(61, 176, 255, .7);
  box-shadow: 0 0 0 1px rgba(61, 176, 255, .24), 0 16px 34px rgba(16, 127, 216, .16);
  background: linear-gradient(180deg, rgba(24, 74, 118, .28), rgba(255,255,255,.04));
}
.payment-method-card:hover .payment-method-card-inner {
  transform: translateY(-1px);
  border-color: rgba(103, 184, 255, .32);
}
.payment-method-meta { display: grid; gap: 5px; }
.payment-method-meta strong { font-size: 19px; color: #fff; }
.payment-method-meta small { color: var(--muted); font-size: 13px; }
.payment-method-logo {
  flex: 0 0 auto;
  width: 72px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.payment-method-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.payment-form { display: grid; gap: 16px; }
.payment-check {
  display: flex;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.5;
  padding: 16px;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}
.payment-check input { margin-top: 3px; accent-color: #1ea7ff; }
.payment-submit { width: 100%; min-height: 58px; font-size: 17px; background: linear-gradient(135deg, #23b45f, #49d981); color: #06150c; box-shadow: 0 16px 34px rgba(44, 196, 109, .26); }
.payment-submit:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(44, 196, 109, .32); }
.payment-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.payment-summary-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.payment-summary-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(103, 184, 255, .18);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
}
.payment-summary-card span, .payment-provider-note p { color: var(--muted); }
.payment-summary-card strong { color: #fff; font-size: 32px; line-height: 1; }
.payment-summary-card small { color: #dfeafd; font-size: 18px; font-weight: 700; }
.payment-summary-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 18px;
  overflow: hidden;
}
.payment-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: var(--muted);
  border-bottom: 1px solid rgba(103, 184, 255, .1);
}
.payment-summary-list li:last-child { border-bottom: 0; }
.payment-summary-list strong { color: #fff; text-align: right; }
.payment-provider-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 129, 255, .12), rgba(255,255,255,.03));
  border: 1px solid rgba(82, 179, 255, .18);
}
.payment-provider-note strong { display: block; margin-bottom: 6px; color: #f3fbff; }
.payment-provider-note p { margin: 0; line-height: 1.55; }
@media (max-width: 900px) {
  .payment-dialog { width: min(720px, 100%); padding: 24px; }
  .payment-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .payment-dialog { padding: 22px 18px; }
  .payment-header { padding-right: 58px; flex-direction: column; }
  .payment-trust-badge { align-self: flex-start; }
  .payment-methods { grid-template-columns: 1fr; }
  .payment-footer-meta, .payment-section-head { flex-direction: column; align-items: flex-start; }
  .payment-summary-card strong { font-size: 28px; }
}



/* Fix: lidmaatschap-badges mogen buiten de kaart vallen zonder afgesneden te worden */
.price-card,
.account-membership {
  overflow: visible;
}

.price-card .badge,
.account-membership .badge {
  top: -18px;
  z-index: 10;
}

.membership,
.account-card {
  overflow: visible;
}


/* Landingspagina: upgradeknoppen als button exact gelijk tonen aan linkknoppen */
.price-card button.btn {
  border: 0;
  font: inherit;
  cursor: pointer;
}


/* Beloningen / XP informatiepagina */
.rewards-info-page {
  display: grid;
  gap: 28px;
}
.rewards-hero {
  min-height: 620px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 36px;
  align-items: center;
  padding: 46px;
  background:
    radial-gradient(circle at 80% 16%, rgba(35, 180, 95, .20), transparent 24rem),
    radial-gradient(circle at 8% 88%, rgba(30, 167, 255, .22), transparent 24rem),
    linear-gradient(145deg, rgba(8, 25, 44, .96), rgba(3, 12, 24, .94));
}
.rewards-hero.rewards-hero-simple {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(38px, 6vw, 72px);
}
.rewards-hero.rewards-hero-simple .rewards-hero-copy {
  max-width: 900px;
}
.rewards-hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 84px);
  line-height: .92;
  letter-spacing: -.045em;
}
.rewards-hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}
.rewards-hero-visual::before {
  content: "";
  position: absolute;
  inset: 40px 0 20px;
  border-radius: 46px;
  background:
    linear-gradient(180deg, rgba(3, 9, 18, .12), rgba(3, 9, 18, .64)),
    url('/images/site-background.webp') center / cover no-repeat;
  border: 1px solid rgba(103, 184, 255, .16);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.rewards-hero-visual img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: min(72%, 390px);
  max-height: 500px;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  filter: drop-shadow(0 30px 70px rgba(0,0,0,.58));
}
.xp-floating-card {
  position: absolute;
  z-index: 2;
  min-width: 210px;
  border: 1px solid rgba(103, 184, 255, .22);
  border-radius: 18px;
  padding: 18px;
  background: rgba(6, 18, 32, .88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.xp-floating-card span,
.xp-floating-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}
.xp-floating-card strong {
  display: block;
  margin: 6px 0;
  color: #fff;
  font-size: 28px;
}
.xp-card-balance { left: 4%; bottom: 70px; }
.xp-card-action { right: 2%; top: 82px; }
.xp-access-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.xp-access-strip article,
.xp-earn-cards article {
  border: 1px solid rgba(103, 184, 255, .14);
  border-radius: 18px;
  padding: 20px;
  background: rgba(12, 25, 43, .72);
}
.xp-access-strip span,
.xp-earn-cards span {
  display: block;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}
.xp-access-strip strong,
.xp-earn-cards strong {
  display: block;
  margin: 8px 0 5px;
  color: #fff;
  font-size: 22px;
}
.xp-access-strip small,
.xp-earn-cards small {
  color: var(--muted);
  line-height: 1.45;
}
.xp-access-strip .is-premium {
  border-color: rgba(45, 220, 134, .48);
  background: linear-gradient(145deg, rgba(45, 220, 134, .12), rgba(12, 25, 43, .72));
}
.xp-access-strip .is-vip {
  border-color: rgba(255, 200, 83, .52);
  background: linear-gradient(145deg, rgba(255, 200, 83, .13), rgba(12, 25, 43, .72));
}
.xp-overview-panel,
.xp-wallet-preview,
.xp-admin-note {
  padding: 28px;
}
.xp-flow-grid,
.xp-earn-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.xp-flow-grid article {
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255,255,255,.025);
}
.xp-flow-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #06111f;
  background: linear-gradient(135deg, #55c3ff, #23b45f);
  font-weight: 1000;
}
.xp-flow-grid h3 {
  margin: 16px 0 8px;
}
.xp-flow-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.xp-wallet-preview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .7fr);
  gap: 28px;
  align-items: center;
}
.xp-wallet-copy h2,
.xp-admin-note h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: .95;
  margin-bottom: 10px;
}
.xp-wallet-mock {
  border: 1px solid rgba(91, 200, 255, .24);
  border-radius: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 0%, rgba(91, 200, 255, .18), transparent 40%),
    rgba(3, 13, 25, .78);
}
.xp-wallet-mock-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}
.xp-wallet-mock-top span {
  color: var(--blue-2);
  font-weight: 1000;
  text-transform: uppercase;
}
.xp-wallet-mock-top strong {
  color: #fff;
  font-size: 42px;
  line-height: 1;
}
.xp-wallet-progress {
  height: 10px;
  margin: 22px 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
.xp-wallet-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #23b45f, #55c3ff);
}
.xp-wallet-list {
  display: grid;
  gap: 10px;
}
.xp-wallet-list span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 14px;
  padding: 13px;
  color: #d8e6f4;
  background: rgba(255,255,255,.025);
}
.xp-wallet-list b {
  color: #49d981;
}
.xp-plan-section {
  margin: 12px 0;
}
.xp-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.xp-admin-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
@media (max-width: 1050px) {
  .rewards-hero,
  .xp-wallet-preview {
    grid-template-columns: 1fr;
  }
  .xp-flow-grid,
  .xp-earn-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========================================================================== 
   EvntBlend UX/UI upgrade — 2026-07-16
   ========================================================================== */
:root {
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 500;
  padding: 12px 16px;
  border-radius: 10px;
  color: #03101d;
  background: #75d5ff;
  font-weight: 900;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(117, 213, 255, .92);
  outline-offset: 3px;
}

.icon-heading { display: flex; align-items: center; gap: 10px; }
.icon-heading svg, .section-head > a svg, .deal-card-footer svg, .partner-card-footer svg,
.event-location svg, .event-detail-facts svg, .accommodation-detail-card svg,
.game-play-cta svg, .payment-trust-badge svg {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
}
.section-head > a { gap: 7px; font-weight: 850; }
.section-head > a svg { width: 18px; height: 18px; }
.steps .icon svg { width: 48px; height: 48px; }

.deal-image { position: relative; background-position: center; overflow: hidden; }
.deal-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.deal-card:hover .deal-image img { transform: scale(1.035); }
.store-coming-soon { margin-top: 22px; color: var(--blue-2); font-weight: 800; }
.store-badges.is-coming-soon { opacity: .62; }
.store-badges.is-coming-soon .store-badge { cursor: default; }

.page-intro { max-width: 940px; margin-bottom: 34px; }
.page-intro .lead { max-width: 820px; }
.page-intro-compact h1, .partners-intro h1 { max-width: 100%; }

/* Deals */
.deals-page { min-height: calc(100vh - 84px); }
.deal-toolbar { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 22px; align-items: end; padding: 22px; margin-bottom: 24px; }
.deal-search { position: relative; display: grid; gap: 8px; }
.deal-search input { padding-left: 16px; }
.deal-filter-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.deal-results { align-items: stretch; }
.deal-result-card { height: 100%; }
.deal-result-card .deal-link { display: flex; flex-direction: column; height: 100%; }
.deal-result-card .deal-body { display: flex; flex-direction: column; flex: 1; }
.deal-result-card .deal-body h2 { margin: 14px 0 8px; font-size: 21px; line-height: 1.15; text-transform: none; }
.deal-tags { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.deal-tags span { display: inline-flex; }
.deal-tags small { color: var(--muted); font-weight: 800; }
.deal-card-footer { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: auto; padding-top: 18px; }
.deal-card-footer small { color: var(--muted); }
.deal-card-footer b { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-2); font-size: 13px; white-space: nowrap; }
.deal-card-footer svg { width: 16px; height: 16px; }
.empty-filter-state { padding: 34px; text-align: center; }
.empty-filter-state h2 { margin-bottom: 8px; }
.availability-note { display: block; padding: 16px; border: 1px solid rgba(255, 206, 89, .25); border-radius: 14px; color: #ffe7aa; background: rgba(255, 206, 89, .08); line-height: 1.5; }

/* Events */
.event-location { display: flex; gap: 8px; align-items: flex-start; }
.event-location svg { width: 19px; height: 19px; margin-top: 2px; color: var(--blue-2); }
.event-cover { display: block; }
.event-cover img { transition: transform .35s ease; }
.event-cover:hover img { transform: scale(1.025); }
.event-info h2 a:hover { color: var(--blue-2); }
.event-detail-button { order: 2; }
.event-main-actions .btn-primary { order: 1; }
.event-main-actions [data-accommodation-toggle] { order: 3; }
.rsvp-btn {
  color: #dff3ff;
  border-color: rgba(103, 184, 255, .24);
  background: rgba(255,255,255,.035);
  box-shadow: none;
}
.rsvp-btn:hover { border-color: var(--line-strong); background: rgba(30,167,255,.12); }
.rsvp-btn.is-active { color: #04150b; }

.event-detail-page { padding-top: 38px; }
.event-detail-hero { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: 36px; padding: 28px; }
.event-detail-poster { min-height: 520px; border-radius: 20px; overflow: hidden; background: #020812; }
.event-detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.event-detail-copy { display: flex; flex-direction: column; padding: 18px 12px 18px 0; }
.event-detail-copy h1 { margin: 16px 0 20px; font-size: clamp(42px, 5vw, 72px); line-height: .92; text-transform: uppercase; overflow-wrap: anywhere; }
.event-label { align-self: flex-start; padding: 8px 11px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #169dff, #0769da); font-size: 12px; font-weight: 900; }
.event-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.event-detail-facts > span { display: grid; grid-template-columns: 24px 1fr; gap: 2px 10px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03); }
.event-detail-facts svg { grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--blue-2); }
.event-detail-facts small { color: var(--muted); }
.event-detail-description { color: #d4e2f0; line-height: 1.7; white-space: pre-line; }
.event-detail-actions { display: grid; gap: 14px; margin-top: auto; }
.event-detail-accommodations { margin-top: 44px; }
.accommodation-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.accommodation-detail-card { overflow: hidden; }
.accommodation-detail-card .event-accommodation-image { height: 190px; }
.accommodation-detail-card > div:last-child { padding: 20px; }
.accommodation-detail-card h3 { margin: 0 0 10px; font-size: 21px; }
.accommodation-detail-card p { display: flex; gap: 8px; color: var(--muted); line-height: 1.45; }
.accommodation-detail-card p svg { width: 18px; height: 18px; color: var(--blue-2); }

/* Rewards */
.rewards-hero-copy { min-width: 0; }
.rewards-hero-copy h1 { overflow-wrap: break-word; }
.xp-flow-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xp-flow-icon svg { width: 25px; height: 25px; }
.reward-examples { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr); gap: 30px; align-items: center; padding: 32px; }
.reward-examples h2 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 52px); line-height: .95; }
.reward-example-grid { display: grid; gap: 12px; }
.reward-example-grid span { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; color: #dff3ff; background: rgba(255,255,255,.035); font-weight: 850; }
.reward-example-grid svg { width: 24px; height: 24px; color: var(--blue-2); }

/* Games */
.game-shell { align-items: start; }
.game-stage { width: 100%; }
.game-locked { width: 100%; min-height: 0; height: 100%; aspect-ratio: 16 / 9; overflow: hidden; background-position: center; }
.game-locked-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 100%; padding-top: 120px; }
.game-locked-content p:not(.eyebrow) { max-width: 620px; }
.game-play-cta { gap: 10px; }
.game-play-cta svg { width: 22px; height: 22px; }
.game-leaderboard { align-self: start; }
.game-leaderboard .section-head h2 { margin-bottom: 4px; }
.leaderboard-empty { min-height: 100px; align-content: center; }
.mobile-game-launch-copy b::before { content: "▶"; margin-right: 8px; }

/* Partners */
.partners-page { min-height: calc(100vh - 84px); }
.partners-intro { max-width: 900px; }
.partner-grid-rich { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.partner-card { position: relative; min-height: 250px; display: flex; flex-direction: column; align-items: stretch; padding: 18px; transition: transform .2s ease, border-color .2s ease; }
.partner-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.partner-category { align-self: flex-start; padding: 7px 9px; border-radius: 999px; color: var(--blue-2); background: rgba(30,167,255,.1); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.partner-logo-wrap { display: grid; place-items: center; flex: 1; min-height: 120px; }
.partner-logo-wrap img { max-height: 72px; max-width: 78%; object-fit: contain; }
.partner-card-footer { display: flex; justify-content: space-between; gap: 12px; align-items: end; padding-top: 14px; border-top: 1px solid var(--line); }
.partner-card-footer strong { font-size: 15px; }
.partner-card-footer small { display: inline-flex; align-items: center; gap: 5px; color: var(--blue-2); white-space: nowrap; }
.partner-card-footer svg { width: 15px; height: 15px; }
.partner-cta { display: flex; justify-content: space-between; align-items: center; gap: 26px; margin-top: 34px; padding: 30px; }
.partner-cta h2 { margin-bottom: 8px; }
.partner-cta p:not(.eyebrow) { margin: 0; color: var(--muted); }

/* Account, login and checkout */
.account-avatar-large svg { width: 54px; height: 54px; color: var(--blue-2); }
.wallet-upgrade-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px; border: 1px solid rgba(45,220,134,.28); border-radius: 18px; background: rgba(45,220,134,.08); }
.wallet-upgrade-cta strong { color: #fff; font-size: 18px; }
.wallet-upgrade-cta p { margin: 5px 0 0; color: var(--muted); }
.wallet-badge span svg { width: 17px; height: 17px; }
.payment-trust-badge { gap: 8px; }
.payment-trust-badge svg { width: 17px; height: 17px; }
.payment-check { grid-template-columns: 22px 1fr !important; align-items: start !important; gap: 12px !important; }
.payment-check input { width: 20px; height: 20px; }
.auth-form label:not(.auth-consent) { position: relative; }
.password-toggle { position: absolute; right: 8px; bottom: 6px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; }
.password-toggle:hover, .password-toggle.is-visible { color: var(--blue-2); background: rgba(91,200,255,.08); }
.password-toggle svg { width: 21px; height: 21px; }
.auth-form input[type="password"], .auth-form input[type="text"] { padding-right: 50px; }
.auth-forgot { justify-self: end; margin-top: -8px; color: var(--blue-2); font-size: 14px; font-weight: 800; }
.auth-consent { display: grid !important; grid-template-columns: 22px 1fr; gap: 10px !important; align-items: start; font-size: 14px; font-weight: 600; line-height: 1.45; }
.auth-consent input { width: 20px; min-height: 20px; margin: 1px 0 0; }
.auth-consent a { color: var(--blue-2); text-decoration: underline; }

/* Footer and mobile navigation */
.footer { align-items: flex-start; gap: 44px; }
.footer > div:first-child { max-width: 520px; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 12px 24px; }
.mobile-bottom-nav { display: none; }
.legal-content { max-width: 900px; padding: 32px; margin-top: 30px; }
.legal-content h2 { margin-top: 28px; margin-bottom: 8px; }
.legal-content p { color: #d3e1ee; line-height: 1.7; }
.legal-content a { color: var(--blue-2); }
.legal-draft-note { padding: 14px; border: 1px solid rgba(255,206,89,.28); border-radius: 12px; color: #ffe7aa !important; background: rgba(255,206,89,.08); }

@media (max-width: 1050px) {
  .deal-toolbar { grid-template-columns: 1fr; }
  .deal-filter-chips { justify-content: flex-start; }
  .event-detail-hero, .reward-examples { grid-template-columns: 1fr; }
  .event-detail-poster { min-height: 420px; }
  .accommodation-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid-rich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .site-header { position: sticky; }
  .nav-toggle,
  .nav { display: none !important; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 90;
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    height: 64px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 6px;
    border: 1px solid rgba(103,184,255,.22);
    border-radius: 18px;
    background: rgba(3,9,18,.94);
    box-shadow: 0 20px 50px rgba(0,0,0,.55);
    backdrop-filter: blur(18px);
  }
  .mobile-bottom-nav a { display: grid; place-items: center; align-content: center; gap: 3px; min-width: 0; border-radius: 12px; color: var(--muted); font-size: 10px; font-weight: 800; }
  .mobile-bottom-nav a.active { color: #fff; background: rgba(23,155,255,.15); }
  .mobile-bottom-nav svg { width: 21px; height: 21px; }
  .footer { padding-bottom: 24px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mobile-secondary-card { display: none; }
  .page-intro { margin-bottom: 24px; }
  .page-intro h1 { font-size: clamp(40px, 13vw, 54px); }
  .deal-toolbar { padding: 16px; }
  .deal-filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .deal-filter-chips::-webkit-scrollbar { display: none; }
  .deal-result-card .deal-body h2 { font-size: 21px; }

  .event-card { padding: 12px; }
  .event-cover { height: 190px; }
  .event-cover img { width: 100%; height: 100%; object-fit: cover; }
  .event-description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .event-engagement-row { margin-bottom: 10px; }
  .event-detail-page { padding-top: 24px; }
  .event-detail-hero { gap: 18px; padding: 14px; }
  .event-detail-poster { min-height: 0; aspect-ratio: 4 / 3; }
  .event-detail-copy { padding: 4px; }
  .event-detail-copy h1 { font-size: clamp(36px, 11vw, 48px); overflow-wrap: break-word; }
  .event-detail-facts { grid-template-columns: 1fr; }
  .event-detail-actions .btn, .event-detail-actions .rsvp-btn { width: 100%; }
  .accommodation-detail-grid { grid-template-columns: 1fr; }

  .rewards-hero { min-width: 0; overflow: hidden; }
  .rewards-hero-copy h1 { max-width: 100%; font-size: clamp(40px, 12vw, 50px); overflow-wrap: break-word !important; word-break: normal !important; }
  .rewards-hero-visual { min-width: 0; }
  .xp-flow-grid-three { grid-template-columns: 1fr; }
  .reward-examples { padding: 22px; }
  .reward-examples h2 { font-size: 32px; }

  .games-hero { grid-template-columns: 1fr; }
  .game-shell { grid-template-columns: 1fr; padding: 12px; }
  .game-stage { aspect-ratio: 4 / 3; min-height: 330px; }
  .game-locked { aspect-ratio: auto; min-height: 330px; }
  .game-locked-content { padding: 20px; justify-content: flex-end; }
  .game-locked-content .eyebrow, .game-locked-content p:not(.eyebrow) { display: none; }
  .game-locked-content h2 { max-width: 86%; font-size: clamp(30px, 10vw, 42px); }
  .game-play-cta { width: 100%; }
  .game-leaderboard { width: 100%; }

  .partner-grid-rich { grid-template-columns: 1fr; }
  .partner-card { min-height: 210px; }
  .partner-cta { align-items: stretch; flex-direction: column; }

  .account-tabs { display: flex; grid-template-columns: none; gap: 6px; overflow-x: auto; padding: 7px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .account-tabs::-webkit-scrollbar { display: none; }
  .account-tabs button { flex: 0 0 auto; min-width: 112px; scroll-snap-align: start; }
  .wallet-upgrade-cta { grid-template-columns: 1fr; }
  .wallet-upgrade-cta .btn { width: 100%; }
  .payment-trust-badge { margin-right: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 720px) {
  .rewards-hero {
    padding: 28px;
  }
  .rewards-hero-visual {
    min-height: 420px;
  }
  .rewards-hero-visual img {
    max-width: min(82%, 320px);
    max-height: 400px;
  }
  .xp-access-strip,
  .xp-flow-grid,
  .xp-earn-cards,
  .xp-plan-grid {
    grid-template-columns: 1fr;
  }
  .xp-admin-note {
    align-items: flex-start;
    flex-direction: column;
  }
  .xp-floating-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-top: 10px;
  }
}


/* Games */
.games-page {
  display: grid;
  gap: 22px;
}
.games-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9, 20, 36, .96), rgba(8, 44, 66, .72)),
    radial-gradient(circle at 85% 20%, rgba(35, 166, 255, .24), transparent 30%);
}
.games-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 76px);
  line-height: .95;
}
.games-performance-card {
  border: 1px solid rgba(103, 184, 255, .18);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255,255,255,.04);
}
.games-performance-card span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.games-performance-card strong {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: 22px;
}
.games-performance-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.game-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  padding: 18px;
}
.game-stage {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(103, 184, 255, .14);
  border-radius: 18px;
  overflow: hidden;
  background: #020812;
  contain: layout paint;
  isolation: isolate;
}
.game-iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  background: #020812;
}
.game-locked {
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 30px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.game-locked::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 18, .2), rgba(2, 8, 18, .92));
}
.game-locked > div {
  position: relative;
  max-width: 620px;
}
.game-locked h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(34px, 5vw, 70px);
  line-height: .95;
}
.game-locked p {
  color: var(--muted);
  line-height: 1.55;
}
.game-leaderboard {
  min-width: 0;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.028);
}
.leaderboard-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.leaderboard-list li {
  display: grid;
  grid-template-columns: 34px 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.leaderboard-rank {
  color: var(--accent);
  font-weight: 900;
  text-align: center;
}
.leaderboard-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #07111f;
  font-weight: 900;
  background: linear-gradient(135deg, #2bb3ff, #23c76f);
}
.leaderboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leaderboard-player {
  min-width: 0;
  color: #fff;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.leaderboard-list strong {
  color: #fff;
}
.leaderboard-empty {
  grid-template-columns: 1fr !important;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 1050px) {
  .games-hero,
  .game-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 1440px);
  }
  .games-hero,
  .game-shell {
    padding: 12px;
  }
  .game-shell {
    gap: 12px;
  }
  .game-stage {
    border-radius: 13px;
  }
}

body.game-fullscreen-open {
  overflow: hidden;
  overscroll-behavior: none;
}
.game-fullscreen-enter,
.game-fullscreen-exit {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 12;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 11px;
  color: #fff;
  background: rgba(2, 8, 18, .82);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.34);
  backdrop-filter: blur(10px);
}
.game-fullscreen-enter {
  display: inline-flex;
  gap: 7px;
  opacity: .76;
  transition: opacity .16s ease, transform .16s ease, border-color .16s ease;
}
.game-fullscreen-enter:hover,
.game-fullscreen-enter:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(85,195,255,.72);
  outline: none;
}
.game-fullscreen-exit {
  display: none;
}
.game-shell.is-game-fullscreen .game-stage {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: #000;
  contain: none;
  isolation: auto;
}
.game-shell.is-game-fullscreen .game-iframe {
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  aspect-ratio: auto;
}
.game-shell.is-game-fullscreen .game-fullscreen-enter {
  display: none;
}
.game-shell.is-game-fullscreen .game-fullscreen-exit {
  position: fixed;
  display: inline-flex;
  z-index: 10001;
}
@media (pointer: coarse), (max-width: 760px) {
  .game-fullscreen-enter,
  .game-fullscreen-exit {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 11px;
    backdrop-filter: none;
  }
}

.game-shell.is-featured-game {
  position: relative;
  border-color: rgba(91, 200, 255, .34);
  box-shadow: 0 22px 70px rgba(0, 119, 205, .12);
}
.featured-game-label {
  grid-column: 1 / -1;
  justify-self: start;
  margin: -2px 0 -4px;
  border: 1px solid rgba(91, 200, 255, .34);
  border-radius: 999px;
  padding: 8px 12px;
  color: #dff7ff;
  background: rgba(28, 151, 224, .12);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Mobile games: launch each canvas game as a top-level page instead of a
   fullscreen iframe. This avoids mobile GPU/compositor corruption. */
.mobile-game-launch {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: #fff;
  background-color: #020812;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.mobile-game-launch-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,8,18,.08) 15%, rgba(2,8,18,.92) 100%),
    linear-gradient(90deg, rgba(2,8,18,.68), transparent 72%);
}
.mobile-game-launch-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 6px;
}
.mobile-game-launch-copy small {
  color: #7ed9ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mobile-game-launch-copy strong {
  max-width: 80%;
  font-size: clamp(24px, 7vw, 42px);
  line-height: .95;
  text-shadow: 0 3px 18px rgba(0,0,0,.72);
}
.mobile-game-launch-copy b {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 5px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 999px;
  background: rgba(12,139,214,.9);
  box-shadow: 0 8px 24px rgba(0,92,160,.38);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 900px), (pointer: coarse) {
  .game-stage .game-iframe,
  .game-stage .game-fullscreen-enter,
  .game-stage .game-fullscreen-exit {
    display: none !important;
  }
  .mobile-game-launch {
    display: block;
    touch-action: manipulation;
  }
  .game-stage {
    contain: layout paint;
    isolation: auto;
  }
}

/* Logged-in games stay on their poster until the visitor explicitly starts one. */
.game-poster-launch {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at 50% 48%, rgba(25, 131, 215, .18), transparent 54%),
    #020812;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}
.game-poster-launch-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .3s ease, filter .3s ease;
}
.game-poster-launch-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2,8,18,.02) 38%, rgba(2,8,18,.28) 62%, rgba(2,8,18,.94) 100%),
    linear-gradient(90deg, rgba(2,8,18,.44), transparent 55%);
  pointer-events: none;
}
.game-poster-launch-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 6px;
  pointer-events: none;
}
.game-poster-launch-copy small {
  color: #7ed9ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.game-poster-launch-copy strong {
  max-width: min(80%, 620px);
  font-size: clamp(23px, 3.2vw, 42px);
  line-height: .98;
  text-shadow: 0 3px 18px rgba(0,0,0,.76);
}
.game-poster-launch-copy b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 5px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #16b9f1, #087fea);
  box-shadow: 0 10px 28px rgba(0,92,160,.42), inset 0 1px rgba(255,255,255,.25);
  font-size: 13px;
  font-weight: 900;
}
.game-poster-launch:hover .game-poster-launch-image,
.game-poster-launch:focus-visible .game-poster-launch-image {
  transform: scale(1.018);
  filter: brightness(1.04);
}
.game-poster-launch:focus-visible {
  outline: 3px solid #62d7ff;
  outline-offset: -3px;
}
.game-shell.is-game-loaded .game-poster-launch {
  display: none;
}
.game-shell:not(.is-game-loaded) .game-fullscreen-enter {
  display: none;
}

@media (max-width: 640px) {
  .game-poster-launch-copy {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .game-poster-launch-copy strong {
    max-width: 92%;
    font-size: clamp(20px, 6.4vw, 30px);
  }
  .game-poster-launch-copy b {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 12px;
  }
}

/* ========================================================================== 
   Mobile-first public navigation and page refinements — 2026-07-16
   ========================================================================== */
.mobile-nav-account { display: none; }
.nav a[aria-current="page"] { color: #fff; }

@media (max-width: 1050px) {
  .site-header {
    width: min(100% - 36px, 900px);
    height: 76px;
    gap: 10px;
    isolation: isolate;
  }

  .brand { order: 1; }
  .header-actions {
    order: 2;
    margin-left: auto;
    align-items: center;
  }
  .nav-toggle {
    order: 3;
    margin-left: 0;
    flex: 0 0 44px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 5px;
    background: rgba(5, 16, 30, .76);
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    order: 4;
    display: flex;
    position: absolute;
    z-index: 70;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    max-height: calc(100dvh - 100px);
    margin-left: 0;
    padding: 12px;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 18px;
    background: rgba(3, 9, 18, .98);
    box-shadow: 0 24px 70px rgba(0,0,0,.58);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(.985);
    transform-origin: top right;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .nav.open {
    display: flex;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav > a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 850;
  }
  .nav > a:hover,
  .nav > a:focus-visible,
  .nav > a[aria-current="page"] {
    color: #fff;
    background: rgba(91, 200, 255, .10);
  }
  .nav > a[aria-current="page"] {
    box-shadow: inset 3px 0 #38b7ff;
  }
  .mobile-nav-account {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 4px 4px;
    border-top: 1px solid var(--line);
  }
  .mobile-nav-account span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
  }
  .mobile-nav-account .btn { width: 100%; }
  body.mobile-nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 82px; }
  body { -webkit-text-size-adjust: 100%; }

  main,
  .site-header,
  .footer {
    width: calc(100% - 24px);
  }

  .site-header {
    height: 68px;
    gap: 8px;
    padding-top: env(safe-area-inset-top);
  }
  .brand { font-size: 20px; }
  .header-register { display: none; }
  .header-actions .header-login {
    display: inline-flex;
    min-height: 40px;
    padding: 0 14px;
    border-color: rgba(57, 191, 255, .48);
    background: linear-gradient(135deg, rgba(23, 155, 255, .92), rgba(8, 120, 237, .92));
    box-shadow: 0 10px 28px rgba(0, 144, 255, .20);
    font-size: 13px;
  }
  .account-circle { width: 42px; height: 42px; }
  .nav-toggle { width: 42px; height: 42px; flex-basis: 42px; }
  .nav {
    left: -2px;
    right: -2px;
    top: calc(100% + 6px);
    max-height: calc(100dvh - 86px - env(safe-area-inset-bottom));
  }

  .btn {
    min-height: 48px;
    padding-inline: 20px;
    touch-action: manipulation;
  }
  .btn-large { min-height: 52px; padding-inline: 22px; }
  input, textarea, select {
    min-height: 48px;
    font-size: 16px;
  }

  .page { padding: 34px 0 46px; }
  .page > .eyebrow { margin-bottom: 12px; }
  .page > h1,
  .events-hero h1,
  .games-hero h1,
  .rewards-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
    line-height: .96;
    overflow-wrap: anywhere;
  }
  .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: .16em;
  }
  .lead { font-size: 17px; line-height: 1.55; }
  .section-note { font-size: 14px; }
  h2 { font-size: 21px; }

  .panel { border-radius: 18px; }
  .section-head {
    display: grid;
    justify-items: stretch;
    gap: 12px;
  }
  .section-head > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    width: fit-content;
    font-weight: 850;
  }

  .hero {
    min-height: auto;
    gap: 24px;
    padding: 26px 0 34px;
  }
  .hero h1 { font-size: clamp(40px, 13vw, 56px); }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }
  .hero-actions .btn { width: 100%; }
  .members { margin-top: 22px; font-size: 14px; flex-wrap: wrap; row-gap: 10px; }
  .hero-event-photo { min-height: 320px; border-radius: 22px; }
  .reward-card { padding: 18px; }

  .rewards-panel,
  .featured-events-panel,
  .partners-showcase,
  .events-hero,
  .event-filter,
  .games-hero,
  .game-shell,
  .rewards-hero,
  .xp-admin-note {
    padding: 18px;
  }

  .deal-grid { gap: 14px; }
  .deal-card:hover,
  .featured-event-card:hover,
  .partner-tile:hover { transform: none; }
  .deal-image { height: 180px; }
  .deal-body { padding: 18px; }
  .deal-body h3 { font-size: 19px; }

  .how, .membership, .wallet { margin: 36px 0; }
  .steps { gap: 24px; }
  .steps article { grid-template-columns: 68px 1fr; column-gap: 14px; }
  .steps .icon { width: 68px; height: 68px; font-size: 28px; }
  .steps b { left: 58px; }
  .steps h3 { margin-top: 4px; }
  .price-card { min-height: 0; padding: 26px 22px; }
  .wallet {
    padding: 26px 18px;
    gap: 18px;
    border-radius: 22px;
  }
  .wallet-phone-art { min-height: 0; }
  .wallet h2 { font-size: 36px; }
  .wallet p { font-size: 16px; }
  .store-badges { display: grid; grid-template-columns: 1fr; }
  .store-badge { width: 100%; }

  .events-page { padding-top: 24px; }
  .events-hero { margin-bottom: 16px; }
  .events-hero p:not(.eyebrow) { font-size: 16px; }
  .event-filter { margin-bottom: 14px; }
  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 8px;
    margin-inline: -2px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip {
    flex: 0 0 auto;
    min-height: 44px;
    scroll-snap-align: start;
  }
  .event-card { padding: 14px; gap: 14px; }
  .event-date-badge { min-height: 68px; }
  .event-date-badge span { font-size: 32px; }
  .event-info { padding: 0; }
  .event-info h2 { font-size: 25px; }
  .event-meta-row { gap: 7px; }
  .event-meta-row span { padding: 7px 9px; }
  .event-actions .btn,
  .event-main-actions .btn { width: 100%; }

  .featured-event-poster { height: 190px; }
  .featured-event-body { padding: 17px; }

  .partner-grid { grid-template-columns: 1fr; }
  .partner-tile { min-height: 130px; border-radius: 18px; }

  .detail-panel { padding: 14px; gap: 22px; }
  .detail-image { min-height: 280px; border-radius: 16px; }
  .detail-content { padding: 0 4px 8px; }
  .detail-content h1 { font-size: clamp(34px, 11vw, 48px); }
  .detail-meta { display: grid; }
  .detail-meta span { width: 100%; }
  .detail-content > .btn { width: 100%; }

  .games-page { gap: 14px; }
  .games-hero { align-items: stretch; }
  .games-performance-card { padding: 15px; }
  .game-stage { aspect-ratio: 16 / 9; }
  .game-locked { min-height: 390px; padding: 20px; }
  .game-leaderboard { padding: 14px; }
  .leaderboard-list li { grid-template-columns: 28px 40px minmax(0, 1fr) auto; gap: 8px; padding: 9px; }
  .leaderboard-avatar { width: 40px; height: 40px; }

  .auth-modal {
    align-items: end;
    padding: 0;
  }
  .auth-dialog {
    width: 100%;
    max-height: min(88dvh, 760px);
    overflow-y: auto;
    padding: 26px 18px calc(22px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  .auth-close {
    position: sticky;
    float: right;
    right: 0;
    top: 0;
    margin-top: -10px;
    z-index: 2;
  }
  .auth-dialog h2 { clear: both; font-size: 27px; line-height: 1.05; }
  .auth-form { gap: 14px; }
  .auth-form .btn { width: 100%; }
  .login-card {
    width: 100%;
    min-height: 70vh;
    margin: 0;
    padding: 20px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer {
    margin-top: 42px;
    padding: 30px 0 calc(30px + env(safe-area-inset-bottom));
  }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }
  .footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.025);
  }
}

@media (hover: none) and (pointer: coarse) {
  .deal-card:hover,
  .featured-event-card:hover,
  .filter-chip:hover,
  .account-circle:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .page > h1,
  .events-hero h1,
  .games-hero h1,
  .rewards-hero h1 {
    overflow-wrap: normal;
    word-break: normal;
  }
  .events-hero h1 {
    font-size: clamp(34px, 10.4vw, 44px);
    letter-spacing: -.045em;
  }

  body[data-login-page="true"] .site-header {
    z-index: 140;
  }
  body[data-login-page="true"] .auth-modal {
    inset: 68px 0 0;
    z-index: 130;
    align-items: stretch;
  }
  body[data-login-page="true"] .auth-dialog {
    min-height: calc(100dvh - 68px);
    max-height: calc(100dvh - 68px);
    border-radius: 0;
    padding-top: 32px;
  }
  body[data-login-page="true"] .auth-backdrop {
    display: none;
  }
}

/* ========================================================================== 
   Event accommodations: reliable horizontal swipe/scroll — 2026-07-16
   ========================================================================== */
.event-card,
.event-info,
.event-accommodation-panel,
.event-accommodation-head,
.event-accommodation-list {
  min-width: 0;
  max-width: 100%;
}

.event-accommodation-panel {
  width: 100%;
  overflow: hidden;
}

.event-accommodation-list {
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scroll-behavior: smooth;
  cursor: grab;
}

.event-accommodation-list:active {
  cursor: grabbing;
}

.event-accommodation-list::after {
  content: "";
  flex: 0 0 2px;
}

.accommodation-scroll-btn:disabled {
  opacity: .34;
  cursor: default;
}

@media (max-width: 640px) {
  .event-accommodation-panel {
    margin-inline: 0;
    padding-top: 16px;
  }

  .event-accommodation-head {
    gap: 12px;
    margin-bottom: 12px;
  }

  .event-accommodation-meta {
    width: 100%;
  }

  .event-accommodation-controls {
    margin-left: auto;
  }

  .accommodation-scroll-btn {
    width: 46px;
    height: 46px;
    touch-action: manipulation;
  }

  .event-accommodation-list {
    gap: 12px;
    margin-inline: 0;
    padding: 2px 0 14px;
    scroll-padding-inline: 0;
    scrollbar-width: none;
  }

  .event-accommodation-list::-webkit-scrollbar {
    display: none;
  }

  .event-accommodation-item {
    flex: 0 0 calc(100% - 24px);
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    scroll-snap-stop: always;
  }
}

/* Final cascade guards for the upgraded responsive components. */
.game-shell { align-items: start; }
.game-locked { width: 100%; min-height: 0; height: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.game-locked-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 100%; padding-top: 120px; }
.game-play-cta { display: inline-flex !important; gap: 10px; }
.game-leaderboard { align-self: start; }
.rewards-hero-copy { min-width: 0; }
.rewards-hero-copy h1 { max-width: 100%; overflow-wrap: break-word; }

@media (max-width: 720px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-secondary-card { display: none; }
  .event-card [data-accommodation-toggle] { display: none; }
  .rewards-hero-copy h1 { font-size: clamp(40px, 12vw, 50px) !important; overflow-wrap: break-word !important; word-break: normal !important; }
  .game-shell { grid-template-columns: 1fr; padding: 12px; }
  .game-stage { aspect-ratio: 4 / 3; min-height: 330px; }
  .game-locked { aspect-ratio: auto; min-height: 330px; }
  .game-locked-content { padding: 20px; justify-content: flex-end; }
  .game-locked-content .eyebrow, .game-locked-content p:not(.eyebrow) { display: none; }
  .game-locked-content h2 { max-width: 86%; font-size: clamp(30px, 10vw, 42px); }
  .game-play-cta { width: 100%; }
  .game-leaderboard { width: 100%; }
}


/* Password recovery pages */
.password-recovery-page .login-card {
  overflow: hidden;
}
.password-recovery-page .login-card h1 {
  max-width: 100%;
  font-size: clamp(38px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  .password-recovery-page .login-card h1 {
    font-size: clamp(34px, 11vw, 46px);
  }
}

/* Homepage PWA phone hero */
.wallet.wallet-app-install {
  min-height: 680px;
  grid-template-columns: minmax(520px, 1.06fr) minmax(440px, .94fr);
  gap: clamp(40px, 5vw, 82px);
  padding: clamp(34px, 4.8vw, 68px);
  background:
    radial-gradient(circle at 27% 82%, rgba(0, 146, 255, .32), transparent 24rem),
    radial-gradient(circle at 74% 18%, rgba(85, 195, 255, .09), transparent 25rem),
    linear-gradient(135deg, rgba(3, 17, 31, .96), rgba(1, 7, 15, .99));
}
.wallet-phone-stage {
  position: relative;
  min-width: 0;
  min-height: 610px;
  isolation: isolate;
}
.wallet-phone-stage::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 17%;
  right: 1%;
  bottom: 4px;
  height: 52px;
  border: 2px solid rgba(31, 169, 255, .82);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 143, 255, .25), transparent 66%);
  box-shadow: 0 0 22px rgba(0, 155, 255, .9), 0 0 70px rgba(0, 126, 255, .38), inset 0 0 18px rgba(74, 199, 255, .34);
  transform: perspective(420px) rotateX(64deg);
}
.wallet-phone-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 22%;
  right: 7%;
  bottom: -2px;
  height: 95px;
  border-radius: 50%;
  background: rgba(0, 142, 255, .34);
  filter: blur(42px);
}
.wallet-phone-orbits {
  position: absolute;
  z-index: 0;
  width: 520px;
  height: 520px;
  left: 52%;
  top: 47%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(29, 147, 255, .4);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(0, 112, 255, .08), 0 0 90px rgba(0, 115, 255, .07);
}
.wallet-phone-orbits::before,
.wallet-phone-orbits::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(35, 150, 255, .24);
  border-radius: 50%;
}
.wallet-phone-orbits::before { inset: 50px; }
.wallet-phone-orbits::after { inset: 104px; }
.wallet-hero-phone {
  position: absolute;
  z-index: 3;
  left: 62%;
  bottom: 2px;
  width: min(84%, 480px);
  height: auto;
  transform: translateX(-43%) rotate(-4deg);
  transform-origin: center bottom;
  filter: drop-shadow(30px 34px 46px rgba(0, 0, 0, .56)) drop-shadow(-9px 18px 25px rgba(0, 128, 255, .2));
}
.wallet-float-notification {
  position: absolute;
  z-index: 4;
  left: -4px;
  width: min(46%, 286px);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(105, 193, 255, .28);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(13, 37, 62, .9), rgba(4, 16, 31, .9));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .36), inset 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
}
.wallet-float-event { top: 162px; }
.wallet-float-deal { top: 305px; left: 8px; }
.wallet-float-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #24b4ff, #1477ee);
  box-shadow: 0 10px 24px rgba(20, 146, 255, .28);
}
.wallet-float-deal .wallet-float-icon { background: linear-gradient(145deg, #8569ff, #3f62f4); }
.wallet-float-icon svg { width: 23px; height: 23px; fill: currentColor; }
.wallet-float-notification small { display: block; margin-bottom: 4px; color: #9fb3c7; font-size: 12px; }
.wallet-float-notification strong { display: block; color: #fff; font-size: 14px; line-height: 1.3; }
.wallet-float-time { align-self: start; color: #849db4; font-size: 11px; }
.wallet-phone-permission {
  position: absolute;
  z-index: 5;
  left: 12px;
  bottom: 76px;
  width: 245px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  color: #8fa5b9 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}
.wallet-phone-permission > span { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #36d899; box-shadow: 0 0 0 5px rgba(54, 216, 153, .11); }
.wallet-install-copy { min-width: 0; }
.wallet-install-copy .eyebrow { margin: 0 0 18px; color: var(--blue-2); font-size: 13px; font-weight: 900; letter-spacing: .2em; }
.wallet-install-copy h2 { max-width: 680px; margin: 0 0 13px; font-size: clamp(45px, 4.2vw, 70px); line-height: .98; letter-spacing: -.045em; }
.wallet-install-copy h3 { margin-bottom: 20px; font-size: clamp(18px, 2vw, 25px); }
.wallet-install-copy > p:not(.eyebrow):not(.wallet-install-note) { max-width: 670px; }
.wallet-app-benefits { display: grid; gap: 15px; margin: 30px 0; }
.wallet-app-benefits > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; }
.wallet-app-benefits > div > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(80, 188, 255, .28); border-radius: 13px; color: #8ed8ff; background: rgba(31, 151, 255, .1); font-size: 17px; font-weight: 900; }
.wallet-app-benefits p { margin: 0; line-height: 1.25; }
.wallet-app-benefits strong { display: block; color: #fff; font-size: 15px; }
.wallet-app-benefits small { display: block; margin-top: 4px; color: #9fb3c7; font-size: 13px; line-height: 1.4; }
.wallet-install-button { min-width: min(100%, 300px); min-height: 54px; justify-content: center; border: 0; cursor: pointer; }
.wallet-install-note { margin: 13px 0 0 !important; color: #8299ae !important; font-size: 13px !important; }
@media (max-width: 1120px) {
  .wallet.wallet-app-install { grid-template-columns: minmax(430px, 1fr) minmax(380px, 1fr); padding-inline: 34px; }
  .wallet-float-notification { width: 240px; }
  .wallet-hero-phone { left: 63%; width: min(78%, 430px); }
}
@media (max-width: 900px) {
  .wallet.wallet-app-install { grid-template-columns: 1fr; padding: 38px 28px; }
  .wallet-phone-stage { order: 2; min-height: 600px; width: min(100%, 650px); margin: 0 auto; }
  .wallet-install-copy { order: 1; }
  .wallet-install-copy h2 { max-width: 760px; }
  .wallet-hero-phone { width: min(78%, 455px); }
}
@media (max-width: 560px) {
  .wallet.wallet-app-install { min-height: 0; padding: 30px 16px; border-radius: 26px; }
  .wallet-install-copy h2 { font-size: clamp(38px, 12vw, 51px); }
  .wallet-install-copy .eyebrow { font-size: 11px; line-height: 1.5; }
  .wallet-phone-stage { min-height: 478px; margin-top: 4px; }
  .wallet-phone-orbits { width: 380px; height: 380px; left: 59%; }
  .wallet-hero-phone { left: 63%; bottom: 16px; width: min(72%, 285px); transform: translateX(-43%) rotate(-4deg); }
  .wallet-float-notification { left: 0; width: 190px; grid-template-columns: 40px minmax(0, 1fr); gap: 9px; padding: 11px; border-radius: 14px; }
  .wallet-float-event { top: 105px; }
  .wallet-float-deal { top: 224px; left: 3px; }
  .wallet-float-icon { width: 40px; height: 40px; border-radius: 11px; }
  .wallet-float-icon svg { width: 20px; height: 20px; }
  .wallet-float-notification small { font-size: 10px; }
  .wallet-float-notification strong { font-size: 11px; }
  .wallet-float-time { display: none; }
  .wallet-phone-permission { left: 2px; bottom: 12px; width: 190px; font-size: 11px !important; }
  .wallet-install-button { width: 100%; }
}


/* Personal account QR */
.account-personal-qr-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(91, 200, 255, .18), transparent 19rem),
    linear-gradient(145deg, rgba(4, 15, 28, .96), rgba(5, 20, 34, .92));
}
.personal-qr-account-copy h2 {
  margin: 5px 0 12px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}
.personal-qr-account-copy > p.account-muted {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.65;
}
.personal-qr-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(73, 217, 129, .25);
  border-radius: 999px;
  color: #dfffee;
  background: rgba(43, 210, 122, .09);
  font-size: 13px;
  font-weight: 900;
}
.personal-qr-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #49d981;
  box-shadow: 0 0 16px rgba(73, 217, 129, .7);
}
.personal-qr-account-visual {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.personal-qr-image-frame {
  width: min(100%, 292px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .34),
    0 0 0 1px rgba(255, 255, 255, .18),
    0 0 44px rgba(39, 164, 255, .16);
}
.personal-qr-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}
.personal-qr-account-visual small {
  color: var(--muted);
  text-align: center;
}
.personal-qr-unavailable {
  width: min(100%, 292px);
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px dashed rgba(255, 206, 89, .3);
  border-radius: 24px;
  color: #ffe6a7;
  text-align: center;
  background: rgba(255, 206, 89, .06);
}
.personal-qr-unavailable svg {
  width: 34px;
  height: 34px;
}
.personal-qr-unavailable span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .account-personal-qr-card {
    grid-template-columns: 1fr;
  }
  .personal-qr-account-visual {
    justify-items: stretch;
  }
  .personal-qr-image-frame,
  .personal-qr-unavailable {
    width: min(100%, 320px);
    justify-self: center;
  }
}

/* Friends via personal QR — 2026-08-19 */
.account-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.account-tabs button {
  position: relative;
}
.account-friends-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.account-tab-badge {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: #ff496f;
  color: #fff;
  font-size: 11px;
  font-weight: 1000;
  box-shadow: 0 0 0 4px rgba(255,73,111,.11), 0 8px 18px rgba(0,0,0,.22);
}
.friend-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}
.friend-section-head h2,
.friend-requests-panel h2,
.friend-list-panel h2 {
  margin: 5px 0 0;
}
.friend-scanner-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgba(31, 169, 255, .14), transparent 18rem),
    linear-gradient(145deg, rgba(5, 17, 31, .98), rgba(7, 24, 41, .94));
}
.friend-scanner {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  margin: 22px auto 18px;
  overflow: hidden;
  border: 1px solid rgba(91, 200, 255, .19);
  border-radius: 30px;
  background: rgba(2, 10, 19, .92);
  box-shadow: inset 0 0 50px rgba(31,169,255,.06), 0 18px 45px rgba(0,0,0,.28);
}
.friend-scanner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
  background: #02070c;
}
.friend-scanner.is-running .friend-scanner-video { display: block; }
.friend-scanner-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 36px;
  text-align: center;
  color: var(--muted);
}
.friend-scanner-placeholder svg {
  width: 62px;
  height: 62px;
  color: var(--blue-2);
  filter: drop-shadow(0 0 18px rgba(91,200,255,.24));
}
.friend-scanner-placeholder strong {
  color: #fff;
  font-size: 20px;
}
.friend-scanner-placeholder span {
  max-width: 300px;
  line-height: 1.55;
}
.friend-scanner.is-running .friend-scanner-placeholder { display: none; }
.friend-scanner-frame {
  position: absolute;
  inset: 12%;
  pointer-events: none;
}
.friend-scanner-frame i {
  position: absolute;
  width: 58px;
  height: 58px;
  border-color: #36b9ff;
  filter: drop-shadow(0 0 8px rgba(54,185,255,.85));
}
.friend-scanner-frame i:nth-child(1) { top: 0; left: 0; border-top: 4px solid; border-left: 4px solid; border-radius: 18px 0 0 0; }
.friend-scanner-frame i:nth-child(2) { top: 0; right: 0; border-top: 4px solid; border-right: 4px solid; border-radius: 0 18px 0 0; }
.friend-scanner-frame i:nth-child(3) { bottom: 0; left: 0; border-bottom: 4px solid; border-left: 4px solid; border-radius: 0 0 0 18px; }
.friend-scanner-frame i:nth-child(4) { bottom: 0; right: 0; border-bottom: 4px solid; border-right: 4px solid; border-radius: 0 0 18px 0; }
.friend-scanner-frame span {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 16%;
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #38c0ff 18%, #38c0ff 82%, transparent);
  box-shadow: 0 0 16px rgba(56,192,255,.9);
}
.friend-scanner.is-running .friend-scanner-frame span {
  opacity: .95;
  animation: friendQrScanLine 2.1s ease-in-out infinite alternate;
}
@keyframes friendQrScanLine { from { top: 15%; } to { top: 85%; } }
.friend-scanner-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.friend-scanner-feedback {
  margin: 14px 0 0;
  padding: 13px 15px;
  border: 1px solid rgba(91,200,255,.22);
  border-radius: 14px;
  color: #dff5ff;
  background: rgba(31,169,255,.08);
  text-align: center;
  font-weight: 850;
  line-height: 1.45;
}
.friend-scanner-feedback.is-success {
  border-color: rgba(73,217,129,.32);
  background: rgba(73,217,129,.1);
  color: #e5fff0;
}
.friend-scanner-feedback.is-error {
  border-color: rgba(255,91,111,.34);
  background: rgba(255,73,111,.09);
  color: #ffdce3;
}
.friend-manual-connect {
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 14px;
}
.friend-manual-connect summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.friend-manual-form { margin-top: 14px; }
.friend-request-groups {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
.friend-request-group {
  display: grid;
  gap: 10px;
}
.friend-request-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
}
.friend-request-group-title > span,
.friend-count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(91,200,255,.17);
  border-radius: 999px;
  color: #ccecff;
  background: rgba(91,200,255,.07);
  font-size: 12px;
  font-weight: 900;
}
.friend-request-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.friend-request-card.is-outgoing { background: rgba(91,200,255,.035); }
.friend-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid rgba(91,200,255,.55);
  border-radius: 50%;
  color: var(--blue-2);
  background: rgba(91,200,255,.08);
}
.friend-avatar svg { width: 23px; height: 23px; }
.friend-avatar img { width: 100%; height: 100%; object-fit: cover; }
.friend-avatar.has-photo { border-color: rgba(73,217,129,.55); }
.friend-request-copy { min-width: 0; }
.friend-request-copy strong,
.friend-list-copy strong { display: block; color: #fff; }
.friend-request-copy small,
.friend-list-copy small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.4; }
.friend-request-actions { display: flex; gap: 7px; }
.btn-compact { min-height: 38px; padding: 8px 12px; font-size: 12px; }
.friend-icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #ffdce3;
  background: rgba(255,73,111,.08);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
}
.friend-empty-state {
  padding: 16px;
  border: 1px dashed rgba(255,255,255,.09);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255,255,255,.02);
  line-height: 1.55;
}
.friend-list-panel { overflow: hidden; }
.friend-list-heading {
  align-items: flex-start;
  gap: 20px;
}
.friend-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.friend-list-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(91,200,255,.11);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(91,200,255,.025));
}
.friend-avatar-large { width: 58px; height: 58px; }
.friend-list-copy { min-width: 0; }
.friend-list-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.friend-remove-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(255,91,111,.18);
  border-radius: 12px;
  color: #ffc9d3;
  background: rgba(255,73,111,.065);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
}
.friend-remove-button svg { width: 15px; height: 15px; }
.friend-remove-button:hover { border-color: rgba(255,91,111,.4); background: rgba(255,73,111,.11); }
.friend-empty-state-large {
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  margin-top: 18px;
  text-align: center;
}
.friend-empty-state-large svg { width: 38px; height: 38px; color: var(--blue-2); }
.friend-empty-state-large strong { color: #fff; font-size: 17px; }
.friend-empty-state-large span { max-width: 540px; }

@media (max-width: 1080px) {
  .friend-hub-grid { grid-template-columns: 1fr; }
  .friend-list-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .friend-scanner { width: 100%; border-radius: 24px; }
  .friend-scanner-placeholder { padding: 24px; }
  .friend-request-card { grid-template-columns: auto minmax(0, 1fr); }
  .friend-request-actions,
  .friend-request-card > form { grid-column: 1 / -1; }
  .friend-request-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .friend-request-actions form .btn { width: 100%; }
  .friend-list-card { grid-template-columns: auto minmax(0, 1fr); }
  .friend-list-card > form { grid-column: 1 / -1; }
  .friend-remove-button { width: 100%; justify-content: center; }
  .friend-list-heading { display: grid; }
  .friend-count-pill { justify-self: start; }
}


/* Privacyvriendelijk Vriend uitnodigen / native share — 2026-09-02 */
.wallet-earn-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wallet-share-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(103, 184, 255, .18);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(85, 195, 255, .08), rgba(35, 180, 95, .055));
}
.wallet-share-action strong {
  display: block;
  color: #fff;
  font-size: 18px;
}
.wallet-share-action p {
  margin: 5px 0;
  color: var(--muted);
  line-height: 1.5;
}
.wallet-share-action small,
.friend-share-privacy {
  color: rgba(213, 229, 244, .72);
  line-height: 1.45;
}
.wallet-share-action-controls,
.friend-share-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.share-feedback {
  min-height: 1.35em;
  max-width: 420px;
  color: #84e9b3;
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}
.share-feedback.is-error {
  color: #ffbdad;
}
.xp-earn-cards-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.friend-share-panel {
  margin-top: 22px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.friend-share-panel h2 {
  margin-bottom: 8px;
}
.friend-share-privacy {
  margin: 10px 0 0;
}
@media (max-width: 1050px) {
  .xp-earn-cards-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .wallet-share-action,
  .friend-share-panel {
    grid-template-columns: 1fr;
  }
  .wallet-share-action-controls,
  .friend-share-actions {
    justify-items: stretch;
  }
  .wallet-share-action-controls .btn,
  .friend-share-actions .btn {
    width: 100%;
  }
  .share-feedback {
    max-width: none;
    text-align: left;
  }
  .xp-earn-cards-three {
    grid-template-columns: 1fr;
  }
}


/* Notification preferences / V14 compliance — 2026-09-02 */
.account-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.notification-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}
.notification-device-card,
.notification-preferences-form { display: grid; gap: 18px; }
.notification-device-card h2,
.notification-preferences-form h2 { margin: 0; }
.notification-helper,
.notification-form-actions small,
.notification-choice small {
  color: var(--muted);
  line-height: 1.5;
}
.notification-preference-group {
  display: grid;
  gap: 11px;
  border-top: 1px solid rgba(103, 184, 255, .12);
  padding-top: 18px;
}
.notification-preference-group h3 { margin: 0; }
.notification-choice {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(103, 184, 255, .12);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,.025);
  cursor: pointer;
}
.notification-choice:hover { border-color: rgba(91, 200, 255, .28); background: rgba(91,200,255,.035); }
.notification-choice input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #1ea7ff;
}
.notification-choice span { display: grid; gap: 4px; }
.notification-choice strong { color: #fff; }
.notification-marketing-group {
  border: 1px solid rgba(35, 180, 95, .24);
  border-radius: 16px;
  padding: 18px;
  background: rgba(35,180,95,.035);
}
.notification-marketing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.notification-marketing-head p { color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
.notification-marketing-head > span {
  flex: 0 0 auto;
  border: 1px solid rgba(35,180,95,.38);
  border-radius: 999px;
  padding: 6px 9px;
  color: #8df3b5;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .08em;
}
.notification-choice-marketing input { accent-color: #23b45f; }
.notification-consent-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.notification-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}
.notification-form-actions small { max-width: 560px; }
@media (max-width: 900px) {
  .notification-settings-grid { grid-template-columns: 1fr; }
}


/* Account verwijderen - privacy/compliance */
.account-danger-card {
  border-color: rgba(255, 77, 109, .28);
  background: linear-gradient(145deg, rgba(52, 11, 22, .42), rgba(5, 16, 30, .82));
}
.account-danger-eyebrow { color: #ff8fa4; }
.account-delete-modal[hidden] { display: none; }
.account-delete-modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 24px; }
.account-delete-dialog { width: min(640px, 100%); border-color: rgba(255, 77, 109, .4); box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 70px rgba(255,77,109,.09); }
.account-delete-dialog h2 { margin: 8px 52px 10px 0; }
.account-delete-warning {
  display: grid;
  gap: 7px;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid rgba(255, 77, 109, .28);
  border-radius: 16px;
  background: rgba(255, 77, 109, .09);
  color: #ffd9e1;
  line-height: 1.5;
}
.account-delete-warning span { color: #d8b9c0; }
.account-delete-form { display: grid; gap: 18px; }
.account-delete-confirm { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid rgba(255,77,109,.18); border-radius: 14px; background: rgba(255,255,255,.025); line-height: 1.45; }
.account-delete-confirm input { width: auto; margin-top: 3px; accent-color: var(--danger); }
.account-delete-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
  .account-delete-modal { padding: 14px; }
  .account-delete-dialog { padding: 24px 18px; border-radius: 22px; }
  .account-delete-actions { display: grid; grid-template-columns: 1fr; }
  .account-delete-actions .btn { width: 100%; }
}

/* V70 publieke gebruikersnaam */
.username-setup-page{min-height:72vh;display:grid;place-items:center;padding-top:clamp(30px,7vw,90px);padding-bottom:clamp(80px,12vw,150px)}
.username-setup-card{width:min(720px,100%);padding:clamp(28px,5vw,54px);text-align:center;position:relative;overflow:hidden}
.username-setup-card:before{content:"";position:absolute;inset:-35% 15% auto;height:260px;background:radial-gradient(circle,rgba(35,174,255,.17),transparent 66%);pointer-events:none}
.username-setup-icon{width:70px;height:70px;margin:0 auto 18px;border:1px solid rgba(79,199,255,.42);border-radius:22px;display:grid;place-items:center;font-size:32px;font-weight:900;color:#63d3ff;background:rgba(20,145,220,.10);box-shadow:0 0 30px rgba(32,179,255,.12)}
.username-setup-card h1{margin:.25rem 0 .7rem}.username-setup-card .lead{max-width:570px;margin:0 auto 26px}
.username-setup-form{text-align:left;max-width:560px;margin:0 auto}.username-setup-form input[name="username"]{font-size:1.15rem;font-weight:800;letter-spacing:.02em}
.username-rules{display:grid;gap:8px;padding:16px 18px;margin:12px 0 14px;border:1px solid rgba(111,168,207,.2);border-radius:16px;background:rgba(7,25,42,.46);color:var(--muted,#aebed0)}
.username-rules strong{color:var(--text,#f6fbff)}.username-rules span:before{content:"✓";color:#4fd1ff;font-weight:900;margin-right:9px}
.account-username-card .username-public-preview{display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:16px;background:rgba(10,31,51,.56);border:1px solid rgba(85,158,204,.18);margin-bottom:16px}
.username-public-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#1db8ff,#bd3cff);font-weight:900;color:white}
.username-public-preview strong{display:block;font-size:1.05rem}.username-public-preview small{color:var(--muted,#aebed0)}
.username-missing-notice{border-color:rgba(81,198,255,.32)!important;background:rgba(24,126,185,.1)!important}
.game-username-required{display:flex;min-height:330px;padding:30px;align-items:center;justify-content:center;text-align:center;background-size:cover;background-position:center;position:relative;overflow:hidden;border-radius:inherit}
.game-username-required:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(1,12,25,.52),rgba(1,12,25,.92))}
.game-username-required>div{position:relative;z-index:1;max-width:520px}.game-username-required h2{font-size:clamp(1.6rem,4vw,2.6rem);margin:.35rem 0 .7rem}.game-username-required p{color:#b9c8d8;margin-bottom:20px}
