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

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

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(190, 242, 100, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(190, 242, 100, 0.8);
  }
}

/* Marquee Animation */
.marquee-container {
  overflow: hidden;
  position: relative;
}

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

.marquee-content:hover {
  animation-play-state: paused;
}

/* Parallax Effect */
.parallax-layer {
  transition: transform 0.3s ease-out;
  will-change: transform;
}

/* Glass Morphism */
.glass {
  background: rgba(20, 20, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-light {
  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);
}

/* Prose Styling for Readability */
.prose {
  color: #e5e7eb;
  line-height: 1.7;
}

.prose h2 {
  color: #bef264;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose h3 {
  color: #d9f99d;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.prose ul,
.prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

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

.prose strong {
  color: #bef264;
  font-weight: 600;
}

.prose a {
  color: #bef264;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose a:hover {
  color: #d9f99d;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th {
  background: rgba(190, 242, 100, 0.1);
  color: #bef264;
  padding: 0.75rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.prose td {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.prose tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* CTA Pulse Animation */
.cta-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

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

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

::-webkit-scrollbar-track {
  background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
  background: #bef264;
  border-radius: 5px;
}

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

/* Grid Pattern Background */
.grid-pattern {
  background-image: linear-gradient(rgba(190, 242, 100, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 242, 100, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Fade In Animation */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Island Style */
.island {
  background: rgba(20, 20, 30, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Bonus Badge */
.bonus-badge {
  background: linear-gradient(135deg, rgba(190, 242, 100, 0.2), rgba(190, 242, 100, 0.05));
  border: 2px solid #bef264;
  box-shadow: 0 0 30px rgba(190, 242, 100, 0.3);
}

/* Game Card Hover */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(190, 242, 100, 0.2);
}

/* Mobile Menu Transition */
.mobile-menu {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Trustpilot Star */
.star-filled {
  color: #00b67a;
}

/* Payment Method Icon */
.payment-icon {
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.payment-icon:hover {
  filter: grayscale(0);
}

/* iDeal Page Styles */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(190, 242, 100, 0.2);
  transition: all 0.3s ease;
}

.step:hover {
  background: rgba(190, 242, 100, 0.1);
  border-color: rgba(190, 242, 100, 0.4);
  transform: translateY(-2px);
}

.step-number {
  background: linear-gradient(135deg, #bef264, #84cc16);
  color: #1f2937;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.step-content h4 {
  color: #bef264;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #d1d5db;
  line-height: 1.6;
}

.banks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.bank-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.bank-logo:hover {
  background: rgba(190, 242, 100, 0.1);
  border-color: rgba(190, 242, 100, 0.3);
  transform: translateY(-2px);
}

.bank-logo img {
  width: 60px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.bank-logo:hover img {
  filter: brightness(1.1);
}

.bank-logo span {
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.faq-section {
  margin: 3rem 0;
}

.faq-item {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(190, 242, 100, 0.05);
  border-color: rgba(190, 242, 100, 0.2);
}

.faq-item h4 {
  color: #bef264;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: #d1d5db;
  line-height: 1.6;
}

.cta-box {
  background: linear-gradient(135deg, rgba(190, 242, 100, 0.1), rgba(190, 242, 100, 0.05));
  border: 2px solid #bef264;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 0 30px rgba(190, 242, 100, 0.2);
}

.cta-box h3 {
  color: #bef264;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-box p {
  color: #d1d5db;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #bef264, #84cc16);
  color: #1f2937;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(190, 242, 100, 0.3);
}

.cta-button:hover {
  background: linear-gradient(135deg, #a3e635, #65a30d);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(190, 242, 100, 0.4);
}

/* Responsive Design for iDeal Page */
@media (max-width: 768px) {
  .steps-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .banks-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }
  
  .bank-logo {
    padding: 1rem;
  }
  
  .bank-logo img {
    width: 50px;
    height: 35px;
  }
  
  .cta-box {
    padding: 2rem 1.5rem;
  }
  
  .cta-box h3 {
    font-size: 1.5rem;
  }
  
  .cta-box p {
    font-size: 1rem;
  }
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.payment-method {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.payment-method:hover {
  background: rgba(190, 242, 100, 0.05);
  border-color: rgba(190, 242, 100, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(190, 242, 100, 0.2);
}

.payment-method.featured {
  border-color: #bef264;
  background: rgba(190, 242, 100, 0.1);
  position: relative;
}

.payment-method.featured::before {
  content: "Populairste Keuze";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #bef264, #84cc16);
  color: #1f2937;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  white-space: nowrap;
}

.payment-method .payment-icon {
  width: 80px;
  height: 50px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-method .payment-icon img {
  max-width: 60px;
  max-height: 40px;
  object-fit: contain;
}

.payment-method h3 {
  color: #bef264;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.payment-method p {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.payment-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.payment-features .feature {
  color: #d1d5db;
  font-size: 0.875rem;
  text-align: left;
}

.payment-cta {
  display: inline-block;
  background: linear-gradient(135deg, #bef264, #84cc16);
  color: #1f2937;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.payment-cta:hover {
  background: linear-gradient(135deg, #a3e635, #65a30d);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(190, 242, 100, 0.3);
}

/* Payment Methods Table */
.payment-methods-grid + table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.payment-methods-grid + table th,
.payment-methods-grid + table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods-grid + table th {
  background: rgba(190, 242, 100, 0.1);
  color: #bef264;
  font-weight: 600;
}

.payment-methods-grid + table td {
  color: #d1d5db;
}

.payment-methods-grid + table tr:last-child td {
  border-bottom: none;
}

/* Responsive Design for Payment Methods */
@media (max-width: 768px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .payment-method {
    padding: 1.5rem;
  }
  
  .payment-method.featured::before {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
  
  .payment-methods-grid + table {
    font-size: 0.875rem;
  }
  
  .payment-methods-grid + table th,
  .payment-methods-grid + table td {
    padding: 0.75rem 0.5rem;
  }
}
