/* Specular edge light and a traveling Star Border. The controls retain their native hit areas. */
@property --op-star-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

body .op-fx-relative { position: relative; }

.op-fx-light {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 2px #fff8, inset 0 -1px 2px #d7cbf64d;
}

.op-fx-light::before,
.op-fx-light::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .24s ease;
}

.op-fx-light::before {
  padding: 2px;
  background: radial-gradient(ellipse 76px 54px at var(--op-fx-x, 50%) var(--op-fx-y, 0%), #fff 3%, #ded1ffcf 29%, #b79bff72 58%, transparent 100%);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.op-fx-light::after {
  padding: 1px;
  background: conic-gradient(from var(--op-star-angle) at 50% 50%, transparent 0deg 275deg, #c6aaff10 294deg, #c6aaffb3 339deg, #fff 358deg, transparent 360deg);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.op-fx-control:not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible,:active) > .op-fx-light::before,
.op-fx-control:not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible,:active) > .op-fx-light::after { opacity: 1; }

.op-fx-control:not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible,:active) > .op-fx-light::after,
.op-rio-redes-links .op-fx-light::after {
  animation: op-star-travel 2.8s linear infinite;
}

#op-rio-redes-title + .op-rio-redes-links > a > .op-fx-light::after { opacity: .72; }
.op-rio-redes-links > a:nth-child(2) .op-fx-light::after { animation-delay: -.9s; }
.op-rio-redes-links > a:nth-child(3) .op-fx-light::after { animation-delay: -1.8s; }
.op-rio-redes-links > a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }

.op-fx-control:is(input[type="button"],input[type="submit"],input[type="reset"]) {
  box-shadow: inset 0 1px 2px #fff8, inset 0 -1px 2px #d7cbf64d;
}
.op-fx-control:is(input[type="button"],input[type="submit"],input[type="reset"]):not(:disabled):is(:hover,:focus-visible,:active) {
  background-image: radial-gradient(ellipse at var(--op-fx-x, 50%) var(--op-fx-y, 0%), #e0d0ff76, transparent 75%);
  box-shadow: inset 0 1px 3px #fffe, 0 0 16px #ccb8ff77;
}

@keyframes op-star-travel {
  to { --op-star-angle: 360deg; }
}

#op-about .op-about-artists { container-type: inline-size; }

#op-about .op-drift-wall {
  --op-step: 150px;
  position: relative;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 2 * clamp(12px, 2vw, 36px));
  width: calc(100cqw - 2 * clamp(12px, 2cqw, 36px));
  height: clamp(370px, 54vw, 610px);
  overflow: hidden;
  isolation: isolate;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  mask-image: linear-gradient(to bottom, transparent, #000 12% 88%, transparent);
  touch-action: pan-y;
}

.op-drift-plane {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  transform: translateX(-50%) scale(1.12) rotateX(13deg) rotateY(-11deg);
  transform-origin: center clamp(185px, 27vw, 305px);
}

.op-drift-column { width: var(--op-step); flex: none; }

.op-drift-slot {
  position: relative;
  height: var(--op-step);
  padding: 7.5px;
  perspective: 800px;
}

#op-about .op-holo-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #180d21;
  box-shadow: 0 10px 35px #0009;
  transform: rotateX(var(--op-holo-rx, 0deg)) rotateY(var(--op-holo-ry, 0deg));
  transition: transform .36s cubic-bezier(.22,1,.36,1), box-shadow .28s;
}

#op-about .op-drift-slot.is-lit {
  z-index: 2;
}

#op-about .op-drift-slot.is-lit .op-holo-tile {
  transform: translateZ(33px) rotateX(var(--op-holo-rx, 0deg)) rotateY(var(--op-holo-ry, 0deg));
  box-shadow: 0 12px 37px #000b, 0 0 15px #e76eff68;
}

#op-about .op-holo-tile img,
#op-about .op-holo-tile canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#op-about .op-holo-tile img { pointer-events: none; user-select: none; }

#op-about .op-holo-tile::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  border: 1px solid #e8b6ff7a;
  background: linear-gradient(0deg,#090513ef,transparent 40%),
    radial-gradient(ellipse at var(--op-holo-x, 70%) var(--op-holo-y, 16%), #fbcbff38, transparent 52%);
  pointer-events: none;
}

#op-about .op-holo-tile canvas { pointer-events: none; }

#op-about .op-holo-name {
  position: absolute;
  z-index: 2;
  inset: auto 7px 9px;
  color: #fff;
  font: italic 700 clamp(18px, 2.55vw, 34px)/1 var(--op-about-display);
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 7px #000;
  pointer-events: none;
}

