/* -------- NAVBAR -------------- */
/* styles/globals.css or scoped module */
.navbar.custom-glass {
  background: #171c39; /* semi-transparent black */
  backdrop-filter: blur(8px); /* blur for frosted glass effect */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.navbar-item {
  color: white;
  border-radius: 9999px; /* pill shape */
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  font-family: "Quantico", monospace;
  letter-spacing: 1px;
  animation: flicker 10s infinite;
  transition: color 0.2s, text-shadow 0.2s;
}

.navbar-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
  color: #fff2a7;
  text-shadow: 0 0 8px rgba(255, 238, 138, 0.6);
}

.navbar-link:hover {
  border-radius: 9999px; /* pill shape */
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
  color: #fff;
  animation: glow 0.5s ease-in-out forwards;
  color: #fff2a7;
  text-shadow: 0 0 8px rgba(255, 238, 138, 0.6);
}

@keyframes glow {
  0% {
    text-shadow: none;
  }
  100% {
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.235);
  }
}

.navbar.custom-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.009) 0px,
    rgba(255, 255, 255, 0.009) 5px,
    transparent 5px,
    transparent 20px
  );
  background-size: 100% 10px; /* match your gradient cycle */
  background-position: 0 0;
  animation: scan-flicker 5s linear infinite;
}

@keyframes scan-flicker {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 10px;
  }
}

/* Collapse navbar dropdowns on mobile unless the parent is .is-active */
@media screen and (max-width: 1023px) {
  .navbar-menu .navbar-item.has-dropdown .navbar-dropdown {
    display: none;
  }
  .navbar-menu .navbar-item.has-dropdown.is-active .navbar-dropdown {
    display: block;
  }
}

/* -------- TITLE BANNER -------------- */
.heroTitle {
  position: absolute;
  top: 5%; /* default: very small screens */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 29;
  width: 100%;
}

/* Desktop/combined title (default visible) */
.desktopTitle {
  display: block;
  height: clamp(100px, 16vh, 220px);
  width: auto !important;
  max-width: 92vw;
}

/* Stacked mobile title (hidden by default) */
.mobileTitle {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.2vh;
}

/* Shared glow/skew */
.bannerTitle {
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 18px rgba(0, 200, 255, 0.35));
}
.tiltLeft {
  transform: skew(-8deg, 0deg);
}

/* Subtitle */
.subtitleWrap {
  margin-top: 5%;
  display: inline-block;
  position: relative;
}
.subtitleBox {
  display: inline-block;
  border: 2px solid rgba(225, 230, 230, 0.85);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5em 1.5em;
  border-radius: 6px;
  backdrop-filter: saturate(120%) blur(1px);
}
.subtitleSkew {
  display: block;
  max-width: 70vw;
  height: auto;
  transform: skew(8deg, 0deg);
}

/* ----- POSITION BY VIEWPORT HEIGHT ----- */
@media (min-height: 500px) and (max-height: 899px) {
  .heroTitle {
    top: 10%;
  }
}
@media (min-height: 900px) and (min-width: 900px) {
  .heroTitle {
    top: 15%;
  }
}

/* ----- LAYOUT SWITCH: <700px = STACKED, >=700px = COMBINED ----- */
@media (max-width: 699px) {
  .desktopTitle {
    display: none;
  } /* hide combined */
  .mobileTitle {
    display: flex;
  } /* show stacked */
  .mobileTitle .bannerTitle {
    height: clamp(72px, 12vh, 150px);
    width: auto !important;
    max-width: 90vw;
  }
}

/* Optional: touch landscape subtitle tightening */
@media (pointer: coarse) and (orientation: landscape) {
  .subtitleWrap {
    margin-top: 2.5%;
  }
  .subtitleBox {
    padding: 0.35em 1.1em;
  }
  .subtitleSkew {
    max-width: 52vw;
  }
}

/* -------- CAROUSEL -------------- */
#carouselContainer {
  position: relative;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🚀 Uses CSS variables for dynamic fading */
.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 5;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--fade-color),
    rgba(255, 255, 255, 0)
  );
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--fade-color),
    rgba(255, 255, 255, 0)
  );
}

