/* ═══════════════════════════════════════════════════════════════
   SapanaCyberHub X LoL  —  Stylesheet
   Font: Bebas Neue (display) + Nunito (body)
   Theme: Light with neon accents
═══════════════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --bg: #f6f7fb;
  --bg2: #ffffff;
  --bg3: #eef2f7;
  --card-bg: #ffffff;
  --border: #dbe2ea;
  --yellow: #ffcb2f;
  --yellow-dim: rgba(255, 203, 47, .18);
  --pink: #ff4f8b;
  --pink-dim: rgba(255, 79, 139, .14);
  --cyan: #64d4d5;
  --purple: #7a78f2;
  --purple-dim: rgba(122, 120, 242, .12);
  --green: #23b26f;
  --green-dim: rgba(35, 178, 111, .12);
  --red: #ef5b65;
  --text: #17181c;
  --text-mid: rgba(23, 24, 28, .68);
  --muted: rgba(23, 24, 28, .46);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 24px 80px rgba(21, 27, 38, .12);
  --shadow-sm: 0 12px 36px rgba(21, 27, 38, .08);
  --ease: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ── Base ───────────────────────────────────────────────────── */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 79, 139, .08), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 203, 47, .12), transparent 24%),
    linear-gradient(180deg, #fcfcfe 0%, #f4f6fa 45%, #eef2f7 100%);
  color: var(--text);
  min-height: 100dvh;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Soft ambient blobs behind everything */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: .8;
  z-index: 0;
}

body::before {
  width: 240px;
  height: 240px;
  top: -90px;
  right: -40px;
  background: rgba(255, 203, 47, .18);
}

body::after {
  width: 260px;
  height: 260px;
  left: -70px;
  bottom: 20%;
  background: rgba(255, 79, 139, .12);
}

button {
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
}

img,
video {
  display: block;
  max-width: 100%;
}

input,
textarea {
  font-family: 'Nunito', sans-serif;
}

.hidden {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   SCREENS
═══════════════════════════════════════════════════════════════ */
.screen {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  background: transparent;
  z-index: 1;
}

.screen.active {
  display: flex;
}

/* ═══════════════════════════════════════════════════════════════
   GATE SCREEN
═══════════════════════════════════════════════════════════════ */
.gate-bg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 79, 139, .18), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(255, 203, 47, .22), transparent 24%),
    linear-gradient(155deg, #ffffff 0%, #f6f8fc 58%, #edf2f7 100%);
  position: relative;
  overflow: hidden;
  padding: 20px 16px;
}

.gate-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(96px);
  opacity: .22;
  animation: blobFloat 9s ease-in-out infinite;
}

.b1 {
  width: 320px;
  height: 320px;
  background: var(--purple);
  top: -90px;
  left: -70px;
  animation-delay: 0s;
}

.b2 {
  width: 260px;
  height: 260px;
  background: var(--pink);
  bottom: -70px;
  right: -50px;
  animation-delay: -3.5s;
}

.b3 {
  width: 210px;
  height: 210px;
  background: var(--yellow);
  top: 42%;
  right: 8%;
  animation-delay: -7s;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(18px, -18px) scale(1.07);
  }
}

/* Gate card */
.gate-card {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 24px;
  padding: 40px 28px 36px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 30px 90px rgba(26, 32, 44, .12), 0 0 0 1px rgba(255, 255, 255, .65);
  position: relative;
  z-index: 1;
}

/* Loading state */
.gate-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}

.gate-loading p,
#gate-loading-text {
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
  transition: opacity .3s;
}

.gate-spin {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(23, 24, 28, .1);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

.icon {
  width: 150px;
  object-fit: cover;
  animation: shimmer .5s alternate-reverse infinite;
  cursor: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    filter: brightness(.8)
  }

  50% {
    filter: brightness(1.1)
  }

  100% {
    filter: brightness(1)
  }
}

/* No-account state */
.gate-noaccount {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gate-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 20px;
}

.gate-logo .logo-main {
  color: var(--text);
}

.gate-logo .logo-x {
  color: var(--yellow);
  margin: 0 4px;
}

.gate-logo .logo-lol {
  color: var(--pink);
}

.gate-lock-emoji {
  font-size: 56px;
  margin-bottom: 14px;
  animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.08)
  }
}

.gate-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--text);
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.gate-sub {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 300px;
}

.gate-sub strong {
  color: var(--text);
}

.gate-perks {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
  width: 100%;
}

.gate-perk {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(219, 226, 234, .95);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
  transition: border-color .2s, color .2s;
}

.gate-perk:hover {
  border-color: rgba(255, 203, 47, .9);
  color: var(--text);
}

.gate-perk span:first-child {
  font-size: 22px;
}

.btn-gate-primary {
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #ffd85a, var(--yellow));
  color: #17181c;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 12px 28px rgba(255, 203, 47, .26);
  margin-bottom: 16px;
  transition: transform .18s var(--ease), box-shadow .18s;
}

.btn-gate-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 203, 47, .34);
}

.btn-gate-primary:active {
  transform: scale(.97);
}

.gate-note {
  font-size: 12px;
  color: var(--text-mid);
}

.btn-gate-retry {
  background: none;
  border: none;
  color: #c68d00;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.btn-gate-retry:hover {
  color: var(--text);
}

