/* Custom styles for Kingdom Solitaire */

/* Custom animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Apply animations to main sections */
.main-section {
  animation: fadeIn 0.8s ease-in-out;
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Enhance iframe container */
.game-iframe-container {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.game-iframe-container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Custom styles for buttons */
.custom-button {
  background-color: #0071e3;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.custom-button:hover {
  background-color: #0077ED;
  transform: translateY(-2px);
}

.custom-button:active {
  transform: translateY(0);
}

/* Enhanced focus styles for accessibility */
a:focus, button:focus {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .game-iframe-container {
    border-radius: 8px;
  }
  
  .custom-button {
    padding: 0.5rem 1.25rem;
  }
}

/* Typography enhancements */
.text-gradient {
  background: linear-gradient(90deg, #0071e3, #42a5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

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

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

::-webkit-scrollbar-thumb {
  background: #86868b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0071e3;
} 