/* Cases Container Styles */
.cases-container {
  padding: 1.5rem;
  max-width: 100%;
}

/* Cases Header Styles */
.cases-header {
  margin-bottom: 2rem;
  /* background: var(--secondary-bg); */
  border-radius: 8px;
  padding: 0.5rem;
}

.case-categories {
  display: flex;
  gap: 0.5rem;
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  user-select: none;
}

.category-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
}

.category-tab.active {
  background: var(--accent-color);
  color: #000;
}

.category-tab i {
  font-size: 14px;
}

.new-badge {
  font-size: 10px;
  background: rgba(255, 59, 48, 0.2);
  color: #ff3b30;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
}

/* Cases Grid Styles */
.cases-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); */
  gap: 2rem;
  opacity: 1;
  transition: opacity 0.3s ease;
  padding: 1rem;
  justify-content: space-around;
}

.cases-grid.hidden {
  display: none;
  opacity: 0;
}

/* Case Card Styles */
.case-card {
  background: var(--secondary-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.case-card:hover {
  transform: translateY(-4px);
}

.case-image {
  position: relative;
  padding-top: 100%;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Case-specific glows */
.case-card[data-glow="gold"] .case-image {
  box-shadow: inset 0 0 60px rgba(255, 215, 0, 0.15);
}

.case-card[data-glow="blue"] .case-image {
  box-shadow: inset 0 0 60px rgba(64, 156, 255, 0.15);
}

.case-card[data-glow="purple"] .case-image {
  box-shadow: inset 0 0 60px rgba(147, 112, 219, 0.15);
}

.case-card[data-glow="red"] .case-image {
  box-shadow: inset 0 0 60px rgba(255, 59, 48, 0.15);
}

.case-card[data-glow="green"] .case-image {
  box-shadow: inset 0 0 60px rgba(76, 217, 100, 0.15);
}

.case-card[data-glow="orange"] .case-image {
  box-shadow: inset 0 0 60px rgba(255, 144, 0, 0.15);
}

.case-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

.case-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s ease;
  z-index: 1;
  backdrop-filter: blur(2px);
}

.case-card:hover .case-hover {
  opacity: 1;
}

.case-card:hover .case-image img {
  transform: translate(-50%, -50%) scale(1.05);
}

.open-case-btn {
  background: var(--accent-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  box-shadow: 0 4px 15px rgba(255, 144, 0, 0.3);
}

.open-case-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.case-info {
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.case-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 14px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.case-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.case-price i {
  font-size: 12px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Add these new styles for skeleton loading and animations */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes skeletonFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes caseReveal {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.case-card.skeleton {
  background: var(--secondary-bg);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 1;
  transform: scale(1);
  animation: none;
}

.case-card.skeleton.fade-out {
  animation: skeletonFadeOut 0.4s ease forwards;
}

.skeleton .case-image {
  background: linear-gradient(
    90deg,
    var(--secondary-bg) 0px,
    rgba(255, 255, 255, 0.05) 40px,
    var(--secondary-bg) 80px
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
}

.case-card:not(.skeleton) {
  opacity: 0;
  animation: caseReveal 0.5s ease forwards;
  animation-delay: calc(var(--animation-order) * 0.1s + 0.3s);
}

/* AI Case Generator Styles */
.ai-cases-container {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  position: relative;
  background: var(--primary-bg);
}

.ai-assistant {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
}

.ai-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle at center,
    rgba(255, 144, 0, 0.1),
    rgba(255, 144, 0, 0.05) 40%,
    transparent 60%
  );
  border-radius: 50%;
  filter: blur(20px);
  animation: blobPulse 4s ease-in-out infinite;
}

@keyframes blobPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.4;
  }
}

.ai-content {
  position: relative;
  z-index: 2;
}

.ai-assistant h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-assistant p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.ai-input-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.budget-input {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.budget-input:focus-within {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
}

.budget-input input {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 16px;
  width: 100%;
  outline: none;
}

.budget-input i {
  color: var(--accent-color);
}

.generate-case-btn {
  background: var(--accent-color);
  color: #000;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.generate-case-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.min-budget {
  font-size: 12px;
  color: var(--text-secondary);
}

/* AI Animation States */
.ai-assistant.thinking .ai-blob {
  animation: blobThinking 2s ease-in-out infinite;
}

@keyframes blobThinking {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    filter: blur(20px);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    filter: blur(25px);
  }
}

.generate-case-btn.generating {
  position: relative;
  overflow: hidden;
}

.generate-case-btn.generating::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: btnShimmer 1.5s linear infinite;
}

@keyframes btnShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(50%);
  }
}

