/* Glass Navigation Buttons with Golden Ring Animation */

.action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Glass effect sheen */
.action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4) 50%,
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
}

/* Thin orange line animation */
.action-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  background: 
    linear-gradient(90deg, transparent 0%, transparent 75%, #ff6600 75%, #ff6600 100%) top/100% 2px no-repeat,
    linear-gradient(0deg, transparent 0%, transparent 75%, #ff6600 75%, #ff6600 100%) right/2px 100% no-repeat,
    linear-gradient(270deg, transparent 0%, transparent 75%, #ff6600 75%, #ff6600 100%) bottom/100% 2px no-repeat,
    linear-gradient(180deg, transparent 0%, transparent 75%, #ff6600 75%, #ff6600 100%) left/2px 100% no-repeat;
  background-position: 
    0% 0%,
    100% 0%,
    100% 100%,
    0% 100%;
  animation-duration: 1.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: paused;
}

/* Hover effects */
.action-btn:hover::before {
  left: 100%;
}

.action-btn:hover::after {
  opacity: 1;
  animation-play-state: running;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Button variant styles */
.action-btn.ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #374151;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.action-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #111827;
}

.action-btn.outline {
  background: rgba(255, 255, 255, 0.08);
  color: #374151;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.action-btn.outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #111827;
  border-color: rgba(107, 114, 128, 0.5);
}

.action-btn.primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.action-btn.primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

/* Moving orange line keyframe animation */
@keyframes moving-orange-line {
  0% {
    background-position: 
      -25% 0%,
      100% -25%,
      125% 100%,
      0% 125%;
  }
  25% {
    background-position: 
      100% 0%,
      100% -25%,
      125% 100%,
      0% 125%;
  }
  50% {
    background-position: 
      100% 0%,
      100% 100%,
      125% 100%,
      0% 125%;
  }
  75% {
    background-position: 
      100% 0%,
      100% 100%,
      -25% 100%,
      0% 125%;
  }
  100% {
    background-position: 
      100% 0%,
      100% 100%,
      -25% 100%,
      0% -25%;
  }
}

.action-btn::after {
  animation-name: moving-orange-line;
}

/* Enhanced glass shine effect */
.action-btn {
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

/* Inner glow effect */
.action-btn {
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(255, 215, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .action-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .action-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}