/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("/assets/glide-60ebf883.css");
@import url("/assets/glide-theme-7e45936c.css");


a {
  -webkit-touch-callout: none;
}

:root {
  --turbo-frame-debug-color: #3B82F6;
  --turbo-frame-debug-z-index: 9999;
  --turbo-frame-debug-font-size: 0.75rem;
  --turbo-frame-debug-border-radius: 0.25rem;
}

/* Turbo Progress Bar - Verde */
.turbo-progress-bar {
  background-color: var(--primary-color) !important;
}

/* Safe Area Classes para iOS */
.safe-top {
  top: env(safe-area-inset-top);
}

.top-safe-4 {
  top: calc(1rem + env(safe-area-inset-top));
}

.safe-top-fallback {
  top: env(safe-area-inset-top, 1rem);
}

.safe-bottom {
  bottom: env(safe-area-inset-bottom);
}

.safe-left {
  left: env(safe-area-inset-left);
}

.safe-right {
  right: env(safe-area-inset-right);
}

.pt-safe {
  padding-top: env(safe-area-inset-top);
}

.pb-safe {
  padding-bottom: env(safe-area-inset-bottom);
}

.safe-area-bottom {
  padding-bottom: max(env(safe-area-inset-bottom), 1rem);
}

.pl-safe {
  padding-left: env(safe-area-inset-left);
}

.pr-safe {
  padding-right: env(safe-area-inset-right);
}

.player-hero-safe {
  margin-top: calc(env(safe-area-inset-top) * -1);
}

.player-hero-safe-height {
  height: calc(30rem + env(safe-area-inset-top));
}

.player-hero-safe-content {
  min-height: calc(30rem + env(safe-area-inset-top));
  padding-top: calc(6rem + env(safe-area-inset-top));
}

@media (min-width: 640px) {
  .player-hero-safe-height {
    height: calc(34rem + env(safe-area-inset-top));
  }

  .player-hero-safe-content {
    min-height: calc(34rem + env(safe-area-inset-top));
  }
}

/* Esconder scrollbar mantendo funcionalidade de scroll */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Esconde turbo-frames carregados e vazios (sem filhos elementos) para não ocupar espaço no layout */
turbo-frame[complete]:not(:has(*)) {
  display: none;
}

/* Efeito simples de Crossfade */
/* 1. Define as animações */
@keyframes slide-out {
  from { transform: translateX(0%); }
  to { transform: translateX(-100%); }
}

@keyframes slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0%); }
}

/* 2. Aplica as animações aos elementos da View Transition */
::view-transition-old(root) {
  animation: 0.5s ease-in-out both slide-out;
}

::view-transition-new(root) {
  animation: 0.5s ease-in-out both slide-in;
}

/* 3. Garante que as imagens não fiquem distorcidas durante a transição */
::view-transition-old(root),
::view-transition-new(root) {
  mix-blend-mode: normal;
  height: 100%;
}