/* Assistant Loading Animation */
.ai-loading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.assistant-orb {
  width: 80px;
  height: 80px;
  position: relative;
}

.orb-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 144, 0, 0.2),
    transparent 70%
  );
  border-radius: 50%;
  animation: orbPulse 2s ease-in-out infinite;
}

.orb-particles::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--accent-color) 20%,
    transparent 40%
  );
  border-radius: 50%;
  animation: orbRotate 4s linear infinite;
}

.orb-glow {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-color);
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.5;
  animation: glowPulse 2s ease-in-out infinite;
}

.loading-text {
  color: var(--text-secondary);
  font-size: 14px;
  opacity: 0.8;
  animation: textPulse 2s ease-in-out infinite;
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes orbRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@keyframes textPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Content Fade In */
.ai-content.fade-in {
  animation: contentFadeIn 0.5s ease-out forwards;
}

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

/* Modern Particle Animation */
.particles-container {
  width: 200px;
  height: 200px;
  position: relative;
  margin: 0 auto;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  filter: blur(1px);
  animation: particleFloat 3s infinite ease-in-out;
}

.particle::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  filter: blur(4px);
  opacity: 0.5;
  transform: scale(1.5);
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  25% {
    transform: translate(var(--x1), var(--y1)) scale(1.2);
    opacity: 1;
  }
  75% {
    transform: translate(var(--x2), var(--y2)) scale(0.8);
    opacity: 1;
  }
}

.particles-container .particle:nth-child(1) {
  --x1: 30px;
  --y1: -20px;
  --x2: -20px;
  --y2: 30px;
  animation-delay: 0s;
}
.particles-container .particle:nth-child(2) {
  --x1: -25px;
  --y1: -30px;
  --x2: 25px;
  --y2: 20px;
  animation-delay: 0.2s;
}
.particles-container .particle:nth-child(3) {
  --x1: 35px;
  --y1: 25px;
  --x2: -30px;
  --y2: -25px;
  animation-delay: 0.4s;
}
.particles-container .particle:nth-child(4) {
  --x1: -20px;
  --y1: 35px;
  --x2: 35px;
  --y2: -30px;
  animation-delay: 0.6s;
}
.particles-container .particle:nth-child(5) {
  --x1: 25px;
  --y1: -35px;
  --x2: -35px;
  --y2: 25px;
  animation-delay: 0.8s;
}
.particles-container .particle:nth-child(6) {
  --x1: -30px;
  --y1: 20px;
  --x2: 20px;
  --y2: -35px;
  animation-delay: 1s;
}
.particles-container .particle:nth-child(7) {
  --x1: 20px;
  --y1: 30px;
  --x2: -25px;
  --y2: -20px;
  animation-delay: 1.2s;
}
.particles-container .particle:nth-child(8) {
  --x1: -35px;
  --y1: -25px;
  --x2: 30px;
  --y2: 35px;
  animation-delay: 1.4s;
}
.particles-container .particle:nth-child(9) {
  --x1: 30px;
  --y1: -30px;
  --x2: -30px;
  --y2: -30px;
  animation-delay: 1.6s;
}
.particles-container .particle:nth-child(10) {
  --x1: -25px;
  --y1: 25px;
  --x2: 25px;
  --y2: -25px;
  animation-delay: 1.8s;
}
.particles-container .particle:nth-child(11) {
  --x1: 35px;
  --y1: -20px;
  --x2: -35px;
  --y2: 20px;
  animation-delay: 2s;
}
.particles-container .particle:nth-child(12) {
  --x1: -30px;
  --y1: -35px;
  --x2: 30px;
  --y2: 35px;
  animation-delay: 2.2s;
}

.ai-loading {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.ai-loading.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-text {
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 14px;
  opacity: 0.8;
}

.ai-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

.ai-content.show {
  opacity: 1;
  transform: translateY(0);
}

/* Modern Star Animation */
.stars-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.star-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: var(--accent-color);
  opacity: 0;
}

.star-wrapper:nth-child(1) {
  animation: starMove1 5s ease-in-out infinite;
}

