/* Enhanced hover effects */
.nav-links a:hover {
  text-decoration: underline;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Enhanced feature items */
.feature-item:hover {
  background-color: #f0f0f0;
}

.feature-item:hover i {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Animated stats counter */
.stat-item h3 {
  transition: color 0.3s ease;
}

.stat-item:hover h3 {
  color: #ffed4a;
}

/* FAQ accordion styles */
.faq-question {
  cursor: pointer;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 5px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-answer {
  display: none;
  padding: 15px;
  background-color: #fff;
  border-radius: 5px;
  margin-top: -10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question.active + .faq-answer {
  display: block;
}

/* Enhanced social icons */
.social-icons a:hover {
  transform: translateY(-3px);
  transition: transform 0.3s ease;
}

/* Game card hover effects */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Tooltip styles */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]:before,
[data-tooltip]:after {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 999;
}

[data-tooltip]:before {
  content: attr(data-tooltip);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
}

[data-tooltip]:after {
  content: "";
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%);
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  opacity: 1;
}

/* Enhanced form styles */
input[type="text"],
input[type="email"],
textarea {
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #ffd700;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

/* Back to top button */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffd700;
  color: #1a1a2e;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #ffed4a;
}

/* Loading animation for images */
.lazy-load {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.lazy-load.loaded {
  opacity: 1;
}

/* Enhanced mobile menu animation */
@media screen and (max-width: 768px) {
  .nav-links {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .hamburger div {
    transition: all 0.3s ease-in-out;
  }

  .hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }
}