/* Eventos360 public portal styles.
   This file contains the modern gallery/reel/business-profile layer extracted from index.php. */

.seo-hero {
      max-width: 980px;
      margin: 0 auto 2rem;
      padding: 1rem;
      text-align: center;
    }

    .seo-hero .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      padding: .45rem .8rem;
      border: 1px solid rgba(255, 255, 255, .35);
      border-radius: 999px;
      background: rgba(255, 255, 255, .12);
      color: #fff;
      font-size: .85rem;
      backdrop-filter: blur(12px);
    }

    .seo-hero h1 {
      margin: 1rem 0 .75rem;
      color: #fff;
      font-size: clamp(2.4rem, 7vw, 5.8rem);
      line-height: .95;
      font-weight: 900;
      text-transform: uppercase;
      text-shadow: 0 18px 55px rgba(255, 49, 192, .55);
    }

    .seo-hero p {
      max-width: 720px;
      margin: 0 auto;
      color: rgba(255, 255, 255, .86);
      font-size: clamp(1rem, 2vw, 1.22rem);
    }

    #listaEventos {
      background: transparent !important;
      box-shadow: none !important;
      padding: 0 !important;
    }

    .reel-col {
      margin-bottom: 1.35rem;
    }

    .reel-card {
      position: relative;
      overflow: hidden;
      min-height: 100%;
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 22px;
      background: rgba(11, 12, 24, .82);
      box-shadow: 0 22px 60px rgba(15, 8, 40, .26);
      color: #fff;
    }

    .reel-thumb {
      position: relative;
      display: block;
      width: 100%;
      padding: 0;
      border: 0;
      background: #111;
      aspect-ratio: 9 / 16;
      cursor: pointer;
      overflow: hidden;
    }

    .reel-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .35s ease, filter .35s ease;
    }

    .reel-card:hover .reel-thumb img {
      transform: scale(1.045);
      filter: saturate(1.08) contrast(1.05);
    }

    .reel-thumb:after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.18) 45%, rgba(0,0,0,.72));
    }

    .reel-play {
      position: absolute;
      left: 50%;
      top: 50%;
      z-index: 2;
      width: 68px;
      height: 68px;
      display: grid;
      place-items: center;
      transform: translate(-50%, -50%);
      border-radius: 999px;
      background: rgba(255, 255, 255, .94);
      color: #111;
      font-size: 1.5rem;
      box-shadow: 0 18px 45px rgba(0,0,0,.3);
    }

    .reel-views {
      position: absolute;
      left: 1rem;
      top: 1rem;
      z-index: 2;
      padding: .38rem .65rem;
      border-radius: 999px;
      background: rgba(0, 0, 0, .52);
      color: #fff;
      font-size: .8rem;
      backdrop-filter: blur(10px);
    }

    .reel-info,
    .reel-actions,
    .reel-stats {
      padding: .85rem .95rem;
    }

    .reel-info {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
    }

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

    .reel-info span {
      color: rgba(255,255,255,.68);
      font-size: .86rem;
    }

    .reel-like {
      flex: 0 0 auto;
      border: 0;
      border-radius: 999px;
      padding: .45rem .65rem;
      background: rgba(255, 46, 122, .16);
      color: #ff4f93;
      font-weight: 800;
    }

    .reel-like.is-liked {
      background: #ff2f7d;
      color: #fff;
    }

    .reel-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: .55rem;
      padding-top: 0;
    }

    .reel-action,
    .reel-icon {
      min-height: 42px;
      border-radius: 999px;
      font-weight: 800;
      color: #fff;
    }

    .reel-action {
      grid-column: 1 / -1;
      background: linear-gradient(135deg, #ff2eea, #6657ff);
      box-shadow: 0 12px 28px rgba(255, 46, 234, .28);
    }

    .reel-icon {
      background: rgba(255, 255, 255, .1);
    }

    .reel-stats {
      display: flex;
      justify-content: space-between;
      gap: .7rem;
      padding-top: 0;
      color: rgba(255,255,255,.62);
      font-size: .78rem;
    }

    .business-card-public {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.25rem;
      padding: 1.25rem;
      border: 1px solid rgba(255, 255, 255, .28);
      border-radius: 22px;
      background: rgba(255, 255, 255, .14);
      color: #fff;
      box-shadow: 0 22px 70px rgba(20, 10, 50, .24);
      backdrop-filter: blur(18px);
    }

    .business-eyebrow {
      display: inline-flex;
      margin-bottom: .45rem;
      padding: .3rem .65rem;
      border-radius: 999px;
      background: rgba(255, 46, 234, .22);
      color: #fff;
      font-size: .78rem;
      font-weight: 800;
      text-transform: uppercase;
    }

    .business-card-public h2 {
      margin: 0 0 .4rem;
      font-weight: 900;
      font-size: clamp(1.45rem, 3vw, 2.15rem);
    }

    .business-card-public p {
      max-width: 760px;
      margin: 0;
      color: rgba(255,255,255,.82);
    }

    .business-meta {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
      margin-top: .85rem;
    }

    .business-meta span,
    .business-actions a {
      border-radius: 999px;
      padding: .48rem .72rem;
      background: rgba(255,255,255,.12);
      color: #fff;
      text-decoration: none;
      font-weight: 800;
      font-size: .85rem;
    }

    .business-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: .55rem;
      min-width: min(360px, 100%);
    }

    .business-actions .business-primary {
      background: linear-gradient(135deg, #25d366, #12b886);
      box-shadow: 0 14px 32px rgba(37, 211, 102, .24);
    }

    #modalVideos .modal-dialog {
      max-width: min(460px, 94vw);
    }

    #modalVideos .modal-content {
      border: 0;
      border-radius: 28px;
      background: #070812;
      color: #fff;
      overflow: hidden;
      box-shadow: 0 30px 90px rgba(0,0,0,.5);
    }

    #modalVideos .modal-header,
    #modalVideos .modal-footer {
      border: 0;
      background: #070812;
    }

    #player {
      aspect-ratio: 9 / 16;
      max-height: 78vh;
      object-fit: contain;
      background: #000;
      border-radius: 22px !important;
    }

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

      .seo-hero h1 {
        font-size: 2.7rem;
      }

      .business-card-public {
        align-items: stretch;
        flex-direction: column;
      }

      .business-actions {
        justify-content: flex-start;
      }
    }

    /* Portal publico v2 */
    html {
      background: #07040f;
    }

    body {
      background:
        radial-gradient(circle at 12% 8%, rgba(255, 47, 205, .22), transparent 32rem),
        radial-gradient(circle at 86% 16%, rgba(91, 94, 255, .25), transparent 34rem),
        linear-gradient(135deg, #090512 0%, #151033 48%, #06050c 100%);
      color: #fff;
      min-height: 100vh;
    }

    .fondo-celeste {
      position: relative;
      min-height: 100vh;
      background:
        linear-gradient(180deg, rgba(8, 4, 18, .72), rgba(8, 4, 18, .9)),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .16), transparent 18rem),
        url('/body-bg.jpg') center / cover no-repeat !important;
    }

    .fondo-celeste:before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 78%);
    }

    .navbar {
      position: sticky;
      top: 0;
      z-index: 40;
      margin: 0 auto;
      background: rgba(8, 5, 18, .48);
      border-bottom: 1px solid rgba(255, 255, 255, .12);
      backdrop-filter: blur(18px);
    }

    .navbar-brand img {
      filter: drop-shadow(0 12px 32px rgba(255, 47, 205, .32));
    }

    .texto-logo {
      color: #fff !important;
      font-weight: 900 !important;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .container.pb-5 {
      max-width: 1480px;
      position: relative;
      z-index: 1;
    }

    .seo-hero {
      padding-top: clamp(2rem, 5vw, 5rem);
      padding-bottom: clamp(1.25rem, 3vw, 3rem);
    }

    .seo-hero .eyebrow {
      background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 18px 50px rgba(8, 4, 18, .25);
      text-transform: uppercase;
      letter-spacing: .08em;
      font-weight: 900;
    }

    .seo-hero h1,
    .titulo,
    .glow {
      background: linear-gradient(90deg, #fff 0%, #ffd8fb 36%, #9db3ff 72%, #fff 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent !important;
      text-shadow: none !important;
      filter: drop-shadow(0 22px 40px rgba(255, 47, 205, .28));
    }

    .seo-hero .parrafo,
    .parrafo {
      color: rgba(255,255,255,.78) !important;
      max-width: 760px;
      margin-inline: auto;
    }

    #listaEventos {
      display: block !important;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 28px !important;
      background: rgba(255, 255, 255, .075) !important;
      box-shadow: 0 28px 90px rgba(0, 0, 0, .28) !important;
      backdrop-filter: blur(20px);
    }

    #listaEventos > .row {
      width: 100%;
      margin: 0;
    }

    #listaEventos > .row > [class*="col"] {
      padding: .85rem;
    }

    #listaEventos .card {
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.16) !important;
      border-radius: 26px !important;
      background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88)) !important;
      box-shadow: 0 24px 70px rgba(11, 8, 30, .22);
      transition: transform .28s ease, box-shadow .28s ease;
    }

    #listaEventos .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 34px 90px rgba(11, 8, 30, .34);
    }

    #listaEventos .card-img-top.fondoAzul {
      height: 220px;
      min-height: 220px;
      border-radius: 0;
      background:
        radial-gradient(circle at 50% 32%, rgba(255, 47, 205, .18), transparent 12rem),
        linear-gradient(135deg, #141022, #f4efff) !important;
    }

    #listaEventos .card-img-top img {
      border-radius: 12px !important;
      box-shadow: 0 18px 34px rgba(0,0,0,.22);
    }

    #listaEventos .card-body {
      padding: 1.15rem 1.1rem 1.25rem;
    }

    #listaEventos .card-title {
      color: #17233d;
      font-weight: 900;
      letter-spacing: 0;
    }

    #listaEventos .card-text {
      color: #667085;
      min-height: 1.5rem;
    }

    #listaEventos .boton {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      width: 100%;
      border-radius: 999px;
      background: linear-gradient(135deg, #ff2eea, #5b5eff);
      color: #fff !important;
      font-weight: 900;
      text-decoration: none;
      box-shadow: 0 16px 34px rgba(255, 46, 234, .28);
    }

    #listaEventos small {
      display: block;
      margin-top: .9rem;
      color: #0057ff !important;
      font-weight: 900;
      text-align: right;
    }

    .page-info {
      color: rgba(255,255,255,.72);
      text-align: right;
      font-weight: 800;
    }

    .Prev,
    .Next {
      display: inline-grid !important;
      place-items: center;
      width: 52px;
      height: 52px;
      border-radius: 999px;
      background: rgba(255,255,255,.16);
      color: #fff !important;
      backdrop-filter: blur(14px);
      box-shadow: 0 18px 42px rgba(0,0,0,.18);
    }

    .Next {
      background: linear-gradient(135deg, #ff2eea, #5b5eff);
    }

    .reel-card {
      border-radius: 30px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
        #080812;
      box-shadow: 0 30px 100px rgba(0,0,0,.38);
    }

    .reel-thumb {
      border-radius: 30px 30px 18px 18px;
    }

    .reel-action {
      min-height: 50px;
      font-size: .96rem;
      letter-spacing: .01em;
    }

    .reel-icon {
      min-height: 44px;
      border: 1px solid rgba(255,255,255,.1) !important;
    }

    @media (max-width: 768px) {
      .navbar {
        position: relative;
      }

      #listaEventos {
        border-radius: 22px !important;
        padding: .4rem !important;
      }

      #listaEventos > .row > [class*="col"] {
        padding: .55rem;
      }

      #listaEventos .card-img-top.fondoAzul {
        height: 180px;
        min-height: 180px;
      }
    }