.star-wrapper:nth-child(2) {
  animation: starMove2 5s ease-in-out infinite;
}

.star-wrapper:nth-child(3) {
  animation: starMove3 5s ease-in-out infinite;
}

@keyframes starMove1 {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    transform: translate(-80px, -20px) scale(1) rotate(180deg);
    opacity: 1;
  }
  30% {
    transform: translate(0px, 40px) scale(1) rotate(360deg);
    opacity: 1;
  }
  50% {
    transform: translate(80px, -20px) scale(1) rotate(540deg);
    opacity: 1;
  }
  70% {
    transform: translate(0px, -60px) scale(1) rotate(720deg);
    opacity: 1;
  }
  90% {
    transform: translate(-80px, -20px) scale(1) rotate(900deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0) rotate(1080deg);
    opacity: 0;
  }
}

@keyframes starMove2 {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    transform: translate(80px, -20px) scale(1) rotate(180deg);
    opacity: 1;
  }
  30% {
    transform: translate(-40px, 40px) scale(1) rotate(360deg);
    opacity: 1;
  }
  50% {
    transform: translate(-80px, -20px) scale(1) rotate(540deg);
    opacity: 1;
  }
  70% {
    transform: translate(40px, -60px) scale(1) rotate(720deg);
    opacity: 1;
  }
  90% {
    transform: translate(80px, -20px) scale(1) rotate(900deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0) rotate(1080deg);
    opacity: 0;
  }
}

@keyframes starMove3 {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    transform: translate(0px, 40px) scale(1) rotate(180deg);
    opacity: 1;
  }
  30% {
    transform: translate(80px, -20px) scale(1) rotate(360deg);
    opacity: 1;
  }
  50% {
    transform: translate(-40px, -60px) scale(1) rotate(540deg);
    opacity: 1;
  }
  70% {
    transform: translate(-80px, 20px) scale(1) rotate(720deg);
    opacity: 1;
  }
  90% {
    transform: translate(0px, 40px) scale(1) rotate(900deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0) rotate(1080deg);
    opacity: 0;
  }
}

.star-wrapper i {
  display: block;
  transform-origin: center;
  animation: starPulse 1s ease-in-out infinite;
}

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

.ai-loading {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.ai-loading.fade-out {
  opacity: 0;
  pointer-events: none;
}

.ai-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

.ai-content.show {
  opacity: 1;
  transform: translateY(0);
}

/* Modern Spark Animation */
.sparks-container {
  position: relative;
  width: 200px;
  height: 80px;
  margin: 0 auto;
}

.spark-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: var(--accent-color);
  opacity: 0;
}

.spark-wrapper i {
  display: block;
  transform-origin: center;
}

.spark-wrapper:nth-child(1) {
  animation: sparkAnimate 1.5s ease-out infinite;
  animation-delay: 0s;
}

.spark-wrapper:nth-child(2) {
  animation: sparkAnimate 1.5s ease-out infinite;
  animation-delay: 0.5s;
}

.spark-wrapper:nth-child(3) {
  animation: sparkAnimate 1.5s ease-out infinite;
  animation-delay: 1s;
}

@keyframes sparkAnimate {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  20% {
    transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
    opacity: 1;
  }
  40% {
    transform: translate(-50%, -50%) scale(0.9) rotate(360deg);
    opacity: 0.8;
  }
  60% {
    transform: translate(-50%, -50%) scale(0.4) rotate(540deg);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(0) rotate(720deg);
    opacity: 0;
  }
}

.loading-text {
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 14px;
  opacity: 0.8;
}

/* Modern Liquid Animation */
.liquid-container {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.liquid-container svg {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 0 20px rgba(255, 144, 0, 0.5))
    drop-shadow(0 0 40px rgba(76, 217, 100, 0.5))
    drop-shadow(0 0 60px rgba(255, 215, 0, 0.5));
}