/* 🚀 Ensures carousel doesn't overflow */
.carousel-container {
  width: 100%;
  height: auto;
  max-height: 80vh;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

/* 🚀 Adjust spacing & prevent shrinking */
.carousel-track {
  display: flex;
  gap: 1rem;
  padding: 20px;
}

/* 🚀 Make cards significantly larger */
.carousel-item {
  flex: 0 0 auto;
  width: 30%; /* Adjust as needed */
  max-width: 250px; /* Ensures the cards are bigger */
  scroll-snap-align: center;
  transition: transform 0.3s ease-out;
}

/* 🚀 Ensure TokenProfileCard expands properly */
.carousel-item > * {
  width: 100% !important;
  max-width: 400px !important;
}

/* 🚀 Keeps buttons inside container */
.button-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

/* Button positioning inside container */
.left-button {
  left: -30px;
}

.right-button {
  right: -30px;
}

/* On smaller screens, buttons are at the edges */
@media (max-width: 1500px) {
  .left-button {
    left: 10px;
  }

  .right-button {
    right: 10px;
  }

  .carousel-item {
    width: 60%; /* Allow larger scaling for smaller screens */
  }
}

/* -------- ------------ -------------- */

.sale-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  background-color: white;
  color: black;
  text-align: center;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  max-width: 90%;
  display: flex; /* Ensure elements stay in a row */
  align-items: center; /* Vertically align elements */
  justify-content: flex-start; /* Align content to the left */
  white-space: nowrap;
}

.sale-badge .icon {
  margin-right: 2px; /* Space between icon and text */
  flex-shrink: 0; /* Prevent the icon from shrinking */
}

.sale-badge .badge-text {
  flex-shrink: 0; /* Prevent "Buy" text from shrinking */
  margin-right: 2px;
}

.sale-badge .price {
  overflow: hidden; /* Hide overflowing text */
  text-overflow: ellipsis; /* Add "..." to overflowing text */
  white-space: nowrap; /* Prevent wrapping */
  max-width: 100%; /* Adjust this value as needed */
  flex-grow: 1; /* Allow price to take up remaining space */
}

.zoom-image {
  transition: transform 0.3s ease-in-out;
}

.zoom-image:hover {
  transform: scale(1.05); /* Slightly zoom in */
}