/* Error state */
.gate-error {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gate-error-emoji {
  font-size: 56px;
  margin-bottom: 14px;
  animation: lockPulse 2s ease-in-out infinite;
}

.gate-error .gate-sub {
  white-space: pre-line;
}

.gate-listen-link {
  color: #c68d00;
  font-weight: 700;
  text-decoration: underline;
}

.gate-listen-link:hover {
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   APP HEADER
═══════════════════════════════════════════════════════════════ */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(11px, env(safe-area-inset-top, 11px)) 16px 11px;
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(219, 226, 234, .9);
  box-shadow: 0 10px 30px rgba(21, 27, 38, .06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-shrink: 0;
  z-index: 10;
  gap: 10px;
}

.h-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  display: flex;
  align-items: center;
  letter-spacing: 1.5px;
  color: var(--text);
  white-space: nowrap;
}

.h-logo img {
  width: 50px;
}

.h-x {
  color: var(--yellow);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.streak-badge,
.credit-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(215, 223, 232, .92);
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .94);
}

.streak-badge {
  color: #f58b22;
}

.credit-badge {
  color: #c89600;
}

.btn-create-top {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd85b, #ffcb2f);
  color: #17181c;
  border: none;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(255, 203, 47, .3);
  flex-shrink: 0;
  transition: transform .22s var(--ease);
}

.btn-create-top:hover {
  transform: scale(1.12) rotate(90deg);
}

.btn-create-top:active {
  transform: scale(.95);
}

.btn-feed-mode {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(215, 223, 232, .95);
  background: rgba(255, 255, 255, .94);
  color: var(--text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(21, 27, 38, .06);
  flex-shrink: 0;
  transition: transform .18s var(--ease), border-color .18s, color .18s;
}

.btn-feed-mode:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 203, 47, .9);
  color: #c78b00;
  background: #fffdf6;
}

.btn-feed-mode:active {
  transform: scale(.95);
}

.user-avatar-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--pink);
  box-shadow: 0 8px 22px rgba(255, 79, 139, .16);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s;
}

.user-avatar-wrap:hover {
  border-color: var(--yellow);
}

.user-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════
   FEED
═══════════════════════════════════════════════════════════════ */
.feed-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 10px 8px 6px;
  gap: 10px;
}

.card-stack {
  width: 100%;
  max-width: 460px;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

/* loading / empty */
.loading-state,
.empty-feed {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 8;
  backdrop-filter: blur(10px);
  top: 0;
  gap: 14px;
  color: var(--muted);
  text-align: center;
  padding: 40px 20px;
  width: 100%;
}

.loader-emoji img {
  width: 150px;
  animation: shimmer .8s alternate infinite;
  pointer-events: none;
}

.empty-feed h3 {
  font-size: 22px;
  color: var(--text);
}

.empty-feed p {
  font-size: 14px;
}

.swipe-hint {
  position: static;
  font-size: 10px;
  color: var(--text-mid);
  transition: opacity 1.2s ease;
  pointer-events: none;
  white-space: nowrap;
  align-self: center;
  text-align: center;
  max-width: min(92vw, 320px);
}

.feed-mode-fab {
  position: absolute;
  right: 14px;
  bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 18px));
  z-index: 6;
  border: 1px solid rgba(214, 222, 231, .95);
  background: rgba(255, 255, 255, .88);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 34px rgba(21, 27, 38, .12);
  transition: transform .18s var(--ease), border-color .18s, color .18s;
}

.feed-mode-fab:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 203, 47, .9);
  color: #c68d00;
}

.feed-mode-fab:active {
  transform: scale(.97);
}

/* Inline ad / quick-link slots */
.inline-ad-slot {
  width: 100%;
  border-radius: 14px;
  border: 1px dashed rgba(196, 205, 216, .95);
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(246, 248, 251, .92));
  display: flex;
  justify-content: center;
  overflow-y: scroll;
  padding: 10px;
  text-align: center;
}

.inline-ad-slot--feed {
  min-height: 170px;
}

.inline-ad-slot--profile {
  min-height: 120px;
}

.inline-ad-slot--bonus {
  min-height: 120px;
  margin: 14px 0 4px;
}

.quick-break-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ad-break-note {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-link {
  flex: 1 1 calc(50% - 4px);
  min-width: 132px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(219, 226, 234, .95);
  background: linear-gradient(180deg, #ffffff, #f9fbfd);
  box-shadow: 0 6px 16px rgba(21, 27, 38, .04);
  color: var(--text);
  text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s, background .18s;
}

.quick-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 203, 47, .9);
  background: linear-gradient(180deg, #fffdf7, #fff7e6);
}

.quick-link-name {
  font-size: 12px;
  font-weight: 800;
}

.quick-link-meta {
  font-size: 11px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   LOL CARD
═══════════════════════════════════════════════════════════════ */
.lol-card {
  width: 100%;
  height: min(100%, calc(100dvh - 142px));
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(218, 225, 234, .95);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: cardIn .28s var(--ease) both;
  user-select: none;
  -webkit-user-select: none;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: scale(.93) translateY(14px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}



/* Creator row */
.card-creator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-bottom: 1px solid rgba(219, 226, 234, .82);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 249, 252, .96));
  flex-shrink: 0;
}

.c-dp {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
  flex-shrink: 0;
}