/* Public portal premium layer. */
:root {
  --e360-bg: #060712;
  --e360-panel: rgba(255, 255, 255, .085);
  --e360-panel-strong: rgba(255, 255, 255, .14);
  --e360-border: rgba(255, 255, 255, .16);
  --e360-text: #ffffff;
  --e360-muted: rgba(255, 255, 255, .72);
  --e360-pink: #ff2eea;
  --e360-blue: #5b5eff;
  --e360-cyan: #35d4ff;
  --e360-green: #25d366;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "ProductSans", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fondo-celeste {
  isolation: isolate;
}

.fondo-celeste:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 46, 234, .12), transparent 36%),
    linear-gradient(245deg, rgba(53, 212, 255, .10), transparent 38%);
}

.navbar .container-fluid {
  max-width: 1480px;
  margin-inline: auto;
}

.portal-hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto 2.3rem;
  padding: clamp(2.4rem, 6vw, 5.8rem) clamp(1rem, 3vw, 2rem) clamp(1.6rem, 4vw, 2.6rem);
}

.portal-hero:before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.035)),
    linear-gradient(135deg, rgba(255,46,234,.12), rgba(91,94,255,.11));
  box-shadow: 0 36px 120px rgba(0, 0, 0, .24);
  backdrop-filter: blur(18px);
}