.gene-square {
  min-width: 33px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

/* Tooltip styling */
.tooltip {
  display: none;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
}

.tooltip-rarity {
  display: none;
  position: absolute;
  bottom: 40px;
  left: 100%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
}

.gene-square:hover .tooltip {
  display: block;
}

.rarity-badge:hover .tooltip {
  display: block;
  opacity: 1;
}

/* Tooltip styling for navbar */
.tooltip-under {
  display: none;
  position: absolute;
  top: 100%; /* Position it directly below */
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #000;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 12px;
  white-space: normal;
  z-index: 10;
  max-width: 500px;
  width: fit-content; /* Adjust width to content size but respect max-width */
  min-width: 300px;
  word-wrap: break-word; /* Break long words to wrap within the div */
  word-break: break-word; /* Ensure long words or strings break to the next line */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Optional: Add subtle shadow */
}

.tooltip-info {
  display: none;
  position: absolute;
  bottom: 30px;
  left: 100%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #000;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 13px;
  white-space: normal;
  z-index: 10;
  max-width: 500px;
  width: fit-content; /* Adjust width to content size but respect max-width */
  min-width: 200px;
  word-wrap: break-word; /* Break long words to wrap within the div */
  word-break: break-word; /* Ensure long words or strings break to the next line */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Optional: Add subtle shadow */
}

.tooltip-parent {
  display: inline-block;
  position: relative;
  cursor: help;
}

.tooltip-parent:hover .tooltip-info {
  display: block;
}

/* Show the tooltip when hovering over the navbar item */
.navbar-item:hover .tooltip-under {
  display: block;
}

.tooltip-hover:hover .tooltip-under {
  display: block;
}

/* -------- ASCENSION BADGE ------------ -------------- */

/* Awards gradient hover */
.box.award-box {
  position: relative;
  background: transparent !important; /* beat Bulma's white box */
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  isolation: isolate;
}

.box.award-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 8px;

  background: var(--award-gradient, linear-gradient(135deg, #333, #666));
  background-size: 300% 300%;
  background-position: 0% 50%;

  transition: background-position 0.8s ease, filter 0.3s ease;
  will-change: background-position;
}

.box.award-box:hover::before {
  background-position: 100% 50%;
  filter: brightness(1.12);
}

.box.award-box > * {
  position: relative;
  z-index: 1;
}

/* -------- ------------ -------------- */

.dotted-hr {
  border: none;
  border-top: 3.5px dotted rgba(211, 211, 211, 0.749); /* Light grey dotted line */
  margin: 7px 0; /* 5px margin on top and bottom */
  width: 100%; /* Full width */
  background: none;
}

hr {
  background-color: #d0d1cd;
  margin: 10px 0;
}

.homepage-hr {
  border: none;
  height: 2px;
  background: linear-gradient(
    to top right,
    #0b12ea,
    #4dea0f
  ); /* Orange to Pink */
}

/* ----------------- ------------------- ----------------- */
/* ----------------- Update token Name - Owner Only ----------------- */
/* Wrapper to control hover effect */
.token-name-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
}

/* Hide pencil icon by default */
.token-name-wrapper .pencil-icon {
  display: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* Show pencil icon on hover */
.token-name-wrapper:hover .pencil-icon {
  display: inline-block;
  opacity: 1;
}
/* ----------------- ------------------- ----------------- */
.openseaButton {
  background-color: #2081e2 !important;
  color: white !important;
  border: 0;
}

.openseaButton:hover {
  background-color: #15b2e5 !important;
}

.farcasterButton {
  background-color: #8a63d2 !important;
  color: white !important;
  border: 0;
}

.farcasterButton:hover {
  background-color: #a680ee !important;
}
/* ----------------- ------------------- ----------------- */
/* ----------------- token Creator / Viewer ----------------- */

.trait-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.trait-selector {
  text-align: center;
  margin: 10px;
}
/* ----------------- ------------------- ----------------- */
/* --- Common token Profile Image --- */
.profile-card-container {
  width: 350px;
  height: 350px;
  perspective: 1400px; /* ✅ Ensures strong 3D effect */
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.03, 0.98, 0.52, 0.99);
  will-change: transform;
  border-radius: 12px;
}

.js-tilt-glare-inner {
  border-radius: 12px !important;
  overflow: hidden;
}

.profile-card-content {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;

  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.profile-card-container:hover .profile-card-content {
  transition: transform 0.1s ease-out;
}

.profile-card-image {
  border-radius: 10px;
  overflow: hidden;
  width: 100%; /* ✅ Ensures full width */
  flex-grow: 1; /* ✅ Pushes image to fill space */
  display: flex;
  align-items: flex-end; /* ✅ Makes image touch bottom */
}

.profile-card-info {
  text-align: center;
  transform: translateZ(50px);
}

/* ----------------- PROFILE PAGE NEXT/PREV BUTTONS ----------------- */
.token-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0.5rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.token-nav-left {
  left: 0;
}

.token-nav-right {
  right: 0;
}

.token-nav-arrow:hover {
  color: rgb(0, 0, 0);
  transform: translateY(-50%) scale(1.2);
}
/* ----------------- ------------------- ----------------- */
/* ----------------- Modal Scroll ----------------- */
/* Limit card height so the body can scroll */
.modal .modal-card {
  max-height: min(90vh, 760px);
}

/* Make the body scrollable and reserve gutter space */
.modal .modal-card-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
  overscroll-behavior: contain;
}

/* Firefox scrollbar */
.modal .modal-card-body {
  scrollbar-width: thin;
  scrollbar-color: #9aa0a6 #e6e6e6;
}

/* WebKit scrollbar (Chrome/Safari) */
.modal .modal-card-body::-webkit-scrollbar {
  width: 10px;
}
.modal .modal-card-body::-webkit-scrollbar-track {
  background: #e6e6e6;
  border-radius: 8px;
}
.modal .modal-card-body::-webkit-scrollbar-thumb {
  background: #9aa0a6;
  border-radius: 8px;
  border: 2px solid #e6e6e6;
}
.modal .modal-card-body:hover::-webkit-scrollbar-thumb {
  background: #6b7280;
}

/* ----------------- ------------------- ----------------- */

.page-container {
  display: flex;
  justify-content: center; /* 🔥 Centers horizontally */
  align-items: center; /* 🔥 Centers vertically (if needed) */
  width: 100%; /* Ensures full width */
  padding: 0px;
}

.token-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 350px; /* 🔥 Ensure it matches the card size */
  height: 350px;
  perspective: 1000px;
}

.token-card-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden; /* 🔥 Ensures glare does not extend past edges */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
}

/* 🖼️ token Image */
.token-card-content img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* ✨ Holographic Effect */
.token-card-shine {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: inherit; /* ✅ Ensures rounded edges match the card */

  /* 🔥 Static Glitter Texture */
  background-image: url("/images/ShinyEffect/glitter.png");
  background-size: 120% 120%;
  background-repeat: no-repeat;
  background-blend-mode: screen;
  mix-blend-mode: color-dodge;
  opacity: 0.45;
  pointer-events: none;
  z-index: 4;
}