.c-info {
  flex: 1;
  min-width: 0;
}

.c-name {
  display: block;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-time {
  font-size: 10px;
  color: var(--text-mid);
}



/* Title block */
.card-title-wrap {
  display: flex;
  align-items: center;
  /* Keeps title and tags vertically aligned */
  gap: 8px;

  /* This is the magic part */
  overflow-x: auto;
  /* Allows horizontal scrolling if content is too wide */
  white-space: nowrap;
  /* Prevents the title from breaking into two lines */

  background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(248, 250, 253, .97));
}

.card-title {
  font-size: clamp(.95rem, 2.1vw, 1.08rem);
  font-weight: 900;
  color: var(--text);

  /* Ensures the title doesn't shrink to make room for tags */
  flex-shrink: 0;
}

.tag {
  font-size: 10px;
  font-weight: 800;
  color: #6764d8;
  white-space: nowrap;
  /* Keeps individual tags from breaking */
  flex-shrink: 0;
}

/* Hide scrollbar for a cleaner look */
.card-title-wrap::-webkit-scrollbar {
  display: none;
  /* Hides scrollbar for Chrome, Safari and Opera */
}

.card-title-wrap {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Media */
.card-media {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc, #edf1f6);
  border-top: 1px solid rgba(219, 226, 234, .82);
  border-bottom: 1px solid rgba(219, 226, 234, .82);
  user-select: none;
  -webkit-user-select: none;
}

/* ── Soft, moving radials (no rotation) ── */
.card-media::before {
  content: "";
  position: absolute;
  inset: -20px;                           /* prevent edge clipping */
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(circle at 30% 30%, rgba(255, 0, 85, 0.1), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(255, 191, 0, 0.1), transparent 36%),
    radial-gradient(circle at 50% 90%, rgba(0, 133, 255, 0.1), transparent 50%);

  background-size: 300% 300%;             /* extra space for movement */

  /* only a position‑shifting animation, no rotation */
  animation: flowRadials 10s ease-in-out infinite alternate;
}

/* ── Keyframes – each radial travels independently ── */
@keyframes flowRadials {
  0% {
    background-position:
      0% 0%,       /* pink */
      100% 100%,   /* gold */
      50% 0%;      /* blue */
  }
  33% {
    background-position:
      100% 30%,    /* pink right */
      0% 70%,      /* gold left */
      80% 100%;    /* blue down */
  }
  66% {
    background-position:
      30% 100%,    /* pink bottom */
      70% 0%,      /* gold top */
      20% 50%;     /* blue centre/left */
  }
  100% {
    background-position:
      0% 0%,       /* return to starting positions */
      100% 100%,
      50% 0%;
  }
}

/* ── Video / image stays on top, untouched ── */
.card-img,
.card-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  user-select: none;
  opacity: 1 !important;
  aspect-ratio: 9 / 16;
  backface-visibility: hidden;
  filter: drop-shadow(0 4px 12px rgba(21, 27, 38, 0.1));
  background: transparent;
  -webkit-user-select: none;
}

.video-stage {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: manipulation;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.4s ease;
  background: #0f172a;
  /* Deep base */
  overflow: hidden;
}

/* 1. Multi-Color Radial Base (Atmosphere) */
.video-loading-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.2) 0%, transparent 40%),
    radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, #0f172a 70%);
  z-index: -2;
}

/* 2. The Moving Multi-Color "Dot" (Linear/Radial Hybrid) */
.video-loading-overlay::after {
  content: "";
  position: absolute;
  inset: -100%;
  /* A sharp, vibrant multi-color linear sweep */
  background: linear-gradient(135deg,
      rgba(59, 130, 246, 0) 40%,
      rgba(59, 130, 246, 0.4) 45%,
      rgba(236, 72, 153, 0.4) 50%,
      rgba(168, 85, 247, 0.4) 55%,
      rgba(59, 130, 246, 0) 60%);
  /* Animating the movement of the color band */
  animation: neonSweep 5s linear infinite;
  z-index: -1;
  filter: blur(40px);
  /* Blurs the edges into a glowing "dot" movement */
}

/* Moving the colorful light band across the screen */
@keyframes neonSweep {
  0% {
    transform: translate(-20%, -20%) rotate(0deg);
  }

  50% {
    transform: translate(20%, 20%) rotate(5deg);
  }

  100% {
    transform: translate(-20%, -20%) rotate(0deg);
  }
}

.video-loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-loading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #fff;
  align-items: center;
  justify-content: center;
}

.lol-loading-icon {
  font-size: 3.2rem;
  margin-bottom: 12px;
  max-width: 50px;
}



.video-status-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(12, 12, 18, .62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}

.video-stage.is-paused .video-status-chip {
  background: rgba(255, 45, 120, .88);
}

.no-media {
  font-size: 80px;
  opacity: .90;
}

/* Card footer */
.card-footer {
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(219, 226, 234, .82);
  background: rgba(255, 255, 255, .98);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.card-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mid);
}

.card-actions {
  display: flex;
  gap: 6px;
}

.act-btn {
  flex: 1;
  padding: 8px 10px;
  min-height: 40px;
  border-radius: var(--radius-xs);
  border: 1.5px solid rgba(216, 224, 233, .95);
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  color: var(--text);
  font-weight: 700;
  font-size: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98);
  transition: border-color .18s, color .18s, transform .18s var(--ease), background .18s;
}

