
:root{--bg:#080a0f;--surface:#11141b;--surface2:#171b24;--text:#f7f3e9;--muted:#9aa2af;--gold:#d8a53a;--gold2:#f2c65a;--green:#34c971;--line:rgba(216,165,58,.24);--soft:rgba(255,255,255,.07);--radius:20px;--shadow:0 20px 55px rgba(0,0,0,.4);--nav-h:76px}
*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 50% -10%,rgba(216,165,58,.11),transparent 30%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}button,a{font:inherit}.app-shell{width:min(100%,620px);min-height:100dvh;margin:auto;position:relative;background:linear-gradient(180deg,rgba(255,255,255,.014),transparent 16%)}.topbar{height:68px;position:sticky;top:0;z-index:30;padding:8px 15px;display:flex;align-items:center;justify-content:space-between;background:rgba(8,10,15,.88);backdrop-filter:blur(18px);border-bottom:1px solid var(--soft)}.logo{height:46px;max-width:190px;object-fit:contain}.topbar-status{font-size:11px;color:var(--muted);display:flex;gap:7px;align-items:center}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 16px var(--green)}.app-main{min-height:calc(100dvh - 68px);padding:14px 14px calc(var(--nav-h) + 22px)}.view-enter{animation:viewEnter .2s ease both}@keyframes viewEnter{from{opacity:.15;transform:translateY(8px)}to{opacity:1;transform:none}}.bottom-nav{position:fixed;z-index:40;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,620px);height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding:8px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:rgba(12,15,21,.96);backdrop-filter:blur(18px);border-top:1px solid rgba(255,255,255,.09)}.nav-btn{border:0;background:transparent;color:#858d99;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;transition:.18s}.nav-btn img{width:22px;height:22px;filter:invert(58%)}.nav-btn.is-active{color:var(--gold2);background:rgba(216,165,58,.08)}.nav-btn.is-active img{filter:sepia(1) saturate(6) hue-rotate(350deg) brightness(1.15)}
.card{background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.hero{min-height:420px;position:relative;background-size:cover;background-position:center;display:flex;align-items:flex-end}.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,7,10,.03),rgba(5,7,10,.95) 76%)}.hero-content{position:relative;z-index:2;padding:22px;width:100%}.kicker{font-size:12px;font-weight:900;color:var(--gold2);letter-spacing:.09em;text-transform:uppercase}.hero h1{font-size:clamp(31px,9vw,48px);line-height:.96;margin:9px 0 12px;text-transform:uppercase}.hero-desc,.muted{color:var(--muted);line-height:1.45}.pills{display:flex;flex-wrap:wrap;gap:8px}.pill{display:inline-flex;gap:6px;align-items:center;padding:7px 10px;border-radius:999px;background:rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.1);font-size:12px}.progress-block{margin:17px 0}.progress-head{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:8px}.progress{height:10px;border-radius:999px;background:#272b35;overflow:hidden}.progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--green),#7be7a0)}.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:0;border-radius:14px;padding:14px 17px;font-weight:900;text-transform:uppercase;cursor:pointer}.btn-primary{width:100%;background:linear-gradient(180deg,var(--gold2),#ae7512);color:#171108;box-shadow:0 12px 30px rgba(216,165,58,.2)}.btn-secondary{border:1px solid var(--gold);background:rgba(216,165,58,.06);color:var(--gold2)}.btn:disabled,.btn[aria-disabled=true]{opacity:.45;filter:grayscale(1);pointer-events:none}.slider-dots{display:flex;justify-content:center;gap:7px;margin:12px}.slider-dot{width:8px;height:8px;border-radius:999px;border:0;background:#3b404a}.slider-dot.active{width:24px;background:var(--gold)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:25px 2px 12px}.section-head h2{margin:0;font-size:19px;text-transform:uppercase}.text-btn{border:0;background:transparent;color:var(--gold2);font-size:12px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.quick-card{padding:13px;border:1px solid var(--soft);border-radius:16px;background:var(--surface);text-align:left;color:inherit}.quick-card strong{display:block;font-size:13px}.quick-card span{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.35}.event-list{display:grid;gap:12px}.spaced{margin-top:12px}.event-card{display:grid;grid-template-columns:115px 1fr;min-height:176px}.event-img{background-size:cover;background-position:center}.event-content{padding:14px}.event-content h3{font-size:18px;margin:6px 0}.event-content p{margin:0;color:var(--muted);font-size:13px;line-height:1.42}.event-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.price{font-weight:900}.filters{display:flex;gap:8px;overflow:auto;padding-bottom:4px}.filter{white-space:nowrap;padding:8px 13px;border-radius:999px;border:1px solid var(--soft);background:var(--surface);color:var(--muted)}.filter.active{color:var(--gold2);border-color:var(--gold);background:rgba(216,165,58,.08)}.calendar-card{padding:15px}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.calendar-toolbar h2{text-transform:capitalize;font-size:18px;margin:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.weekday{text-align:center;color:var(--muted);font-size:10px;font-weight:800}.day-cell{aspect-ratio:1;border:0;border-radius:12px;background:#161a22;color:#c9ced7;position:relative}.day-cell.has-event{border:1px solid var(--gold);color:var(--gold2);box-shadow:inset 0 0 0 1px rgba(216,165,58,.13)}.day-cell small{position:absolute;right:5px;bottom:3px;font-size:8px}.day-cell.empty{background:transparent}.rank-list,.news-list,.schedule-list{display:grid;gap:9px}.rank-row{display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;padding:13px;border-radius:14px;background:var(--surface);border:1px solid var(--soft)}.rank-place{font-weight:900;color:var(--gold2)}.rank-row small{color:var(--muted)}.news{padding:15px}.news h3{margin:0 0 6px}.news p{margin:0;color:var(--muted);line-height:1.45}.local-img{width:100%;height:230px;object-fit:cover}.contact-block{padding:16px}.contact-line{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid var(--soft)}.contact-line:last-child{border-bottom:0}.contact-line span{color:var(--muted);text-align:right}.button-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.map{width:100%;height:250px;border:0;border-radius:18px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:8px 11px;border-radius:999px;background:var(--surface2);border:1px solid var(--soft);font-size:12px;color:#d4d7dd}.event-modal{width:min(92vw,560px);max-height:88dvh;padding:0;border:1px solid var(--line);border-radius:24px;background:#0e1117;color:var(--text);box-shadow:0 35px 100px rgba(0,0,0,.75)}.event-modal::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(6px)}.modal-close{position:absolute;right:12px;top:12px;z-index:3;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.15);background:rgba(0,0,0,.58);color:white;font-size:25px}.modal-image{height:250px;background-size:cover;background-position:center;position:relative}.modal-image::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#0e1117)}.modal-body{padding:19px}.modal-body h2{margin:8px 0}.modal-body p,.modal-body li{color:#c2c7cf;line-height:1.5}.tag{display:inline-flex;padding:6px 9px;border-radius:999px;background:rgba(216,165,58,.12);color:var(--gold2);font-size:11px;font-weight:900}.empty-state{text-align:center;padding:28px;color:var(--muted)}.tiny{font-size:12px}.top-gap{margin-top:14px}
@media(max-width:410px){.quick-grid{grid-template-columns:1fr}.event-card{grid-template-columns:100px 1fr}.button-grid{grid-template-columns:1fr}.hero{min-height:395px}}
@media(min-width:621px){body{padding:20px}.app-shell{border:1px solid var(--soft);border-radius:28px;overflow:hidden;box-shadow:0 45px 110px rgba(0,0,0,.5)}.bottom-nav{bottom:20px;border-radius:0 0 28px 28px}}

/* ======================================================
   EVENTOS TIPO TICKET PREMIUM
====================================================== */

.event-ticket {
  display: block;
  position: relative;
  overflow: hidden;
}

.ticket-image {
  min-height: 235px;
  position: relative;
  background-position: center;
  background-size: cover;
}

.ticket-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6,8,12,.04),
      rgba(6,8,12,.86)
    );
}