.portal-hero h1 {
  max-width: 1050px;
  margin-inline: auto;
  letter-spacing: 0;
}

.portal-hero-actions,
.event-card-actions,
.business-actions {
  align-items: center;
}

.portal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 1.35rem;
}

.portal-primary,
.portal-secondary,
.event-open,
.event-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: .78rem 1.05rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.portal-primary,
.event-open {
  background: linear-gradient(135deg, var(--e360-pink), var(--e360-blue));
  color: #fff !important;
  box-shadow: 0 18px 48px rgba(255, 46, 234, .26);
}

.portal-secondary,
.event-share {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.1);
  color: #fff;
  backdrop-filter: blur(14px);
}

.portal-primary:hover,
.portal-secondary:hover,
.event-open:hover,
.event-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(91, 94, 255, .28);
}

.portal-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  max-width: 820px;
  margin: 1.4rem auto 0;
}

.portal-metrics span {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .15rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.075);
  color: var(--e360-muted);
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.portal-metrics strong {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1;
}

.portal-section-head {
  max-width: 780px;
  margin: 0 auto 1.4rem;
  text-align: center;
  color: #fff;
}

.portal-section-head span {
  display: inline-flex;
  margin-bottom: .55rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .42rem .72rem;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 950;
  color: #fff;
}