.act-btn:hover {
  border-color: rgba(255, 79, 139, .88);
  background: rgba(255, 79, 139, .08);
  color: var(--pink);
  transform: translateY(-2px);
}

.act-btn:active {
  transform: scale(.96);
}

.act-btn.liked {
  background: rgba(255, 79, 139, .1);
  border-color: rgba(255, 79, 139, .45);
  color: var(--pink);
}

.nav-arrows {
  display: flex;
  gap: 6px;
}

.arrow-btn {
  flex: 1;
  padding: 7px;
  min-height: 38px;
  border-radius: var(--radius-xs);
  border: 1.5px solid rgba(216, 224, 233, .95);
  background: linear-gradient(180deg, #ffffff, #f6f8fb);
  color: var(--text);
  font-size: 15px;
  transition: border-color .18s, color .18s, transform .18s var(--ease);
}

.arrow-btn:hover {
  border-color: rgba(255, 203, 47, .95);
  color: #c68d00;
  background: #fffdf5;
  transform: scale(1.04);
}

.arrow-btn:active {
  transform: scale(.95);
}

/* ═══════════════════════════════════════════════════════════════
   AD CARD
═══════════════════════════════════════════════════════════════ */
.ad-card {
  background:
    radial-gradient(circle at top right, rgba(255, 203, 47, .18), transparent 30%),
    linear-gradient(180deg, #fffdf7, #fff9ef 88%);
  border-color: rgba(255, 203, 47, .34);
  padding: 16px;
  gap: 10px;
  color: var(--text);
}

.ad-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #c68d00;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ad-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ad-network-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mid);
  border: 1px solid rgba(219, 226, 234, .92);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, .84);
}

.ad-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
}

.ad-copy,
.ad-loading {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.55;
}

.featured-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 203, 47, .3);
  background: linear-gradient(180deg, #fffdf5, #fff7e2);
  text-decoration: none;
  color: var(--text);
  transition: transform .18s var(--ease);
}

.featured-link:hover {
  transform: translateY(-1px);
}

.featured-link strong {
  font-size: 15px;
}

.featured-link small {
  color: var(--muted);
  font-size: 11px;
}

/* Ad card body (Monetag + Adsterra banner container) */
.ad-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 12px;
  overflow: hidden;
}

.ad-banner-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background: var(--bg3);
  min-height: 60px;
}

.ad-banner-wrap {
  max-width: 100%;
  overflow: hidden;
}

.ad-monetag-section {
  width: 100%;
  min-height: 40px;
  display: flex;
  justify-content: center;
}

.ad-cta-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 4px 20px rgba(139, 92, 246, .35);
  transition: transform .18s var(--ease), box-shadow .18s;
}

.ad-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(139, 92, 246, .5);
}

.ad-cta-btn:active {
  transform: scale(.97);
}

.ad-card .nav-arrows,
.bonus-card .nav-arrows,
.ad-card-nav {
  padding: 0 14px 14px;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   BONUS CARD
═══════════════════════════════════════════════════════════════ */
.bonus-card {
  background:
    radial-gradient(circle at top left, rgba(255, 203, 47, .24), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 79, 139, .16), transparent 28%),
    linear-gradient(160deg, #fffef8, #fff5df 52%, #ffeef4 100%);
  color: var(--text);
  border: 1px solid rgba(255, 203, 47, .34);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 28px 70px rgba(21, 27, 38, .12);
  text-align: left;
  overflow-y: scroll;
}

.bonus-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bonus-emoji {
  font-size: 40px;
}

.bonus-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--text);
}

.bonus-sub {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.55;
}

.bonus-meter {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.bonus-network-badges {
  display: flex;
  gap: 8px;
  margin: -4px 0 8px;
}

.bonus-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 99px;
}

.bonus-badge.monetag {
  background: rgba(255, 203, 47, .15);
  color: #c68d00;
  border: 1px solid rgba(255, 203, 47, .3);
}

.bonus-badge.adsterra {
  background: rgba(100, 212, 213, .12);
  color: #1a8fa0;
  border: 1px solid rgba(100, 212, 213, .25);
}

.bonus-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

#btn-claim {
  background: linear-gradient(135deg, #ffd85a, var(--yellow));
  color: #17181c;
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  flex: 1 1 180px;
  box-shadow: 0 12px 24px rgba(255, 203, 47, .22);
  transition: transform .18s var(--ease);
}

#btn-claim:hover {
  transform: translateY(-2px);
}

#btn-claim:disabled {
  opacity: .72;
  cursor: wait;
  transform: none;
}

.bonus-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(216, 224, 233, .95);
  background: rgba(255, 255, 255, .72);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  flex: 1 1 180px;
  transition: transform .18s var(--ease), border-color .18s;
}

.bonus-link-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 203, 47, .9);
}

.skip-bonus-btn {
  display: block;
  width: auto;
  padding: 8px 20px;
  margin-top: 8px;
}

.fade-in {
  animation: fadeIn .3s ease;
}

.fade-out {
  animation: fadeOut .4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(.95)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(.95)
  }
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM NAV
═══════════════════════════════════════════════════════════════ */
.bottom-nav {
  display: flex;
  flex-shrink: 0;
  position: relative;
  background: rgba(0, 0, 0, .12);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 10;
}