#op-about .op-drift-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 14px auto 20px;
}

#op-about .op-drift-actions button {
  min-height: 44px;
  padding: 9px 16px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  border: 1px solid #cc94df77;
  border-radius: 999px;
  background: #281735d9;
  cursor: pointer;
}

#op-about .op-drift-directory[hidden],
#op-about .op-drift-wall[hidden],
#op-about .op-drift-actions[hidden] { display: none !important; }

#op-gallery .opg-grid.op-masonry {
  position: relative;
  display: block;
}

#op-gallery .opg-grid.op-masonry > .opg-card {
  position: absolute;
  width: var(--op-masonry-width);
  height: var(--op-masonry-height);
  left: var(--op-masonry-left);
  top: var(--op-masonry-top);
}

#op-gallery .opg-card .opg-image,
.galeriaimagem .e-gallery-image { filter: none !important; }

@media (prefers-reduced-motion: reduce) {
  .op-fx-light::before, .op-fx-light::after { transition: none; animation: none !important; }
  #op-about .op-holo-tile { transition: none; }
}

#op-about .op-drift-slot.is-lit .op-holo-tile:not(:has(canvas))::after {
  background: linear-gradient(0deg,#090513ef,transparent 40%),
    radial-gradient(ellipse at var(--op-holo-x,70%) var(--op-holo-y,16%), #fff8, transparent 50%),
    repeating-linear-gradient(115deg, #6f80f842, #f884fb4a 7%, #95f0df2e 14%, transparent 21%);
}

.op-fx-star { display: none; }

@supports (offset-path: border-box) {
  .op-fx-star {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 13px;
    height: 13px;
    offset-path: border-box;
    offset-rotate: 0deg;
    opacity: 0;
    background: radial-gradient(ellipse 6px 1.2px, #fff, transparent),
      radial-gradient(ellipse 1.2px 6px, #fff, transparent),
      radial-gradient(circle, #fff 1px, #d4baff73 3px, transparent 6px);
  }

  .op-fx-control:not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible,:active) > .op-fx-light > .op-fx-star,
  .op-rio-redes-links > a .op-fx-star {
    opacity: 1;
    animation: op-fx-point 2.8s linear infinite;
  }

  .op-rio-redes-links > a:nth-child(2) .op-fx-star { animation-delay: -.9s; }
  .op-rio-redes-links > a:nth-child(3) .op-fx-star { animation-delay: -1.8s; }
}

@keyframes op-fx-point {
  to { offset-distance: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .op-fx-star { display: none; }
}

.galeriaimagem .e-gallery-image:has(.op-album-image) { background-image: none !important; }
.galeriaimagem .op-album-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body .op-album-dialog {
  position: fixed;
  inset: 0;
  border: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 42px 54px;
  margin: auto;
  color: #fff;
  background: transparent;
}

.op-album-dialog::backdrop { background: #08060af2; }

.op-album-dialog figure {
  display: grid;
  align-items: center;
  align-content: center;
  justify-items: center;
  height: 100%;
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  pointer-events: none;
}

.op-album-dialog figure img { max-width: 100%; max-height: calc(100dvh - 113px); object-fit: contain; }
.op-album-dialog figcaption { margin-top: 12px; color: #fff; font: 500 14px/1.2 system-ui, sans-serif; }

.op-album-dialog button {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid #fff6;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: #18111de0;
  font: 400 31px/1 system-ui, sans-serif;
  cursor: pointer;
}

.op-album-close { top: 10px; right: 11px; }
.op-album-prev { top: calc(50% - 22px); left: 7px; }
.op-album-next { top: calc(50% - 22px); right: 7px; }

@media (max-width: 600px) {
  body .op-album-dialog { padding-inline: 12px; }
}

.galeriaimagem .elementor-gallery__container.op-masonry {
  position: relative;
  display: block;
  padding: 0 !important;
}

.galeriaimagem .op-masonry > .e-gallery-item {
  position: absolute;
  width: var(--op-masonry-width) !important;
  height: var(--op-masonry-height) !important;
  left: var(--op-masonry-left) !important;
  top: var(--op-masonry-top) !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  transform: none !important;
  overflow: hidden;
}

.galeriaimagem .op-masonry .e-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
}

.galeriaimagem .op-masonry .e-gallery-image { transform: none !important; }