/* ✨ Moving Rainbow Layer */
.token-card-shine::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: inherit; /* ✅ Ensures rounded edges match the card */
  pointer-events: none;

  background-image: repeating-linear-gradient(
    calc(var(--angle, 45deg)),
    hsl(0, 100%, 60%) 5%,
    hsl(30, 100%, 60%) 10%,
    hsl(60, 100%, 60%) 15%,
    hsl(120, 100%, 60%) 20%,
    hsl(180, 100%, 60%) 25%,
    hsl(240, 100%, 60%) 30%,
    hsl(300, 100%, 60%) 35%,
    hsl(360, 100%, 60%) 40%
  );

  background-size: 400% 100%;
  background-position: calc(100% - var(--pointer-x, 50%)) 50%; /* 🔥 Reversed Movement */
  background-blend-mode: color-dodge;
  mix-blend-mode: color-dodge;
  opacity: 1;
  transition: background-position 0.3s ease-out; /* ✅ Smooth reset */
}

/* 🌟 Glare Reflection */
.token-card-glare {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: inherit; /* ✅ Ensures rounded edges match the card */
  pointer-events: none;

  background-image: radial-gradient(
    circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(255, 255, 255, 0.4) 10%,
    /* 🔥 Reduced brightness */ rgba(255, 255, 255, 0.2) 40%,
    /* 🔥 Less visible at the edges */ rgba(0, 0, 0, 0) 80%
  );
  background-size: 100% 100%;
  mix-blend-mode: overlay;
  opacity: 0; /* 🔥 Start with glare fully invisible */
  z-index: 3;
  transition: opacity 0.3s ease-out, background-position 0.3s ease-out;
}

/* ----------------- ------------------- ----------------- */
/* ReverseHoloCard.css */
.card.reverse-holo {
  position: relative;
  width: 250px;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.holofoil-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/ShinyEffect/glitter.png"),
    url("/images/ShinyEffect/wave.png");
  background-blend-mode: overlay;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}

.glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.4) 100%
  );
  opacity: 0.3;
  pointer-events: none;
}
/* ----------------- ------------------- ----------------- */
/* Mythic Holo Card Component */
.shiny-card {
  position: relative;
  width: 330px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.card.shiny-card {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.texture-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 50%;
  background-position: center;
  mix-blend-mode: overlay;
  z-index: 2;
}

.rainbow-gradient-one {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    rgb(255, 119, 115) 5%,
    rgba(255, 237, 95, 1) 10%,
    rgba(168, 255, 95, 1) 15%,
    rgba(131, 255, 247, 1) 20%,
    rgba(120, 148, 255, 1) 25%,
    rgb(216, 117, 255) 30%,
    rgb(255, 119, 115) 35%
  );
  background-size: 200% 700%;
  background-position: 0% var(--posy);
  mix-blend-mode: hue;
  opacity: 0.7;
  z-index: 3;
}

.rainbow-gradient-two {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    var(--angle, 133deg),
    #0e152e 0%,
    hsl(180, 10%, 60%) 3.8%,
    hsl(180, 29%, 66%) 4.5%,
    hsl(180, 10%, 60%) 5.2%,
    #0e152e 10%,
    #0e152e 12%
  );
  background-size: 300%;
  background-position: var(--posx) var(--posy);
  mix-blend-mode: color-dodge;
  opacity: 0.8;
  z-index: 4;
}

.rainbow-gradient-two-opposite {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    var(--angle, 133deg),
    #0e152e 0%,
    hsl(180, 10%, 60%) 2.8%,
    hsl(180, 29%, 66%) 5.5%,
    hsl(180, 10%, 60%) 5.2%,
    #0e152e 10%,
    #0e152e 6%
  );
  background-size: 300%;
  background-position: var(--posx) var(--posy);
  mix-blend-mode: color-dodge;
  opacity: 0.2;
  z-index: 4;
}

.texture-all-gradients {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 50%, 200% 700%, 300%, 200%;
  background-blend-mode: soft-light, hue, hard-light;
  background-position: center, 0% var(--posy), var(--posx) var(--posy);
  mix-blend-mode: color-burn;
  opacity: 0.6;
  z-index: 5;
}

.base-image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.token-card-image-shiny {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply; /* or screen, depending on visual preference */
  opacity: 0.8;
}
/* ----------------- ------------------- ----------------- */
/* Celestial Holo Card Component */
.celestial-gradient-one {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    #5f82b1 5%,
    #8d8dff 10%,
    #7c6acf 14%,
    #a3b5f7 20%,
    #9fbcd4 27%,
    #5f82b1 35%,
    #5f82b1 40%
  );
  background-size: 500% 500%;
  background-position: 0% var(--posy);
  mix-blend-mode: difference;
  opacity: 0.9;
  z-index: 3;
}