.bottom-nav::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00f2ff, #0062ff, #ff00ff, #00f2ff);
  background-size: 200% auto;
  animation: glowMove 3s alternate-reverse infinite;
  box-shadow: 0 0 15px rgba(0, 242, 255, .6);
  z-index: 11;
}

@keyframes glowMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.nav-btn {
  flex: 1;
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: clamp(0.5rem, 2vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  transform: scale(.8);
  transition: all .3s ease;
}

.nav-btn img {
  width: 50px;
  object-fit: contain;
  filter: drop-shadow(1px 1px 40px black);
}

.nav-btn label {
  cursor: pointer;
}

.nav-btn.active,
.nav-btn:hover {
  filter: drop-shadow(0 0 40px black);
  transform: scale(1);
  color: gold;
  text-shadow: 0 0 4px gold;
}

.lolLeaderBoard-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgb(0, 0, 0), white);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;

}


.leaderboard-card {
  display: flex;
  width: calc(100% - 20px);
  align-items: center;
  flex-direction: column;
  position: relative;
  padding: 0;
}

.leaderboard-header {
  text-align: center;
  padding: 20px 0 10px;
}

.leaderboard-header h2 {
  font-size: 1.5rem;
  margin: 0;
}

.leaderboard-date {
  font-size: 0.9rem;
  color: #aab2cf;
  margin-top: 4px;
}

.top-post-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.top-post-card:hover {
  background: rgba(124, 92, 255, 0.15);
  transform: scale(1.02);
}

.top-3 {
  background: linear-gradient(90deg, #ffd70022, #ffedaa22);
  border: 2px solid #ffd700;
}

.rank-badge {
  font-size: 1.4rem;
  font-weight: 700;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #7c5cff;
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}

.post-preview {
  width: 80px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #000;
  flex-shrink: 0;
}

.post-preview video,
.post-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header {
  display: flex;
  width: calc(100% - 20px);
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 10px 0;
}

.header img {
  width: 150px;
  object-fit: cover;
  filter: drop-shadow(0 0 3px gold);
  z-index: 10;

}

.header strong {
  font-size: 1rem;
  background: rgba(222, 135, 189, 0.036);
  border-radius: 999px;
  color: white;
  align-self: flex-start;
  transform: translateY(10px);
  padding: 10px 12px;
  font-weight: bolder;
  font-family: Georgia, 'Times New Roman', Times, serif;
  transition: all 0.3s ease;
}

.header span {
  font-size: 1rem;
  background: rgba(153, 255, 0, 0);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0);
  align-self: flex-start;
  transform: translateY(10px);
  padding: 10px 12px;
  font-weight: bolder;
  font-family: Georgia, 'Times New Roman', Times, serif;
  transition: all 0.3s ease;
}

.header strong:hover {
  color: rgb(255, 0, 0);
}

.leaderboard-data {
  box-shadow: 0 -2px 1px black;
  border-radius: 25px 25px 0px 0px;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px);
  z-index: 8;
}

.top-rank {
  border: 2px solid gold;
  background: linear-gradient(135deg, #fff7cc, #fff);
}


.leaderboard-data::-webkit-scrollbar {
  display: none;
}

.row {
  display: flex;
  justify-content: space-around;
  font-weight: 700;
  padding: 10px;
  border-bottom: 2px solid black;
}

.creator-card {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 10px;
  border-bottom: 2px solid gray;
}

.creator-card .profile {
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-rank {
  font-style: italic;
  font-weight: bolder;
  font-family: Georgia, 'Times New Roman', Times, serif;
  border-radius: 80px;
  padding: 2px;
  border-right: 2px solid rgb(255, 0, 0);
}

.creator-dp {
  flex: .1;
  width: 35px;
}

.creator-name {
  font-size: 0.8rem;
  font-weight: 700;
}

.engagement-score {
  font-size: .7rem;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* ═══════════════════════════════════════════════════════════════
   CREATE OVERLAY
═══════════════════════════════════════════════════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(245, 247, 251, .7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.overlay.hidden {
  display: none;
}

.create-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(219, 226, 234, .92);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 500px;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 20px 20px 32px;
  box-shadow: 0 -18px 50px rgba(21, 27, 38, .1);
  animation: slideUp .36s var(--ease-out) both;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

.create-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.create-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--text);
  letter-spacing: .5px;
}

.btn-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(215, 223, 232, .95);
  color: var(--text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}

.btn-close:hover {
  background: var(--pink-dim);
  border-color: var(--pink);
  color: var(--pink);
}

.create-requirements {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border: 1px solid rgba(219, 226, 234, .92);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.req-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  flex: 1;
  color: var(--text-mid);
}

.req-item strong {
  color: #c68d00;
}

.req-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.media-dropzone {
  border: 2px dashed rgba(202, 211, 222, .95);
  border-radius: var(--radius-sm);
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(247, 249, 252, .92));
  transition: border-color .2s, background .2s;
}

.media-dropzone:hover {
  border-color: rgba(255, 203, 47, .95);
  background: linear-gradient(180deg, #fffdf7, #fff7e6);
}

.dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-mid);
  text-align: center;
  padding: 24px;
  font-size: 13px;
}

