/* Gold Design Effects CSS */

/* Gold shimmer effect for text */
.gold-shimmer {
  background: linear-gradient(
    45deg,
    #FFD700 0%,
    #FFA500 25%,
    #FFE55C 50%,
    #FFA500 75%,
    #FFD700 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-shimmer 2s ease-in-out infinite;
}

/* Gold glow effect */
.gold-glow {
  text-shadow: 
    0 0 5px #FFD700,
    0 0 10px #FFA500,
    0 0 15px #FF8C00,
    0 0 20px #FFA500;
  animation: gold-glow 2s ease-in-out infinite alternate;
}

/* Gold pulse effect for buttons and elements */
.gold-pulse {
  animation: gold-pulse 1.5s ease-in-out infinite;
}

/* Gold border glow */
.gold-border-glow {
  border: 2px solid #FFD700;
  box-shadow: 
    0 0 10px #FFD700,
    0 0 20px #FFA500,
    inset 0 0 10px rgba(255, 215, 0, 0.1);
}

/* Gold gradient backgrounds */
.gold-gradient-bg {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold button hover effects */
.gold-button {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border: 2px solid #FFD700;
  color: #000;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gold-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.gold-button:hover::before {
  left: 100%;
}

.gold-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 5px 15px rgba(255, 215, 0, 0.4),
    0 0 20px #FFD700;
}

/* Gold card effects */
.gold-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.gold-card:hover {
  border-color: #FFD700;
  box-shadow: 
    0 10px 30px rgba(255, 215, 0, 0.2),
    0 0 20px rgba(255, 215, 0, 0.1);
  transform: translateY(-5px);
}

/* Gold text effects */
.gold-text {
  color: #FFD700;
  text-shadow: 
    0 0 5px #FFD700,
    0 0 10px #FFA500;
}

.gold-text-strong {
  color: #FFD700;
  font-weight: bold;
  text-shadow: 
    0 0 5px #FFD700,
    0 0 10px #FFA500,
    0 0 15px #FF8C00;
}

/* Gold loading animation */
.gold-loading {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 215, 0, 0.3);
  border-top: 4px solid #FFD700;
  border-radius: 50%;
  animation: gold-spin 1s linear infinite;
}

@keyframes gold-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Gold particle effect */
.gold-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #FFD700;
  border-radius: 50%;
  animation: gold-float 3s ease-in-out infinite;
}

@keyframes gold-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.7;
  }
}

/* Gold shimmer keyframes */
@keyframes gold-shimmer {
  0% {
    background-position: 0% 50%;
    text-shadow: 
      0 0 10px #FFD700,
      0 0 20px #FFA500,
      0 0 30px #FF8C00;
  }
  50% {
    background-position: 100% 50%;
    text-shadow: 
      0 0 20px #FFD700,
      0 0 30px #FFA500,
      0 0 40px #FF8C00;
  }
  100% {
    background-position: 0% 50%;
    text-shadow: 
      0 0 10px #FFD700,
      0 0 20px #FFA500,
      0 0 30px #FF8C00;
  }
}

/* Gold glow keyframes */
@keyframes gold-glow {
  0% {
    text-shadow: 
      0 0 5px #FFD700,
      0 0 10px #FFA500,
      0 0 15px #FF8C00;
    filter: brightness(1);
  }
  100% {
    text-shadow: 
      0 0 10px #FFD700,
      0 0 20px #FFA500,
      0 0 30px #FF8C00;
    filter: brightness(1.2);
  }
}

/* Gold pulse keyframes */
@keyframes gold-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px #FFD700;
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
    box-shadow: 0 0 30px #FFA500;
  }
}

/* Animated decorative elements */
.decorative-element {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* Crab animations */
.crab-float {
  animation: crab-float 4s ease-in-out infinite;
}

.crab-bounce {
  animation: crab-bounce 3s ease-in-out infinite;
}

.crab-rotate {
  animation: crab-rotate 6s linear infinite;
}

/* Treasure chest animations */
.chest-bounce {
  animation: chest-bounce 2.5s ease-in-out infinite;
}

.chest-glow {
  animation: chest-glow 3s ease-in-out infinite alternate;
}

/* Anchor animations */
.anchor-sway {
  animation: anchor-sway 5s ease-in-out infinite;
}

.anchor-float {
  animation: anchor-float 4s ease-in-out infinite;
}

/* Cross animations */
.cross-rotate {
  animation: cross-rotate 8s linear infinite;
}

.cross-pulse {
  animation: cross-pulse 2s ease-in-out infinite;
}

/* Shell animations */
.shell-float {
  animation: shell-float 3.5s ease-in-out infinite;
}

.shell-rotate {
  animation: shell-rotate 7s linear infinite;
}

/* Money crab animations */
.money-crab-dance {
  animation: money-crab-dance 3s ease-in-out infinite;
}

.money-crab-float {
  animation: money-crab-float 4.5s ease-in-out infinite;
}

/* Keyframes for crab animations */
@keyframes crab-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(2deg);
  }
  50% {
    transform: translateY(-5px) rotate(0deg);
  }
  75% {
    transform: translateY(-15px) rotate(-2deg);
  }
}

@keyframes crab-bounce {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.1);
  }
}

@keyframes crab-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Keyframes for treasure chest animations */
@keyframes chest-bounce {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.05);
  }
}

@keyframes chest-glow {
  0% {
    filter: brightness(1) drop-shadow(0 0 5px #FFD700);
  }
  100% {
    filter: brightness(1.2) drop-shadow(0 0 15px #FFD700);
  }
}

/* Keyframes for anchor animations */
@keyframes anchor-sway {
  0%, 100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

@keyframes anchor-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Keyframes for cross animations */
@keyframes cross-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes cross-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Keyframes for shell animations */
@keyframes shell-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(180deg);
  }
}

@keyframes shell-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Keyframes for money crab animations */
@keyframes money-crab-dance {
  0%, 100% {
    transform: translateX(0px) rotate(0deg);
  }
  25% {
    transform: translateX(5px) rotate(5deg);
  }
  50% {
    transform: translateX(0px) rotate(0deg);
  }
  75% {
    transform: translateX(-5px) rotate(-5deg);
  }
}

@keyframes money-crab-float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.05);
  }
}

/* Responsive gold effects */
@media (max-width: 768px) {
  .gold-glow {
    text-shadow: 
      0 0 3px #FFD700,
      0 0 6px #FFA500,
      0 0 9px #FF8C00;
  }
  
  .gold-button:hover {
    transform: translateY(-1px);
  }
  
  .gold-card:hover {
    transform: translateY(-2px);
  }
  
  /* Reduce animation intensity on mobile */
  .decorative-element {
    opacity: 0.7;
  }
  
  .crab-float,
  .crab-bounce,
  .chest-bounce,
  .anchor-float,
  .shell-float,
  .money-crab-float {
    animation-duration: 6s;
  }
}

@media (max-width: 768px) {
  .text-bb {
    font-size: 7px !important;
  }
  .flex-dir{
    flex-direction: column;
  }

  .h-96 {
    height: auto;
  }
}