.portal-section-head p {
  margin: .55rem auto 0;
  color: rgba(255,255,255,.72);
}

#listaEventos {
  position: relative;
  overflow: hidden;
}

#listaEventos:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 18rem);
}

.events-grid,
.reel-grid {
  position: relative;
  z-index: 1;
}

.event-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.045)),
    rgba(10, 10, 22, .88);
  color: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.event-card:hover {
  transform: translateY(-9px);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 42px 120px rgba(0,0,0,.38);
}

.event-card-media {
  position: relative;
  display: block;
  min-height: 250px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 46, 234, .34), transparent 11rem),
    linear-gradient(135deg, #080914, #161632 56%, #090914);
}

.event-card-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.52));
}

.event-card-stack {
  position: absolute;
  inset: 0;
}

.event-thumb {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 36%;
  max-width: 142px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 16px;
  background: #111;
  box-shadow: 0 22px 48px rgba(0,0,0,.38);
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform .35s ease, filter .35s ease;
}

.event-thumb-1 {
  z-index: 2;
  transform: translate(-88%, -50%) rotate(-7deg);
}

.event-thumb-2 {
  z-index: 3;
  transform: translate(-50%, -52%) rotate(1deg) scale(1.08);
}

.event-thumb-3 {
  z-index: 2;
  transform: translate(-12%, -50%) rotate(7deg);
}

.event-card:hover .event-thumb-1 {
  transform: translate(-96%, -52%) rotate(-10deg);
}

.event-card:hover .event-thumb-2 {
  transform: translate(-50%, -56%) rotate(0deg) scale(1.13);
}

.event-card:hover .event-thumb-3 {
  transform: translate(-4%, -52%) rotate(10deg);
}