.dropzone-icon {
  font-size: 46px;
}

.preview-media {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  display: block;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: #f8f9fc;
  border: 1.5px solid rgba(216, 224, 233, .95);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-input:focus {
  border-color: rgba(255, 203, 47, .95);
  box-shadow: 0 0 0 4px rgba(255, 203, 47, .14);
}

.form-input::placeholder {
  color: var(--muted);
}

.btn-post {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ff5b93, #ff7aa7);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 12px 24px rgba(255, 79, 139, .18);
  margin-bottom: 8px;
  transition: transform .18s var(--ease), box-shadow .18s;
}

.btn-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(255, 79, 139, .28);
}

.btn-post:active {
  transform: scale(.97);
}

.btn-post:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.post-note {
  font-size: 12px;
  color: var(--text-mid);
  text-align: center;
}

.card-media video {
  transition: opacity .12s ease;
}

/* ═══════════════════════════════════════════════════════════════
   PROFILE SCREEN
═══════════════════════════════════════════════════════════════ */
#profile-screen {
  overflow-y: auto;
}

.profile-wrap {
  flex: 1;
  overflow-y: auto;
  background: transparent;
}

.profile-top-bar {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(219, 226, 234, .9);
  box-shadow: 0 10px 30px rgba(21, 27, 38, .06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.back-btn {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(215, 223, 232, .95);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: var(--text);
  font-size: 16px;
  font-weight: bolder;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(21, 27, 38, .06);
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}

.back-btn:hover {
  background: #fffdf6;
  border-color: rgba(255, 203, 47, .9);
}

.profile-title {
  flex: 1;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--text);
  letter-spacing: .5px;
}

.profile-title img {
  width: 50px;
  margin-left: 6px;
  object-fit: contain;
}

.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 16px;
  gap: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(247, 249, 252, .94));
  border-bottom: 1px solid rgba(219, 226, 234, .82);
  margin: 0 16px 16px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(21, 27, 38, .07);
}

.p-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--pink);
  box-shadow: 0 18px 34px rgba(255, 79, 139, .14);
  margin-bottom: 4px;
}

.p-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.p-email {
  font-size: 13px;
  color: var(--text-mid);
}

.listen-balance-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 203, 47, .14);
  border: 1px solid rgba(255, 203, 47, .26);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 4px;
}

.listen-balance-badge strong {
  color: #c68d00;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px 14px;
}

.stat-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(219, 226, 234, .92);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(21, 27, 38, .05);
  transition: border-color .2s;
}

.stat-card:hover {
  border-color: rgba(255, 203, 47, .3);
}

.stat-icon {
  font-size: 24px;
  width: 35px;
  object-fit: cover;
  filter: drop-shadow(0 0 4px gold);
}

.stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  color: #c68d00;
  line-height: 1;
}

.stat-label {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 700;
}

.progress-section {
  padding: 0 16px 14px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 7px;
  font-weight: 700;
}

.progress-bar-wrap {
  height: 8px;
  background: #edf1f5;
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--cyan));
  border-radius: 99px;
  transition: width .7s ease;
  min-width: 4px;
}

/* Native ad slot in profile */
.native-ad-slot {
  margin: 0 16px 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: transparent;
  min-height: 0;
}

.native-ad-slot:not(:empty) {
  border: 1px solid var(--border);
  background: var(--bg2);
  padding: 4px;
  min-height: 80px;
}

.transfer-section {
  margin: 0 16px 16px;
  background: linear-gradient(180deg, #fffdf4, #fff7df);
  border: 1px solid rgba(255, 203, 47, .26);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: 0 18px 36px rgba(255, 203, 47, .08);
}

.transfer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
  font-size: 13px;
  color: var(--text-mid);
}

.transfer-info strong {
  color: #c68d00;
  font-size: 20px;
}

.btn-transfer {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #ffd85a, var(--yellow));
  color: #17181c;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .1px;
  box-shadow: 0 12px 28px rgba(255, 203, 47, .26);
  transition: transform .18s var(--ease), box-shadow .18s;
}

.btn-transfer:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 203, 47, .34);
}

.btn-transfer:active {
  transform: scale(.97);
}

.profile-sponsor {
  margin: 0 16px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(247, 249, 252, .92));
  border: 1px solid rgba(219, 226, 234, .92);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(21, 27, 38, .05);
}

.profile-sponsor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sponsor-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 203, 47, .12);
  color: #c68d00;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.profile-sponsor-copy {
  font-size: 12px;
  color: var(--text-mid);
}

.history-section {
  padding: 0 16px;
}

.history-section+.history-section {
  margin-top: 18px;
}

.history-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.history-list {
  display: flex;
  flex-direction: column;
  max-height: 400px;
  border: 2px solid beige;
  border-radius: var(--radius-sm);
  overflow-y: auto;
  padding: 4px;
  gap: 20px;
  box-shadow: -2px 18px 36px rgba(21, 27, 38, .04);
}

.history-list::-webkit-scrollbar {
  display: none;
}

.history-item {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(219, 226, 234, .92);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 14px 34px rgba(21, 27, 38, .05);
  transition: border-color .2s;
}

.history-item:hover {
  border-color: rgba(255, 203, 47, .3);
}

