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

:root {
  --primary-color: #5d7ed8;
  --secondary-color: #dcba98;
  --accent-green: #6d941c;
  --accent-bright-green: #3fc35b;
  --accent-red: #852222;
  --accent-brown: #aa664d;
  --neutral-light: #a8a99f;
  --neutral-medium: #7b7e98;
  --neutral-dark: #656060;
  --neutral-darkest: #333433;
  --white: #ffffff;
  --black: #000000;
  /* Added more blue color variations */
  --primary-light: #7a94e0;
  --primary-dark: #4a6bc4;
  --blue-accent: #5d7ed8;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--neutral-darkest);
  background-color: var(--white);
}

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

/* Header */
.header {
  /* Updated header gradient to use more blue */
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(93, 126, 216, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  /* Updated hero gradient to use more blue tones */
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  padding: 40px 0;
}

.hero-content {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  /* Changed primary button to use blue instead of red */
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  /* Updated hover state to darker blue */
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary:hover {
  background-color: var(--white);
  /* Updated secondary button hover to use blue */
  color: var(--primary-color);
}

.responsive-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  /* Updated shadow to use blue tint */
  box-shadow: 0 8px 24px rgba(93, 126, 216, 0.15);
}

/* Sections */
section {
  padding: 48px 0;
}

section:nth-child(even) {
  /* Updated even section background to light blue tint */
  background-color: #f8f9ff;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  /* Updated section titles to use blue color */
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-description {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: var(--neutral-dark);
}

/* Casino Cards */
.casinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.casino-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  /* Updated casino card shadow to use blue tint */
  box-shadow: 0 4px 16px rgba(93, 126, 216, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  /* Added blue border to casino cards */
  border: 2px solid rgba(93, 126, 216, 0.1);
}

.casino-card:hover {
  transform: translateY(-4px);
  /* Added blue border on hover */
  border-color: var(--primary-color);
}

.casino-card h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bonus {
  font-size: 1.1rem;
  font-weight: 600;
  /* Changed bonus text color to blue */
  color: var(--primary-color);
  margin-bottom: 16px;
}

/* Content with Image */
.content-with-image {
  display: grid;
  gap: 32px;
  align-items: center;
  margin: 32px 0;
}

.content-with-image.reverse {
  direction: rtl;
}

.content-with-image.reverse > * {
  direction: ltr;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  /* Updated table shadow to use blue tint */
  box-shadow: 0 4px 16px rgba(93, 126, 216, 0.1);
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

th {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
}

tr:hover {
  /* Updated table row hover to light blue */
  background-color: rgba(93, 126, 216, 0.05);
}

/* Steps List */
.steps-list {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  /* Updated step shadow to use blue tint */
  box-shadow: 0 4px 16px rgba(93, 126, 216, 0.1);
  /* Added subtle blue border to steps */
  border-left: 4px solid var(--primary-color);
}

.step-number {
  background: var(--primary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  /* Updated step content headings to blue */
  color: var(--primary-color);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Features List */
.features-list {
  display: grid;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  /* Updated feature item shadow to use blue tint */
  box-shadow: 0 2px 8px rgba(93, 126, 216, 0.1);
  /* Added blue border to feature items */
  border-left: 4px solid var(--primary-color);
}

.feature-item i {
  /* Changed feature icons to blue */
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.feature-item h3 {
  /* Updated feature headings to blue */
  color: var(--primary-color);
  margin-bottom: 8px;
}

/* Strategy Cards */
.strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.strategy-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  /* Updated strategy card shadow to use blue tint */
  box-shadow: 0 4px 16px rgba(93, 126, 216, 0.1);
  /* Changed strategy card border to blue */
  border-left: 4px solid var(--primary-color);
}

.strategy-card h3 {
  /* Updated strategy card headings to blue */
  color: var(--primary-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Lists */
.numbered-list {
  padding-left: 20px;
  margin: 24px 0;
}

.numbered-list li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.demo-benefits,
.responsible-list {
  list-style: none;
  margin: 24px 0;
}

.demo-benefits li,
.responsible-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px;
  background: var(--white);
  border-radius: 6px;
}

.demo-benefits i {
  /* Changed demo benefits icons to blue */
  color: var(--primary-color);
}

.responsible-list i {
  color: var(--accent-red);
}

/* Pros and Cons */
.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 32px 0;
}

.pros,
.cons {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  /* Updated pros/cons shadow to use blue tint */
  box-shadow: 0 4px 16px rgba(93, 126, 216, 0.1);
}

.pros {
  /* Changed pros border to blue */
  border-left: 4px solid var(--primary-color);
}

.cons {
  border-left: 4px solid var(--accent-red);
}

.pros h3,
.cons h3 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pros h3 {
  /* Changed pros heading color to blue */
  color: var(--primary-color);
}

.cons h3 {
  color: var(--accent-red);
}

.pros ul,
.cons ul {
  list-style: none;
}

.pros li,
.cons li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pros i {
  /* Changed pros icons to blue */
  color: var(--primary-color);
}

.cons i {
  color: var(--accent-red);
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.faq-item {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  /* Updated FAQ shadow to use blue tint */
  box-shadow: 0 4px 16px rgba(93, 126, 216, 0.1);
  border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
  /* Updated FAQ headings to blue */
  color: var(--primary-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-item i {
  color: var(--primary-color);
}

/* Added new sections styles */
.risk-reward {
  background-color: #f8f9ff;
}

.risk-table table {
  /* Added special styling for risk table */
  border: 2px solid var(--primary-color);
}

.payment-table table {
  /* Added special styling for payment table */
  border: 2px solid var(--primary-color);
}

/* Footer */
.footer {
  /* Updated footer background to dark blue */
  background: linear-gradient(135deg, var(--neutral-darkest), var(--primary-dark));
  color: var(--white);
  padding: 40px 0 20px;
}

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

.footer-section h3 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--neutral-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--neutral-medium);
  color: var(--neutral-light);
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .nav {
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .nav {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .btn {
    flex: 1;
    justify-content: center;
    min-width: 140px;
  }

  table {
    font-size: 0.9rem;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }

  th,
  td {
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  section {
    padding: 32px 0;
  }

  .hero {
    padding: 24px 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

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

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

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

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

.casino-card,
.strategy-card,
.faq-item,
.feature-item {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
  /* Updated focus outline to blue */
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    /* Updated high contrast primary color to darker blue */
    --primary-color: #000080;
    --accent-green: #006400;
    --accent-red: #8b0000;
    --neutral-darkest: #000000;
  }
}

/* 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;
  }
}