.blob {
  mix-blend-mode: screen;
  opacity: 1;
  will-change: transform;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Custom dropdown styles */
.filter-dropdown {
  position: absolute;
  top: 100%;
  background: #232339;
  border: 1px solid #35384a;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  min-width: 180px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.filter-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.filter-dropdown-option {
  padding: 12px 16px;
  color: #b0b4c1;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-dropdown-option:last-child {
  border-bottom: none;
}

.filter-dropdown-option:hover {
  background-color: #2c3147;
  color: #fff;
}

.filter-dropdown-option.selected {
  background-color: rgba(255, 144, 0, 0.1);
  color: #ff9000;
}

/* Cases filter button styles */
.filter-button {
  font-size: 14px;
  font-weight: 500;
  min-height: 40px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-button:hover {
  background: #3a3d54 !important;
  border-color: rgba(255, 144, 0, 0.3);
  transform: translateY(-1px);
}

.filter-button.active {
  background: var(--accent-color) !important;
  color: #000 !important;
  border-color: var(--accent-color);
  font-weight: 600;
}

/* Make filter buttons more modern */
.filter-button span {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Case Image Hover Effects - Two-layer approach for smooth transitions + floating */
.case-image-hover-wrapper {
  transform-origin: center;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.case-image-hover {
  position: relative;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

/* Scale and rotate on wrapper - smooth transitions both ways */
.case-card:hover .case-image-hover-wrapper {
  transform: scale(1.15) rotate(3deg);
}

/* Floating animation on image - starts after scale/rotate transition */
.case-card:hover .case-image-hover {
  animation: floatUpDown 3s ease-in-out infinite 0.4s;
}

@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Enhanced case card hover effects */
.case-card {
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 144, 0, 0.1);
}

/* Add glow effect to the background blur on hover */
.case-card:hover .bg-\[#fff3\] {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-50%) scale(1.2);
  transition: all 1s ease;
}

/* Case Glow Effects */
.case-glow-common {
  border-color: rgba(176, 196, 222, 0.3);
  box-shadow: 0 0 20px rgba(176, 196, 222, 0.1);
}

.case-glow-uncommon {
  border-color: rgba(39, 174, 96, 0.3);
  box-shadow: 0 0 20px rgba(39, 174, 96, 0.15);
}

.case-glow-rare {
  border-color: rgba(65, 105, 225, 0.3);
  box-shadow: 0 0 20px rgba(65, 105, 225, 0.2);
}

.case-glow-epic {
  border-color: rgba(153, 50, 204, 0.3);
  box-shadow: 0 0 20px rgba(153, 50, 204, 0.25);
}

.case-glow-legendary {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.case-glow-mythical {
  border-color: rgba(255, 20, 147, 0.3);
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.35);
}

/* Glow Orbs */
.glow-orb-common {
  background: rgba(176, 196, 222, 0.2);
}

.glow-orb-uncommon {
  background: rgba(39, 174, 96, 0.25);
}

.glow-orb-rare {
  background: rgba(65, 105, 225, 0.3);
}

.glow-orb-epic {
  background: rgba(153, 50, 204, 0.35);
}

.glow-orb-legendary {
  background: rgba(255, 215, 0, 0.4);
}

.glow-orb-mythical {
  background: rgba(255, 20, 147, 0.45);
}

/* Item Image Glows */
.item-glow-common {
  filter: drop-shadow(0 0 10px rgba(176, 196, 222, 0.3));
}

.item-glow-uncommon {
  filter: drop-shadow(0 0 12px rgba(39, 174, 96, 0.4));
}

.item-glow-rare {
  filter: drop-shadow(0 0 14px rgba(65, 105, 225, 0.5));
}

.item-glow-epic {
  filter: drop-shadow(0 0 16px rgba(153, 50, 204, 0.6));
}

.item-glow-legendary {
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.7));
}

.item-glow-mythical {
  filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.8));
}

/* Hover effects for cases */
.case-card:hover.case-glow-common {
  border-color: rgba(176, 196, 222, 0.6);
  box-shadow: 0 0 30px rgba(176, 196, 222, 0.2);
}

.case-card:hover.case-glow-uncommon {
  border-color: rgba(39, 174, 96, 0.6);
  box-shadow: 0 0 35px rgba(39, 174, 96, 0.25);
}

.case-card:hover.case-glow-rare {
  border-color: rgba(65, 105, 225, 0.6);
  box-shadow: 0 0 40px rgba(65, 105, 225, 0.3);
}

.case-card:hover.case-glow-epic {
  border-color: rgba(153, 50, 204, 0.6);
  box-shadow: 0 0 45px rgba(153, 50, 204, 0.35);
}

.case-card:hover.case-glow-legendary {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.4);
}

.case-card:hover.case-glow-mythical {
  border-color: rgba(255, 20, 147, 0.6);
  box-shadow: 0 0 55px rgba(255, 20, 147, 0.45);
}