.ticket-date,
.ticket-category {
  position: absolute;
  z-index: 2;
  top: 13px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(8,10,15,.8);
  backdrop-filter: blur(12px);
}

.ticket-date {
  left: 13px;
  padding: 9px 11px;
  border-radius: 13px;
}

.ticket-date small,
.ticket-date strong {
  display: block;
}

.ticket-date small {
  color: var(--gold2);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-date strong {
  margin-top: 2px;
  font-size: 19px;
}

.ticket-category {
  right: 13px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--gold2);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-body {
  position: relative;
  padding: 17px;
}

.ticket-body::before,
.ticket-body::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
}

.ticket-body::before {
  left: -11px;
}

.ticket-body::after {
  right: -11px;
}

.ticket-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.ticket-heading h3 {
  margin: 5px 0 0;
  font-size: 22px;
}

.ticket-price {
  flex: 0 0 auto;
  color: var(--gold2);
  font-size: 17px;
  font-weight: 900;
}

.ticket-body > p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ticket-countdown,
.hero-countdown {
  display: inline-flex;
  padding: 7px 10px;
  border-left: 3px solid var(--gold);
  background: rgba(216,165,58,.09);
  color: var(--gold2);
  font-size: 11px;
  font-weight: 900;
}

.hero-countdown {
  margin-top: 14px;
}

.ticket-actions {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 9px;
}

.ticket-actions .btn {
  width: 100%;
}


/* ======================================================
   ESTADOS DE CUPOS
====================================================== */

.availability {
  font-weight: 900;
}

.availability.is-available {
  color: #79e99f;
}

.availability.is-low {
  color: #ffcc65;
}

.availability.is-last {
  color: #ff9f43;
  animation: lastPlacePulse 1.4s infinite;
}

.availability.is-full {
  color: #ff6868;
}

.progress.is-low span {
  background:
    linear-gradient(
      90deg,
      #d99a28,
      #ffd36c
    );
}

.progress.is-last span {
  background:
    linear-gradient(
      90deg,
      #e77520,
      #ffb45b
    );
}

.progress.is-full span {
  background:
    linear-gradient(
      90deg,
      #b63333,
      #ff6767
    );
}

@keyframes lastPlacePulse {
  0%,
  100% {
    opacity: .65;
  }

  50% {
    opacity: 1;
    text-shadow:
      0 0 12px rgba(255,159,67,.7);
  }
}


/* ======================================================
   RESPONSIVE DE TICKETS
====================================================== */

@media (max-width: 410px) {
  .ticket-actions {
    grid-template-columns: 1fr;
  }

  .ticket-image {
    min-height: 215px;
  }

  .ticket-heading h3 {
    font-size: 20px;
  }
}

/* ======================================================
   FILTROS DE EVENTOS TIPO MISIÓN
====================================================== */

.event-page-head {
  align-items: flex-end;
}

.event-page-head h2 {
  margin-top: 4px;
}

.event-count-label {
  padding: 7px 10px;
  border: 1px solid var(--soft);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.mission-filter-wrap {
  position: relative;
  margin: 2px -14px 12px;
}

.mission-filter-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--bg)
    );
}

.mission-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 14px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.mission-filters::-webkit-scrollbar {
  display: none;
}

.mission-filter {
  min-width: 165px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--soft);
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.025),
      rgba(255,255,255,.01)
    ),
    var(--surface);
  color: var(--text);
  text-align: left;
  scroll-snap-align: start;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.mission-filter:active {
  transform: scale(.97);
}

.mission-filter-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  font-size: 22px;
}

.mission-filter-text {
  min-width: 0;
}

.mission-filter-text strong,
.mission-filter-text small {
  display: block;
}

.mission-filter-text strong {
  font-size: 14px;
}

.mission-filter-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.mission-filter.active {
  transform: translateY(-2px);
}

.mission-filter.active .mission-filter-text small {
  color: rgba(255,255,255,.72);
}


/* Todos */
.filter-all.active {
  border-color: var(--gold);
  background:
    linear-gradient(
      145deg,
      rgba(216,165,58,.22),
      rgba(216,165,58,.05)
    ),
    var(--surface);
  box-shadow:
    0 10px 28px rgba(216,165,58,.13);
}

.filter-all.active .mission-filter-icon {
  background: rgba(216,165,58,.17);
}


/* TCG */
.filter-tcg.active {
  border-color: #daaa42;
  background:
    linear-gradient(
      145deg,
      rgba(218,170,66,.23),
      rgba(218,170,66,.04)
    ),
    var(--surface);
  box-shadow:
    0 10px 28px rgba(218,170,66,.13);
}

.filter-tcg.active .mission-filter-icon {
  background: rgba(218,170,66,.18);
}


/* Switch */
.filter-switch.active {
  border-color: #4ba8ff;
  background:
    linear-gradient(
      145deg,
      rgba(75,168,255,.23),
      rgba(75,168,255,.04)
    ),
    var(--surface);
  box-shadow:
    0 10px 28px rgba(75,168,255,.13);
}

