:root {
  --ink: #172126;
  --muted: #64707a;
  --line: #dfe7e4;
  --paper: #fbfcf8;
  --white: #ffffff;
  --teal: #087b83;
  --teal-dark: #04535a;
  --coral: #d95d3f;
  --gold: #c69335;
  --leaf: #2f7d4a;
  --shadow: 0 18px 50px rgba(18, 32, 38, .16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  width: 100%;
}

.native-app {
  --native-header-height: 64px;
}

.native-app .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--native-header-height);
  z-index: 2000;
}

.native-app main {
  padding-top: var(--native-header-height);
}

.native-app .app-splash {
  top: var(--native-header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(8, 123, 131, .28);
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: clamp(18px, 5vw, 64px);
  display: none;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 2px;
  min-width: min(320px, calc(100vw - 36px));
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 30;
}

.main-nav.open {
  display: flex;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #26343b;
  font-weight: 700;
  font-size: 14px;
}

.main-nav a.active,
.main-nav a:hover {
  background: #e7f4f1;
  color: var(--teal-dark);
}

.main-nav .nav-call {
  background: var(--coral);
  color: var(--white);
}

.main-nav .nav-admin {
  border: 1px solid var(--line);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle[aria-expanded="true"] {
  background: #e7f4f1;
  border-color: var(--teal);
  color: var(--teal-dark);
}

.header-cart-button {
  display: none;
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 8px 20px rgba(18, 32, 38, .12);
  cursor: pointer;
}

.header-cart-button span {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.header-cart-button:active {
  transform: translateY(1px);
}

.header-cart-count {
  position: absolute;
  top: -7px;
  right: -5px;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: #ef4444;
  color: var(--white);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(18, 32, 38, .2);
}

.header-cart-count[hidden] {
  display: none;
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 38, 46, .82), rgba(9, 38, 46, .36) 52%, rgba(9, 38, 46, .08));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media .photo-layer {
  background: url("../img/poolview.jpeg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 92vw);
  padding: 0 clamp(18px, 5vw, 64px) 90px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(46px, 8vw, 92px);
  line-height: .94;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: 19px;
}

.hero-actions,
.section-title,
.inline-admin-form,
.contact-layout,
.admin-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn,
button {
  border: 0;
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 800;
}

.btn.primary,
button[type="submit"] {
  background: var(--teal);
  color: var(--white);
}

.btn.light {
  color: var(--ink);
  background: var(--white);
}

.text-link,
.section-title a,
.service-catalog a {
  color: var(--teal-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.section {
  padding: 72px clamp(18px, 5vw, 64px);
}

.intro-grid,
.room-grid,
.service-catalog,
.admin-stats,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.intro-grid article,
.room-card,
.service-catalog article,
.admin-panel,
.admin-form,
.login-card,
.install-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(21, 38, 43, .06);
}

.intro-grid article {
  padding: 26px;
}

.stat {
  color: var(--coral);
  font-size: 34px;
  font-weight: 900;
}

.split,
.reservation-band {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.split h2,
.section-title h2,
.reservation-band h2,
.contact-layout h2 {
  margin: 0 0 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 42px;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.service-list span,
.service-catalog span {
  display: grid;
  place-items: center;
  width: 54px;
  min-width: 54px;
  height: 44px;
  border-radius: var(--radius);
  background: #fff2df;
  color: var(--coral);
  font-weight: 900;
  font-size: 13px;
  text-align: center;
}

.night-card-section {
  padding-top: 0;
}

.night-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  min-height: 920px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #172126;
  color: var(--white);
  box-shadow: var(--shadow);
}

.night-card-image {
  position: relative;
  min-height: 920px;
  overflow: hidden;
  background: #091a1f;
}

.night-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 62%, rgba(23, 33, 38, .55));
}

.night-card-image .photo-layer {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #091a1f;
  background-image: url("../img/vistanoche.jpeg");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.night-card-content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 52px);
}

.night-card-content h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.night-card-content p:not(.eyebrow) {
  color: #dce8e4;
  font-size: 18px;
}

.night-card-content .btn {
  justify-self: start;
}

.section-title {
  justify-content: space-between;
  margin-bottom: 22px;
}

.room-card {
  overflow: hidden;
}

.room-card > div:not(.room-image) {
  padding: 20px;
}

.room-card h2,
.room-card h3,
.service-catalog h2 {
  margin: 0 0 10px;
}

.room-image {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #e8ece9;
}

.room-image .photo-layer {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #e8ece9;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  transform: none !important;
}

.room-one .photo-layer {
  background-image: url("../img/room1.jpeg");
}

.room-two .photo-layer {
  background-image: url("../img/room2.jpeg");
}

.room-three .photo-layer {
  background-image: url("../img/room3.jpeg");
}

.room-grid.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.room-grid.wide .room-image {
  min-height: 420px;
  aspect-ratio: auto;
}

.booking-form,
.contact-form,
.admin-form,
.login-card {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #33434a;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd7d5;
  border-radius: var(--radius);
  padding: 12px;
  background: var(--white);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.reservation-band {
  background: #edf6f2;
}

.booking-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.booking-form label:nth-last-child(2),
.booking-form button {
  grid-column: 1 / -1;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: none;
}

.page-hero.compact {
  min-height: 520px;
  display: grid;
  align-content: end;
  padding-bottom: 96px;
}

.rooms-hero-banner,
.activities-hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(480px, 68vh, 720px);
  overflow: hidden;
  color: var(--white);
}

.rooms-hero-photo,
.activities-hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.rooms-hero-photo {
  background-image: url("../img/vista5.jpeg");
}

.activities-hero-photo {
  background-image: url("../img/activ.jpeg");
}

.rooms-hero-copy,
.activities-hero-copy {
  position: relative;
  z-index: 2;
  padding: 120px clamp(18px, 5vw, 64px) 48px;
  background: linear-gradient(
    180deg,
    rgba(9, 38, 46, 0) 0%,
    rgba(9, 38, 46, .45) 38%,
    rgba(9, 38, 46, .82) 100%
  );
  color: var(--white);
}

.rooms-hero-copy h1,
.activities-hero-copy h1 {
  margin: 0 0 14px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.02;
  color: var(--white);
}

.rooms-hero-copy p:not(.eyebrow),
.activities-hero-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  color: #dce8e4;
}

.photo-openable {
  cursor: zoom-in;
}

.photo-expand-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 27, 32, .72);
  color: #f4f7f8;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.page-hero-media.photo-lightbox-trigger,
.rooms-hero-photo,
.activities-hero-photo {
  cursor: zoom-in;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 14, 18, .92);
  cursor: zoom-out;
}

.photo-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 96vw);
  max-height: 92vh;
}

.photo-lightbox-image {
  display: block;
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.photo-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #172126;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

body.photo-lightbox-open {
  overflow: hidden;
}

.page-hero.compact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(9, 38, 46, .05) 0%,
    rgba(9, 38, 46, .2) 38%,
    rgba(9, 38, 46, .78) 100%
  );
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.page-hero-media .photo-layer {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: none !important;
}

.page-hero.compact .photo-layer {
  background-image: url("https://images.unsplash.com/photo-1582719508461-905c673771fd?auto=format&fit=crop&w=1600&q=80");
}

.page-hero.compact > :not(.page-hero-media):not(.photo-hint):not(.photo-expand-hint) {
  position: relative;
  z-index: 2;
}

.activities-hero::before {
  background: linear-gradient(
    180deg,
    rgba(9, 38, 46, .05) 0%,
    rgba(9, 38, 46, .2) 38%,
    rgba(9, 38, 46, .76) 100%
  );
}

.activities-hero.page-hero.compact .photo-layer {
  background-image: url("../img/activ.jpeg");
  background-position: center top;
}

.contact-hero::before {
  background: linear-gradient(
    180deg,
    rgba(9, 38, 46, .05) 0%,
    rgba(9, 38, 46, .22) 38%,
    rgba(9, 38, 46, .8) 100%
  );
}

