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

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 {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
  color: var(--white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.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 {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-bright-green));
  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 {
  background-color: var(--accent-red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #a02828;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.responsive-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

section:nth-child(even) {
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--neutral-darkest);
  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;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.casino-card:hover {
  transform: translateY(-4px);
}

.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;
  color: var(--accent-green);
  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;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 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 {
  background-color: #f8f9fa;
}

/* 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;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.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 {
  color: var(--neutral-darkest);
  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;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  color: var(--accent-green);
  font-size: 1.5rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.feature-item h3 {
  color: var(--neutral-darkest);
  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;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent-green);
}

.strategy-card h3 {
  color: var(--neutral-darkest);
  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 {
  color: var(--accent-bright-green);
}

.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;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.pros {
  border-left: 4px solid var(--accent-bright-green);
}

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

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

.pros h3 {
  color: var(--accent-bright-green);
}

.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 {
  color: var(--accent-bright-green);
}

.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;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
  color: var(--neutral-darkest);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* Footer */
.footer {
  background-color: var(--neutral-darkest);
  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 {
  outline: 2px solid var(--accent-bright-green);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --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;
  }
}