.filter-switch.active .mission-filter-icon {
  background: rgba(75,168,255,.18);
}


/* Casual */
.filter-casual.active {
  border-color: #54d88c;
  background:
    linear-gradient(
      145deg,
      rgba(84,216,140,.22),
      rgba(84,216,140,.04)
    ),
    var(--surface);
  box-shadow:
    0 10px 28px rgba(84,216,140,.12);
}

.filter-casual.active .mission-filter-icon {
  background: rgba(84,216,140,.18);
}


/* Especial */
.filter-special.active {
  border-color: #b987ff;
  background:
    linear-gradient(
      145deg,
      rgba(185,135,255,.22),
      rgba(185,135,255,.04)
    ),
    var(--surface);
  box-shadow:
    0 10px 28px rgba(185,135,255,.12);
}

.filter-special.active .mission-filter-icon {
  background: rgba(185,135,255,.18);
}

@media (max-width: 390px) {
  .mission-filter {
    min-width: 151px;
    padding: 10px;
  }

  .mission-filter-icon {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    font-size: 20px;
  }
}


/* ======================================================
   FILTROS COMPACTOS EN DOS FILAS
====================================================== */

.compact-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.compact-filter {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 8px;
  border: 1px solid var(--soft);
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.025),
      rgba(255,255,255,.01)
    ),
    var(--surface);
  color: var(--text);
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease,
    box-shadow .15s ease;
}

.compact-filter:active {
  transform: scale(.96);
}

.compact-filter-icon {
  font-size: 19px;
}

.compact-filter-label {
  font-size: 12px;
  font-weight: 800;
}

.compact-filter.active {
  transform: translateY(-1px);
}

.filter-all.active {
  border-color: var(--gold);
  background:
    linear-gradient(
      145deg,
      rgba(216,165,58,.22),
      rgba(216,165,58,.05)
    ),
    var(--surface);
  box-shadow:
    0 8px 22px rgba(216,165,58,.12);
}

.filter-tcg.active {
  border-color: #daa942;
  background:
    linear-gradient(
      145deg,
      rgba(218,169,66,.22),
      rgba(218,169,66,.04)
    ),
    var(--surface);
}

.filter-switch.active {
  border-color: #4ba8ff;
  background:
    linear-gradient(
      145deg,
      rgba(75,168,255,.22),
      rgba(75,168,255,.04)
    ),
    var(--surface);
}

.filter-casual.active {
  border-color: #54d88c;
  background:
    linear-gradient(
      145deg,
      rgba(84,216,140,.22),
      rgba(84,216,140,.04)
    ),
    var(--surface);
}

.filter-special.active {
  border-color: #b987ff;
  background:
    linear-gradient(
      145deg,
      rgba(185,135,255,.22),
      rgba(185,135,255,.04)
    ),
    var(--surface);
}

@media (max-width: 380px) {
  .compact-filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}







/* AFTER-CALENDAR-COMPACT-START */

.calendar-screen {
  min-height:
    calc(100dvh - 68px - var(--nav-h) - 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calendar-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.calendar-header h1 {
  margin: 4px 0 0;
  font-size: 29px;
  text-transform: uppercase;
}

.calendar-month-summary {
  min-width: 77px;
  padding: 9px 11px;
  border: 1px solid var(--soft);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.calendar-month-summary strong,
.calendar-month-summary span {
  display: block;
}

.calendar-month-summary strong {
  color: var(--gold2);
  font-size: 19px;
}

.calendar-month-summary span {
  color: var(--muted);
  font-size: 9px;
}

.agenda-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(216,165,58,.08),
      transparent 37%
    ),
    var(--surface);
  box-shadow: var(--shadow);
}

.agenda-toolbar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 9px;
}

.agenda-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(216,165,58,.06);
  color: var(--gold2);
  font-size: 26px;
}

.agenda-arrow:disabled {
  opacity: .16;
}

.agenda-month {
  text-align: center;
}

.agenda-month small {
  display: block;
  color: var(--gold2);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.agenda-month h2 {
  margin: 3px 0 0;
  font-size: 19px;
  text-transform: capitalize;
}

.agenda-stats {
  display: flex;
  justify-content: center;
  gap: 17px;
  margin: 13px 0;
  color: var(--muted);
  font-size: 10px;
}

.agenda-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.agenda-stats b {
  color: var(--text);
  font-size: 14px;
}

.agenda-weekdays,
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.agenda-weekdays {
  margin-bottom: 6px;
}

.agenda-weekdays span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-align: center;
}

.agenda-day {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #181c25;
  color: #aeb5c0;
}

.agenda-day.is-empty {
  visibility: hidden;
}

.agenda-day:disabled {
  opacity: .4;
}

.agenda-day.has-event {
  opacity: 1;
  background: #1b2029;
}

.agenda-day.has-event:active {
  transform: scale(.92);
}

.agenda-day-number {
  position: absolute;
  top: 6px;
  left: 7px;
  font-size: 10px;
  font-weight: 800;
}

.agenda-day-dot {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.agenda-day-count {
  position: absolute;
  top: 5px;
  right: 6px;
  font-size: 7px;
  font-weight: 900;
}

.agenda-day.is-today {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.42);
}

.agenda-day.day-tcg {
  border-color: rgba(218,170,66,.58);
}

.agenda-day.day-tcg .agenda-day-dot {
  background: #daa942;
  box-shadow: 0 0 9px rgba(218,170,66,.5);
}

.agenda-day.day-switch {
  border-color: rgba(75,168,255,.58);
}

.agenda-day.day-switch .agenda-day-dot {
  background: #4ba8ff;
  box-shadow: 0 0 9px rgba(75,168,255,.5);
}

.agenda-day.day-casual {
  border-color: rgba(84,216,140,.58);
}

.agenda-day.day-casual .agenda-day-dot {
  background: #54d88c;
  box-shadow: 0 0 9px rgba(84,216,140,.5);
}

.agenda-day.day-special {
  border-color: rgba(185,135,255,.58);
}

.agenda-day.day-special .agenda-day-dot {
  background: #b987ff;
  box-shadow: 0 0 9px rgba(185,135,255,.5);
}

.agenda-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 9px;
}

.agenda-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.agenda-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-tcg i {
  background: #daa942;
}

.legend-switch i {
  background: #4ba8ff;
}

.legend-casual i {
  background: #54d88c;
}

.legend-special i {
  background: #b987ff;
}

