/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 20px;
}

/* Updated logo styles to use text instead of image */
.nav-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #2563eb;
}

.age-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #dc2626;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

.age-text {
  font-weight: bold;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-balance: balance;
}

.hero-text {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.95;
  text-pretty: pretty;
}

/* Buttons */
.cta-button {
  display: inline-block;
  background: #dc2626;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.cta-button.primary {
  background: #059669;
}

.cta-button.primary:hover {
  background: #047857;
}

.cta-button.disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.cta-button.disabled:hover {
  background: #9ca3af;
  transform: none;
}

/* Casino Grid */
.top-casinos {
  padding: 4rem 0;
}

.top-casinos h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #1f2937;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.casino-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.casino-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: #f8fafc;
}

/* Updated casino logo styles to use text instead of image */
.casino-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
}

.casino-rank {
  background: #2563eb;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.casino-content {
  padding: 1.5rem;
}

.casino-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.casino-content p {
  color: #6b7280;
  margin-bottom: 1rem;
  text-pretty: pretty;
}

.casino-features {
  list-style: none;
  margin-bottom: 1rem;
}

.casino-features li {
  padding: 0.25rem 0;
  color: #4b5563;
}

.casino-footer {
  padding: 1.5rem;
  background: #f8fafc;
  text-align: center;
}

/* Content Sections */
.evaluation-criteria,
.bonuses-section,
.payment-methods,
.faq-section,
.responsible-gaming {
  padding: 3rem 0;
}

.evaluation-criteria {
  background: white;
}

.evaluation-criteria h2,
.bonuses-section h2,
.payment-methods h2,
.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1f2937;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.criteria-item {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
}

.criteria-item h3 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.content-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-item h3 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.content-item ul {
  padding-left: 1.5rem;
}

.content-item li {
  margin-bottom: 0.5rem;
}

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

.payment-category {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.payment-category h3 {
  color: #1f2937;
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-item h3 {
  background: #f8fafc;
  padding: 1.5rem;
  margin: 0;
  color: #1f2937;
  border-bottom: 1px solid #e5e7eb;
}

.faq-item p {
  padding: 1.5rem;
  margin: 0;
  color: #4b5563;
}

/* Responsible Gaming */
.responsible-gaming {
  background: #fef3c7;
  border-top: 4px solid #f59e0b;
}

.responsible-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.responsible-box h2 {
  color: #92400e;
  margin-bottom: 1rem;
}

.responsible-box p {
  color: #78350f;
  margin-bottom: 1.5rem;
}

.responsible-links {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: left;
}

.responsible-links h3 {
  color: #92400e;
  margin-bottom: 1rem;
}

.responsible-links ul {
  padding-left: 1.5rem;
}

.responsible-links li {
  color: #78350f;
  margin-bottom: 0.5rem;
}

.disclaimer {
  font-weight: bold;
  color: #dc2626;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
}

.affiliate-disclaimer {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #60a5fa;
}

/* Updated footer badge to use text instead of image */
.age-badge-text {
  background: #dc2626;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f2937;
  color: white;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.cookie-btn.primary {
  background: #059669;
  color: white;
}

.cookie-btn.primary:hover {
  background: #047857;
}

.cookie-btn.secondary {
  background: transparent;
  color: white;
  border: 1px solid #6b7280;
}

.cookie-btn.secondary:hover {
  background: #374151;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-category {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Legal Pages */
.legal-page {
  padding: 2rem 0 4rem;
  background: white;
}

.legal-page h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.last-updated {
  color: #6b7280;
  font-style: italic;
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-section h3 {
  color: #374151;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.legal-section p {
  margin-bottom: 1rem;
  color: #4b5563;
  text-pretty: pretty;
}

.legal-section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.legal-notice {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.legal-notice p {
  margin: 0;
  color: #92400e;
  font-weight: 500;
}

/* Cookie Table */
.cookie-table {
  overflow-x: auto;
  margin: 1rem 0;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cookie-table th,
.cookie-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.cookie-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #1f2937;
}

.cookie-table td {
  color: #4b5563;
}

/* Contact Page */
.contact-page {
  padding: 2rem 0 4rem;
  background: white;
}

.contact-page h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.contact-intro {
  margin-bottom: 3rem;
}

.contact-intro p {
  color: #4b5563;
  margin-bottom: 1.5rem;
  text-pretty: pretty;
}

.contact-notice {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 1.5rem;
}

.contact-notice h3 {
  color: #92400e;
  margin-bottom: 0.5rem;
}

.contact-notice p {
  color: #78350f;
  margin: 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

/* Contact Form */
.contact-form-section h2,
.contact-info-section h2 {
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.submit-btn {
  background: #2563eb;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background: #1d4ed8;
}

.form-success {
  background: #d1fae5;
  border: 1px solid #10b981;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.form-success h3 {
  color: #065f46;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: #047857;
  margin: 0;
}

/* Contact Info */
.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
}

.contact-item h3 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #4b5563;
  margin: 0;
}

.contact-item a {
  color: #2563eb;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.privacy-note {
  background: #eff6ff;
  border: 1px solid #3b82f6;
  border-radius: 8px;
  padding: 1.5rem;
}

.privacy-note h3 {
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.privacy-note p {
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.privacy-note p:last-child {
  margin-bottom: 0;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .casino-grid {
    grid-template-columns: 1fr;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .payment-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .casino-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .casino-card {
    margin: 0 10px;
  }

  .top-casinos,
  .evaluation-criteria,
  .bonuses-section,
  .payment-methods,
  .faq-section,
  .responsible-gaming {
    padding: 2rem 0;
  }
}
