/* Glass Morphism Effects */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-nav {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 247, 59, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glass-island {
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 247, 59, 0.3);
}

/* Comic Style Text */
.comic-text {
  text-shadow: 3px 3px 0 #de182f, -1px -1px 0 #fff73b, 1px -1px 0 #fff73b, -1px 1px 0 #fff73b, 1px 1px 0 #fff73b;
  letter-spacing: 2px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #de182f 0%, #ff0040 100%);
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid #fff73b;
  box-shadow: 0 4px 15px rgba(222, 24, 47, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(222, 24, 47, 0.6);
  background: linear-gradient(135deg, #ff0040 0%, #de182f 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, #fff73b 0%, #ffed4e 100%);
  color: #141414;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid #de182f;
  box-shadow: 0 4px 15px rgba(255, 247, 59, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 247, 59, 0.6);
}

/* Navigation Links */
.nav-link {
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 16px;
}

.nav-link:hover {
  color: #fff73b;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fff73b;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Island Menu Icons */
.island-icon {
  color: white;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
}

.island-icon:hover {
  color: #fff73b;
  background: rgba(255, 247, 59, 0.1);
  transform: scale(1.2) rotate(5deg);
}

/* Game Cards */
.game-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 247, 59, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.game-card:hover::before {
  left: 100%;
}

.game-card:hover {
  transform: translateY(-10px);
  border-color: #fff73b;
  box-shadow: 0 10px 40px rgba(255, 247, 59, 0.3);
}

/* Payment Methods */
.payment-method {
  text-align: center;
  color: white;
  min-width: 120px;
}

/* Provider Tags */
.provider-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  border: 1px solid rgba(255, 247, 59, 0.3);
  transition: all 0.3s ease;
}

.provider-tag:hover {
  background: rgba(255, 247, 59, 0.2);
  border-color: #fff73b;
  transform: scale(1.05);
}

/* Hover Lift Effect */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(222, 24, 47, 0.4);
}

/* Prose Styling for Readability */
.prose-custom {
  line-height: 1.8;
}

.prose-custom p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.prose-custom a {
  color: #fff73b;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.prose-custom a:hover {
  color: #de182f;
}

.prose-custom h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose-custom ul {
  margin-bottom: 1.5rem;
}

.prose-custom li {
  margin-bottom: 0.5rem;
}

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

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

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

/* Marquee Animation */
.marquee-container {
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
}

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

.marquee-content::after {
  content: "";
  display: flex;
  position: absolute;
  left: 100%;
  animation: marquee 30s linear infinite;
}

/* Parallax will be handled by JavaScript */
.parallax {
  transition: transform 0.1s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .comic-text {
    text-shadow: 2px 2px 0 #de182f, -1px -1px 0 #fff73b;
    letter-spacing: 1px;
  }

  .glass-island {
    padding: 12px 20px;
  }

  .island-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #141414;
}

::-webkit-scrollbar-thumb {
  background: #de182f;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #fff73b;
}