.agenda-hint {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.multi-event-modal {
  padding: 24px 18px 18px;
}

.multi-event-modal h2 {
  margin: 6px 0 16px;
}

.multi-event-list {
  display: grid;
  gap: 9px;
}

.multi-event-option {
  width: 100%;
  display: grid;
  grid-template-columns: 52px 1fr 22px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--soft);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
}

.multi-event-time {
  color: var(--gold2);
  font-weight: 900;
}

.multi-event-info strong,
.multi-event-info span {
  display: block;
}

.multi-event-info strong {
  font-size: 13px;
}

.multi-event-info span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.multi-event-arrow {
  color: var(--gold2);
  font-size: 24px;
}

@media (max-height: 720px) {
  .calendar-screen {
    justify-content: flex-start;
  }

  .agenda-card {
    padding: 12px;
  }

  .agenda-day {
    border-radius: 9px;
  }

  .agenda-legend {
    margin-top: 10px;
  }
}

/* AFTER-CALENDAR-COMPACT-END */



/* AFTER-COMMUNITY-V2-START */

.community-page {
  padding-bottom: 10px;
}

.community-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.community-header h1 {
  margin: 4px 0 0;
  font-size: 30px;
  text-transform: uppercase;
}

.community-season {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(216,165,58,.08);
  color: var(--gold2);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.community-ranking-filters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.community-ranking-filter {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--soft);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
}

.community-ranking-filter > span {
  font-size: 19px;
}

.community-ranking-filter strong {
  font-size: 11px;
}

.community-ranking-filter.active {
  transform: translateY(-1px);
  border-color: var(--gold);
  background:
    linear-gradient(
      145deg,
      rgba(216,165,58,.2),
      rgba(216,165,58,.035)
    ),
    var(--surface);
  box-shadow:
    0 8px 22px rgba(216,165,58,.1);
}

.ranking-switch.active {
  border-color: #4ba8ff;
  background:
    linear-gradient(
      145deg,
      rgba(75,168,255,.2),
      rgba(75,168,255,.035)
    ),
    var(--surface);
}

.ranking-casual.active {
  border-color: #54d88c;
  background:
    linear-gradient(
      145deg,
      rgba(84,216,140,.2),
      rgba(84,216,140,.035)
    ),
    var(--surface);
}

.community-ranking-card {
  padding: 17px;
}

.community-ranking-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.community-ranking-title h2 {
  margin: 5px 0 0;
  font-size: 21px;
}

.community-ranking-badge {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.community-podium {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  align-items: end;
  gap: 8px;
  margin: 18px 0;
  padding: 10px 0 0;
}

.community-podium-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 13px 6px;
  border: 1px solid var(--soft);
  border-radius: 16px 16px 8px 8px;
  background: var(--surface);
  text-align: center;
}

.community-podium-player.podium-first {
  min-height: 174px;
  justify-content: center;
  border-color: rgba(216,165,58,.55);
  background:
    linear-gradient(
      180deg,
      rgba(216,165,58,.15),
      rgba(17,20,27,.8)
    );
}

.community-podium-player.podium-second {
  min-height: 144px;
}

.community-podium-player.podium-third {
  min-height: 126px;
}

.community-medal {
  font-size: 22px;
}

.community-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 7px 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #202530;
  color: var(--gold2);
  font-weight: 900;
}

.community-podium-player strong {
  font-size: 11px;
}

.community-podium-player span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.community-ranking-list {
  display: grid;
  gap: 7px;
}

.community-ranking-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--soft);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}

.community-ranking-position {
  font-size: 16px;
  text-align: center;
}

.community-ranking-player strong,
.community-ranking-player span {
  display: block;
}

.community-ranking-player strong {
  font-size: 12px;
}

.community-ranking-player span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.community-ranking-points {
  color: var(--gold2);
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}

.community-ranking-points small {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.community-ranking-note {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.community-section-heading {
  margin-top: 28px;
}

.community-results {
  display: grid;
  gap: 12px;
}

.community-result-card {
  display: grid;
  grid-template-columns: 118px 1fr;
}

.community-result-image {
  min-height: 190px;
  position: relative;
  background-position: center;
  background-size: cover;
}

.community-result-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(6,8,12,.72)
    );
}

.community-result-image > span {
  position: absolute;
  z-index: 1;
  left: 9px;
  bottom: 9px;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,.66);
  color: var(--gold2);
  font-size: 8px;
  font-weight: 900;
}

.community-result-body {
  padding: 13px;
}

.community-result-body h3 {
  margin: 5px 0;
  font-size: 17px;
}

.community-result-body > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.community-result-podium {
  display: grid;
  gap: 5px;
}

.community-result-podium > div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}

.community-result-body > small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 8px;
}

.community-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -14px;
  padding: 0 14px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.community-gallery::-webkit-scrollbar {
  display: none;
}

.community-gallery-item {
  min-width: 235px;
  overflow: hidden;
  border: 1px solid var(--soft);
  border-radius: 17px;
  background: var(--surface);
  scroll-snap-align: start;
}

.community-gallery-item img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.community-gallery-caption {
  padding: 11px;
}

.community-gallery-caption strong,
.community-gallery-caption span {
  display: block;
}

.community-gallery-caption strong {
  font-size: 12px;
}

.community-gallery-caption span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

@media (max-width: 370px) {
  .community-ranking-filters {
    grid-template-columns: 1fr 1fr;
  }

  .community-result-card {
    grid-template-columns: 100px 1fr;
  }

  .community-podium {
    gap: 5px;
  }

  .community-avatar {
    width: 39px;
    height: 39px;
  }
}

/* AFTER-COMMUNITY-V2-END */







/* AFTER-VISIT-V1-START */

.visit-page {
  padding-bottom: 10px;
}

.visit-header {
  margin: 5px 2px 16px;
}

.visit-header h1 {
  margin: 5px 0 8px;
  font-size: clamp(34px, 10vw, 50px);
  line-height: .95;
  text-transform: uppercase;
}

.visit-header p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.visit-location-card {
  overflow: hidden;
}

.visit-location-image {
  display: block;
  width: 100%;
  height: 255px;
  object-fit: cover;
}

.visit-location-content {
  padding: 17px;
}

.visit-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.visit-address-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(216,165,58,.13);
  font-size: 22px;
}

.visit-address small,
.visit-address strong,
.visit-address span {
  display: block;
}