.event-badge,
.event-live {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: .4rem .68rem;
  background: rgba(0,0,0,.48);
  color: #fff;
  font-size: .75rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.event-badge {
  left: .9rem;
  top: .9rem;
}

.event-live {
  right: .9rem;
  top: .9rem;
  background: linear-gradient(135deg, rgba(37,211,102,.86), rgba(53,212,255,.72));
}

.event-card-body {
  padding: 1.15rem;
}

.event-card-kicker {
  color: rgba(255,255,255,.62);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-card-body h3 {
  min-height: 2.4em;
  margin: .35rem 0 .45rem;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 950;
  line-height: 1.08;
}

.event-card-body p {
  min-height: 3.4em;
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.45;
}

.event-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin: 1rem 0;
}

.event-card-stats span {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: .72rem;
  background: rgba(255,255,255,.075);
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  font-weight: 800;
}

.event-card-stats strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
}

.event-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .65rem;
}

.event-share {
  min-width: 112px;
}

.reel-grid {
  align-items: stretch;
}

.reel-card {
  isolation: isolate;
  transform: translateZ(0);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.reel-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255,46,234,.18), transparent 42%, rgba(53,212,255,.13));
  opacity: 0;
  transition: opacity .28s ease;
}

.reel-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.32);
}

.reel-card:hover:before {
  opacity: 1;
}

.reel-play {
  color: #0a0b13;
}

.reel-play:after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: inherit;
  animation: e360Pulse 1.9s infinite;
}

.reel-info strong {
  color: #fff;
  font-size: 1rem;
}

.reel-actions {
  grid-template-columns: 1fr 1fr 1fr;
}

.reel-action {
  grid-column: 1 / -1;
}

.reel-icon {
  padding-inline: .45rem;
  font-size: .82rem;
}

.reel-like {
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.reel-like:hover {
  transform: scale(1.04);
}

.business-card-public {
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.055)),
    rgba(8, 9, 20, .72);
}

#modalVideos .modal-dialog {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#modalVideos .modal-header {
  align-items: center;
  padding: 1rem 1.15rem .35rem;
}

#modalVideos .modal-title {
  font-weight: 950;
}

#modalVideos .btn-close {
  filter: invert(1);
  opacity: .8;
}

#modalVideos .modal-body {
  padding: .7rem 1rem 1.1rem;
}

#divContenedorVideos {
  position: relative;
}

.divqr {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 3;
  padding: .35rem;
  border-radius: 16px;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(12px);
}

.divqr img {
  width: 86px !important;
  height: 86px !important;
  border-radius: 12px;
}

#player {
  width: 100%;
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
}

@keyframes e360Pulse {
  0% {
    opacity: .8;
    transform: scale(.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

@keyframes e360VideoSwitch {
  0% {
    opacity: .35;
    transform: scale(.985);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 991px) {
  .portal-metrics {
    grid-template-columns: 1fr;
  }

  .event-card-media {
    min-height: 230px;
  }
}

@media (max-width: 575px) {
  .portal-hero {
    padding-inline: .35rem;
  }

  .portal-hero:before {
    inset: .2rem;
    border-radius: 24px;
  }

  .portal-hero-actions,
  .event-card-actions {
    grid-template-columns: 1fr;
  }

  .portal-primary,
  .portal-secondary,
  .event-open,
  .event-share {
    width: 100%;
  }

  .event-card-media {
    min-height: 235px;
  }

  .event-thumb {
    width: 39%;
  }

  .reel-actions {
    grid-template-columns: 1fr 1fr;
  }

  .divqr {
    display: none;
  }
}

/* Event page refinement: override old white legacy hero/card styles. */
.cwhite.portal-hero,
.seo-hero.portal-hero {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 46, 234, .34), transparent 18rem),
    radial-gradient(circle at 86% 24%, rgba(53, 212, 255, .24), transparent 20rem),
    linear-gradient(135deg, rgba(12, 13, 30, .94), rgba(23, 16, 48, .88)) !important;
  box-shadow: 0 32px 120px rgba(0, 0, 0, .38);
}

.portal-hero {
  text-align: left;
}

.portal-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .72fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4rem);
  max-width: 1280px;
  margin: 0 auto;
  text-align: left;
}

.portal-hero-copy {
  position: relative;
  z-index: 2;
}

.portal-hero:before {
  display: none;
}