.contact-hero.page-hero.compact .photo-layer {
  background-image: url("../img/vista.jpeg");
  background-position: center top;
}

.casino-hero::before {
  background: linear-gradient(
    180deg,
    rgba(16, 20, 29, .9) 0%,
    rgba(16, 20, 29, .5) 42%,
    rgba(16, 20, 29, .28) 100%
  );
}

.casino-hero.page-hero.compact .photo-layer {
  background-image: url("https://images.unsplash.com/photo-1596838132731-3301c3fd4317?auto=format&fit=crop&w=1600&q=80");
}

.casino-hero.page-hero.compact .page-hero-media .photo-layer {
  background-size: cover;
  background-position: center top;
  transform: none !important;
}

.photo-interactive {
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.photo-interactive.is-dragging {
  cursor: grabbing;
}

.photo-layer {
  position: absolute;
  left: -12%;
  top: -12%;
  width: 124%;
  height: 124%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center center;
  will-change: transform;
}

.photo-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 27, 32, .72);
  color: #f4f7f8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}

.photo-interactive:hover .photo-hint,
.photo-interactive:focus-within .photo-hint,
.photo-interactive.is-dragging .photo-hint {
  opacity: 1;
}

.page-hero.compact .photo-hint,
.hero .photo-hint {
  right: clamp(18px, 5vw, 64px);
  bottom: 18px;
}

.hero .photo-hint {
  bottom: 24px;
}

.casino-hero.page-hero.compact {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0;
  padding: 76px clamp(18px, 5vw, 64px) 0;
}

.casino-hero-intro {
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}

.casino-hero .casino-notice {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 calc(-1 * clamp(18px, 5vw, 64px));
  padding: 40px clamp(18px, 5vw, 64px) 48px;
  background: linear-gradient(180deg, rgba(16, 20, 29, .12), rgba(16, 20, 29, .62));
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.casino-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #182126;
  color: var(--white);
}

.casino-notice h2 {
  margin: 0 0 8px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 38px;
}

.casino-notice p {
  max-width: 780px;
  margin: 0;
  color: #dce8e4;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.casino-card {
  display: grid;
  gap: 14px;
  min-height: 330px;
  padding: 20px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(8, 123, 131, .95), rgba(23, 33, 38, .96)),
    radial-gradient(circle at top right, rgba(198, 147, 53, .32), transparent 42%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 14px 34px rgba(18, 32, 38, .18);
}

.casino-card-visual {
  position: relative;
  min-height: 128px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 223, 111, .65) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(rgba(255, 223, 111, .65) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(145deg, #107845, #083d31);
  border: 1px solid rgba(255, 232, 177, .24);
}

.casino-card-visual::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: repeating-conic-gradient(#b71922 0 12deg, #111 12deg 24deg, #0d7b40 24deg 36deg);
  border: 7px solid #f3cd79;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .38);
}

.casino-card-visual::after {
  content: "";
  display: none;
  position: absolute;
  right: 22px;
  top: 28px;
  width: 62px;
  height: 72px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .32);
}

.casino-card-visual:not(.theme-ruleta-caribe)::after {
  display: block;
}

.casino-card-visual span {
  position: relative;
  z-index: 1;
  margin-left: 110px;
  min-width: 64px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #172126;
  background: var(--gold);
  font-weight: 900;
  text-align: center;
}

.casino-card-visual.theme-blackjack-palace::before,
.casino-card-visual.theme-poker-tropical::before,
.casino-card-visual.theme-baccarat-royale::before,
.casino-card-visual.theme-video-poker-plaza::before {
  left: 34px;
  width: 82px;
  height: 112px;
  border-radius: 8px;
  transform: translateY(-50%) rotate(-10deg);
  background: #fff;
  border: 5px solid #f1e2bd;
}

.casino-card-visual.theme-blackjack-palace::after,
.casino-card-visual.theme-poker-tropical::after,
.casino-card-visual.theme-baccarat-royale::after,
.casino-card-visual.theme-video-poker-plaza::after {
  left: 82px;
  right: auto;
  top: 18px;
  width: 82px;
  height: 112px;
  transform: rotate(9deg);
  background: #111;
  border: 5px solid #f1e2bd;
}