.visit-address small {
  color: var(--gold2);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.visit-address strong {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
}

.visit-address span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.visit-section-head {
  margin-top: 28px;
}

.visit-map {
  display: block;
  width: 100%;
  height: 245px;
  border: 0;
  border-radius: 18px;
  background: #ddd;
}

.visit-days-card {
  padding: 5px 16px 15px;
}

.visit-day-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--soft);
}

.visit-day-name strong {
  font-size: 14px;
}

.visit-day-status {
  text-align: right;
}

.visit-day-status span {
  color: var(--muted);
  font-size: 11px;
}

.visit-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.visit-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.visit-feature {
  min-height: 145px;
  padding: 15px;
  border: 1px solid var(--soft);
  border-radius: 17px;
  background: var(--surface);
}

.visit-feature > span {
  display: block;
  margin-bottom: 10px;
  font-size: 26px;
}

.visit-feature strong {
  font-size: 13px;
}

.visit-feature p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.visit-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.visit-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 132px;
  padding: 15px;
  border: 1px solid var(--soft);
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
}

.visit-whatsapp {
  border-color: rgba(52,201,113,.35);
  background:
    linear-gradient(
      145deg,
      rgba(52,201,113,.18),
      rgba(17,20,27,.75)
    );
}

.visit-instagram {
  border-color: rgba(185,135,255,.3);
  background:
    linear-gradient(
      145deg,
      rgba(185,90,255,.15),
      rgba(216,165,58,.07),
      rgba(17,20,27,.75)
    );
}

.visit-contact-icon {
  font-size: 25px;
}

.visit-contact-card strong,
.visit-contact-card span,
.visit-contact-card small {
  display: block;
}

.visit-contact-card strong {
  font-size: 14px;
}

.visit-contact-card span {
  margin-top: 4px;
  color: #d5d8df;
  font-size: 11px;
}

.visit-contact-card small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.visit-faq {
  display: grid;
  gap: 8px;
}

.visit-faq-item {
  overflow: hidden;
  border: 1px solid var(--soft);
  border-radius: 15px;
  background: var(--surface);
}

.visit-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.visit-faq-question span {
  font-size: 12px;
  font-weight: 800;
}

.visit-faq-question b {
  color: var(--gold2);
  font-size: 18px;
}

.visit-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height .22s ease;
}

.visit-faq-answer p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.visit-faq-item.is-open .visit-faq-answer {
  max-height: 170px;
}

@media (max-width: 390px) {
  .visit-contact-grid {
    grid-template-columns: 1fr;
  }

  .visit-location-image {
    height: 220px;
  }
}

@media (max-width: 350px) {
  .visit-features {
    grid-template-columns: 1fr;
  }
}

/* AFTER-VISIT-V1-END */







/* AFTER-NAV-NEWS-V1-START */

/* Menú inferior premium */

.premium-nav {
  overflow: visible;
  padding-top: 7px;
  background:
    linear-gradient(
      180deg,
      rgba(18,21,29,.92),
      rgba(8,10,15,.98)
    );
  border-top: 1px solid rgba(216,165,58,.22);
  box-shadow:
    0 -14px 40px rgba(0,0,0,.48),
    inset 0 1px rgba(255,255,255,.03);
}

.premium-nav::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  width: 76%;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(216,165,58,.68),
      transparent
    );
}

.premium-nav .nav-btn {
  position: relative;
  gap: 4px;
  color: #7d8490;
  transition:
    color .18s ease,
    transform .18s ease,
    background .18s ease;
}

.premium-nav .nav-btn:active {
  transform: scale(.92);
}

.premium-nav .nav-emoji {
  display: grid;
  place-items: center;
  width: 31px;
  height: 29px;
  border-radius: 11px;
  font-size: 19px;
  filter: grayscale(.58);
  transition:
    transform .18s ease,
    filter .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.premium-nav .nav-btn > span:last-child {
  font-size: 9px;
  font-weight: 750;
}

.premium-nav .nav-btn.is-active {
  color: var(--gold2);
  background: transparent;
}

.premium-nav .nav-btn.is-active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(216,165,58,.75);
}

.premium-nav .nav-btn.is-active .nav-emoji {
  transform: translateY(-3px) scale(1.08);
  filter: none;
  background: rgba(216,165,58,.13);
  box-shadow: 0 7px 18px rgba(216,165,58,.11);
}


/* Selector Eventos / Calendario */

.events-view-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 14px;
  padding: 5px;
  border: 1px solid var(--soft);
  border-radius: 15px;
  background: rgba(8,10,15,.48);
}

.events-view-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.events-view-switch button span {
  margin-right: 5px;
}

.events-view-switch button.active {
  background:
    linear-gradient(
      145deg,
      rgba(216,165,58,.2),
      rgba(216,165,58,.055)
    );
  color: var(--gold2);
  box-shadow:
    inset 0 0 0 1px rgba(216,165,58,.29),
    0 7px 17px rgba(0,0,0,.17);
}


/* Noticias apiladas */

.news-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin: 5px 2px 18px;
}

.news-page-header h1 {
  margin: 4px 0 7px;
  font-size: clamp(35px, 10vw, 50px);
  line-height: .95;
  text-transform: uppercase;
}

.news-page-header p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.news-page-count {
  min-width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(216,165,58,.08);
  color: var(--gold2);
  font-weight: 900;
}

.news-stack {
  display: grid;
}

.news-stack-card {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--stack-index) * -13px);
  border: 1px solid var(--soft);
  border-radius: 21px;
  background: var(--surface);
  box-shadow: 0 17px 38px rgba(0,0,0,.34);
  transition:
    margin .24s ease,
    transform .24s ease,
    border-color .24s ease;
}

.news-stack-card:first-child {
  margin-top: 0;
}

.news-stack-card.is-open {
  z-index: 8;
  margin-top: 12px;
  margin-bottom: 17px;
  border-color: rgba(216,165,58,.48);
  transform: translateY(-2px);
}