.portal-hero .eyebrow {
  color: #fff !important;
}

.portal-hero .titulo,
.portal-hero h1 {
  max-width: 820px;
  margin: 1rem 0 .75rem;
  color: #fff !important;
  background: none !important;
  -webkit-background-clip: initial;
  background-clip: initial;
  filter: none;
  text-shadow: 0 18px 54px rgba(255, 46, 234, .42) !important;
  font-size: clamp(2.15rem, 7vw, 5.4rem);
  line-height: .95;
}

.portal-hero .parrafo {
  margin-inline: 0;
  color: rgba(255, 255, 255, .82) !important;
}

.portal-hero-actions {
  justify-content: flex-start;
}

.portal-metrics {
  margin-left: 0;
  margin-right: 0;
}

.event-hero-preview {
  position: relative;
  min-height: 430px;
  filter: drop-shadow(0 38px 90px rgba(0,0,0,.38));
}

.event-hero-preview:before {
  content: "";
  position: absolute;
  inset: 8% 7% 7%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 35% 12%, rgba(255,46,234,.32), transparent 12rem),
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  backdrop-filter: blur(18px);
}

.event-hero-shot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(42%, 180px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 22px;
  background: #080812;
  box-shadow: 0 28px 70px rgba(0,0,0,.42);
}

.event-hero-shot-1 {
  z-index: 2;
  transform: translate(-108%, -48%) rotate(-9deg);
}

.event-hero-shot-2 {
  z-index: 4;
  width: min(48%, 210px);
  transform: translate(-50%, -53%) scale(1.08);
}

.event-hero-shot-3 {
  z-index: 3;
  transform: translate(9%, -48%) rotate(9deg);
}

.event-hero-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #111323;
  font-size: .78rem;
  font-weight: 950;
  box-shadow: 0 20px 55px rgba(0,0,0,.34);
}

.portal-secondary {
  color: #fff !important;
}

/* TikTok-style video player modal. */
#modalVideos {
  background: rgba(2, 3, 10, .78);
  backdrop-filter: blur(10px);
}

#modalVideos .modal-dialog {
  width: min(100vw, 620px);
  max-width: min(100vw, 620px);
  min-height: 100svh;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 12px;
}

#modalVideos .modal-content {
  min-height: calc(100svh - 24px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(13,14,26,.96), rgba(5,6,12,.98)) !important;
  box-shadow: 0 40px 140px rgba(0,0,0,.65);
}

#modalVideos .modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,.72), transparent) !important;
}

#modalVideos .modal-title {
  color: #fff;
}

#modalVideos .modal-body {
  min-height: calc(100svh - 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 58px 18px 18px;
}

.tiktok-player-shell {
  position: relative;
  width: min(100%, 430px);
  height: min(82svh, 820px);
  min-height: 560px;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 28px 90px rgba(0,0,0,.58);
}

#player {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  display: block;
  border-radius: 28px !important;
  object-fit: contain;
  background: #000;
}

#modalVideos.is-switching #player {
  animation: e360VideoSwitch .24s ease;
}

.player-action-rail {
  position: absolute;
  right: 14px;
  bottom: 22px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.player-action {
  width: 50px;
  min-height: 50px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(0,0,0,.36);
  color: #fff;
  font-size: .78rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 16px 38px rgba(0,0,0,.32);
  backdrop-filter: blur(16px);
}

.player-action span {
  max-width: 58px;
  font-size: .58rem;
  font-weight: 800;
  opacity: .78;
}

.player-action .player-symbol {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  max-width: none;
  opacity: 1;
}

.player-action svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: currentColor;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.28));
}

.player-action:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.16);
}
.player-like {
  color: #ff4f93;
  background: rgba(255, 47, 125, .18);
}

.player-like .player-label {
  color: #fff;
  opacity: .9;
}