.hi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hi-title {
  font-weight: 700;
  font-size: 14px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.hi-badge {
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 99px;
  flex-shrink: 0;
  font-weight: 700;
}

.badge-active {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(35, 178, 111, .28);
}

.badge-done {
  background: rgba(95, 102, 114, .08);
  color: var(--text-mid);
  border: 1px solid rgba(219, 226, 234, .9);
}

.hi-stats {
  font-size: 12px;
  color: var(--text-mid);
}

.hi-earn {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-mid);
}

.hi-earning {
  color: var(--green);
  font-weight: 700;
}

.hi-exp {
  font-size: 11px;
  color: var(--muted);
}

.empty-history {
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  padding: 24px 0;
}


.profile-footer {
  margin-top: 40px;
  padding: 25px 15px;
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(219, 226, 234, .9);
  background: rgba(255, 255, 255, .72);
  position: relative;
  overflow: hidden;
}

/* 🌈 GRADIENT GLOW LAYER */
.profile-footer::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 40%,
      rgba(99, 241, 220, 0.3),
      transparent 60%),
    radial-gradient(circle at 70% 60%,
      rgba(236, 72, 154, 0.2),
      transparent 60%);
  z-index: 0;
  filter: blur(4px);
}

/* 🔵 DOT PATTERN LAYER */
.profile-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.127) 1px, transparent 1px);
  background-size: 18px 18px;
  filter: blur(4px);
  opacity: 0.4;
  z-index: 0;
}

/* keep content above effects */
.profile-footer * {
  position: relative;
  z-index: 1;
}



.footer-inner {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

/* BRAND */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  color: #ff0000;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 28px;
}

.footer-brand b {
  color: #818cf8;
}

/* LINKS */
.flinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.flinks a {
  font-size: 13px;
  color: #262f36;
  text-decoration: none;
  transition: 0.3s;
}

.flinks a:hover {
  color: #fff;
}

/* NOTE */
.footer-note {
  font-size: clamp(0.7rem, 2vw, 1rem);
  color: #ff0000;
  margin-bottom: 8px;
}

/* COPYRIGHT */
.footer-copy {
  font-size: clamp(0.7rem, 2vw, 1rem);
  color: #ff0000;
}

/* ═══════════════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(219, 226, 234, .95);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 18px 36px rgba(21, 27, 38, .12);
  animation: toastIn .28s var(--ease-out) both;
  pointer-events: none;
}

.toast.hidden {
  display: none;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(160, 170, 183, .7);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(132, 142, 156, .9);
}

/* ═══════════════════════════════════════════════════════════════
   FULLSCREEN FEED MODE
═══════════════════════════════════════════════════════════════ */
body.feed-fullscreen .app-header,
body.feed-fullscreen .bottom-nav {
  display: none;
}

body.feed-fullscreen .feed-wrap {
  padding: 0;
  gap: 0;
}

body.feed-fullscreen .card-stack {
  max-width: none;
  width: 100%;
  height: 100%;
}

body.feed-fullscreen .lol-card,
body.feed-fullscreen .ad-card,
body.feed-fullscreen .bonus-card {
  height: 100%;
  max-height: 100dvh;
  border-radius: 0;
  border-left: none;
  border-right: none;
  box-shadow: none;
}

body.feed-fullscreen .card-media,
body.feed-fullscreen .card-img,
body.feed-fullscreen .card-video {
  max-height: none;
  width: 100%;
  height: 100%;
}

body.feed-fullscreen .feed-mode-fab {
  bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 16px));
}

body.feed-fullscreen .swipe-hint {
  position: absolute;
  left: 50%;
  bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 18px));
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(219, 226, 234, .95);
  color: var(--text);
  box-shadow: 0 16px 34px rgba(21, 27, 38, .12);
  white-space: normal;
}

body.feed-fullscreen .card-stack>.lol-card {
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .gate-title {
    font-size: 26px;
  }

  .streak-badge,
  .credit-badge {
    padding: 3px 7px;
    font-size: 11px;
  }

  .stats-grid {
    gap: 8px;
  }

  .gate-perks {
    gap: 6px;
  }

  .quick-link,
  .bonus-link-btn,
  #btn-claim {
    flex-basis: 100%;
  }

  .profile-sponsor-head,
  .ad-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-height: 760px) {
  .bonus-inner {
    padding: 50px 24px;
  }
}

/* ── QUICK-BREAK PANEL WRAPPER ───────────────────────── */
.qb-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  padding: .6rem 0 0;
  width: 100%;
}

/* ── SPONSOR SUPPORT BADGE ───────────────────────────── */
.qb-support-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245, 200, 66, .07);
  border: 1px solid rgba(245, 200, 66, .18);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .75rem;
  font-weight: 600;
  color: #c9a600;
  letter-spacing: .04em;
}


.qb-support-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5c842;
  animation: qbPulse 1.8s ease infinite;
}

@keyframes qbPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .4;
    transform: scale(.65);
  }
}

/* ── SUPPORT MESSAGE ─────────────────────────────────── */
.qb-msg {
  text-align: center;
  font-size: .88rem;
  color: #ff0000;
  line-height: 1.5;
  max-width: 300px;
}

.qb-msg strong {
  color: #e8eaf0;
}

/* ── SUPPORT BUTTON (mode A) ─────────────────────────── */
.qb-support-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(135deg, #f5c842, #e8a600);
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 0 24px rgba(245, 200, 66, .3);
  transition: transform .12s, box-shadow .12s;
  text-decoration: none;
}