.casino-card-visual.theme-tragamonedas-huracan::before,
.casino-card-visual.theme-slots-diamante::before {
  left: 22px;
  width: 172px;
  height: 92px;
  border-radius: 8px;
  transform: translateY(-50%);
  background:
    linear-gradient(90deg, #fff 0 31%, #d6d6d6 31% 34%, #fff 34% 65%, #d6d6d6 65% 68%, #fff 68%),
    #fff;
  border: 8px solid #d7a948;
}

.casino-card-visual.theme-tragamonedas-huracan::after,
.casino-card-visual.theme-slots-diamante::after {
  content: "7 7 7";
  left: 47px;
  right: auto;
  top: 49px;
  width: auto;
  height: auto;
  color: #b71922;
  background: transparent;
  border: 0;
  font-size: 28px;
  font-weight: 900;
}

.casino-card-visual.theme-dados-del-caribe::before {
  left: 38px;
  width: 86px;
  height: 86px;
  border-radius: 12px;
  transform: translateY(-50%) rotate(-10deg);
  background:
    radial-gradient(circle at 30% 30%, #111 0 6px, transparent 7px),
    radial-gradient(circle at 70% 70%, #111 0 6px, transparent 7px),
    #fff;
  border: 5px solid #f1e2bd;
}

.casino-card-visual.theme-dados-del-caribe::after {
  left: 100px;
  right: auto;
  top: 34px;
  width: 86px;
  height: 86px;
  border-radius: 12px;
  transform: rotate(11deg);
  background:
    radial-gradient(circle at 25% 25%, #111 0 6px, transparent 7px),
    radial-gradient(circle at 50% 50%, #111 0 6px, transparent 7px),
    radial-gradient(circle at 75% 75%, #111 0 6px, transparent 7px),
    #fff;
  border: 5px solid #f1e2bd;
}

.casino-card-visual.theme-keno-plaza::before,
.casino-card-visual.theme-bingo-resort::before,
.casino-card-visual.theme-loteria-rapida::before {
  left: 26px;
  width: 166px;
  height: 106px;
  border-radius: 8px;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 18% 35%, #f8d66f 0 16px, transparent 17px),
    radial-gradient(circle at 40% 70%, #e95338 0 16px, transparent 17px),
    radial-gradient(circle at 62% 35%, #fff 0 16px, transparent 17px),
    radial-gradient(circle at 82% 70%, #2ecf87 0 16px, transparent 17px),
    rgba(255, 255, 255, .12);
  border: 2px solid rgba(255, 232, 177, .45);
}

.casino-card-visual.theme-keno-plaza::after,
.casino-card-visual.theme-bingo-resort::after,
.casino-card-visual.theme-loteria-rapida::after {
  content: "12 27";
  left: 48px;
  right: auto;
  top: 51px;
  color: #172126;
  background: transparent;
  border: 0;
  font-weight: 900;
}

.casino-card-visual.theme-raspadito-express::before {
  left: 34px;
  width: 148px;
  height: 96px;
  border-radius: 10px;
  transform: translateY(-50%) rotate(-5deg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.4), transparent 35%),
    repeating-linear-gradient(135deg, #c9c9c9 0 9px, #efefef 9px 18px);
  border: 7px solid #f3cd79;
}

.casino-card-visual.theme-raspadito-express::after {
  content: "RASPA";
  left: 67px;
  right: auto;
  top: 56px;
  color: #172126;
  background: transparent;
  border: 0;
  font-weight: 900;
}

.casino-card-visual.theme-crash-huracan::before {
  left: 28px;
  width: 170px;
  height: 98px;
  border-radius: 8px;
  transform: translateY(-50%);
  background:
    linear-gradient(135deg, transparent 0 46%, #ffce5b 47% 52%, transparent 53%),
    linear-gradient(25deg, transparent 0 62%, #e95338 63% 68%, transparent 69%),
    rgba(255,255,255,.08);
  border: 2px solid rgba(255, 232, 177, .38);
}

.casino-card-visual.theme-crash-huracan::after {
  content: "x2.8";
  left: 95px;
  right: auto;
  top: 36px;
  color: #ffce5b;
  background: transparent;
  border: 0;
  font-size: 26px;
  font-weight: 900;
}

.casino-card-visual.theme-plinko-palace::before {
  left: 30px;
  width: 164px;
  height: 108px;
  border-radius: 8px;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 20% 20%, #f3cd79 0 5px, transparent 6px),
    radial-gradient(circle at 40% 42%, #f3cd79 0 5px, transparent 6px),
    radial-gradient(circle at 62% 22%, #f3cd79 0 5px, transparent 6px),
    radial-gradient(circle at 80% 48%, #f3cd79 0 5px, transparent 6px),
    radial-gradient(circle at 50% 76%, #f3cd79 0 5px, transparent 6px),
    rgba(255,255,255,.08);
  border: 2px solid rgba(255, 232, 177, .38);
}

.casino-card-visual.theme-plinko-palace::after {
  left: 104px;
  right: auto;
  top: 26px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e95338;
  border: 4px solid #ffd57d;
}

.casino-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.casino-card-top span {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #172126;
  font-weight: 900;
}

.casino-card-top small {
  color: #dce8e4;
  font-weight: 800;
}

.casino-card h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 27px;
}

.casino-card p {
  margin: 0;
  color: #edf6f2;
}

.casino-card .btn {
  align-self: end;
  text-align: center;
}

.game-shell {
  min-height: calc(100vh - 82px);
  padding: clamp(14px, 3vw, 34px);
  background:
    radial-gradient(circle at 20% 8%, rgba(198, 147, 53, .2), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(8, 123, 131, .22), transparent 32%),
    #10161b;
  color: var(--white);
}

.game-card {
  display: grid;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 2.6vw, 28px);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(20, 31, 35, .98), rgba(11, 24, 28, .98)),
    #172126;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.game-card-header {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 22px;
  align-items: end;
}

.game-card-header h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.game-card-header p:not(.eyebrow) {
  max-width: 720px;
  color: #dce8e4;
}

.game-status {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(217, 93, 63, .16);
  color: #ffd8cf;
  font-weight: 900;
}

.game-table-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 22px;
  align-items: stretch;
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 94, 63, .8), rgba(11, 60, 50, .92)),
    #0e483c;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.game-visual {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(7, 23, 15, .44) 0 38%, transparent 39%),
    linear-gradient(135deg, #1d5f39, #0f3a30);
  border: 1px solid rgba(255, 232, 177, .28);
}

.game-board {
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  width: min(520px, 100%);
  min-height: 260px;
  padding: 26px;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 223, 111, .9) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(rgba(255, 223, 111, .9) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(145deg, #0d7a43, #07452f);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .38);
}

.game-board::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    repeating-conic-gradient(from 8deg, #b71922 0 10deg, #101010 10deg 20deg, #0b7d42 20deg 30deg),
    radial-gradient(circle, #f6c466 0 18%, #8a451e 19% 36%, transparent 37%);
  border: 10px solid #f6d37f;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

.game-board::after {
  content: "";
  position: absolute;
  left: 113px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #ffe2a1;
  box-shadow: 0 0 0 5px rgba(100, 49, 18, .5);
}

.game-board.theme-blackjack-palace::before,
.game-board.theme-poker-tropical::before,
.game-board.theme-baccarat-royale::before,
.game-board.theme-video-poker-plaza::before {
  left: 54px;
  width: 138px;
  height: 190px;
  border-radius: 12px;
  transform: translateY(-50%) rotate(-10deg);
  background:
    radial-gradient(circle at 25% 22%, #c01f2f 0 12px, transparent 13px),
    radial-gradient(circle at 72% 76%, #c01f2f 0 12px, transparent 13px),
    #fff;
  border: 8px solid #f1e2bd;
}

.game-board.theme-blackjack-palace::after,
.game-board.theme-poker-tropical::after,
.game-board.theme-baccarat-royale::after,
.game-board.theme-video-poker-plaza::after {
  left: 142px;
  width: 138px;
  height: 190px;
  border-radius: 12px;
  transform: translateY(-50%) rotate(9deg);
  background:
    radial-gradient(circle at 28% 24%, #111 0 12px, transparent 13px),
    radial-gradient(circle at 50% 50%, #111 0 12px, transparent 13px),
    radial-gradient(circle at 72% 76%, #111 0 12px, transparent 13px),
    #fff;
  border: 8px solid #f1e2bd;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

.game-board.theme-tragamonedas-huracan::before,
.game-board.theme-slots-diamante::before {
  left: 44px;
  width: 260px;
  height: 142px;
  border-radius: 14px;
  transform: translateY(-50%);
  background:
    linear-gradient(90deg, #fff 0 31%, #cfd4d2 31% 34%, #fff 34% 65%, #cfd4d2 65% 68%, #fff 68%),
    #fff;
  border: 12px solid #d7a948;
}

.game-board.theme-tragamonedas-huracan::after,
.game-board.theme-slots-diamante::after {
  content: "7 7 7";
  left: 82px;
  width: auto;
  height: auto;
  border-radius: 0;
  transform: translateY(-50%);
  color: #b71922;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 48px;
  font-weight: 900;
}

.game-board.theme-dados-del-caribe::before {
  left: 64px;
  width: 132px;
  height: 132px;
  border-radius: 18px;
  transform: translateY(-50%) rotate(-10deg);
  background:
    radial-gradient(circle at 28% 28%, #111 0 10px, transparent 11px),
    radial-gradient(circle at 72% 72%, #111 0 10px, transparent 11px),
    #fff;
  border: 8px solid #f1e2bd;
}

.game-board.theme-dados-del-caribe::after {
  left: 168px;
  width: 132px;
  height: 132px;
  border-radius: 18px;
  transform: translateY(-50%) rotate(12deg);
  background:
    radial-gradient(circle at 25% 25%, #111 0 10px, transparent 11px),
    radial-gradient(circle at 50% 50%, #111 0 10px, transparent 11px),
    radial-gradient(circle at 75% 75%, #111 0 10px, transparent 11px),
    #fff;
  border: 8px solid #f1e2bd;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

.game-board.theme-keno-plaza::before,
.game-board.theme-bingo-resort::before,
.game-board.theme-loteria-rapida::before {
  left: 44px;
  width: 270px;
  height: 162px;
  border-radius: 14px;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 18% 34%, #f8d66f 0 28px, transparent 29px),
    radial-gradient(circle at 39% 67%, #e95338 0 28px, transparent 29px),
    radial-gradient(circle at 62% 34%, #fff 0 28px, transparent 29px),
    radial-gradient(circle at 82% 67%, #2ecf87 0 28px, transparent 29px),
    rgba(255, 255, 255, .12);
  border: 4px solid rgba(255, 232, 177, .45);
}

.game-board.theme-keno-plaza::after,
.game-board.theme-bingo-resort::after,
.game-board.theme-loteria-rapida::after {
  content: "12   27   34";
  left: 80px;
  width: auto;
  height: auto;
  transform: translateY(-50%);
  color: #172126;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 22px;
  font-weight: 900;
}

.game-board.theme-raspadito-express::before {
  left: 56px;
  width: 240px;
  height: 150px;
  border-radius: 14px;
  transform: translateY(-50%) rotate(-5deg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), transparent 34%),
    repeating-linear-gradient(135deg, #c9c9c9 0 14px, #efefef 14px 28px);
  border: 10px solid #f3cd79;
}

.game-board.theme-raspadito-express::after {
  content: "RASPA Y GANA";
  left: 94px;
  width: auto;
  height: auto;
  transform: translateY(-50%) rotate(-5deg);
  color: #172126;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 24px;
  font-weight: 900;
}

.game-board.theme-crash-huracan::before {
  left: 48px;
  width: 270px;
  height: 166px;
  border-radius: 14px;
  transform: translateY(-50%);
  background:
    linear-gradient(135deg, transparent 0 45%, #ffce5b 46% 51%, transparent 52%),
    linear-gradient(25deg, transparent 0 62%, #e95338 63% 69%, transparent 70%),
    rgba(255,255,255,.08);
  border: 4px solid rgba(255, 232, 177, .38);
}

.game-board.theme-crash-huracan::after {
  content: "x2.8";
  left: 152px;
  width: auto;
  height: auto;
  transform: translateY(-50%);
  color: #ffce5b;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 42px;
  font-weight: 900;
}

.game-board.theme-plinko-palace::before {
  left: 52px;
  width: 260px;
  height: 174px;
  border-radius: 14px;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 18% 18%, #f3cd79 0 8px, transparent 9px),
    radial-gradient(circle at 38% 38%, #f3cd79 0 8px, transparent 9px),
    radial-gradient(circle at 62% 18%, #f3cd79 0 8px, transparent 9px),
    radial-gradient(circle at 82% 42%, #f3cd79 0 8px, transparent 9px),
    radial-gradient(circle at 50% 76%, #f3cd79 0 8px, transparent 9px),
    rgba(255,255,255,.08);
  border: 4px solid rgba(255, 232, 177, .38);
}

.game-board.theme-plinko-palace::after {
  left: 184px;
  top: 36%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #e95338;
  border: 6px solid #ffd57d;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

.game-board > span,
.game-board h2,
.game-board p {
  position: relative;
  z-index: 1;
  margin-left: min(230px, 34vw);
}

.game-board > span {
  display: grid;
  place-items: center;
  min-width: 76px;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #172126;
  font-size: 22px;
  font-weight: 900;
}

.game-board h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.game-board p {
  margin-top: 0;
  color: #fff4cf;
  font-weight: 900;
}

.roulette-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(260px, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
  min-height: 360px;
  padding: 22px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 50%, rgba(0, 0, 0, .28) 0 22%, transparent 23%),
    linear-gradient(90deg, rgba(255, 223, 111, .72) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(rgba(255, 223, 111, .72) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(145deg, #0f7c45, #073b2f);
  border: 1px solid rgba(255, 232, 177, .35);
}

.roulette-wheel-wrap {
  position: relative;
  justify-self: center;
  width: min(300px, 100%);
}

.roulette-board {
  display: grid;
  gap: 10px;
  align-content: start;
}

.roulette-table-hint {
  margin: 0;
  color: #fff4cf;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.roulette-wheel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffe4a8 0 7%, #8d4a20 8% 20%, transparent 21%),
    repeating-conic-gradient(from -5deg, #b71922 0 4.86deg, #111 4.86deg 9.72deg, #0a8745 9.72deg 14.58deg);
  border: 12px solid #f2d081;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .48), inset 0 0 0 12px rgba(49, 22, 10, .55);
  transform: rotate(0deg);
}

.roulette-wheel.is-settled {
  transform: rotate(var(--spin-end, 0deg));
}

.roulette-wheel.spin-live {
  animation: rouletteLiveSpin .9s cubic-bezier(.2, .8, .2, 1) infinite;
}

.roulette-wheel.spin-result {
  animation: rouletteResultSpin 1.8s cubic-bezier(.15, .8, .2, 1) forwards;
}

.roulette-pockets {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
}

.roulette-pockets span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 24px;
  margin: -12px 0 0 -14px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  transform: rotate(calc(var(--i) * (360deg / 37))) translateY(-118px) rotate(calc(var(--i) * (-360deg / 37)));
}

.roulette-pockets .red {
  color: #ffe1dc;
}

.roulette-pockets .black {
  color: #eeeeee;
}

.roulette-pockets .green {
  color: #bfffdc;
}

.roulette-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: #4b260e;
  background: radial-gradient(circle, #fff2bd, #c98b33);
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(69, 35, 13, .42);
  cursor: pointer;
  z-index: 3;
  transition: transform .15s ease, box-shadow .15s ease;
}

.roulette-hub:hover,
.roulette-hub:focus-visible {
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow: 0 0 0 10px rgba(69, 35, 13, .5);
}

.roulette-hub:disabled {
  cursor: wait;
  opacity: .75;
}

.roulette-pointer {
  position: absolute;
  left: 50%;
  top: 10%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 26px solid #ffd27a;
  border-top: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
  z-index: 2;
}

.roulette-table {
  display: grid;
  grid-template-columns: 44px repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(12, minmax(28px, 1fr));
  gap: 3px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(2, 34, 24, .48);
  border: 1px solid rgba(255, 232, 177, .4);
  overflow: visible;
}

.roulette-table span,
.roulette-table .roulette-bet-cell,
.roulette-outside-bets .roulette-bet-cell {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 5px;
  color: var(--white);
  border: 2px solid rgba(255, 232, 177, .32);
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  padding: 0 !important;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, filter .15s ease;
  position: relative;
  overflow: visible;
}

.roulette-bet-cell:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
}

.roulette-table .roulette-bet-cell.selected-bet,
.roulette-outside-bets .roulette-bet-cell.selected-bet {
  z-index: 4;
  transform: scale(1.07);
  border-color: #ffd27a !important;
  box-shadow:
    inset 0 0 0 2px rgba(255, 242, 200, .55),
    0 0 0 2px #172126,
    0 0 20px rgba(255, 210, 122, .95) !important;
  filter: brightness(1.2) saturate(1.15);
}

.roulette-table .roulette-bet-cell.selected-bet::after,
.roulette-outside-bets .roulette-bet-cell.selected-bet::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6d8, #ffd27a 45%, #c69335);
  border: 2px solid #172126;
  box-shadow: 0 0 8px rgba(255, 210, 122, .9);
  pointer-events: none;
}

.roulette-bet-summary {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 232, 177, .28);
}

.roulette-bet-summary span {
  color: #dce8e4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.roulette-bet-summary strong {
  color: #ffd27a;
  font-size: 22px;
}

.roulette-bet-summary small {
  color: #fff4cf;
  font-weight: 700;
}

.roulette-table .zero {
  grid-column: 1;
  grid-row: 1 / span 12;
  background: #0b8746;
}

.roulette-table .zero.selected-bet {
  background: #0fa858;
}

.roulette-outside-bets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.roulette-outside-bets .bet-zone {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 6px;
  color: #ffe8b1;
  border: 1px solid rgba(255, 232, 177, .32);
  font-weight: 900;
  font-size: 13px;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.roulette-outside-bets .red-zone {
  background: #b71922;
  color: #fff;
}

.roulette-outside-bets .black-zone {
  background: #151515;
  color: #fff;
}

.roulette-outside-bets .red-zone.selected-bet {
  background: #d62230;
}

.roulette-outside-bets .black-zone.selected-bet {
  background: #2a2a2a;
}

.roulette-table .red {
  background: #b71922;
}

.roulette-table .black {
  background: #151515;
}

.roulette-table .red.selected-bet {
  background: #d62230;
}

.roulette-table .black.selected-bet {
  background: #2a2a2a;
}

.roulette-table .winner {
  outline: 3px solid #ffd27a;
  box-shadow: 0 0 18px rgba(255, 210, 122, .8);
}

.roulette-table .bet-zone {
  display: none;
}

.roulette-table .bet-zone.active-bet,
.roulette-outside-bets .bet-zone.active-bet {
  outline: 3px solid #ffd27a;
  box-shadow: 0 0 14px rgba(255, 210, 122, .6);
}

.roulette-result-display {
  display: grid;
  place-items: center;
  gap: 2px;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  color: #172126;
  background: #ffd27a;
  box-shadow: 0 8px 20px rgba(0,0,0,.24);
  text-align: center;
}

.roulette-result-display small {
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
}

.roulette-result-display strong {
  font-size: 42px;
  line-height: 1;
}

.roulette-result-display span {
  font-weight: 900;
}

@keyframes rouletteLiveSpin {
  to {
    transform: rotate(720deg);
  }
}

@keyframes rouletteResultSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(var(--spin-end, 1440deg));
  }
}

.game-controls-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border-radius: 8px;
  background: rgba(10, 20, 24, .78);
  border: 1px solid rgba(255, 255, 255, .14);
}

.wallet-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(198, 147, 53, .2), rgba(8, 123, 131, .12)),
    rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
}

.wallet-card small {
  color: #dce8e4;
  font-weight: 800;
}

.wallet-card strong {
  color: var(--gold);
  font-size: 25px;
  line-height: 1.1;
}

.wallet-card span {
  color: #ffd8cf;
  font-size: 13px;
  font-weight: 800;
}

.wallet-form,
.play-form {
  display: grid;
  gap: 12px;
  width: 100%;
}

.wallet-form label,
.play-form label {
  color: var(--white);
  text-align: left;
}

.ghost-button {
  width: 100%;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .24);
}

.play-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius);
  text-align: left;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
}

.play-result strong {
  grid-column: 1 / -1;
  color: var(--gold);
  font-size: 24px;
}

.play-result .result-detail {
  grid-column: 1 / -1;
  color: #dce8e4;
  background: rgba(255, 255, 255, .06);
  border-radius: 6px;
  padding: 7px 9px;
}

.play-result.gano strong {
  color: #7dffb2;
}

.play-result.perdio strong {
  color: #ffb2a3;
}

.game-rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.game-rules span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #dce8e4;
  background: rgba(255, 255, 255, .08);
  font-weight: 800;
  font-size: 13px;
}

.play-history {
  width: 100%;
  padding: 20px;
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
}

.casino-page .chat-fab,
.casino-page .chat-widget,
.casino-game-page .chat-fab,
.casino-game-page .chat-widget {
  display: none;
}

.play-history h2 {
  margin: 0 0 12px;
}

.play-history td,
.play-history th {
  border-bottom-color: rgba(255, 255, 255, .12);
}

.service-catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-catalog article {
  padding: 24px;
}

.contact-layout {
  align-items: start;
  grid-template-columns: .7fr 1fr;
}

.phone-card {
  display: inline-flex;
  margin: 8px 0 22px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: #172126;
}

.site-footer a,
.site-footer p {
  display: block;
  color: #d9e4e0;
}

.flash {
  margin: 18px clamp(18px, 5vw, 64px);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 800;
}

.flash-success {
  background: #dff5e7;
  color: #17572d;
}

.flash-error {
  background: #ffe5df;
  color: #8b2f1c;
}

.pwa-install-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: calc(var(--radius) + 4px);
  background: #172126;
  color: var(--white);
  box-shadow: 0 18px 50px rgba(18, 32, 38, .28);
}

.pwa-install-banner[hidden] {
  display: none;
}

.pwa-install-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.pwa-install-copy p {
  margin: 0;
  color: #dce8e4;
  font-size: 14px;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pwa-install-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.pwa-install-link {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.pwa-install-ios,
.pwa-install-android {
  margin: 8px 0 0;
  color: #dce8e4;
  font-size: 14px;
}

body:has(.pwa-install-banner:not([hidden])) .chat-fab {
  bottom: 112px;
}

body:has(.pwa-install-banner:not([hidden])) .chat-widget {
  bottom: 174px;
}

.chat-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow);
}

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 82px;
  z-index: 41;
  width: min(360px, calc(100vw - 32px));
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.chat-widget.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-widget form {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chat-widget header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-widget header button {
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--ink);
  background: #eef3f1;
}

.chat-call {
  text-align: center;
  color: var(--teal-dark);
  font-weight: 800;
}

.login-screen {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 48px 18px;
}

.login-card,
.install-box,
.admin-form,
.admin-panel {
  padding: 22px;
}

.admin-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  color: var(--white);
  background: #172126;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a,
.admin-logout {
  padding: 12px;
  border-radius: var(--radius);
  color: #dce8e4;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  background: #254149;
  color: var(--white);
}

.admin-logout {
  margin-top: auto;
  background: #3f2520;
}

.admin-main {
  padding: 26px;
}

.admin-topbar {
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-topbar h1 {
  margin: 0;
}

.admin-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.admin-stats article {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.admin-stats span {
  font-size: 38px;
  font-weight: 900;
  color: var(--teal);
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

td small {
  display: block;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #dff2ef;
  font-weight: 800;
}

.inline-admin-form {
  align-items: start;
}

.inline-admin-form.compact {
  align-items: center;
}

.catalog-editor {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

/* El formulario ocupa ~50% sin estirarse a ancho completo cuando se apila. */
.catalog-editor .admin-form {
  max-width: 700px;
}

.edit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.edit-row > input[name="name"],
.edit-row > textarea {
  flex: 1 1 100%;
}

.edit-row > input[name="capacity"] {
  flex: 0 1 90px;
}

.edit-row > input[name="price_per_night"] {
  flex: 0 1 120px;
}

.edit-row > select {
  flex: 1 1 130px;
}

.edit-row > .check-row {
  flex: 0 0 auto;
}

.edit-row > button {
  flex: 0 0 auto;
  margin-left: auto;
}

.service-row {
  grid-template-columns: 1fr 1.6fr 80px 80px 110px 90px;
}

.casino-edit-row {
  grid-template-columns: 1fr 1fr 110px 80px 1.5fr 80px 110px 90px;
}

/* ===== Selector de idioma ===== */
.nav-lang {
  display: inline-flex;
  align-items: center;
}

.hpp-lang-select {
  appearance: none;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font: 800 12px system-ui, sans-serif;
  min-width: 52px;
  max-width: 64px;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
  outline: none;
}

.hpp-lang-select:hover {
  border-color: var(--teal);
}

/* Soporte RTL (arabe, urdu) */
[dir="rtl"] .main-nav,
[dir="rtl"] .hero-actions,
[dir="rtl"] .construccion-actions {
  direction: rtl;
}

[dir="rtl"] .main-nav {
  right: auto;
  left: clamp(18px, 5vw, 64px);
}

[dir="rtl"] .site-footer {
  text-align: right;
}

/* ===== Gestion de usuarios del panel ===== */
.admin-user-chip {
  display: grid;
  gap: 2px;
  margin: 4px 0 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.admin-user-chip strong {
  font-size: 14px;
  color: #fff;
}

.admin-user-chip small {
  font-size: 12px;
  color: #f4b740;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.user-card {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.user-edit > input[name="name"],
.user-edit > input[name="email"] {
  flex: 1 1 180px;
}

.user-edit > select {
  flex: 0 1 150px;
}

.user-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.inline-form {
  display: flex;
  gap: 6px;
  align-items: center;
}

.inline-form input {
  width: auto;
  flex: 1 1 160px;
}

.danger-button {
  background: #b5232f;
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

.danger-button:hover {
  background: #97121d;
}

.form-hint {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5a6a70;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.check-row input {
  width: auto;
}

.settings-panel {
  max-width: 760px;
}

/* ── Live casino games ── */
.live-game {
  width: 100%;
  min-height: 340px;
}

.game-hint {
  margin: 0;
  color: #fff4cf;
  font-weight: 800;
  opacity: .85;
}

.playing-card {
  position: relative;
  width: 72px;
  height: 102px;
  border-radius: 8px;
  background: #fff;
  border: 3px solid #f1e2bd;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 6px;
  flex-shrink: 0;
  animation: cardDeal .45s ease both;
}

.playing-card.hidden {
  background:
    repeating-linear-gradient(45deg, #087b83 0 8px, #065a60 8px 16px);
  border-color: #f3cd79;
}

.playing-card.hidden .card-back {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #ffd27a;
  font-weight: 900;
  font-size: 18px;
}

.playing-card.red .card-rank,
.playing-card.red .card-suit,
.playing-card.red .card-rank-bl {
  color: #b71922;
}

.playing-card.black .card-rank,
.playing-card.black .card-suit,
.playing-card.black .card-rank-bl {
  color: #111;
}

.playing-card .card-rank {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.playing-card .card-suit {
  place-self: center;
  font-size: 28px;
  line-height: 1;
}

.playing-card .card-rank-bl {
  justify-self: end;
  align-self: end;
  transform: rotate(180deg);
  font-size: 16px;
  font-weight: 900;
}

.playing-card.deal-delay-1 { animation-delay: .12s; }
.playing-card.deal-delay-2 { animation-delay: .24s; }
.playing-card.deal-delay-3 { animation-delay: .36s; }
.playing-card.deal-delay-4 { animation-delay: .48s; }
.playing-card.deal-delay-5 { animation-delay: .60s; }

.card-table-game {
  display: grid;
  gap: 18px;
  width: 100%;
  padding: 20px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 223, 111, .55) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(255, 223, 111, .55) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(ellipse at center, rgba(0,0,0,.2) 0 55%, transparent 56%),
    linear-gradient(145deg, #0f7c45, #073b2f);
  border: 1px solid rgba(255, 232, 177, .35);
}

.card-hand .hand-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #ffe8b1;
  font-weight: 800;
}

.card-hand .hand-label strong {
  color: #ffd27a;
  font-size: 22px;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 110px;
  align-items: center;
}

.card-hand.centered {
  text-align: center;
}

.card-hand.centered .card-row {
  justify-content: center;
}

.table-felt-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 122, .5), transparent);
}

.poker-paytable {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.poker-paytable span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  color: #dce8e4;
  font-size: 11px;
  font-weight: 800;
}

.baccarat-scores {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.score-box {
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255, 232, 177, .25);
}

.score-box strong {
  font-size: 32px;
  color: #ffd27a;
}

.score-box small {
  color: #dce8e4;
  font-weight: 800;
}

.baccarat-hands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.slots-machine {
  width: min(420px, 100%);
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #2a2a2a, #111);
  border: 4px solid #d7a948;
  box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.1);
}

.slots-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #ffd27a;
}

.slots-logo {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 36px;
  border-radius: 6px;
  background: var(--gold);
  color: #172126;
  font-weight: 900;
}

.slots-frame {
  position: relative;
  padding: 12px;
  border-radius: 10px;
  background: #000;
  border: 6px solid #8a6a20;
}

.slots-reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  overflow: hidden;
}

.slot-reel {
  height: 120px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  border: 2px solid #ccc;
}

.slot-reel-strip {
  display: grid;
  gap: 0;
  transition: transform .1s linear;
}

.slots-machine.spinning .slot-reel-strip {
  animation: reelSpin .08s linear infinite;
}

.slots-machine.spinning .slot-reel:nth-child(2) .slot-reel-strip {
  animation-duration: .1s;
}

.slots-machine.spinning .slot-reel:nth-child(3) .slot-reel-strip {
  animation-duration: .12s;
}

.slot-symbol {
  display: grid;
  place-items: center;
  height: 120px;
  color: var(--sym-color, #172126);
  background: linear-gradient(180deg, #fff, #f0f0f0);
}

.slot-symbol span {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.slot-symbol small {
  font-size: 10px;
  font-weight: 900;
  opacity: .6;
}

.slots-payline {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255, 0, 0, .45);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(255,0,0,.5);
}

.slots-result {
  margin-top: 12px;
  text-align: center;
  color: #ffd27a;
  font-weight: 900;
  font-size: 18px;
}

.dice-game {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 24px;
}

.dice-stage {
  display: grid;
  gap: 20px;
  place-items: center;
}

.dice-pair {
  display: flex;
  gap: 24px;
}

.dice-face {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 88px;
  height: 88px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 5px solid #f1e2bd;
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
}

.dice-face .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #111;
  place-self: center;
}

.dice-pair.rolling .dice-face {
  animation: diceRoll .15s ease infinite;
}

.dice-pair.rolling .dice-second {
  animation-delay: .07s;
}

.dice-sum {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 12px 24px;
  border-radius: 8px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255, 232, 177, .3);
}

.dice-sum strong {
  font-size: 36px;
  color: #ffd27a;
}

.dice-sum span {
  color: #dce8e4;
  font-weight: 800;
  text-transform: uppercase;
}

.number-board-game {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  background: rgba(2, 34, 24, .55);
  border: 1px solid rgba(255, 232, 177, .3);
}

.number-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: #ffe8b1;
  font-weight: 800;
}

.number-board-header strong {
  color: #ffd27a;
}

.keno-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  max-height: 280px;
  overflow: auto;
}

.keno-grid span {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: #dce8e4;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: background .3s, border-color .3s, transform .3s;
}

.keno-grid span.picked {
  background: rgba(8, 123, 131, .45);
  border-color: rgba(8, 123, 131, .8);
}

.keno-grid span.drawn {
  background: rgba(198, 147, 53, .35);
}

.keno-grid span.hit {
  background: #ffd27a;
  color: #172126;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(255, 210, 122, .7);
}

.bingo-card {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.bingo-card span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  border: 2px solid rgba(255, 232, 177, .25);
}

.bingo-card span.hit {
  background: #ffd27a;
  color: #172126;
  border-color: #ffd27a;
  animation: popHit .4s ease;
}

.bingo-card span.empty {
  opacity: .4;
}

.bingo-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bingo-balls .ball {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #b71922;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  border: 3px solid #ffd27a;
  animation: ballPop .35s ease both;
}

.scratch-game {
  display: grid;
  place-items: center;
  gap: 14px;
  width: 100%;
}

.scratch-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.scratch-cell {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid #f3cd79;
}

.scratch-prize {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #fff;
}

.scratch-cover {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, #c9c9c9 0 10px, #e8e8e8 10px 20px);
  transition: opacity .6s ease, transform .6s ease;
}

.scratch-cover.revealed,
.scratch-cell.revealing .scratch-cover {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

.crash-game {
  width: 100%;
  padding: 16px;
}

.crash-graph {
  position: relative;
  height: 200px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(8, 123, 131, .15), transparent),
    rgba(0,0,0,.35);
  border: 1px solid rgba(255, 232, 177, .25);
  overflow: hidden;
}

.crash-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #087b83, #ffd27a);
  transform-origin: left bottom;
  transform: scaleX(0);
}

.crash-game.animating .crash-line {
  animation: crashLine 1.8s ease-out forwards;
}

.crash-multiplier {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: 900;
  color: #ffd27a;
  text-shadow: 0 0 20px rgba(255, 210, 122, .5);
}

.crash-game.crashed .crash-multiplier {
  color: #e95338;
  animation: crashShake .4s ease;
}

.crash-burst {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 900;
  color: #e95338;
  background: rgba(233, 83, 56, .15);
  animation: crashBurst .5s ease;
}

.crash-info {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
  color: #dce8e4;
  font-weight: 800;
}

.crash-info strong {
  color: #ffd27a;
}

.plinko-game {
  width: 100%;
  display: grid;
  place-items: center;
}

.plinko-board {
  position: relative;
  width: min(360px, 100%);
  padding-bottom: 40px;
}

.plinko-pegs {
  display: grid;
  gap: 14px;
  place-items: center;
}

.plinko-row {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.plinko-row .peg {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd27a;
  box-shadow: 0 0 6px rgba(255, 210, 122, .6);
}

.plinko-ball {
  position: absolute;
  left: 50%;
  top: 0;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: #e95338;
  border: 3px solid #ffd57d;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  transition: left .15s ease, top .15s ease;
}

.plinko-game.dropping .plinko-ball {
  animation: plinkoDrop 1.6s ease-in forwards;
}

.plinko-buckets {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 4px;
  margin-top: 12px;
}

.plinko-buckets span {
  display: grid;
  place-items: center;
  min-height: 32px;
  border-radius: 4px;
  background: rgba(255,255,255,.1);
  color: #dce8e4;
  font-size: 10px;
  font-weight: 900;
}

.plinko-buckets span.winner {
  background: #ffd27a;
  color: #172126;
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(255, 210, 122, .7);
}

.loteria-game .loteria-ticket {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.loteria-section small {
  display: block;
  margin-bottom: 8px;
  color: #ffe8b1;
  font-weight: 800;
}

.loteria-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.loteria-numbers span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 900;
  border: 2px solid rgba(255, 232, 177, .3);
}

.loteria-numbers span.hit {
  background: #ffd27a;
  color: #172126;
  animation: popHit .4s ease;
}

.loteria-hits {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: #ffd27a;
  font-size: 22px;
}

.roulette-table .bet-zone.active-bet,
.roulette-outside-bets .bet-zone.active-bet {
  outline: 3px solid #ffd27a;
  box-shadow: 0 0 14px rgba(255, 210, 122, .6);
}

.play-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-weight: 700;
}

@keyframes cardDeal {
  from { opacity: 0; transform: translateY(-30px) scale(.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes reelSpin {
  from { transform: translateY(0); }
  to { transform: translateY(-120px); }
}

@keyframes diceRoll {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(1.05); }
  50% { transform: rotate(180deg) scale(.95); }
  75% { transform: rotate(270deg) scale(1.05); }
}

@keyframes popHit {
  0% { transform: scale(.6); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes ballPop {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes crashLine {
  to { transform: scaleX(1); }
}

@keyframes crashShake {
  0%, 100% { transform: translate(-50%, -50%); }
  25% { transform: translate(calc(-50% - 6px), -50%); }
  75% { transform: translate(calc(-50% + 6px), -50%); }
}

@keyframes crashBurst {
  from { opacity: 0; transform: scale(.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes plinkoDrop {
  0% { top: 0; left: 50%; }
  20% { top: 18%; left: 42%; }
  40% { top: 38%; left: 58%; }
  60% { top: 58%; left: 46%; }
  80% { top: 72%; left: calc(50% + (var(--final-pos, 5) - 5) * 8%); }
  100% { top: 82%; left: calc(50% + (var(--final-pos, 5) - 5) * 8%); }
}

@media (max-width: 980px) {
  .intro-grid,
  .room-grid,
  .service-catalog,
  .casino-grid,
  .admin-stats,
  .admin-grid,
  .split,
  .reservation-band,
  .contact-layout,
  .night-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .room-grid.wide {
    grid-template-columns: 1fr;
  }

  .room-grid.wide .room-image {
    min-height: 380px;
  }

  .page-hero.compact {
    min-height: 360px;
    padding: 48px clamp(18px, 5vw, 32px) 72px;
  }

  .rooms-hero-banner,
  .activities-hero-banner {
    min-height: clamp(400px, 72vh, 560px);
  }

  .rooms-hero-copy,
  .activities-hero-copy {
    padding: 96px clamp(18px, 5vw, 32px) 36px;
  }

  .night-card-image {
    min-height: 640px;
  }

  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .edit-row,
  .service-row,
  .casino-edit-row,
  .game-card-header,
  .game-table-card {
    grid-template-columns: 1fr;
  }

  .casino-notice,
  .casino-hero .casino-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-visual {
    min-height: 380px;
  }

  .game-board::before {
    left: 50%;
    top: 42%;
    width: 190px;
    height: 190px;
    transform: translate(-50%, -50%);
  }

  .game-board::after {
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
  }

  .game-board > span,
  .game-board h2,
  .game-board p {
    margin-left: 0;
    margin-top: 210px;
  }

  .game-board h2,
  .game-board p {
    margin-top: 0;
  }

  .roulette-game {
    grid-template-columns: 1fr;
  }

  .roulette-wheel-wrap {
    max-width: 280px;
    margin: 0 auto;
  }

  .roulette-table {
    grid-template-columns: 38px repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(12, minmax(24px, 1fr));
  }

  .roulette-outside-bets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .baccarat-hands,
  .loteria-game .loteria-ticket {
    grid-template-columns: 1fr;
  }

  .keno-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    padding: 10px 14px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .brand > span:last-child {
    min-width: 0;
    overflow: hidden;
  }

  .brand strong {
    font-size: 15px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .header-controls {
    flex: 0 0 auto;
    gap: 6px;
  }

  .nav-lang {
    flex: 0 0 auto;
  }

  .hpp-lang-select {
    min-width: 48px;
    max-width: 52px;
    padding: 8px 6px;
    font-size: 11px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .page-supermarket .header-cart-button {
    display: inline-flex;
  }

  .page-supermarket .brand {
    flex: 1 1 auto;
  }

  .main-nav {
    left: 18px;
    right: 18px;
    top: 64px;
    margin-top: 0;
    min-width: 0;
  }

  .native-app .main-nav {
    top: calc(var(--native-header-height) - 6px);
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-bottom: 56px;
  }

  .hero-actions,
  .section-title,
  .inline-admin-form {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .game-shell {
    padding: 12px;
  }

  .game-card {
    padding: 14px;
  }

  .game-table-card {
    padding: 12px;
  }

  .game-visual {
    min-height: 340px;
    padding: 12px;
  }

  .game-board {
    min-height: 300px;
    padding: 18px;
  }

  .game-board::before {
    width: 164px;
    height: 164px;
  }

  .roulette-game {
    padding: 14px;
  }

  .roulette-wheel-wrap {
    max-width: 240px;
  }

  .roulette-pockets span {
    transform: rotate(calc(var(--i) * (360deg / 37))) translateY(-94px) rotate(calc(var(--i) * (-360deg / 37)));
    font-size: 9px;
  }

  .roulette-table span {
    min-height: 26px;
    font-size: 11px;
  }

  .play-result {
    grid-template-columns: 1fr;
  }

  .phone-card {
    font-size: 20px;
  }

  .pwa-install-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .pwa-install-actions {
    justify-content: space-between;
  }
}

/* ===== Splash de carga ===== */
.app-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 50% 30%, #0a8b94 0%, #04535a 55%, #172126 100%);
  opacity: 1;
  transition: opacity .45s ease;
}

.splash-seen .app-splash {
  display: none;
}

.app-splash.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.app-splash-inner {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--white);
  text-align: center;
  animation: hppSplashIn .5s ease both;
}

.app-splash-mark {
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .35));
  animation: hppSplashFloat 2.4s ease-in-out infinite;
}

.app-splash-mark svg {
  display: block;
}

.app-splash-inner strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  letter-spacing: .3px;
}

.app-splash-inner small {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: #bfe3df;
}

.app-splash-spinner {
  margin-top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .25);
  border-top-color: #f4b740;
  animation: hppSplashSpin .8s linear infinite;
}

@keyframes hppSplashIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hppSplashFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

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

@media (prefers-reduced-motion: reduce) {
  .app-splash-mark,
  .app-splash-inner {
    animation: none;
  }
}

/* ===== Paginas en construccion ===== */
.construccion-hero {
  background:
    linear-gradient(120deg, rgba(9, 38, 46, .82), rgba(9, 38, 46, .42)),
    linear-gradient(135deg, #0a8b94, #2f7d4a);
}

.construccion-hero--foto {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.construccion {
  display: grid;
  place-items: center;
}

.construccion-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 560px;
  width: 100%;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(21, 38, 43, .08);
}

.construccion-emoji {
  font-size: 46px;
  line-height: 1;
}

.construccion-card h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--ink);
}

.construccion-card p {
  margin: 0;
  max-width: 420px;
  color: #4a5a60;
  font-size: 17px;
}

.construccion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.legal-page {
  display: grid;
  place-items: center;
}

.legal-card {
  width: min(760px, 100%);
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(21, 38, 43, .08);
}

.legal-updated {
  margin: 8px 0 0;
  color: #5a6a70;
  font-size: 15px;
}

.legal-intro {
  margin: 0 0 24px;
  color: #3f4f55;
  font-size: 17px;
  line-height: 1.65;
}

.legal-block + .legal-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  margin: 0 0 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--ink);
}

.legal-block p {
  margin: 0 0 12px;
  color: #4a5a60;
  font-size: 16px;
  line-height: 1.7;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 560px) {
  .construccion-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

/* ===== SuperMarket + catálogo SuperElba (embebido) ===== */
.page-supermarket-embed {
  --hpp-supermarket-header-h: 72px;
  --hpp-supermarket-toolbar-h: 120px;
  background: #eef6f5;
  height: 100dvh;
  overflow: hidden;
}

.page-supermarket-embed .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1300;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
}

.page-supermarket-embed main {
  position: fixed;
  inset: 0;
  padding-top: var(--hpp-supermarket-header-h);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page-supermarket-embed .supermarket-embed-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.page-supermarket-embed .supermarket-embed-sticky {
  position: sticky;
  top: 0;
  height: calc(100dvh - var(--hpp-supermarket-header-h));
  min-height: 320px;
}

.page-supermarket-embed .chat-fab,
.page-supermarket-embed .chat-widget {
  display: none !important;
}

.page-supermarket-embed .site-footer {
  display: none;
}

.supermarket-embed-toolbar {
  flex-shrink: 0;
  padding: 10px clamp(12px, 4vw, 64px) 8px;
  background: #eef6f5;
  box-sizing: border-box;
}

.supermarket-embed-toolbar-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(9, 38, 46, .96), rgba(8, 123, 131, .9)),
    radial-gradient(circle at top right, rgba(244, 183, 64, .2), transparent 45%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(9, 38, 46, .12);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  overflow: hidden;
}

.supermarket-embed-toolbar-copy {
  min-width: 0;
}

.supermarket-embed-toolbar-copy .eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #d7efec;
}

.supermarket-embed-toolbar-copy h1 {
  margin: 6px 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.15;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.supermarket-embed-reload {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  background: #fff;
  color: #0b4f56;
  border: 0;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.supermarket-embed-reload:hover {
  background: #f4f8f7;
}

@media (min-width: 768px) {
  .supermarket-embed-toolbar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
  }

  .supermarket-embed-toolbar-copy {
    flex: 1 1 auto;
  }

  .supermarket-embed-reload {
    width: auto;
    flex: 0 0 auto;
    max-width: min(100%, 220px);
    padding-inline: 18px;
  }
}

.supermarket-embed-section {
  padding: 0;
  margin: 0;
  height: 100%;
  min-height: 0;
}

.supermarket-embed-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #eef6f5;
}

.supermarket-embed-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #eef6f5;
}

.supermarket-embed-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  background: linear-gradient(180deg, #f7fbfa, #eef6f5);
  color: #4b6670;
  text-align: center;
}

.supermarket-embed-loading[hidden] {
  display: none !important;
}

.supermarket-embed-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(8, 123, 131, .18);
  border-top-color: #087b83;
  border-radius: 50%;
  animation: supermarket-spin .9s linear infinite;
}

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

.supermarket-embed-fallback[hidden] {
  display: none !important;
}

.supermarket-embed-fallback:not([hidden]) {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
  background: #f7fbfa;
}

.supermarket-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 760px) {
  .supermarket-embed-toolbar {
    padding: 10px 12px 8px;
  }

  .supermarket-embed-toolbar-inner {
    padding: 14px 16px;
  }
}

/* ===== Galería de fotos y videos ===== */
.gallery-hero {
  background:
    linear-gradient(120deg, rgba(9, 38, 46, .82), rgba(9, 38, 46, .42)),
    linear-gradient(135deg, #0a8b94, #2f7d4a);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-cell {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #0b282d;
  box-shadow: 0 10px 26px rgba(21, 38, 43, .12);
}

.gallery-cell img,
.gallery-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.gallery-cell:hover img,
.gallery-cell:hover video {
  transform: scale(1.05);
}

.gallery-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 38px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  background: rgba(0, 0, 0, .18);
  pointer-events: none;
}

.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 12px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 16, 19, .92);
}

.gallery-lb-stage {
  max-width: min(1100px, 96vw);
  max-height: 82vh;
  display: grid;
  place-items: center;
}

.gallery-lb-stage img,
.gallery-lb-stage video {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.gallery-lb-cap {
  margin-top: 12px;
  color: #e7f1ef;
  font-size: 14px;
  text-align: center;
}

.gallery-lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.gallery-lb-close:hover {
  background: rgba(255, 255, 255, .26);
}

/* ===== Galería en el panel admin ===== */
.gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.gallery-admin-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.gallery-admin-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #0b282d;
}

.gallery-admin-thumb img,
.gallery-admin-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-admin-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(0, 0, 0, .6);
  color: #fff;
}

.gallery-admin-badge.off {
  background: #b5232f;
  left: auto;
  right: 6px;
}

.gallery-admin-form {
  display: grid;
  gap: 6px;
}

.gallery-admin-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-lightbox[hidden] { display: none; }

/* Barra de progreso de subida (galería admin) */
.upload-progress { display: grid; gap: 6px; margin: 2px 0 4px; }
.upload-progress-bar { height: 10px; border-radius: 999px; background: #e3ecea; overflow: hidden; }
.upload-progress-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0a8b94, #2f7d4a); transition: width .2s ease; }
.upload-progress small { color: #5a6a70; font-size: 12px; font-weight: 700; }

/* ===== Editor de portadas (admin) ===== */
.cover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.cover-card { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: grid; gap: 10px; }
.cover-card h3 { margin: 0; font-size: 18px; }
.cover-preview { position: relative; aspect-ratio: 16 / 6; border-radius: 10px; background-size: cover; background-position: center; cursor: crosshair; overflow: hidden; border: 1px solid var(--line); user-select: none; touch-action: none; }
.focal-dot { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; background: rgba(8,123,131,.55); transform: translate(-50%,-50%); box-shadow: 0 0 0 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.45); pointer-events: none; }
.cover-hint { position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.5); padding: 3px 8px; border-radius: 999px; pointer-events: none; }
.cover-actions { display: flex; gap: 8px; }
.cover-empty { padding: 20px; text-align: center; color: #5a6a70; background: #f1f5f4; border-radius: 10px; font-size: 14px; }
.cover-upload-form { gap: 8px !important; border-top: 1px dashed var(--line); padding-top: 10px; max-width: none !important; }

/* Ver portada completa (clic en el hero) */
.has-cover-view { position: relative; cursor: zoom-in; }
.cover-view-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  cursor: pointer;
}
.cover-view-hint:hover { background: rgba(0,0,0,.7); }
.cover-viewer .gallery-lb-stage img { max-height: 88vh; }

/* ===== Álbumes en la galería ===== */
.gallery-album-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: rgba(0,0,0,.6);
  letter-spacing: .3px;
}
.gallery-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.gallery-lb-nav:hover { background: rgba(255,255,255,.28); }
.gallery-lb-nav.prev { left: 18px; }
.gallery-lb-nav.next { right: 18px; }
.gallery-lb-count {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #e7f1ef;
  font-size: 13px;
  font-weight: 700;
  background: rgba(0,0,0,.4);
  padding: 4px 12px;
  border-radius: 999px;
}
@media (max-width: 560px) {
  .gallery-lb-nav { width: 42px; height: 42px; font-size: 20px; }
  .gallery-lb-nav.prev { left: 6px; }
  .gallery-lb-nav.next { right: 6px; }
}