.news-stack-summary {
  width: 100%;
  min-height: 205px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.news-stack-image,
.news-stack-shade {
  position: absolute;
  inset: 0;
}

.news-stack-image {
  background-position: center;
  background-size: cover;
}

.news-stack-shade {
  background:
    linear-gradient(
      180deg,
      rgba(4,6,9,.09),
      rgba(4,6,9,.94) 78%
    );
}

.news-stack-top,
.news-stack-title {
  position: absolute;
  z-index: 2;
}

.news-stack-top {
  top: 13px;
  left: 13px;
  right: 13px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.news-stack-type,
.news-stack-date {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(7,9,13,.67);
  backdrop-filter: blur(12px);
  font-size: 8px;
  font-weight: 900;
}

.news-stack-type {
  color: var(--gold2);
}

.news-stack-date {
  color: #d1d4da;
}

.news-stack-title {
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.news-stack-title h2 {
  margin: 0 0 5px;
  font-size: 21px;
  line-height: 1.05;
}

.news-stack-title p {
  margin: 0;
  color: #c1c5cd;
  font-size: 10px;
  line-height: 1.4;
}

.news-stack-action {
  display: block;
  margin-top: 10px;
  color: var(--gold2);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-stack-detail {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition:
    max-height .3s ease,
    padding .3s ease;
}

.news-stack-card.is-open .news-stack-detail {
  max-height: 330px;
  padding: 2px 16px 16px;
}

.news-stack-detail p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.news-type-preventa {
  border-color: rgba(216,165,58,.36);
}

.news-type-reingreso {
  border-color: rgba(84,216,140,.3);
}

.news-type-nuevo {
  border-color: rgba(75,168,255,.32);
}

.news-type-anuncio {
  border-color: rgba(185,135,255,.3);
}


/* Acceso Noticias en Inicio */

.home-v3-news-access {
  margin-bottom: 9px;
}

.home-v3-news-card {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 43px 1fr 18px;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(75,168,255,.27);
  border-radius: 17px;
  background:
    linear-gradient(
      120deg,
      rgba(75,168,255,.12),
      rgba(17,20,27,.88)
    );
  color: var(--text);
  text-align: left;
}

.home-v3-news-icon {
  font-size: 26px;
}

.home-v3-news-card strong,
.home-v3-news-card small {
  display: block;
}

.home-v3-news-card strong {
  margin-top: 3px;
  font-size: 13px;
}

.home-v3-news-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.home-v3-news-card > b {
  color: var(--gold2);
  font-size: 24px;
}

/* AFTER-NAV-NEWS-V1-END */



/* AFTER-HOME-FINAL-START */

.home-final {
  padding-bottom: 8px;
}

.home-final-top {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 9px;
  margin-bottom: 11px;
}

.home-final-location,
.home-final-status {
  display: flex;
  align-items: center;
  border: 1px solid var(--soft);
  border-radius: 14px;
  background: var(--surface);
}

.home-final-location {
  padding: 10px 12px;
  color: #d9dde4;
  font-size: 11px;
  font-weight: 800;
}

.home-final-status {
  max-width: 185px;
  gap: 8px;
  padding: 9px 11px;
}

.home-final-status strong,
.home-final-status small {
  display: block;
}

.home-final-status strong {
  font-size: 10px;
}

.home-final-status small {
  max-width: 130px;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-final-status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
}

.home-final-status.is-open .home-final-status-dot {
  background: var(--green);
  box-shadow: 0 0 15px var(--green);
}

.home-final-status.is-next .home-final-status-dot {
  background: var(--gold);
  box-shadow:
    0 0 14px rgba(216,165,58,.7);
}


/* Carrusel estable */

.home-carousel {
  position: relative;
  width: 100%;
  height: clamp(430px, 62svh, 570px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  touch-action: pan-y;
}

.home-carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  transition:
    transform .42s cubic-bezier(.22,.75,.25,1);
  will-change: transform;
}

.home-carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.home-carousel-image,
.home-carousel-shade {
  position: absolute;
  inset: 0;
}

.home-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-carousel-shade {
  background:
    linear-gradient(
      180deg,
      rgba(5,7,10,.08),
      rgba(5,7,10,.42) 43%,
      rgba(5,7,10,.97) 83%
    );
}

.home-carousel-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px 21px 43px;
}

.home-carousel-content h1 {
  max-width: 520px;
  margin: 8px 0 12px;
  font-size: clamp(34px, 10vw, 53px);
  line-height: .94;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.home-carousel-content p {
  max-width: 440px;
  margin: 0 0 17px;
  color: #cdd1d8;
  font-size: 13px;
  line-height: 1.45;
}

.home-carousel-content .btn {
  width: auto;
  min-width: 180px;
}

.home-carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 44%;
  width: 37px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(7,9,13,.55);
  color: white;
  font-size: 27px;
  backdrop-filter: blur(11px);
}

.home-carousel-prev {
  left: 0;
  border-left: 0;
  border-radius: 0 14px 14px 0;
}

.home-carousel-next {
  right: 0;
  border-right: 0;
  border-radius: 14px 0 0 14px;
}

.home-carousel-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 15px;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.home-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.35);
  transition:
    width .2s ease,
    background .2s ease;
}

.home-carousel-dot.active {
  width: 25px;
  background: var(--gold2);
  box-shadow:
    0 0 10px rgba(216,165,58,.6);
}


/* Accesos */

.home-final-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 13px;
  margin: 26px 2px 12px;
}

.home-final-heading h2 {
  margin: 4px 0 0;
  font-size: 22px;
  text-transform: uppercase;
}

.home-final-heading > span {
  color: var(--muted);
  font-size: 9px;
}

.home-final-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.home-final-nav-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 37px 1fr 14px;
  align-items: center;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--soft);
  border-radius: 17px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  transition:
    transform .15s ease,
    border-color .15s ease;
}

.home-final-nav-card:active {
  transform: scale(.97);
}

.home-final-nav-card > span {
  font-size: 24px;
}

.home-final-nav-card strong,
.home-final-nav-card small {
  display: block;
}

.home-final-nav-card strong {
  font-size: 12px;
}

.home-final-nav-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.3;
}

.home-final-nav-card > b {
  color: var(--gold2);
  font-size: 21px;
}

.home-final-news {
  border-color: rgba(75,168,255,.28);
}

.home-final-events {
  border-color: rgba(216,165,58,.32);
}

.home-final-community {
  border-color: rgba(84,216,140,.27);
}

.home-final-visit {
  border-color: rgba(185,135,255,.27);
}


/* Elemento propio del Inicio */

.home-final-manifesto {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 11px;
  padding: 15px;
  border: 1px solid var(--soft);
  border-radius: 17px;
  background:
    linear-gradient(
      120deg,
      rgba(216,165,58,.09),
      rgba(17,20,27,.85)
    );
}

.home-final-manifesto > span {
  font-size: 24px;
}

.home-final-manifesto strong,
.home-final-manifesto p {
  display: block;
}

.home-final-manifesto strong {
  font-size: 12px;
}

.home-final-manifesto p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}


