/* KladioniceNetNet Custom Styles - Dark Theme */

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Header adjustments for fixed positioning */
body {
  background-color: #1a1a1a;
  color: #e5e5e5;
}

/* Custom casino card animations */
.casino-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.casino-card:hover {
  border-color: #102ca7;
  transform: translateY(-4px);
}

/* Hero section styling */
.hero-bg {
  background: linear-gradient(135deg, #102ca7 0%, #1a3cb8 50%, #0f2490 100%);
  min-height: 100vh;
}

.hero-bg::before {
  display: none;
}

.hero-bg > * {
  position: relative;
  z-index: 2;
}

/* Star ratings custom styling */
.star-rating {
  color: #ffd700;
  text-shadow: 0 0 2px rgba(255, 215, 0, 0.5);
}

/* Certification logos hover effects */
.cert-logo {
  filter: grayscale(30%);
  transition: all 0.3s ease;
}

.cert-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Mobile menu styles */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  background-color: #2d2d2d;
}

.mobile-menu.open {
  transform: translateX(0);
}

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

::-webkit-scrollbar-track {
  background: #2d2d2d;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #0f2490;
}

/* Section dividers */
.section-divider {
  background: linear-gradient(90deg, transparent, #102ca7, transparent);
  height: 2px;
  margin: 2rem 0;
}

/* Button hover animations */
.btn-primary {
  background: linear-gradient(135deg, #660033 0%, #1a3cb8 100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 44, 167, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 44, 167, 0.4);
}

/* Rating criteria cards */
.criteria-card {
  border-left: 4px solid #102ca7;
  transition: all 0.3s ease;
  background-color: #2d2d2d;
}

.criteria-card:hover {
  border-left-color: #ffd700;
  background-color: #333333;
}

/* Modal animations */
.modal-fade-in {
  animation: fadeIn 0.3s ease;
}

.modal-slide-up {
  animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Typography improvements */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #ffffff;
  font-weight: 700;
}

.text-gold {
  color: #ffd700 !important;
}

/* About section background */
.about-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Footer styling */
footer {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

/* Contact form styling */
.form-input {
  border: 2px solid #555555;
  transition: all 0.3s ease;
  background-color: #333333;
  color: #ffffff;
}

.form-input:focus {
  border-color: #102ca7;
  box-shadow: 0 0 0 3px rgba(16, 44, 167, 0.1);
  outline: none;
  background-color: #404040;
}

.form-input::placeholder {
  color: #999999;
}

/* FAQ accordion styles */
.faq-item {
  border-bottom: 1px solid #404040;
  background-color: #2d2d2d;
}

.faq-question {
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #4a90e2;
  background-color: #333333;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #2d2d2d;
}

.faq-answer.open {
  max-height: 500px;
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Warning badges */
.warning-badge {
  background: linear-gradient(135deg, #102ca7 0%, #1a3cb8 100%);
  border: 2px solid #ffd700;
  color: white;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Alert boxes */
.bg-blue-50 {
  background-color: #1a3cb8 !important;
  color: #ffffff !important;
}

.bg-green-50 {
  background-color: #0d4f3c !important;
  color: #ffffff !important;
}

.bg-red-50 {
  background-color: #4a1a1a !important;
  color: #ffffff !important;
}

.bg-yellow-50 {
  background-color: #4a3a1a !important;
  color: #ffffff !important;
}

.bg-purple-50 {
  background-color: #3a1a4a !important;
  color: #ffffff !important;
}

.bg-orange-50 {
  background-color: #4a2a1a !important;
  color: #ffffff !important;
}

.text-blue-800 {
  color: #4a90e2 !important;
}

.text-green-800 {
  color: #4caf50 !important;
}

.text-red-800 {
  color: #ff6b6b !important;
}

.text-yellow-800 {
  color: #ffd700 !important;
}

.text-purple-800 {
  color: #9c27b0 !important;
}

.text-orange-800 {
  color: #ff9800 !important;
}

.text-red-700 {
  color: #ff6b6b !important;
}

.text-yellow-700 {
  color: #ffd700 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding-top: 0px;
  }

  .hero-bg h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .casino-card {
    padding: 1rem;
  }

  .mobile-nav {
    display: block;
  }

  .desktop-nav {
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    padding-top: 0;
    background-color: white !important;
    color: black !important;
  }

  .bg-primary {
    background: #102ca7 !important;
    -webkit-print-color-adjust: exact;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .casino-card {
    border-width: 3px;
  }

  .btn-primary {
    border: 2px solid #fff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #102ca7;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}