.celestial-gradient-two {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    var(--angle, 70deg),
    #0e152e 0%,
    hsl(180, 10%, 60%) 3.8%,
    hsl(180, 29%, 66%) 4.5%,
    hsl(180, 10%, 60%) 5.2%,
    #0e152e 10%
  );
  background-size: 500%;
  background-position: var(--posx) var(--posy);
  mix-blend-mode: color;
  opacity: 0.9;
  z-index: 4;
}

.celestial-gradient-two-opposite {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    var(--angle, 70deg),
    #0e152e 0%,
    hsl(180, 10%, 60%) 3.8%,
    hsl(180, 29%, 66%) 4.5%,
    hsl(180, 10%, 60%) 5.2%,
    #0e152e 10%
  );
  background-size: 300%;
  background-position: var(--posx) var(--posy);
  mix-blend-mode: difference;
  opacity: 0.2;
  z-index: 4;
}

/* ----------------- ------------------- ----------------- */
/* Legendary Holo Card Component */
.gold-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #f6d365;
  background-size: 100% 200%;
  background-position: 0% var(--posy);
  mix-blend-mode: multiply;
  opacity: 1;
  z-index: 3;
}

.gold-overlay-two {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fac248;
  background-size: 100% 200%;
  background-position: 0% var(--posy);
  mix-blend-mode: hue;
  opacity: 0.5;
  z-index: 3;
}

.legendary-gradient-one {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    #b1a55f 5%,
    #f5ce00 30%,
    #b07736 45%,
    rgb(255 215 130) 50%,
    #b07736 55%,
    #ffd700 65%,
    #b1a55f 70%
  );

  background-size: 500% 500%;
  background-position: 0% var(--posy);
  mix-blend-mode: overlay;
  opacity: 0.5;
  z-index: 3;
}

.legendary-gradient-two {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    var(--angle, 45deg),
    #0e152e 0%,
    hsl(180, 10%, 60%) 5%,
    hsl(180, 29%, 66%) 10%,
    hsl(180, 10%, 60%) 15%,
    #0e152e 20%
  );
  background-size: 500%;
  background-position: var(--posx) var(--posy);
  mix-blend-mode: lighten;
  opacity: 0.5;
  z-index: 4;
}

.legendary-gradient-two-opposite {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    var(--angle, 45deg),
    #0e152e 0%,
    hsl(180, 10%, 60%) 5%,
    hsl(180, 29%, 66%) 10%,
    hsl(180, 10%, 60%) 15%,
    #0e152e 20%
  );
  background-size: 300%;
  background-position: var(--posx) var(--posy);
  mix-blend-mode: difference;
  opacity: 0.2;
  z-index: 4;
}
/* ----------------- ------------------- ----------------- */
/* Epic Holo Card Component */

.card.epic-shiny-card {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.epic-texture-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 50%;
  background-position: center;
  mix-blend-mode: overlay;
  z-index: 2;
}

.epic-rainbow-gradient-one {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    rgb(255, 119, 115) 5%,
    rgba(255, 237, 95, 1) 10%,
    rgba(168, 255, 95, 1) 15%,
    rgba(131, 255, 247, 1) 20%,
    rgba(120, 148, 255, 1) 25%,
    rgb(216, 117, 255) 30%,
    rgb(255, 119, 115) 35%
  );
  background-size: 200% 700%;
  background-position: 0% var(--posy);
  mix-blend-mode: hue;
  opacity: 0.7;
  z-index: 3;
}

.epic-rainbow-gradient-two {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    var(--angle, 133deg),
    #0e152e 0%,
    hsl(180, 10%, 60%) 3.8%,
    hsl(180, 29%, 66%) 4.5%,
    hsl(180, 10%, 60%) 5.2%,
    #0e152e 10%,
    #0e152e 12%
  );
  background-size: 300%;
  background-position: var(--posx) var(--posy);
  mix-blend-mode: color-dodge;
  opacity: 0.8;
  z-index: 4;
}

.epic-rainbow-gradient-two-opposite {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    var(--angle, 133deg),
    #0e152e 0%,
    hsl(180, 10%, 60%) 2.8%,
    hsl(180, 29%, 66%) 5.5%,
    hsl(180, 10%, 60%) 5.2%,
    #0e152e 10%,
    #0e152e 6%
  );
  background-size: 300%;
  background-position: var(--posx) var(--posy);
  mix-blend-mode: color-dodge;
  opacity: 0.2;
  z-index: 4;
}

.epic-texture-all-gradients {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 50%, 200% 700%, 300%, 200%;
  background-blend-mode: soft-light, hue, hard-light;
  background-position: center, 0% var(--posy), var(--posx) var(--posy);
  mix-blend-mode: color-burn;
  opacity: 0.6;
  z-index: 5;
}