/* Evita saltos por la barra de Chrome */

@supports (height: 100svh) {
  .home-carousel {
    height: clamp(430px, 62svh, 570px);
  }
}

@media (max-width: 390px) {
  .home-final-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-final-status {
    max-width: none;
  }

  .home-carousel {
    height: clamp(420px, 61svh, 530px);
  }

  .home-carousel-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-carousel-arrow {
    display: none;
  }
}

@media (max-width: 350px) {
  .home-final-nav-grid {
    grid-template-columns: 1fr;
  }
}

/* AFTER-HOME-FINAL-END */



/* AFTER-FINAL-POLISH-START */

/* Noticia destacada en Inicio */

.home-featured-news {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(75,168,255,.3);
  border-radius: 17px;
  background:
    linear-gradient(
      120deg,
      rgba(75,168,255,.13),
      rgba(17,20,27,.9)
    );
  color: var(--text);
  text-align: left;
}

.home-featured-news-icon {
  font-size: 25px;
}

.home-featured-news small,
.home-featured-news strong,
.home-featured-news span {
  display: block;
}

.home-featured-news small {
  color: #75baff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .07em;
}

.home-featured-news strong {
  margin-top: 3px;
  font-size: 13px;
}

.home-featured-news span {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-featured-news > b {
  color: var(--gold2);
  font-size: 23px;
}


/* Estados consistentes de Noticias */

.news-type-preventa {
  border-color: rgba(216,165,58,.48);
}

.news-type-preventa .news-stack-type {
  color: #f2c65a;
}

.news-type-reingreso {
  border-color: rgba(52,201,113,.45);
}

.news-type-reingreso .news-stack-type {
  color: #64df94;
}

.news-type-nuevo {
  border-color: rgba(75,168,255,.48);
}

.news-type-nuevo .news-stack-type {
  color: #75baff;
}

.news-type-anuncio {
  border-color: rgba(185,135,255,.44);
}

.news-type-anuncio .news-stack-type {
  color: #c79cff;
}

.news-type-local {
  border-color: rgba(255,255,255,.2);
}

.news-type-local .news-stack-type {
  color: #d6d9df;
}

.news-type-agotado {
  border-color: rgba(255,103,103,.48);
  filter: saturate(.72);
}

.news-type-agotado .news-stack-type {
  color: #ff7777;
}


/* Modal compacto y desplegable */

.event-detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 13px;
}

.event-detail-heading h2 {
  margin: 8px 0 0;
}

.event-detail-price {
  color: var(--gold2);
  font-size: 18px;
  white-space: nowrap;
}

.event-detail-description {
  margin: 12px 0;
}

.event-detail-accordions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.event-detail-accordion {
  overflow: hidden;
  border: 1px solid var(--soft);
  border-radius: 14px;
  background: var(--surface);
}

.event-detail-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 13px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.event-detail-toggle span {
  font-size: 12px;
  font-weight: 850;
}

.event-detail-toggle b {
  color: var(--gold2);
  font-size: 18px;
}

.event-detail-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .22s ease;
}

.event-detail-panel ul,
.event-detail-panel p {
  margin: 0;
  padding: 0 15px 14px 31px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.event-detail-panel p {
  padding-left: 15px;
}

.event-detail-accordion.is-open
.event-detail-panel {
  max-height: 180px;
}

.event-detail-sticky {
  position: sticky;
  bottom: -19px;
  margin: 16px -19px -19px;
  padding: 13px 19px calc(13px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--soft);
  background: rgba(14,17,23,.96);
  backdrop-filter: blur(15px);
}

.event-detail-sticky .btn {
  width: 100%;
}

/* AFTER-FINAL-POLISH-END */



/* AFTER-AMBIENT-UI-START */

/* Fondo vivo y estable */

body {
  position: relative;
  isolation: isolate;
  transition: background-color .35s ease;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(216,165,58,.08) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 72% 35%,
      rgba(255,255,255,.045) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 42% 78%,
      rgba(216,165,58,.06) 0 1.5px,
      transparent 2.5px
    );
  background-size:
    145px 145px,
    190px 190px,
    230px 230px;
  animation: afterParticles 24s linear infinite;
  opacity: .72;
}

body::after {
  background:
    radial-gradient(
      circle at 50% -10%,
      var(--section-glow, rgba(216,165,58,.13)),
      transparent 35%
    );
  transition: background .4s ease;
}

@keyframes afterParticles {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-145px);
  }
}


/* Color ambiental según sección */

body[data-section="inicio"] {
  --section-glow: rgba(216,165,58,.15);
}

body[data-section="noticias"] {
  --section-glow: rgba(75,168,255,.13);
}

body[data-section="eventos"] {
  --section-glow: rgba(216,165,58,.16);
}

body[data-section="calendario"] {
  --section-glow: rgba(216,165,58,.16);
}

body[data-section="comunidad"] {
  --section-glow: rgba(84,216,140,.12);
}

body[data-section="contacto"] {
  --section-glow: rgba(190,164,112,.11);
}


/* Nueva barra superior */

.premium-topbar {
  height: 72px;
  padding: 9px 15px;
  background:
    linear-gradient(
      180deg,
      rgba(16,19,26,.86),
      rgba(8,10,15,.68)
    );
  border-bottom:
    1px solid rgba(216,165,58,.15);
  box-shadow:
    0 10px 30px rgba(0,0,0,.2);
  backdrop-filter: blur(20px);
}

.premium-topbar::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -1px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(216,165,58,.48),
      transparent
    );
}

.topbar-brand {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  letter-spacing: -.04em;
}

.topbar-brand span {
  font-size: 21px;
  font-weight: 750;
}

.topbar-brand strong {
  color: var(--gold2);
  font-size: 24px;
  font-weight: 950;
  text-shadow:
    0 0 18px rgba(216,165,58,.24);
}

.topbar-live {
  max-width: 190px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--soft);
  border-radius: 14px;
  background: rgba(8,10,15,.5);
  backdrop-filter: blur(12px);
}

.topbar-live-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow:
    0 0 13px rgba(216,165,58,.65);
}

.topbar-live strong,
.topbar-live small {
  display: block;
}

.topbar-live strong {
  font-size: 10px;
  line-height: 1.2;
}