.qb-support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(245, 200, 66, .45);
}

.qb-support-btn:active {
  transform: scale(.97);
}

/* ── AD SLOT (banner + vignette area) ───────────────── */
.qb-ad-slot {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .02);
  border-radius: 10px;
  overflow: hidden;
}

/* ── SKIP BUTTON ─────────────────────────────────────── */
.qb-skip-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #68728f;
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  padding: .5rem 1.4rem;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  position: relative;
}

.qb-skip-btn:not(:disabled):hover {
  border-color: #e8eaf0;
  color: #e8eaf0;
}

.qb-skip-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.qb-skip-countdown {
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
  font-weight: 700;
  color: #f5c842;
}

/* ── PASSIVE NOTE (mode B) ───────────────────────────── */
.qb-passive-note {
  font-size: .78rem;
  color: #68728f;
  text-align: center;
}

/* ── THUMBNAIL GRID ─────────────────────────────────────── */
.post-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 3px;
  margin-bottom: 1.5rem;
}

.post-thumb {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  cursor: pointer;
  border-radius: 6px;
  background: #0d0d10;
}

.post-thumb img,
.post-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.post-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .18s;
  display: flex;
  align-items: flex-end;
  padding: 6px;
}

.post-thumb:hover .post-thumb-overlay,
.post-thumb:active .post-thumb-overlay {
  opacity: 1;
}

.post-thumb-earn {
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 3px;
}

.post-thumb-live {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #00e096;
  color: #000;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 2px 6px;
  border-radius: 4px;
}

.post-thumb-type {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: .85rem;
}

.post-thumb-views {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, .55);
  color: #f5c842;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── ANALYTICS MODAL ─────────────────────────────────────── */
#post-analytics-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}

#post-analytics-overlay.open {
  transform: translateY(0);
}

/* video/image preview */
.analytics-media {
  position: relative;
  flex: 0 0 auto;
  max-height: 46vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.analytics-media video,
.analytics-media img {
  max-height: 46vh;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.analytics-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0, 0, 0, .55);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.analytics-mute-btn {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: .8rem;
  padding: 5px 11px;
  border-radius: 20px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.analytics-status-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}

.analytics-status-badge.live {
  background: #00e096;
  color: #000;
}

.analytics-status-badge.done {
  background: rgba(255, 255, 255, .15);
  color: #aaa;
}

/* scroll panel */
.analytics-panel {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.2rem 1rem 3rem;
  -webkit-overflow-scrolling: touch;
}

.analytics-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  line-height: 1.1;
  color: #e8eaf0;
  margin-bottom: .3rem;
}

.analytics-date {
  font-size: .75rem;
  color: #68728f;
  margin-bottom: 1.2rem;
}

/* stats row */
.analytics-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-bottom: 1.4rem;
}

.a-stat {
  background: #131720;
  border: 1px solid #1e2438;
  border-radius: 10px;
  padding: .8rem .5rem;
  text-align: center;
}

.a-stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  color: #f5c842;
}

.a-stat-lbl {
  font-size: .65rem;
  color: #68728f;
  margin-top: .2rem;
}

/* earning highlight */
.analytics-earning-banner {
  background: linear-gradient(135deg, rgba(245, 200, 66, .12), rgba(0, 224, 150, .08));
  border: 1px solid rgba(245, 200, 66, .22);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.aeb-label {
  font-size: .78rem;
  color: #7a8099;
}

.aeb-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #f5c842;
}

.aeb-status {
  font-size: .72rem;
  color: #00e096;
  margin-top: .1rem;
}

/* expiry row */
.analytics-expiry {
  font-size: .8rem;
  color: #7a8099;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.4rem;
}

/* action buttons */
.analytics-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: .5rem;
}

.aa-btn {
  padding: .85rem;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: transform .12s, opacity .12s;
}

.aa-btn:active {
  transform: scale(.97);
  opacity: .85;
}

.aa-share {
  background: #1a2640;
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, .2);
}

.aa-delete {
  background: rgba(255, 69, 96, .1);
  color: #ff4560;
  border: 1px solid rgba(255, 69, 96, .2);
}

.aa-delete:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* empty grid */
.post-grid-empty {
  text-align: center;
  color: #68728f;
  padding: 2.5rem 1rem;
  font-size: .9rem;
  grid-column: 1 / -1;
}


.popup-blocked-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: rgba(5, 8, 18, .7);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
}

.popup-blocked-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-blocked-card {
  background: linear-gradient(180deg, rgba(18, 24, 42, .98), rgba(10, 14, 26, .98));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  text-align: center;
  max-width: 360px;
}

.popup-blocked-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.popup-blocked-card p {
  margin: 0 0 18px;
  color: #aab2cf;
}

.popup-blocked-open-btn {
  display: inline-block;
  background: linear-gradient(135deg, #7c5cff, #00d4ff);
  color: #09111f;
  border: none;
  border-radius: 14px;
  padding: 14px 24px;
  font-weight: 700;
  text-decoration: none;
}

.popup-blocked-close {
  margin-top: 12px;
  background: none;
  border: none;
  color: #9fb1ff;
  cursor: pointer;
  font-size: .95rem;
}