/* Legit Online Casino - Global 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: #f9f9f9;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 3px solid #0066cc;
  padding-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0066cc;
}

h4 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* Header and Navigation */
header {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0066cc;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #00a854;
}

/* Main Container */
main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 2rem;
}

article {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #666;
}

.breadcrumbs a {
  color: #0066cc;
}

.breadcrumbs span {
  margin: 0 0.5rem;
}

/* Editorial Disclosure */
.editorial-disclosure {
  background: #f0f7ff;
  border-left: 4px solid #0066cc;
  padding: 1rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  border-radius: 4px;
}

.editorial-disclosure strong {
  color: #0052a3;
}

/* Author Info */
.author-info {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid #00a854;
}

.author-info strong {
  color: #1a1a1a;
  display: block;
  margin-bottom: 0.5rem;
}

.author-credentials {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Meta Information */
.article-meta {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.article-meta strong {
  color: #1a1a1a;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
}

table thead {
  background: #f5f5f5;
}

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

table th {
  font-weight: 600;
  color: #0066cc;
}

table tr:hover {
  background: #f9f9f9;
}

/* Casino Cards */
.casino-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.casino-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.casino-card:hover {
  box-shadow: 0 4px 12px rgba(0,102,204,0.15);
  border-color: #0066cc;
}

.casino-card h4 {
  margin-top: 0;
  color: #1a1a1a;
}

.casino-card .rating {
  color: #ff9800;
  font-weight: bold;
  margin: 0.5rem 0;
}

.casino-card .features {
  font-size: 0.9rem;
  color: #666;
  margin: 1rem 0;
}

.casino-card .cta-button {
  display: inline-block;
}

/* CTA Buttons */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.cta-button.secondary {
  background: #00a854;
}

.cta-button.secondary:hover {
  background: #008844;
}

/* Lists */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
}

.pro-list {
  list-style: none;
  margin-left: 0;
}

.pro-list li {
  padding-left: 1.5rem;
  position: relative;
}

.pro-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00a854;
  font-weight: bold;
}

.con-list li:before {
  content: "✗";
  color: #ff4444;
}

/* FAQ Section */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  color: #0066cc;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.faq-answer {
  color: #555;
  line-height: 1.7;
}

/* Comparison Section */
.comparison-highlight {
  background: #f0f7ff;
  border-left: 4px solid #00a854;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

/* Sidebar */
aside {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  margin: 2rem 0;
}

aside h3 {
  margin-top: 0;
}

aside ul {
  margin-left: 1.5rem;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  justify-content: center;
}

.badge {
  text-align: center;
  padding: 1rem;
}

.badge-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.badge-text {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: white;
  margin-top: 3rem;
  padding: 3rem 2rem;
}

footer a {
  color: #66d4ff;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

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

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

.footer-section h4 {
  color: white;
}

.responsible-gambling {
  background: #333;
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  border-left: 4px solid #ff9800;
}

.responsible-gambling strong {
  color: #ffb84d;
}

.legal-notice {
  font-size: 0.85rem;
  color: #999;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
}

/* Affiliate Disclosure */
.affiliate-disclosure {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #856404;
}

/* Red/Green Flag Sections */
.red-flag-section,
.green-flag-section {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 4px;
}

.red-flag-section {
  background: #fff0f0;
  border-left: 4px solid #ff4444;
}

.red-flag-section h4 {
  color: #ff4444;
}

.green-flag-section {
  background: #f0fff0;
  border-left: 4px solid #00a854;
}

.green-flag-section h4 {
  color: #00a854;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  main {
    padding: 0 1rem;
    margin: 1rem auto;
  }

  article {
    padding: 1.5rem;
  }

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

  table {
    font-size: 0.85rem;
  }

  table th,
  table td {
    padding: 0.75rem;
  }

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

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}
