.app-toolbar {
  display:none;
}

.main-bg {
  position: relative;
  background-image: url("/assets/img/bg/bg-main.webp");
  background-size: cover;
  background-repeat: no-repeat;
  border-radius:0.85rem;
}

.shuffle {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
@media (max-width: 576px) {
  .shuffle {
    overflow-x: hidden;
  }
}

.shuffle .tarot-card {
  width: 40%;
  aspect-ratio: 51 / 91;
  margin: auto;
  position: absolute;
  left: 0; 
  right: 0; 
  top: 0; 
  bottom: 0;
  cursor: pointer;
  z-index: 51;
}

.shuffle img {
  width: 100%;
  aspect-ratio: 51 / 91;
  margin: auto;
  position: absolute;
  left: 0; 
  right: 0; 
  top: 0; 
  bottom: 0;
  background: linear-gradient(#fff2, transparent);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  border: 10px solid rgba(199, 178, 153, 0.5);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.shuffle .tarot-card:nth-child(1) {
  transform: rotate(-12deg) translate(-10px, 5px);
}
.shuffle .tarot-card:nth-child(2) {
  transform: rotate(7deg) translate(12px, -8px);
}
.shuffle .tarot-card:nth-child(3) {
  transform: rotate(-15deg) translate(-14px, 10px);
}
.shuffle .tarot-card:nth-child(4) {
  transform: rotate(10deg) translate(6px, -5px);
}
.shuffle .tarot-card:nth-child(5) {
  transform: rotate(-20deg) translate(-8px, 15px);
}
.shuffle .tarot-card:nth-child(6) {
  transform: rotate(25deg) translate(10px, -12px);
}
.shuffle .tarot-card:nth-child(7) {
  transform: rotate(-30deg) translate(-20px, 8px);
}
.shuffle .tarot-card:nth-child(8) {
  transform: rotate(18deg) translate(5px, -10px);
}
.shuffle .tarot-card:nth-child(9) {
  transform: rotate(-25deg) translate(-15px, 12px);
}
.shuffle .tarot-card:nth-child(10) {
  transform: rotate(32deg) translate(8px, -6px);
}
.shuffle .tarot-card:nth-child(11) {
  transform: rotate(-35deg) translate(-18px, 15px);
}

.shuffle .top {
  z-index: 150;
}

.shuffle .bottom{
  z-index: 50;
}

.mp-card {
  aspect-ratio: 51 / 91;
  position: relative;              
  overflow: hidden;                
  width: 100%;                     
  border-radius: 15px;
  font-family: "Didact Gothic",sans-serif;
}

.mp-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  padding: 20px;
}

.mp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  z-index: 0;
}

.mp-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/img/mainpage/border.svg') center / cover no-repeat;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
  margin: 8px;
  opacity: 0.7;
}
.mp-card .label-card {
  position: absolute;
  top: 15%;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: 0 25px;
  text-align: center;
}
.mp-card .desc-card {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: 0 25px;
  text-align: center;
}

.mp-card .button-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #C7B299;
}

/* Палітри карт */
.mp-card--beige::before {
  background: linear-gradient(180deg, #b7a78f 0%, #6c6158 100%);
}
.mp-card--orange::before {
  background:
    radial-gradient(120% 80% at 70% 15%, #af4f42 0%, #af4f42 45%, transparent 70%),
    radial-gradient(110% 90% at 20% 85%, #925851 0%, #925851 55%, transparent 75%),
    linear-gradient(180deg, #af4f42 0%, #925851 100%);
}
.mp-card--blue::before {
  background: linear-gradient(180deg, #363d54 0%, #3c344a 60%, #484d61 100%);
}
.mp-card--cyan::before {
  background: linear-gradient(180deg, #9f3c49 0%, #621e27 100%);
}

.mp-card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}
.mp-card:hover::after {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.mp-card:hover .button-card {
  background-color: rgba(255, 255, 255, 0.7);
  transition: opacity 0.3s ease-in-out;
}
.mp-card:hover .button-card .zo-eye {
  color: #C1272D !important;
  transition: color 0.3s ease-in-out;
}
.mp-card:hover .button-card .zo-eye:hover {
  color: #C1272D !important;
  transition: color 0.3s ease-in-out;
}

@media (min-width: 978px) {
.mp-card .button-card {
  opacity: 0;
}
.mp-card:hover .button-card {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.5);
}
}