.topbar-live small {
  max-width: 130px;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-live.is-open {
  border-color: rgba(52,201,113,.33);
}

.topbar-live.is-open
.topbar-live-dot {
  background: var(--green);
  box-shadow:
    0 0 15px var(--green);
}

.topbar-live.is-soon {
  border-color: rgba(255,103,103,.35);
}

.topbar-live.is-soon
.topbar-live-dot {
  background: #ff6767;
  box-shadow:
    0 0 15px rgba(255,103,103,.75);
  animation: livePulse 1.25s ease-in-out infinite;
}

.topbar-live.is-idle
.topbar-live-dot {
  background: #8d949f;
  box-shadow: none;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: .55;
    transform: scale(.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.app-shell {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.014),
      transparent 16%
    );
}

@media (max-width: 365px) {
  .topbar-brand span {
    font-size: 18px;
  }

  .topbar-brand strong {
    font-size: 21px;
  }

  .topbar-live {
    max-width: 160px;
  }

  .topbar-live small {
    max-width: 104px;
  }
}

/* AFTER-AMBIENT-UI-END */







/* AFTER-LAST-POLISH-START */

/* Ubicación útil y acceso rápido */

.home-final-location-bar {
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  padding: 12px 13px;
  border: 1px solid rgba(216,165,58,.24);
  border-radius: 16px;
  background:
    linear-gradient(
      120deg,
      rgba(216,165,58,.09),
      rgba(17,20,27,.94)
    );
  box-shadow:
    0 10px 24px rgba(0,0,0,.18);
}

.home-final-location-info {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.home-final-location-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(216,165,58,.13);
  font-size: 20px;
}

.home-final-location-info small,
.home-final-location-info strong,
.home-final-location-info span {
  display: block;
}

.home-final-location-info small {
  color: var(--gold2);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-final-location-info strong {
  margin-top: 3px;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-final-location-info span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.home-final-whatsapp {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(52,201,113,.42);
  border-radius: 15px;
  background:
    linear-gradient(
      145deg,
      rgba(52,201,113,.22),
      rgba(17,20,27,.85)
    );
  color: white;
  font-size: 22px;
  text-decoration: none;
  box-shadow:
    0 8px 20px rgba(52,201,113,.12);
  transition:
    transform .15s ease,
    box-shadow .15s ease;
}

.home-final-whatsapp:active {
  transform: scale(.94);
  box-shadow:
    0 4px 12px rgba(52,201,113,.1);
}


/* Partículas más visibles y rápidas */

body::before {
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(216,165,58,.22) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 72% 35%,
      rgba(255,255,255,.11) 0 1.3px,
      transparent 2.3px
    ),
    radial-gradient(
      circle at 42% 78%,
      rgba(216,165,58,.16) 0 1.7px,
      transparent 2.7px
    ),
    radial-gradient(
      circle at 88% 68%,
      rgba(216,165,58,.12) 0 1px,
      transparent 2px
    );
  background-size:
    110px 110px,
    145px 145px,
    180px 180px,
    215px 215px;
  animation:
    afterParticlesFast 11s linear infinite;
  opacity: .95;
}

@keyframes afterParticlesFast {
  from {
    transform:
      translate3d(0, 0, 0);
  }

  to {
    transform:
      translate3d(0, -110px, 0);
  }
}

@media (max-width: 360px) {
  .home-final-location-bar {
    grid-template-columns: 1fr 44px;
    padding: 10px 11px;
  }

  .home-final-location-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .home-final-whatsapp {
    width: 44px;
    height: 44px;
  }

  .home-final-location-info strong {
    font-size: 12px;
  }
}

/* AFTER-LAST-POLISH-END */


.home-final-actions{
display:flex;
gap:8px;
align-items:center;
}

.home-final-map,
.home-final-whatsapp{

width:46px;
height:46px;

display:grid;
place-items:center;

border-radius:15px;

font-size:22px;
text-decoration:none;

background:linear-gradient(145deg,rgba(216,165,58,.18),rgba(17,20,27,.9));

border:1px solid rgba(216,165,58,.25);

transition:.15s;
}

.home-final-whatsapp{
border-color:rgba(52,201,113,.45);
background:linear-gradient(145deg,rgba(52,201,113,.22),rgba(17,20,27,.9));
}

.home-final-map:active,
.home-final-whatsapp:active{
transform:scale(.93);
}

.home-final-location-info{
margin-left:2px;
}




/* AFTER-ACTION-ICONS-START */

.home-final-map,
.home-final-whatsapp {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  text-decoration: none;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease;
}

.home-final-map {
  border: 1px solid rgba(216,165,58,.42);
  background:
    linear-gradient(
      145deg,
      rgba(216,165,58,.21),
      rgba(17,20,27,.92)
    );
  color: var(--gold2);
  box-shadow:
    0 8px 20px rgba(216,165,58,.11);
}

.home-final-whatsapp {
  border: 1px solid rgba(52,201,113,.47);
  background:
    linear-gradient(
      145deg,
      rgba(52,201,113,.23),
      rgba(17,20,27,.92)
    );
  color: #67df98;
  box-shadow:
    0 8px 20px rgba(52,201,113,.12);
}

.home-final-action-icon {
  width: 23px;
  height: 23px;
  display: block;
  color: inherit;
  filter: none;
}

.home-final-map:active,
.home-final-whatsapp:active {
  transform: scale(.92);
}

.home-final-map:hover {
  border-color: rgba(216,165,58,.7);
}

.home-final-whatsapp:hover {
  border-color: rgba(52,201,113,.72);
}

/* Giro suave del globo */
.home-final-globe-icon {
  animation:
    afterGlobeSpin 5.5s linear infinite;
  transform-origin: center;
}

@keyframes afterGlobeSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Pausa visual al tocarlo */
.home-final-map:active
.home-final-globe-icon {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .home-final-globe-icon {
    animation: none;
  }
}

/* AFTER-ACTION-ICONS-END */

/* Ubicación final del Inicio */
.home-final-location-bar {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
}

.home-final-map,
.home-final-whatsapp {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 22px;
  text-decoration: none;
  transition: transform .15s ease;
}

.home-final-map {
  border: 1px solid rgba(216,165,58,.42);
  background:
    linear-gradient(
      145deg,
      rgba(216,165,58,.21),
      rgba(17,20,27,.92)
    );
}

.home-final-whatsapp {
  border: 1px solid rgba(52,201,113,.47);
  background:
    linear-gradient(
      145deg,
      rgba(52,201,113,.23),
      rgba(17,20,27,.92)
    );
}

.home-final-map:active,
.home-final-whatsapp:active {
  transform: scale(.93);
}

.home-final-location-info {
  min-width: 0;
}

.home-final-location-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
