
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: #050816;
      color: #f9fafb;
      padding: 24px;
      touch-action: manipulation;
    }

    .page {
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-title {
      text-align: center;
      margin-bottom: 30px;
      margin-top: 30px;
    }

    .page-title h1 {
      font-size: 26px;
      margin-bottom: 4px;
    }

    .page-title p {
      font-size: 14px;
      opacity: 0.75;
    }

    /* Popup boost (?boost=ok) */
    #boostPopup {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.75);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 99999;
      opacity: 0;
      pointer-events: none;
      transition: opacity .35s ease;
    }

    #boostPopup.active {
      opacity: 1;
      pointer-events: auto;
    }

    .boostBox {
      background: #020617;
      color: white;
      width: 90%;
      max-width: 360px;
      padding: 22px 20px 26px;
      border-radius: 18px;
      text-align: center;
      animation: popBox .35s ease;
      box-shadow: 0 0 40px rgba(0, 0, 0, .7);
      border: 1px solid rgba(251, 191, 36, .5);
      position: relative;
      overflow: hidden;
    }

    .boostBox::before {
      content: "";
      position: absolute;
      inset: -40%;
      background: conic-gradient(from 0deg, #f97316, #facc15, #22c55e, #06b6d4, #f97316);
      opacity: 0.18;
      mix-blend-mode: screen;
    }

    .boostBox>* {
      position: relative;
      z-index: 1;
    }

    @keyframes popBox {
      0% {
        transform: scale(.6);
        opacity: 0;
      }

      60% {
        transform: scale(1.05);
        opacity: 1;
      }

      100% {
        transform: scale(1);
      }
    }

    .boostTitle {
      font-size: 20px;
      font-weight: 800;
      margin-bottom: 6px;
    }

    .boostText {
      font-size: 14px;
      opacity: .9;
      margin-bottom: 20px;
    }

    #boostCloseBtn {
      background: #22c55e;
      padding: 9px 20px;
      border-radius: 999px;
      border: none;
      color: white;
      cursor: pointer;
      font-weight: 600;
      font-size: 14px;
      transition: .2s;
    }

    #boostCloseBtn:hover {
      background: #16a34a;
      transform: scale(1.05);
    }

    .confetti {
      position: fixed;
      width: 8px;
      height: 8px;
      top: -10px;
      background: red;
      opacity: 0.9;
      animation: fall 2.5s linear forwards;
      z-index: 99998;
    }

    @keyframes fall {
      to {
        transform: translateY(120vh) rotate(720deg);
      }
    }

    .hidden-top {
      display: none;
    }

    /* TOP 10 */
    .top-section {
      margin-bottom: 32px;
      padding: 18px 20px 20px;
      border-radius: 22px;
      background:
        radial-gradient(circle at top, #22c55e22, transparent 55%),
        radial-gradient(circle at bottom, #f9731622, transparent 60%),
        linear-gradient(135deg, #020617, #020617, #020617);
      box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9);
      border: 1px solid rgba(250, 204, 21, 0.4);
      position: relative;
      overflow: hidden;
    }

    .top-section::before {
      content: "TOP";
      position: absolute;
      right: -40px;
      top: -30px;
      font-size: 70px;
      font-weight: 900;
      color: rgba(55, 65, 81, 0.16);
      transform: rotate(-18deg);
    }

    .top-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 12px;
    }

    .top-title {
      font-size: 17px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .top-title span {
      font-size: 20px;
    }

    .top-note {
      font-size: 12px;
      opacity: 0.75;
      text-align: right;
    }

    .top-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .top-item {
      background: #020617;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color .18s ease;
      border: 1px solid rgba(148, 163, 184, 0.35);
      cursor: pointer;
      position: relative;
    }

    .top-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 24px 45px rgba(0, 0, 0, 0.9);
      border-color: rgba(250, 204, 21, 0.7);
    }

    /* TOP #1: borde dorado animado + pulso */
    .top-item-1 {
      z-index: 1;
      transform: translateY(-4px);
      box-shadow: 0 22px 55px rgba(250, 204, 21, 0.55);
      border-color: rgba(250, 204, 21, 0.95);
      animation: top1Pulse 3s ease-in-out infinite;
    }

    .top-item-1::before {
      content: "";
      position: absolute;
      inset: -2px;
      border-radius: inherit;
      background: conic-gradient(from 0deg,
          #facc15,
          #f97316,
          #facc15,
          #fde68a,
          #facc15);
      z-index: -1;
      animation: top1Border 4s linear infinite;
    }

    .top-item-1::after {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: inherit;
      background: #020617;
      z-index: -1;
    }

    @keyframes top1Pulse {

      0%,
      100% {
        transform: translateY(-4px) scale(1);
        box-shadow: 0 22px 55px rgba(250, 204, 21, 0.55);
      }

      50% {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 28px 75px rgba(250, 204, 21, 0.9);
      }
    }

    @keyframes top1Border {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    .top-thumb {
      position: relative;
      width: 100%;
      aspect-ratio: 4/3;
      background: #020617;
      overflow: hidden;
    }

    .top-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.3s ease;
    }

    .top-item:hover .top-thumb img {
      transform: scale(1.06);
    }

    .top-rank-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      background: linear-gradient(135deg, #f97316, #facc15);
      color: #020617;
      font-size: 12px;
      font-weight: 800;
      padding: 4px 8px;
      border-radius: 999px;
      box-shadow: 0 0 10px rgba(0, 0, 0, .7);
    }
    .winner-badge {
      position: absolute;
      bottom: 8px;
      left: 8px;
      background: linear-gradient(135deg, #22c55e, #16a34a);
      color: #04110a;
      font-size: 11px;
      font-weight: 800;
      padding: 4px 8px;
      border-radius: 999px;
      box-shadow: 0 0 12px rgba(34, 197, 94, .55);
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .top-info {
      padding: 8px 10px 10px;
    }

    .top-setup-tag {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: #facc15;
      margin-bottom: 4px;
    }

    .top-username {
      font-size: 13px;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 4px;
    }

    .top-count {
      font-size: 11px;
      opacity: .8;
      margin-top: 2px;
    }

    .top-likes {
      font-size: 12px;
      opacity: 0.9;
    }

    .section-title {
      margin-bottom: 12px;
      font-size: 16px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .section-title span {
      font-size: 18px;
    }

    /* GRID GALERÍA (1 card por setup) */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }

    @media (max-width: 768px) {
      .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
      }
    }

    .card {
      background: #020617;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 28px 45px rgba(0, 0, 0, 0.7);
    }

    .card-image-wrapper {
      width: 100%;
      aspect-ratio: 1/1;
      background: #020617;
      overflow: hidden;
      cursor: pointer;
      position: relative;
    }

    .card-image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.3s ease;
    }

    .card:hover .card-image-wrapper img {
      transform: scale(1.05);
    }

    .setup-tag {
      position: absolute;
      left: 8px;
      top: 8px;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.8);
      backdrop-filter: blur(8px);
      font-size: 11px;
      color: #e5e7eb;
    }

    .card-body {
      padding: 12px 14px 14px;
      text-align: center;
    }

    .photo-count {
      margin-top: 4px;
      font-size: 11px;
      opacity: .85;
    }

    .username-input {
      width: 100%;
      border-radius: 999px;
      border: 1px solid #1f2937;
      padding: 6px 10px;
      font-size: 12px;
      background: #020617;
      color: #e5e7eb;
      margin-top: 6px;
      margin-bottom: 8px;
      outline: none;
    }

    .username-input::placeholder {
      color: #6b7280;
    }

    .card-actions {
      display: flex;
      gap: 8px;
      justify-content: center;
      align-items: center;
      margin-top: 4px;
      flex-wrap: wrap;
    }

    .username-pill {
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: #0b1220;
      font-size: 12px;
      color: #e5e7eb;
    }

    .btn {
      font-size: 12px;
      border-radius: 999px;
      border: none;
      padding: 5px 10px;
      cursor: pointer;
      background: #111827;
      color: #e5e7eb;
    }

    .btn-like {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      position: relative;
      overflow: visible;
      padding: 7px 12px;
      background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(249, 115, 22, 0.2));
      border: 1px solid rgba(248, 113, 113, 0.45);
      box-shadow: 0 10px 22px rgba(239, 68, 68, 0.25);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .btn-like:hover {
      transform: translateY(-1px);
      border-color: rgba(248, 113, 113, 0.8);
      box-shadow: 0 14px 28px rgba(249, 115, 22, 0.35);
    }

    .btn-like.is-disabled {
      opacity: 0.6;
      box-shadow: none;
      cursor: default;
      pointer-events: none;
    }

    .btn-like.is-disabled:hover {
      transform: none;
      border-color: rgba(248, 113, 113, 0.45);
      box-shadow: none;
    }

    .btn-like::after {
      content: "";
      position: absolute;
      inset: -6px;
      border-radius: 999px;
      border: 1px solid rgba(248, 113, 113, 0.35);
      opacity: 0;
      pointer-events: none;
    }

    .btn:active {
      transform: scale(0.97);
    }

    .heart-icon {
      display: inline-block;
      font-size: 18px;
      transition: transform 0.2s ease;
    }

    @keyframes heart-pop {
      0% {
        transform: scale(1);
      }

      30% {
        transform: scale(1.4);
      }

      60% {
        transform: scale(0.9);
      }

      100% {
        transform: scale(1);
      }
    }

    .btn-like.liked .heart-icon {
      animation: heart-pop 0.35s ease;
    }

    .like-count {
      font-weight: 700;
      font-size: 14px;
    }

    @keyframes like-bounce {
      0% { transform: translateY(0) scale(1); }
      40% { transform: translateY(-2px) scale(1.12); }
      100% { transform: translateY(0) scale(1); }
    }

    @keyframes like-ring {
      0% { opacity: 0.65; transform: scale(0.9); }
      100% { opacity: 0; transform: scale(1.25); }
    }

    .btn-like.liked .like-count {
      animation: like-bounce 0.4s ease;
    }

    .btn-like.liked::after {
      animation: like-ring 0.5s ease;
    }

    .saved-msg {
      margin-top: 4px;
      font-size: 11px;
      min-height: 14px;
    }

    .saved-ok {
      color: #22c55e;
    }

    .saved-error {
      color: #f97373;
    }

    .boost-link {
      margin-top: 8px;
      display: block;
      width: 100%;
      text-align: center;
      background: linear-gradient(135deg, #a87d00, #ffde59, #b8860b);
      border-radius: 999px;
      padding: 8px 10px;
      font-size: 13px;
      text-decoration: none;
      color: #000;
      font-weight: 700;
      box-shadow: 0 0 15px rgba(255, 215, 0, 0.45),
        inset 0 0 6px rgba(0, 0, 0, 0.45);
      letter-spacing: .3px;
      transition: .2s;
      border: 1px solid rgba(255, 230, 120, .6);
    }

    .boost-link:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 0 25px rgba(255, 215, 0, 0.75),
        inset 0 0 10px rgba(0, 0, 0, 0.4);
      background: linear-gradient(135deg, #ffde59, #fff6a6, #ffde59);
    }

    .boost-link:active {
      transform: scale(.97);
      filter: brightness(.9);
    }

    .boost-closed-note {
      margin-top: 8px;
      padding: 8px 10px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      font-size: 12px;
      text-align: center;
      color: #e5e7eb;
      background: #111827;
    }

    /* MODAL */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.9);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 16px;
    }

    .lightbox.visible {
      display: flex;
    }

    .lightbox-img-wrap {
      max-width: min(1024px, 95vw);
      max-height: 90vh;
      position: relative;
    }

    .lightbox-img-wrap img {
      display: block;
      max-width: 100%;
      max-height: 90vh;
      border-radius: 18px;
    }

    .lightbox-close {
      position: fixed;
      top: 16px;
      right: 20px;
      background: #020617;
      border: none;
      color: #e5e7eb;
      font-size: 18px;
      padding: 4px 10px;
      border-radius: 999px;
      cursor: pointer;
    }

    .lightbox-prev,
    .lightbox-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(15, 23, 42, 0.8);
      border: none;
      color: #e5e7eb;
      font-size: 24px;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .lightbox-prev {
      left: -56px;
    }

    .lightbox-next {
      right: -56px;
    }

    .lightbox-prev:hover,
    .lightbox-next:hover {
      background: rgba(30, 64, 175, 0.9);
    }

    .lightbox-counter {
      position: absolute;
      bottom: -32px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 13px;
      color: #e5e7eb;
      opacity: .9;
    }

    @media (max-width:600px) {
      body {
        padding: 16px;
      }

      .lightbox-prev {
        left: 5px;
      }

      .lightbox-next {
        right: 5px;
      }

      .lightbox-counter {
        bottom: -26px;
        font-size: 12px;
      }
    }

    /* NAV BAR BASE */
    #jxNav {
      width: 100%;
      padding: 30px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      position: relative;
      z-index: 999;
    }

    .jxNav-container {
      width: 100%;
      max-width: 1400px;
      margin: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 20px;
      gap: 18px;
      position: relative;
    }

    .jxNav-logo img {
      width: 70px;
      filter: drop-shadow(0px 0px 6px rgba(0, 174, 255, 0.6));
    }

    .jxNav-left,
    .jxNav-right {
      list-style: none;
      display: flex;
      gap: 20px;
      align-items: center;
    }

    .jxNav-left a,
    .jxNav-right a {
      color: #fff;
      opacity: .85;
      text-decoration: none;
      font-size: 14px;
      transition: .2s;
      white-space: nowrap;
    }

    .jxNav-left li {
      padding: 5px;
    }

    .jxNav-left a:hover,
    .jxNav-right a:hover {
      opacity: 1;
      color: #00AFFF;
    }

    /* Ocultar menú móvil al inicio */
    .jxNav-menu {
      display: flex;
      justify-content: space-between;
      flex: 1;
      max-width: 1000px;
    }

    /**********************
       BOTÓN BURGER
  ***********************/
    .jxNav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 32px;
      height: 26px;
      border: none;
      background: transparent;
      cursor: pointer;
      position: absolute;
      left: 20px;
    }

    .jxNav-toggle span {
      width: 100%;
      height: 2px;
      background: white;
      border-radius: 10px;
      transition: .2s;
    }

    /**********************
     RESPONSIVE MOBILE
  ***********************/
    @media(max-width:930px) {

      /* mostrar hamburguesa */
      .jxNav-toggle {
        display: flex;
      }

      /* ocultar logo alineación */
      .jxNav-container {
        justify-content: center;
      }

      /* LOGO centrado */
      .jxNav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
      }

      /* esconder menú desktop */
      .jxNav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #040713;
        flex-direction: column;
        gap: 14px;
        padding: 0px 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        top: 33px;
      }

      /* al abrir */
      #jxNav.open .jxNav-menu {
        max-height: 320px;
        padding-bottom: 15px;
      }

      /* enlaces mobile */
      .jxNav-left,
      .jxNav-right {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        text-align: left;
      }

      .jxNav-left a,
      .jxNav-right a {
        width: 100%;
        font-size: 15px;
      }

      /* Animación botón X */
      #jxNav.open .jxNav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
      }

      #jxNav.open .jxNav-toggle span:nth-child(2) {
        opacity: 0;
      }

      #jxNav.open .jxNav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
      }
    }

    .countdown-wrap {
      background: #020617;
      border: 1px solid rgba(148, 163, 184, .25);
      border-radius: 18px;
      padding: 20px;
      text-align: center;
      margin: 30px auto;
      max-width: 100%;
      box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
    }

    .countdown-title {
      font-size: 20px;
      font-weight: 900;
      margin-bottom: 12px;
    }

    .countdown-timer {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin: 10px 0;
    }

    .countdown-timer div {
      background: #111827;
      border-radius: 14px;
      padding: 12px 35px;
      min-width: 70px;
    }

    .countdown-timer span {
      font-size: 45px;
      font-weight: 900;
      display: block;
    }

    .countdown-timer small {
      font-size: 15px;
      opacity: .75;
    }

    .countdown-date {
      font-size: 13px;
      opacity: .85;
      margin-top: 8px;
    }

    .countdown-wrap {
      animation: softPulse 2.5s ease-in-out infinite;
    }

    /* ====== HYPE BLINK BORDER ====== */
    .countdown-wrap {
      position: relative;
      overflow: hidden;
    }

    /* borde animado */
    .countdown-wrap::before {
      content: "";
      position: absolute;
      inset: -2px;
      border-radius: 20px;
      background: linear-gradient(120deg,
          #facc15,
          #f97316,
          #ef4444,
          #f97316,
          #facc15);
      background-size: 300% 300%;
      animation: hypeBorder 3s linear infinite;
      z-index: -1;
    }

    /* fondo interno para que no tape el contenido */
    .countdown-wrap::after {
      content: "";
      position: absolute;
      inset: 2px;
      background: #020617;
      border-radius: 16px;
      z-index: -1;
    }

    /* animación */
    @keyframes hypeBorder {
      0% {
        background-position: 0% 50%;
      }

      50% {
        background-position: 100% 50%;
      }

      100% {
        background-position: 0% 50%;
      }
    }


    @keyframes softPulse {
      0% {
        box-shadow: 0 0 20px rgba(250, 204, 21, .25);
      }

      50% {
        box-shadow: 0 0 45px rgba(249, 115, 22, .55);
      }

      100% {
        box-shadow: 0 0 20px rgba(250, 204, 21, .25);
      }
    }

    /* ======= MOBILE FIX ======= */
    @media (max-width: 520px) {
      .countdown-timer div {
        background: #111827;
        border-radius: 14px;
        padding: 12px 15px !important;
        min-width: 70px;
      }
    }

    /* Móviles muy pequeños: 1 columna */
@media (max-width: 340px) {
  .countdown-timer div {
    background: #111827;
    border-radius: 14px;
    padding: 12px 15px !important;
    min-width: 70px;
  }
}

.upload-banner {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.upload-banner.is-locked {
  display: none;
}

.upload-banner a {
  color: inherit;
  text-decoration: none;
}

.follow-gate {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.follow-gate-title {
  font-size: 13px;
  font-weight: 700;
}

.follow-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.follow-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  color: #0b1220;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.follow-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.follow-btn.follow-ig {
  background: linear-gradient(135deg, #f97316, #ec4899);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
}

.follow-btn.follow-yt {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

.follow-btn.followed {
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: none;
}

.follow-gate-note {
  font-size: 12px;
  opacity: 0.75;
}

.follow-gate.is-unlocked {
  display: none;
}

.upload-banner.open {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #0b1220;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.upload-banner.closed {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.ios-install-banner {
  margin-top: 14px;
  position: relative;
  border-radius: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.ios-install-title {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}

.ios-install-text {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.4;
}

.ios-install-steps {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(226, 232, 240, 0.7);
}

.ios-install-steps span {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.7);
}

.ios-install-close {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
  cursor: pointer;
  font-weight: 700;
}

.sponsor-section {
  margin: 18px 0 28px;
  padding: 16px 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.16), transparent 60%),
    #020617;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}

.sponsor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sponsor-title {
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sponsor-title span {
  font-size: 18px;
  color: #facc15;
}

.sponsor-note {
  font-size: 12px;
  opacity: 0.7;
}

.sponsor-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.sponsor-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.sponsor-track::-webkit-scrollbar {
  display: none;
}

.sponsor-nav {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sponsor-nav:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.6);
}

.sponsor-card {
  position: relative;
  border-radius: 16px;
  padding: 14px 12px 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e5e7eb;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
  min-height: 130px;
  min-width: 220px;
  scroll-snap-align: start;
}

.sponsor-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1
}

.sponsor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.6));
}

.sponsor-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}

.sponsor-card:hover .sponsor-image {
  opacity: 1;
}

.sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde68a;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.sponsor-badge.alt {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
}

.sponsor-logo {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.sponsor-sub {
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .sponsor-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sponsor-carousel {
    grid-template-columns: 1fr;
  }

  .sponsor-nav {
    display: none;
  }
}
  