/* Fix autofill background color for dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #1a1a1a inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* For Firefox */
input:autofill {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

.debug-turbo {
  turbo-frame {
    border: 1px var(--turbo-frame-debug-color) solid;
    display: block;
    border-radius: var(--turbo-frame-debug-border-radius);

    &::before {
      content: "Frame: #" attr(id);
      display: inline-block;
      position: relative;
      top: -1rem;
      right: -0.5rem;
      color: var(--turbo-frame-debug-color);
      font-size: var(--turbo-frame-debug-font-size);
      z-index: var(--turbo-frame-debug-z-index);
      background-color: #fff;
      padding: 0.25rem;
      border: 1px var(--turbo-frame-debug-color) solid;
      border-radius: var(--turbo-frame-debug-border-radius);
    }
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.text-glow {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.neon-border-lime {
  box-shadow: 0 0 15px rgba(132, 204, 22, 0.3), inset 0 0 10px rgba(132, 204, 22, 0.1);
  border-color: rgba(132, 204, 22, 0.5);
}

.neon-text-lime {
  color: #a3e635;
  text-shadow: 0 0 10px rgba(163, 230, 53, 0.5);
}

.bg-mesh {
  background-color: #13131a;
  background-image:
    radial-gradient(at 0% 0%, rgba(132, 204, 22, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(236, 72, 153, 0.15) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Stacked Cards */
.stack-container {
  position: relative;
  height: 200px;
  /* Adjust based on card height */
  perspective: 1000px;
}

.stack-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: top center;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.stack-card:nth-child(1) {
  z-index: 3;
  transform: translateY(0) scale(1);
}

.stack-card:nth-child(2) {
  z-index: 2;
  transform: translateY(15px) scale(0.96);
  opacity: 0.8;
}

.stack-card:nth-child(3) {
  z-index: 1;
  transform: translateY(30px) scale(0.92);
  opacity: 0.6;
}

.stack-container:hover .stack-card:nth-child(1) {
  transform: translateY(0);
}

.stack-container:hover .stack-card:nth-child(2) {
  transform: translateY(110px) scale(1);
  opacity: 1;
}

.stack-container:hover .stack-card:nth-child(3) {
  transform: translateY(220px) scale(1);
  opacity: 1;
}

/* Spark-Inspired Utilities */
.glass-strip {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.glass-strip:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.text-shadow-lg {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.text-shadow-sm {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Tennis Theming */
.tennis-accent {
  border-left: 3px solid #ccff00;
}

.tennis-btn {
  background: linear-gradient(135deg, #ccff00 0%, #99cc00 100%);
  color: #1a1a1a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(204, 255, 0, 0.4);
  transition: all 0.2s ease;
}

.tennis-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(204, 255, 0, 0.6);
}

.glass-strip-sport {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.glass-strip-sport:hover {
  background: rgba(30, 30, 30, 0.8);
  border-color: rgba(204, 255, 0, 0.5);
  transform: translateX(5px);
}

/* Time of Day Filters for Background */
.bg-phase-morning {
  filter: brightness(1.1) contrast(0.9) hue-rotate(-10deg) saturate(0.8) sepia(0.2);
}

.bg-phase-day {
  filter: brightness(1.3) contrast(1.1) saturate(1.2);
}

.bg-phase-sunset {
  filter: brightness(0.9) contrast(1.2) sepia(0.5) hue-rotate(-30deg) saturate(1.5);
}

.bg-phase-night {
  filter: none;
  /* Original image is already night/dark */
}

/* Hide scrollbar but keep scroll functionality */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

/* ============================================
   Landing Page Animations
   ============================================ */

/* Slide up animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Scroll indicator animation */
@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

.animate-scroll-down {
  animation: scrollDown 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Floating animation for elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Pulse glow animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(204, 255, 0, 0.6);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Scale in animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-in {
  opacity: 0;
  animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Rotate animation for tennis ball */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin 8s linear infinite;
}

/* Text reveal animation */
@keyframes textReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.animate-text-reveal {
  animation: textReveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* Gradient text animation */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.animate-gradient-text {
  background: linear-gradient(90deg, #ccff00, #88ff00, #ccff00);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
}

/* Stagger children animation delay utility */
.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* Smooth scroll for the whole page */
html {
  scroll-behavior: smooth;
}

/* Landing page specific styles */
.landing-hero-gradient {
  background: radial-gradient(ellipse at center top, rgba(204, 255, 0, 0.15) 0%, transparent 60%);
}

.landing-section-fade {
  background: linear-gradient(to bottom, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
}

/* Tennis ball texture */
.tennis-ball-texture {
  background:
    linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.1) 50%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, rgba(255,255,255,0.1) 50%, transparent 55%),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 30%);
}

/* Glow effects */
.glow-lime {
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.4);
}

.glow-lime-sm {
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

.text-glow-lime {
  text-shadow: 0 0 20px rgba(204, 255, 0, 0.5);
}

/* Card hover lift effect */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Noise texture overlay */
.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   React Bits ProfileCard Component Styles
   ========================================================================== */

/* ==========================================================================
   React Bits ProfileCard Component Styles (Exact 1:1 Implementation)
   ========================================================================== */

:root {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --pointer-from-center: 0;
  --pointer-from-top: 0.5;
  --pointer-from-left: 0.5;
  --card-opacity: 0;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --background-x: 50%;
  --background-y: 50%;
  --grain: none;
  --icon: none;
  --behind-gradient: none;
  --behind-glow-color: rgba(125, 190, 255, 0.67);
  --behind-glow-size: 50%;
  --inner-gradient: linear-gradient(145deg, #60496e8c 0%, #71C4FF44 100%);
  --sunpillar-1: hsl(2, 100%, 73%);
  --sunpillar-2: hsl(53, 100%, 69%);
  --sunpillar-3: hsl(93, 100%, 69%);
  --sunpillar-4: hsl(176, 100%, 76%);
  --sunpillar-5: hsl(228, 100%, 74%);
  --sunpillar-6: hsl(283, 100%, 73%);
  --sunpillar-clr-1: var(--sunpillar-1);
  --sunpillar-clr-2: var(--sunpillar-2);
  --sunpillar-clr-3: var(--sunpillar-3);
  --sunpillar-clr-4: var(--sunpillar-4);
  --sunpillar-clr-5: var(--sunpillar-5);
  --sunpillar-clr-6: var(--sunpillar-6);
  --card-radius: 30px;
}

.pc-card-wrapper {
  perspective: 600px;
  transform: translate3d(0, 0, 0.1px);
  position: relative;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .pc-card-wrapper {
    max-width: 400px;
  }
}

.pc-behind {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--pointer-x) var(--pointer-y),
    var(--behind-glow-color) 0%,
    transparent var(--behind-glow-size)
  );
  filter: blur(50px) saturate(1.1);
  opacity: calc(0.8 * var(--card-opacity));
  transition: opacity 200ms ease;
}

.pc-card-wrapper:hover,
.pc-card-wrapper.active {
  --card-opacity: 1;
}

.pc-card-shell {
  position: relative;
  z-index: 1;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.pc-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--card-radius);
  position: relative;
  background-blend-mode: color-dodge, normal, normal, normal;
  animation: glow-bg 12s linear infinite;
  box-shadow: rgba(0, 0, 0, 0.8) calc((var(--pointer-from-left) * 10px) - 3px)
    calc((var(--pointer-from-top) * 20px) - 6px) 20px -5px;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
  transform: translateZ(0) rotateX(0deg) rotateY(0deg);
  background: rgba(0, 0, 0, 0.9);
  backface-visibility: hidden;
  overflow: hidden;
  display: grid;
  transform-style: preserve-3d;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.pc-card-wrapper:hover .pc-card,
.pc-card-wrapper.active .pc-card,
.pc-card.active {
  transition: none;
  transform: translateZ(0) rotateX(var(--rotate-y)) rotateY(var(--rotate-x));
}

.pc-card-shell.entering .pc-card {
  transition: transform 180ms ease-out;
}

.pc-inside {
  inset: 0;
  position: absolute;
  background-image: var(--inner-gradient);
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
  border-radius: var(--card-radius);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.pc-shine {
  mask-image: var(--icon);
  mask-mode: luminance;
  -webkit-mask-image: var(--icon);
  -webkit-mask-mode: luminance;
  -webkit-mask-repeat: repeat;
  -webkit-mask-size: 150%;
  -webkit-mask-position: top calc(200% - (var(--background-y) * 5)) left calc(100% - var(--background-x));
  mask-repeat: repeat;
  mask-size: 150%;
  mask-position: top calc(200% - (var(--background-y) * 5)) left calc(100% - var(--background-x));
  transition: filter 0.8s ease;
  filter: brightness(0.66) contrast(1.33) saturate(0.33) opacity(0.5);
  animation: holo-bg 18s linear infinite;
  animation-play-state: running;
  mix-blend-mode: color-dodge;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.pc-shine,
.pc-shine::after {
  --space: 5%;
  --angle: -45deg;
  transform: translate3d(0, 0, 1px);
  overflow: hidden;
  background: transparent;
  background-size: cover;
  background-position: center;
  background-image:
    repeating-linear-gradient(
      0deg,
      var(--sunpillar-clr-1) calc(var(--space) * 1),
      var(--sunpillar-clr-2) calc(var(--space) * 2),
      var(--sunpillar-clr-3) calc(var(--space) * 3),
      var(--sunpillar-clr-4) calc(var(--space) * 4),
      var(--sunpillar-clr-5) calc(var(--space) * 5),
      var(--sunpillar-clr-6) calc(var(--space) * 6),
      var(--sunpillar-clr-1) calc(var(--space) * 7)
    ),
    repeating-linear-gradient(
      var(--angle),
      #0e152e 0%,
      hsl(180, 10%, 60%) 3.8%,
      hsl(180, 29%, 66%) 4.5%,
      hsl(180, 10%, 60%) 5.2%,
      #0e152e 10%,
      #0e152e 12%
    ),
    radial-gradient(
      farthest-corner circle at var(--pointer-x) var(--pointer-y),
      hsla(0, 0%, 0%, 0.1) 12%,
      hsla(0, 0%, 0%, 0.15) 20%,
      hsla(0, 0%, 0%, 0.25) 120%
    );
  background-position:
    0 var(--background-y),
    var(--background-x) var(--background-y),
    center;
  background-blend-mode: color, hard-light;
  background-size:
    500% 500%,
    300% 300%,
    200% 200%;
  background-repeat: repeat;
}

.pc-shine::before,
.pc-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.pc-card-wrapper:hover .pc-shine,
.pc-card-wrapper.active .pc-shine {
  filter: brightness(0.85) contrast(1.5) saturate(0.5);
  animation-play-state: paused;
}

.pc-card-wrapper:hover .pc-shine::before,
.pc-card-wrapper.active .pc-shine::before,
.pc-card-wrapper:hover .pc-shine::after,
.pc-card-wrapper.active .pc-shine::after {
  opacity: 1;
}

.pc-shine::before {
  background-image:
    linear-gradient(
      45deg,
      var(--sunpillar-4),
      var(--sunpillar-5),
      var(--sunpillar-6),
      var(--sunpillar-1),
      var(--sunpillar-2),
      var(--sunpillar-3)
    ),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), hsl(0, 0%, 70%) 0%, hsla(0, 0%, 30%, 0.2) 90%),
    var(--grain);
  background-size:
    250% 250%,
    100% 100%,
    220px 220px;
  background-position:
    var(--pointer-x) var(--pointer-y),
    center,
    calc(var(--pointer-x) * 0.01) calc(var(--pointer-y) * 0.01);
  background-blend-mode: color-dodge;
  filter: brightness(calc(2 - var(--pointer-from-center))) contrast(calc(var(--pointer-from-center) + 2))
    saturate(calc(0.5 + var(--pointer-from-center)));
  mix-blend-mode: luminosity;
}

.pc-shine::after {
  background-position:
    0 var(--background-y),
    calc(var(--background-x) * 0.4) calc(var(--background-y) * 0.5),
    center;
  background-size:
    200% 300%,
    700% 700%,
    100% 100%;
  mix-blend-mode: difference;
  filter: brightness(0.8) contrast(1.5);
}

.pc-glare {
  position: absolute;
  inset: 0;
  transform: translate3d(0, 0, 1.1px);
  overflow: hidden;
  background-image: radial-gradient(
    farthest-corner circle at var(--pointer-x) var(--pointer-y),
    hsl(248, 25%, 80%) 12%,
    hsla(207, 40%, 30%, 0.8) 90%
  );
  mix-blend-mode: overlay;
  filter: brightness(0.8) contrast(1.2);
  z-index: 4;
  pointer-events: none;
}

.pc-avatar-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  transform: translateZ(2px);
  backface-visibility: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.pc-avatar-content .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform-origin: 50% 100%;
  transform: translateX(calc(-50% + (var(--pointer-from-left) - 0.5) * 6px)) translateZ(0)
    scaleY(calc(1 + (var(--pointer-from-top) - 0.5) * 0.02)) scaleX(calc(1 + (var(--pointer-from-left) - 0.5) * 0.01));
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 120ms ease-out;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.pc-avatar-content img.avatar-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.pc-content:not(.pc-avatar-content) {
  max-height: 100%;
  overflow: hidden;
  text-align: center;
  position: relative;
  transform: translate3d(
    calc(var(--pointer-from-left) * -6px + 3px),
    calc(var(--pointer-from-top) * -6px + 3px),
    0.1px
  );
  z-index: 5;
  mix-blend-mode: luminosity;
}

.pc-details {
  width: 100%;
  position: absolute;
  top: 2.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pc-details h3 {
  font-weight: 700;
  margin: 0;
  font-size: 1.6rem;
  background-image: linear-gradient(to bottom, #fff, #6f6fbe);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  letter-spacing: -0.02em;
}

.pc-details p {
  font-weight: 600;
  position: relative;
  top: -4px;
  white-space: nowrap;
  font-size: 13px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  background-image: linear-gradient(to bottom, #fff, #4a4ac0);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

@keyframes glow-bg {
  0% {
    --bgrotate: 0deg;
  }
  100% {
    --bgrotate: 360deg;
  }
}

@keyframes holo-bg {
  0% {
    background-position:
      0 var(--background-y),
      0 0,
      center;
  }
  100% {
    background-position:
      0 var(--background-y),
      90% 90%,
      center;
  }
}






