/**
 * Vocafall Animations & Custom Styles
 */

@keyframes drop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(0);
    }
}

.drop-animation {
    animation: drop 2.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-left {
    animation: slideLeft 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes slideRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-right {
    animation: slideRight 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

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

.slide-up {
    animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-8px);
    }
    75% {
        transform: translateX(8px);
    }
}

.shake {
    animation: shake 0.3s ease-in-out;
    border-color: #ff4d4d !important;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.pulse {
    animation: pulse 1s infinite;
}

@keyframes flashSuccess {
    0% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(66, 229, 176, 0.1);
    }
    100% {
        background-color: transparent;
    }
}

.flash-success {
    animation: flashSuccess 0.5s ease-out;
}

.card-stagger {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Material Symbols sizing */
.material-symbols-outlined {
    font-variation-settings:
        "FILL" 1,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}

body {
    background-color: #131313;
    color: #e5e2e1;
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        sans-serif;
    overflow-x: hidden;
}

.font-headline {
    font-family: "Space Grotesk", sans-serif;
}

rank-screen-popup{
    &[open]{
        .rank-inner{
            pointer-events: auto;
            opacity: 1;
        }
    }
}
.rank-inner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
}
.rank-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
  cursor:
      url(https://kalles-5.myshopify.com/cdn/shop/t/117/assets/cursor-close.svg?v=32251313898602219511775522680)
          28 28,
      auto;
}
.rank-wrap {
  width: min(600px, 90vw);
  max-height: 90vh;
  background-color: #131313;
  border-radius: 10px;
  padding: 20px;
  overflow-y: auto;
  position: relative;

  box-shadow: 0 0px 20px 0 rgba(255,255,255, 0.3);
}