.player-whatsapp {
  background: linear-gradient(135deg, #158f4d, #25d366);
}

.player-download {
  background: linear-gradient(135deg, #ff2eea, #5b5eff);
}

.player-qr-toggle {
  background: rgba(53, 212, 255, .16);
}

.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(1, 2, 8, .62);
  backdrop-filter: blur(10px);
}

.share-sheet.is-open {
  display: flex;
}

.share-sheet-panel {
  width: min(100%, 430px);
  position: relative;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,46,234,.22), transparent 16rem),
    linear-gradient(180deg, rgba(20,21,38,.98), rgba(7,8,18,.98));
  color: #fff;
  box-shadow: 0 34px 120px rgba(0,0,0,.56);
}

.share-sheet-close {
  position: absolute;
  right: .9rem;
  top: .9rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 950;
}

.share-sheet-kicker {
  display: inline-flex;
  margin-bottom: .55rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .35rem .65rem;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.share-sheet h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 950;
}

.share-sheet p {
  margin: .5rem 2rem 1rem 0;
  color: rgba(255,255,255,.72);
  line-height: 1.35;
}

.share-choice {
  width: 100%;
  min-height: 50px;
  margin-top: .55rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 900;
}

.share-choice-gallery {
  background: linear-gradient(135deg, #ff2eea, #5b5eff);
  box-shadow: 0 18px 42px rgba(255,46,234,.22);
}


.divqr {
  display: none;
  position: absolute;
  right: 12px;
  bottom: 12px;
  top: auto;
  z-index: 9;
  width: min(230px, calc(100% - 24px));
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  background: rgba(8, 9, 18, .92);
  color: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.48);
}

.divqr.is-open {
  display: grid;
  gap: 10px;
}

.divqr strong {
  font-size: .85rem;
}

.divqr img {
  width: 100% !important;
  height: auto !important;
  border-radius: 14px;
  background: #fff;
}

.qr-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-weight: 900;
}

@media (max-width: 700px) {
  #modalVideos .modal-dialog {
    padding: 0;
  }

  #modalVideos .modal-content {
    min-height: 100svh;
    border-radius: 0;
  }

  #modalVideos .modal-body {
    min-height: 100svh;
    padding: 56px 10px 14px;
  }

  .tiktok-player-shell {
    width: 100%;
    height: calc(100svh - 84px);
    min-height: 0;
    border-radius: 22px;
  }

  #player {
    border-radius: 22px !important;
  }

  .player-action-rail {
    right: 10px;
    bottom: 14px;
  }

  .player-action {
    width: 50px;
    min-height: 50px;
  }

  .portal-hero {
    margin-top: 1rem;
    border-radius: 24px !important;
    padding: 2rem .95rem 1.25rem;
  }

  .portal-hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portal-hero-copy {
    text-align: center;
  }

  .portal-hero .titulo,
  .portal-hero h1,
  .portal-hero .parrafo {
    margin-left: auto;
    margin-right: auto;
  }

  .portal-hero-actions {
    justify-content: center;
  }

  .event-hero-preview {
    min-height: 280px;
    order: -1;
  }

  .event-hero-shot {
    width: 35%;
  }

  .event-hero-shot-2 {
    width: 42%;
  }

  .portal-hero .titulo,
  .portal-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }
}

@media (max-width: 575px) {
  .reel-grid {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .9rem;
  }

  .reel-card {
    border-radius: 18px;
  }

  .reel-thumb {
    border-radius: 18px 18px 12px 12px;
  }

  .reel-play {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .reel-views {
    left: .55rem;
    top: .55rem;
    padding: .28rem .46rem;
    font-size: .68rem;
  }

  .reel-info,
  .reel-actions,
  .reel-stats {
    padding: .62rem;
  }

  .reel-info {
    align-items: flex-start;
    gap: .45rem;
  }

  .reel-info strong {
    font-size: .82rem;
  }

  .reel-info span,
  .reel-stats {
    font-size: .68rem;
  }

  .reel-like {
    padding: .35rem .45rem;
    font-size: .72rem;
  }

  .reel-actions {
    grid-template-columns: 1fr;
    gap: .42rem;
  }

  .reel-action,
  .reel-icon {
    min-height: 36px;
    font-size: .72rem;
  }
}

/* Premium responsive video cards: poster-first, low clutter, touch friendly. */
.reel-grid .reel-col {
  margin-bottom: 0;
}

.reel-grid .reel-card {
  position: relative;
  min-height: auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #05050b;
}

.reel-grid .reel-card:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, transparent 28%, rgba(0,0,0,.86) 100%),
    radial-gradient(circle at 50% 100%, rgba(255, 46, 234, .28), transparent 44%);
  z-index: 1;
}

