/* Bonos Apple · página pública de la rifa */
.page { max-width: 700px; margin: 0 auto; padding: 18px 16px 70px; }
body.has-sel .page { padding-bottom: 130px; }

/* ----- Portada ----- */
.hero { text-align: center; padding: 6px 0 4px; }
.brand { display: block; width: min(250px, 64vw); height: auto; margin: 0 auto -6px; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before, .eyebrow::after { content: ""; width: clamp(24px, 12vw, 70px); height: 1.5px; background: linear-gradient(90deg, transparent, rgba(74, 83, 128, 0.55)); }
.eyebrow::after { transform: scaleX(-1); }
.hero h1 { font-size: clamp(38px, 11.6vw, 66px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.hero .sub { margin-top: 10px; font-size: clamp(16px, 4.4vw, 23px); font-weight: 700; letter-spacing: 0.05em; color: var(--ink-2); }
.product { margin: 20px auto 18px; padding: 8px; overflow: hidden; border-radius: 32px; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.95); }
.product img { display: block; width: 100%; height: auto; border-radius: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-cta .btn { flex: 1 1 230px; max-width: 360px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.seller-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.seller-chip svg { width: 18px; height: 18px; color: #7a5ce6; flex: none; }
.seller-chip strong { color: var(--ink); }

/* ----- Datos clave ----- */
.facts { display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: center; margin-top: 22px; padding: 14px 6px; }
.fact { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 4px 10px; font-size: 14px; font-weight: 800; line-height: 1.2; min-width: 0; text-align: left; }
.fact + .fact { border-left: 1.5px solid var(--line); }
.fact small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.fact-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--grad-soft); color: #6c4de0; }
.fact-ico svg { width: 21px; height: 21px; }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr 1.25fr 1fr; padding: 14px 4px; }
  .fact { flex-direction: column; text-align: center; gap: 7px; font-size: 13px; padding: 2px 6px; }
  .fact small { font-size: 11.5px; }
  .fact-ico { width: 36px; height: 36px; }
  .fact-ico svg { width: 19px; height: 19px; }
}

/* ----- Precio ----- */
.price { position: relative; margin: 34px auto 0; max-width: 460px; padding: 30px 16px 16px; text-align: center; border-radius: 28px; }
.price-tag { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); padding: 8px 30px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; box-shadow: 0 10px 22px -10px rgba(143, 107, 255, 0.9); }
.price-val { display: block; font-size: clamp(46px, 13vw, 72px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }

/* ----- Estado ----- */
.status { margin-top: 22px; padding: 20px 16px; text-align: center; }
.status h3 { font-size: 13px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 420px; margin: 0 auto; }
.cd-box { padding: 12px 4px 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); }
.cd-box b { display: block; font-size: clamp(26px, 8vw, 38px); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.cd-box small { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.status-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.status-ico { width: 54px; height: 54px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-soft); color: #6c4de0; }
.status-ico svg { width: 28px; height: 28px; }
.status-title { font-size: 21px; font-weight: 800; }
.winner-num { display: flex; justify-content: center; gap: 10px; margin: 14px 0 6px; }
.winner-num b { width: clamp(64px, 20vw, 92px); height: clamp(78px, 24vw, 108px); display: grid; place-items: center; border-radius: 22px; background: var(--grad); color: #fff; font-size: clamp(44px, 14vw, 66px); font-weight: 800; box-shadow: 0 18px 36px -16px rgba(143, 107, 255, 0.9); }

/* ----- Mi reserva activa ----- */
.mine { margin-top: 18px; padding: 16px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 230, 255, 0.85)); }
.mine-top { display: flex; align-items: center; gap: 12px; }
.mine-top .status-ico { margin: 0; width: 46px; height: 46px; flex: none; }
.mine h3 { font-size: 16.5px; font-weight: 800; }
.mine p { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.mine .chips { margin: 12px 0; }
.mine-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ----- Tablero ----- */
.board-wrap { margin-top: 36px; scroll-margin-top: 12px; }
.board-wrap h2 { text-align: center; font-size: clamp(27px, 7.6vw, 36px); font-weight: 800; }
.hint { margin-top: 6px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.meter { height: 10px; margin: 18px auto 0; max-width: 520px; border-radius: 999px; background: rgba(116, 104, 224, 0.16); overflow: hidden; }
.meter-fill { height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 0.5s ease; }
.meter-label { margin: 8px 0 14px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }

.board { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; padding: 14px; border-radius: 26px; }
.cell {
  position: relative; min-width: 0; padding: 0; aspect-ratio: 1; display: grid; place-items: center;
  border: 1.5px solid rgba(116, 104, 224, 0.16); border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.78); color: var(--ink); font: 800 clamp(12px, 3.3vw, 16px)/1 var(--font); font-variant-numeric: tabular-nums;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease; -webkit-tap-highlight-color: transparent;
}
.cell:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 18px -12px rgba(78, 64, 170, 0.7); border-color: rgba(143, 107, 255, 0.55); }
.cell.is-sel { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 20px -10px rgba(143, 107, 255, 0.95); transform: translateY(-1px) scale(1.04); }
.cell.is-res { background: var(--amber-soft); border-color: rgba(245, 165, 36, 0.4); color: #8d5a00; cursor: not-allowed; }
.cell.is-res::after { content: ""; position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.cell.is-sold { background: rgba(176, 172, 214, 0.28); border-color: transparent; color: #9a9ec0; text-decoration: line-through; text-decoration-thickness: 1.5px; cursor: not-allowed; }
.cell.is-win { background: linear-gradient(135deg, #ffd35a, #ff9a3c); color: #5b3000; border-color: transparent; text-decoration: none; box-shadow: 0 10px 22px -10px rgba(255, 154, 60, 0.95); }
.board.is-closed { opacity: 0.6; pointer-events: none; }
@media (max-width: 440px) { .board { gap: 4px; padding: 10px; border-radius: 22px; } .cell { border-radius: 10px; } }

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid rgba(116, 104, 224, 0.25); display: inline-block; }
.lg-free { background: #fff; }
.lg-sel { background: var(--grad); border-color: transparent; }
.lg-res { background: var(--amber-soft); border-color: rgba(245, 165, 36, 0.5); }
.lg-sold { background: rgba(176, 172, 214, 0.4); border-color: transparent; }

/* ----- Barra de selección ----- */
.selbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.selbar-in { pointer-events: auto; max-width: 560px; margin: 0 auto; padding: 12px 12px 12px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 26px; box-shadow: 0 24px 50px -18px rgba(70, 50, 170, 0.6); border: 1px solid rgba(255, 255, 255, 0.9); animation: sel-in 0.22s ease; }
@keyframes sel-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.selbar-info { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.selbar-info strong { font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selbar-info span { font-size: 21px; font-weight: 800; }

/* ----- Cómo funciona ----- */
.how { margin-top: 36px; padding: 24px 20px; }
.how h2 { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 16px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how li { display: flex; align-items: flex-start; gap: 14px; }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; box-shadow: 0 8px 16px -8px rgba(143, 107, 255, 0.9); }
.how strong { font-size: 16px; font-weight: 800; }
.how li p { margin-top: 2px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.rule { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); border: 1px dashed rgba(116, 104, 224, 0.35); font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.rule strong { color: var(--ink); }

/* ----- Pie ----- */
.foot { margin-top: 34px; text-align: center; }
.foot-line { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.foot-line strong { color: var(--ink); }
.foot-phone { display: inline-block; margin-top: 4px; font-size: 24px; font-weight: 800; letter-spacing: 0.02em; text-decoration: none; }
.foot-credit { margin-top: 22px; font-size: 12px; color: var(--ink-3); }
.foot-credit a { color: var(--ink-2); font-weight: 700; }

/* ----- Ventana de reserva ----- */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { min-width: 42px; padding: 7px 11px; border-radius: 12px; text-align: center; background: var(--grad); color: #fff; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.chip-soft { background: #ece6ff; color: #5b3fd0; }
.ok-badge { width: 66px; height: 66px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #2fd57b, #12a35a); color: #fff; box-shadow: 0 16px 30px -12px rgba(18, 163, 90, 0.8); }
.ok-badge svg { width: 34px; height: 34px; }
.center { text-align: center; }
.total-box { margin: 14px 0; padding: 14px 16px; border-radius: 18px; background: var(--grad-soft); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.total-box span { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.total-box b { font-size: 26px; font-weight: 800; }
.pay-box { margin: 14px 0; padding: 14px 14px 12px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); }
.pay-box h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; }
.pay-row + .pay-row { border-top: 1px solid var(--line); }
.pay-row small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.pay-row strong { font-size: 19px; font-weight: 800; letter-spacing: 0.01em; word-break: break-word; }
.pay-note { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.stack { display: grid; gap: 10px; }
.fine { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }

/* ----- Instagram ----- */
.hero-social { margin: 12px 0 0; }
.ig-chip { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink-2); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.ig-chip:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.ig-chip strong { color: var(--ink); }
.ig-dot { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #f9a43a, #e1306c 55%, #8a3ab9); }
.ig-dot svg { width: 16px; height: 16px; }
.btn-ig { color: #fff; background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 85%, #515bd4 100%); box-shadow: 0 14px 30px -14px rgba(221, 42, 123, 0.85); }

/* ----- Sobre Apple House ----- */
.about { margin-top: 36px; padding: 24px 20px 22px; }
.about-head { display: flex; align-items: center; gap: 16px; }
.about-avatar { width: 84px; height: 84px; flex: none; border-radius: 50%; object-fit: cover; padding: 3px; background: var(--grad); box-shadow: 0 14px 28px -12px rgba(143, 107, 255, 0.85); }
.about-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.about h2 { font-size: 30px; font-weight: 800; margin-top: 2px; }
.about-tag { margin-top: 2px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.about-slogan { margin: 18px 0 4px; font-size: clamp(20px, 5.6vw, 25px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.about-points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 13px; }
.about-points p { margin-top: 1px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.about-points strong { font-size: 15.5px; font-weight: 800; }
.about-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--grad-soft); color: #6c4de0; }
.about-ico svg { width: 22px; height: 22px; }
.about-info { margin: 16px 0 0; padding: 14px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.7); border: 1px dashed rgba(116, 104, 224, 0.35); display: grid; gap: 9px; }
.about-info div { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.about-info svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #6c4de0; }
.about-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 18px; }
.about-actions .btn { width: 100%; }
.about-actions [hidden] { display: none; }

/* ----- kevinci.site ----- */
.promo { position: relative; margin-top: 40px; padding: 2.5px; border-radius: 34px; background: linear-gradient(115deg, #ff6fa5, #ffd35a, #4fd1ff, #a56bff, #ff6fa5); background-size: 320% 320%; animation: promo-flow 9s linear infinite; box-shadow: 0 34px 60px -30px rgba(70, 50, 170, 0.75); }
.promo-in { position: relative; overflow: hidden; padding: 30px 22px 26px; border-radius: 32px; text-align: center; color: #fff; background: radial-gradient(120% 100% at 0% 0%, #2d2278 0%, #151046 55%, #0b0a2e 100%); }
.promo-in::before, .promo-in::after { content: ""; position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.promo-in::before { width: 260px; height: 260px; right: -90px; top: -90px; background: rgba(255, 111, 165, 0.45); }
.promo-in::after { width: 240px; height: 240px; left: -90px; bottom: -110px; background: rgba(79, 139, 255, 0.45); }
.promo-in > * { position: relative; z-index: 1; }
.promo-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; }
.promo-badge svg { width: 15px; height: 15px; color: #ffd35a; }
.promo-kicker { margin-top: 16px; font-size: 13px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.promo h2 { margin: 8px auto 0; max-width: 460px; font-size: clamp(26px, 7.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.promo-hl { background: linear-gradient(100deg, #ff8fb8, #ffd35a); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.promo-text { max-width: 480px; margin: 14px auto 0; font-size: 14.5px; line-height: 1.55; font-weight: 500; color: rgba(255, 255, 255, 0.84); }
.promo-text strong { color: #fff; font-weight: 800; }
.promo-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 16px 0 0; padding: 0; }
.promo-tags li { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.92); }
.promo-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; width: 100%; max-width: 360px; padding: 17px 26px; border-radius: 999px; font: 800 16.5px/1 var(--font); text-decoration: none; color: #1a1250; background: linear-gradient(100deg, #ffd35a, #ff9ec4); box-shadow: 0 18px 36px -14px rgba(255, 160, 120, 0.85); transition: transform 0.15s ease, filter 0.15s ease; }
.promo-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.promo-btn svg { width: 20px; height: 20px; flex: none; }
.promo-btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -80px; transform: skewX(-20deg); background: rgba(255, 255, 255, 0.55); animation: promo-shine 3.6s ease-in-out infinite; }
.promo-url { margin-top: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
@keyframes promo-flow { 0% { background-position: 0% 50%; } 100% { background-position: 320% 50%; } }
@keyframes promo-shine { 0%, 55% { left: -80px; } 100% { left: 120%; } }

/* ----- Pie: Instagram ----- */
.foot-ig { margin-top: 6px; }
.foot-ig a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.foot-ig a svg { width: 18px; height: 18px; color: #d62976; }
.foot-ig a:hover { color: var(--ink); }
