/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333433;
  background-color: #f8f9fa;
}

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

/* Color Variables */
:root {
  --primary-blue: #5d7ed8;
  --cream: #dcba98;
  --green-dark: #6d941c;
  --green-light: #3fc35b;
  --red-dark: #852222;
  --brown: #aa664d;
  --gray-light: #a8a99f;
  --gray-blue: #7b7e98;
  --gray-dark: #656060;
  --black: #333433;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--black);
}

h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 16px;
  color: var(--gray-dark);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--green-light));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(93, 126, 216, 0.3);
}

.btn-secondary {
  background-color: var(--cream);
  color: var(--black);
  border: 2px solid var(--brown);
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

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

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

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

.nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--green-light));
  color: white;
  padding: 48px 0;
}

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

.hero-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

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

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

.responsive-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
  margin-bottom: 24px;
}

.section-title i {
  color: var(--primary-blue);
  font-size: 1.5rem;
}

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

/* Platforms Section */
.platforms {
  background-color: white;
}

.platforms-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.platform-card {
  background: white;
  border: 2px solid var(--cream);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.platform-rank {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--green-light);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.platform-card h3 {
  color: var(--primary-blue);
  margin: 16px 0;
}

.bonus {
  color: var(--green-dark);
  font-weight: bold;
  margin-bottom: 16px;
}

.platforms-image {
  text-align: center;
  margin-top: 32px;
}

/* Casino Reviews */
.casino-reviews {
  background-color: #f8f9fa;
}

.casino-review {
  background: white;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.casino-name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.casino-info-table {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.info-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: var(--black);
  min-width: 200px;
}

.info-value {
  color: var(--gray-dark);
}

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

/* Game Features */
.game-features {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-card i {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  color: var(--black);
  margin-bottom: 12px;
}

/* Difficulty Levels */
.difficulty-levels {
  margin-top: 48px;
}

.difficulty-grid {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.difficulty-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  border: 2px solid;
}

.difficulty-card.easy {
  border-color: var(--green-light);
}
.difficulty-card.medium {
  border-color: #ffc107;
}
.difficulty-card.hard {
  border-color: #fd7e14;
}
.difficulty-card.hardcore {
  border-color: var(--red-dark);
}

.difficulty-card h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* Features List */
.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.features-list i {
  color: var(--green-light);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  gap: 32px;
}

.step-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 32px;
  background: var(--primary-blue);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-card ol {
  margin: 16px 0;
  padding-left: 20px;
}

.step-card li {
  margin-bottom: 8px;
}

/* Strategies Grid */
.strategies-grid {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.strategy-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.strategy-card i {
  color: var(--green-light);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

/* Demo CTA */
.demo-cta {
  text-align: center;
  margin-top: 32px;
}

/* Pros and Cons */
.pros-cons-grid {
  display: grid;
  gap: 32px;
  margin: 32px 0;
}

.pros-card,
.cons-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pros-card h3 {
  color: var(--green-light);
}

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

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

.pros-card li,
.cons-card li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.pros-card li:last-child,
.cons-card li:last-child {
  border-bottom: none;
}

/* Responsible Gaming */
.responsible-grid {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.responsible-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.responsible-card i {
  color: var(--green-light);
  font-size: 2rem;
  margin-bottom: 16px;
}

/* Final CTA */
.final-cta {
  text-align: center;
  margin-top: 32px;
}

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

.faq-item {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  color: var(--primary-blue);
  margin-bottom: 12px;
}

/* Footer */
.footer {
  background-color: var(--black);
  color: white;
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section h4 {
  color: var(--cream);
  margin-bottom: 16px;
}

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

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

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #555;
  color: #ccc;
}

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

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

  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .game-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .difficulty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strategies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .responsible-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav {
    display: flex;
  }

  .info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .game-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .difficulty-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .strategies-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .responsible-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Navigation */
@media (max-width: 767px) {
  .nav {
    display: none;
  }

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

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

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

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

  .casino-info-table {
    padding: 16px;
  }

  .info-row {
    flex-direction: column;
    gap: 4px;
  }

  .info-label {
    min-width: auto;
    font-size: 14px;
  }

  .step-card {
    padding: 24px 16px;
  }

  .step-number {
    left: 16px;
  }
}

/* Ensure no horizontal scrolling */
body {
  overflow-x: hidden;
}

.container {
  max-width: 100%;
}

/* Table responsiveness */
.casino-info-table {
  overflow-x: auto;
}

@media (max-width: 767px) {
  .casino-info-table {
    font-size: 14px;
  }
}