.reel-grid .reel-thumb {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  aspect-ratio: auto;
  border-radius: inherit;
}

.reel-grid .reel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.reel-grid .reel-thumb:after {
  display: none;
}

.reel-grid .reel-play {
  width: 54px;
  height: 54px;
  z-index: 3;
  background: rgba(255,255,255,.92);
  opacity: .92;
  transition: transform .22s ease, opacity .22s ease;
}

.reel-grid .reel-card:hover .reel-play {
  transform: translate(-50%, -50%) scale(1.08);
  opacity: 1;
}

.reel-grid .reel-views {
  left: .72rem;
  top: .72rem;
  z-index: 4;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(5, 6, 14, .54);
}

.reel-grid .reel-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5.25rem;
  z-index: 4;
  padding: .85rem;
}

.reel-grid .reel-info > div {
  min-width: 0;
}

.reel-grid .reel-info strong {
  font-size: clamp(.88rem, 1.2vw, 1.02rem);
  line-height: 1.05;
  text-shadow: 0 8px 20px rgba(0,0,0,.55);
}

.reel-grid .reel-info span {
  overflow: hidden;
  color: rgba(255,255,255,.72);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reel-grid .reel-like {
  min-width: 48px;
  display: grid;
  place-items: center;
  gap: 1px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255, 47, 125, .26);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}

.reel-grid .reel-actions {
  position: absolute;
  left: .72rem;
  right: .72rem;
  bottom: .78rem;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 44px 44px;
  gap: .42rem;
  padding: 0;
}

.reel-grid .reel-action,
.reel-grid .reel-icon {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.16) !important;
  background: rgba(255,255,255,.12);
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
}

.reel-grid .reel-action {
  grid-column: auto;
  padding-inline: .65rem;
  background: linear-gradient(135deg, rgba(255,46,234,.96), rgba(91,94,255,.96));
  font-size: .82rem;
}

.reel-grid .reel-icon {
  overflow: hidden;
  padding: 0;
  color: transparent;
  font-size: 0;
}

.reel-grid .native-share:before {
  content: "SH";
}

.reel-grid .enviar-whatsapp:before {
  content: "WA";
}

.reel-grid .reel-icon:before {
  color: #fff;
  font-size: .72rem;
  font-weight: 950;
}

.reel-grid .social-share {
  display: none;
}

.reel-grid .reel-stats {
  position: absolute;
  left: .78rem;
  right: .78rem;
  bottom: 4.08rem;
  z-index: 4;
  padding: 0;
  color: rgba(255,255,255,.62);
  text-shadow: 0 6px 18px rgba(0,0,0,.56);
}

@media (min-width: 1200px) {
  .reel-grid .reel-card {
    border-radius: 22px;
  }
}

@media (max-width: 575px) {
  .reel-grid .reel-card {
    border-radius: 18px;
  }

  .reel-grid .reel-play {
    width: 40px;
    height: 40px;
  }

  .reel-grid .reel-views {
    max-width: calc(100% - 1rem);
    font-size: .62rem;
  }

  .reel-grid .reel-info {
    bottom: 4.75rem;
    padding: .62rem;
  }

  .reel-grid .reel-info strong {
    font-size: .76rem;
  }

  .reel-grid .reel-info span {
    font-size: .62rem;
  }

  .reel-grid .reel-like {
    min-width: 38px;
    padding: .28rem;
    font-size: .62rem;
  }

  .reel-grid .reel-stats {
    display: none;
  }

  .reel-grid .reel-actions {
    left: .5rem;
    right: .5rem;
    bottom: .55rem;
    grid-template-columns: 1fr 36px 36px;
  }

  .reel-grid .reel-action,
  .reel-grid .reel-icon {
    min-height: 34px;
  }

  .reel-grid .reel-action {
    font-size: .68rem;
    padding-inline: .42rem;
  }
}
