/* General Body and Base Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8; /* Lighter background */
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reusable Section Padding */
.section-padding {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box; /* Include padding in element's total width and height */
}

.section-alt-bg {
  background-color: #eff3f7; /* Slightly darker alt background */
}

/* Headings */
h1,
h2,
h3 {
  font-family: "Roboto", sans-serif;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 3.5em; /* Slightly larger */
  text-align: center;
  color: #1a2a3a;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.8em; /* Slightly larger */
  text-align: center;
  border-bottom: 3px solid #3498db; /* Thicker border */
  padding-bottom: 20px;
  margin-bottom: 50px;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h3 {
  font-size: 2em; /* Slightly larger */
  color: #34495e;
  margin-bottom: 20px;
  font-weight: 600;
}

p {
  margin-bottom: 18px; /* Slightly more space */
  color: #555;
  font-size: 1.1em;
}

.subtitle {
  font-size: 1.6em; /* Slightly larger */
  text-align: center;
  margin-bottom: 50px;
  color: #4a6a8a;
  font-weight: 300;
  line-height: 1.5;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  font-size: 1.25em; /* Slightly larger */
  text-align: center;
  max-width: 850px; /* Wider intro text */
  margin: 0 auto 60px; /* More space below */
  color: #666;
  line-height: 1.8;
}

/* Links */
a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

a:hover {
  color: #2980b9;
  text-decoration: none; /* Keep consistent */
  border-bottom: 1px solid #2980b9;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-sizing: border-box;
}

.section-image {
  width: 100%;
  margin: 20px 0;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Stronger shadow */
  transition: transform 0.3s ease;
}

.section-image:hover {
  transform: translateY(-5px);
}

.full-width-image {
  width: 100%;
  margin-top: 40px; /* More space */
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Stronger shadow */
  border-radius: 12px; /* More rounded */
  transition: transform 0.3s ease;
}

.full-width-image:hover {
  transform: translateY(-8px);
}

/* Buttons */
.cta-button {
  display: inline-block;
  background-color: #e74c3c;
  color: #fff;
  padding: 16px 32px; /* Slightly larger */
  border: none;
  border-radius: 8px; /* More rounded */
  font-size: 1.25em; /* Slightly larger */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #c0392b;
  transform: translateY(-3px); /* More pronounced lift */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.header-cta {
  margin-left: 30px; /* More space */
}

.hero-cta {
  display: block;
  margin: 50px auto 0; /* More space */
  width: fit-content;
}

/* Header */
#header {
  background-color: #2c3e50;
  color: #fff;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Stronger shadow */
  transition: all 0.3s ease; /* Smooth transition for sticky effect */
}

.logo {
  font-size: 2em; /* Slightly larger */
  font-weight: bold;
  letter-spacing: 1.5px; /* More prominent */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

#header nav ul li {
  margin-left: 35px; /* More space */
}

#header nav ul li a {
  color: #fff;
  font-weight: 500;
  font-size: 1.15em; /* Slightly larger */
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 8px; /* More padding */
  border-bottom: 2px solid transparent; /* Always show border for hover effect */
}

#header nav ul li a:hover {
  color: #3498db;
  border-bottom: 2px solid #3498db;
  text-decoration: none;
}

/* Burger Menu for Mobile */
.burger-menu {
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}

.burger-menu div {
  width: 28px; /* Slightly wider */
  height: 4px; /* Thicker */
  background-color: #fff;
  margin: 6px; /* More space */
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger-menu.open .bar1 {
  transform: rotate(-45deg) translate(-6px, 6px);
}
.burger-menu.open .bar2 {
  opacity: 0;
}
.burger-menu.open .bar3 {
  transform: rotate(45deg) translate(-6px, -6px);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 62, 80, 0.98); /* More opaque */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto; /* Enable scrolling for longer menus */
}

.mobile-nav-overlay.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
  margin-top: 60px;
}

.mobile-nav-overlay nav ul li {
  margin: 30px 0; /* More space */
}

.mobile-nav-overlay nav ul li a {
  color: #fff;
  font-size: 1.5em; /* Larger text */
  font-weight: bold;
  transition: color 0.3s ease;
  padding: 10px 0;
  display: block;
}

.mobile-nav-overlay nav ul li a:hover {
  color: #3498db;
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
  overflow: hidden;
}

/* Hero Section */
#hero {
  background: linear-gradient(to right, #3498db, #2980b9);
  color: #fff;
  text-align: center;
  padding: 120px 5% 80px; /* More padding */
  border-bottom-left-radius: 70px; /* More rounded */
  border-bottom-right-radius: 70px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); /* Stronger shadow */
  position: relative;
  overflow: hidden; /* To contain pseudo-elements */
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/hero_pattern.jpg") repeat; /* Add a subtle pattern */
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  max-width: 1000px; /* Wider content */
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.video-placeholder {
  background-color: #4a6a8a;
  height: 500px; /* Taller placeholder */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #eee;
  font-size: 1.5em;
  border-radius: 20px; /* More rounded */
  margin-top: 50px; /* More space */
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}

.video-placeholder img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute; /* Position to fill placeholder */
  top: 0;
  left: 0;
}

.features {
  display: flex;
  justify-content: center; /* Center items */
  flex-wrap: wrap;
  margin-top: 70px; /* More space */
  gap: 40px; /* More gap */
}

.feature {
  background-color: rgba(255, 255, 255, 0.2); /* Slightly more opaque */
  padding: 30px; /* More padding */
  border-radius: 15px; /* More rounded */
  width: 29%; /* Adjusted width */
  min-width: 300px; /* Min width increased */
  text-align: center;
  backdrop-filter: blur(8px); /* Stronger blur */
  border: 1px solid rgba(255, 255, 255, 0.4); /* Stronger border */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Stronger shadow */
  transition: transform 0.3s ease, background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px); /* More pronounced lift */
  background-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  width: 70px; /* Larger icons */
  height: 70px;
  margin-bottom: 20px; /* More space */
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.feature span {
  display: block;
  font-size: 1.5em; /* Larger text */
  font-weight: bold;
  margin-bottom: 12px; /* More space */
  color: #f0f0f0;
}

.feature p {
  font-size: 1em; /* Adjusted size */
  color: #ddd;
  line-height: 1.7;
}

/* Gameplay Section */
#gameplay .gameplay-container {
  display: flex;
  justify-content: center; /* Center items */
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px; /* More space */
}

.gameplay-card {
  background-color: #fff;
  border-radius: 15px; /* More rounded */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Stronger shadow */
  padding: 35px; /* More padding */
  width: 30%;
  min-width: 350px; /* Increased min-width */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0; /* Lighter border */
  overflow: hidden;
}

.gameplay-card:hover {
  transform: translateY(-12px); /* More pronounced lift */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gameplay-card .card-image {
  width: 100%;
  height: 220px; /* Taller image */
  object-fit: cover;
  margin-bottom: 25px; /* More space */
  border-radius: 10px; /* More rounded */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Section Text Block - For additional text and images within a section */
.section-text-block {
  background-color: #ffffff;
  padding: 50px; /* More padding */
  border-radius: 15px; /* More rounded */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-top: 80px; /* More space */
  text-align: center;
  border: 1px solid #e0e0e0;
}

.section-text-block p {
  text-align: justify;
  margin-bottom: 25px; /* More space */
  font-size: 1.15em;
  line-height: 1.7;
}

/* Progress System */
#progress .progress-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
}

#progress .step {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 35px;
  width: 30%;
  min-width: 350px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  padding-top: 60px; /* Space for step icon */
}

#progress .step:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

#progress .step-image {
  width: 100%;
  height: 200px; /* Taller image */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-icon {
  background-color: #3498db;
  color: #fff;
  border-radius: 50%;
  width: 70px; /* Larger icon */
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2em; /* Larger text */
  font-weight: bold;
  position: absolute;
  top: -35px; /* Adjust to float above */
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25); /* Stronger shadow */
  border: 5px solid #fff; /* Thicker border */
  z-index: 1;
}

.trophies-showcase {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 50px;
  margin-top: 100px; /* More space */
  text-align: center;
  border: 1px solid #e0e0e0;
}

.trophies-showcase h3 {
  color: #2c3e50;
  margin-bottom: 30px; /* More space */
  font-size: 2.2em; /* Larger */
}

.trophies-showcase p {
  max-width: 900px;
  margin: 0 auto 40px; /* More space */
  font-size: 1.15em;
  color: #666;
}

.trophy-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; /* More gap */
  margin-top: 40px; /* More space */
}

.trophy-image {
  width: 130px; /* Larger */
  height: 130px;
  object-fit: contain;
  border-radius: 50%;
  border: 5px solid #f39c12; /* Thicker border */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25); /* Stronger shadow */
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.trophy-image:hover {
  transform: scale(1.15); /* More pronounced scale */
  border-color: #e67e22;
}

/* Card Game Demo Section */
#game-demo {
  text-align: center;
}

.game-area {
  background-color: #1abc9c; /* Green felt like background */
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-family: "Press Start 2P", cursive, monospace; /* Pixel-style font */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  border: 5px solid #16a085;
  position: relative;
  overflow: hidden;
}

.game-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/felt_texture.jpg") repeat; /* Felt texture */
  opacity: 0.15;
  z-index: 0;
}

.dealer-hand,
.player-hand {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.dealer-hand h3,
.player-hand h3 {
  color: #fff;
  font-size: 1.8em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  min-height: 150px; /* Ensure space for cards */
  flex-wrap: wrap;
}

.card-image-game {
  width: 100px; /* Size of game cards */
  height: 140px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image-game.hidden-card {
  background-color: #c0392b; /* Back of the card color */
  background-image: url("images/card_back.jpg"); /* Card back image */
  background-size: cover;
  background-position: center;
}

.game-controls {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.game-controls .cta-button {
  padding: 12px 25px;
  font-size: 1.1em;
  border-radius: 6px;
}

.game-controls .cta-button:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.game-message {
  margin-top: 30px;
  font-size: 1.8em;
  font-weight: bold;
  color: #f1c40f; /* Gold color for messages */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  min-height: 40px;
  position: relative;
  z-index: 1;
}

/* Customization Section */
#customization .customization-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
}

#customization .option {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 35px;
  width: 30%;
  min-width: 350px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

#customization .option:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

#customization .option-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* New Text Sections with Images */
.text-feature-block {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px; /* Space between blocks */
  background-color: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.text-feature-block:last-child {
  margin-bottom: 0;
}

.text-feature-block.reverse-layout {
  flex-direction: row-reverse;
}

.text-feature-block .text-content {
  flex: 1;
  text-align: left;
}

.text-feature-block .text-content h3 {
  margin-top: 0;
  font-size: 2.2em;
  color: #2c3e50;
}

.text-feature-block .text-content p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555;
}

.text-feature-block .image-content {
  flex: 0 0 40%; /* Fixed width for image */
}

.text-feature-block .image-content img {
  width: 100%;
  height: 300px; /* Consistent height for images */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
#testimonials {
  background-color: #f0f4f7; /* Light blueish background */
  text-align: center;
}

.testimonials-carousel-container {
  position: relative;
  max-width: 900px;
  margin: 50px auto 0;
  overflow: hidden;
  padding-bottom: 60px; /* Space for dots and nav */
}

.testimonials-carousel {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.testimonial-card {
  flex: 0 0 100%; /* Each card takes full width */
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin: 20px; /* Small margin for visual separation if more than one shows */
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #3498db;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
  font-size: 1.2em;
  line-height: 1.7;
  color: #444;
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-author {
  font-weight: bold;
  font-size: 1.1em;
  color: #2c3e50;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1;
}

.carousel-nav button {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 2em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-nav button:hover {
  background-color: #3498db;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background-color: #3498db;
  transform: scale(1.2);
}

/* Legal Disclaimer */
#legal {
  background-color: #f8f8f8;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.legal-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
}

.legal-points .point {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  width: 30%;
  min-width: 300px;
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-points .point:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.legal-points .point-icon {
  width: 60px; /* Larger icons */
  height: 60px;
  margin: 0 auto 20px; /* More space */
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.legal-points .point span {
  display: block;
  font-size: 1.4em; /* Larger text */
  font-weight: bold;
  color: #34495e;
  margin-bottom: 15px; /* More space */
}

.legal-points .point p {
  font-size: 1em; /* Adjusted size */
  color: #666;
  line-height: 1.7;
}

.legal-text {
  background-color: #ffffff;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-top: 80px;
  text-align: justify;
  font-size: 1.15em;
  line-height: 1.8;
  color: #444;
  border: 1px solid #e0e0e0;
}

/* FAQ Section */
#faq .faq-container {
  margin-top: 60px;
}

.faq-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px; /* More rounded */
  margin-bottom: 25px; /* More space */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Stronger shadow */
}

.faq-item h3 {
  margin: 0;
  padding: 22px 30px; /* More padding */
  cursor: pointer;
  background-color: #f7f7f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4em; /* Larger text */
  color: #34495e;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.faq-item h3:hover {
  background-color: #f0f0f0;
}

.faq-item h3 span {
  font-size: 1.8em; /* Larger icon */
  transition: transform 0.3s ease;
}

.faq-item.open h3 span {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out; /* Slower transition */
}

.faq-item.open .faq-answer {
  max-height: 600px; /* Adjusted max-height, ensure it's large enough */
  padding: 20px 30px 25px; /* Adjust bottom padding */
  transition: max-height 0.6s ease-in, padding 0.6s ease-in;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 15px;
  color: #555;
  font-size: 1.05em; /* Slightly larger */
  line-height: 1.7;
}

.policies {
  text-align: center;
  margin-top: 60px; /* More space */
  padding: 40px; /* More padding */
  background-color: #f0f0f0;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.policies p {
  font-size: 1.15em;
  color: #444;
  line-height: 1.8;
}

.policies a {
  font-weight: bold;
}

/* Contact Section */
#contact {
  text-align: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
}

.contact-form {
  flex: 1;
  max-width: 550px; /* Max width for form */
  background-color: #fff;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  text-align: left;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #34495e;
  font-size: 1.1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box; /* Include padding in width */
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 0.95em;
  color: #666;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #3498db; /* Custom checkbox color */
}

.contact-form .cta-button {
  width: auto; /* Adjust button width */
  margin-top: 15px;
}

.contact-info {
  flex: 1;
  max-width: 450px;
  background-color: #fff;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 2em;
}

.contact-info p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.contact-info ul li {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #555;
}

.contact-info ul li a {
  color: #3498db;
}

.contact-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 60px 5% 40px; /* More padding */
  text-align: center;
  border-top-left-radius: 70px; /* More rounded */
  border-top-right-radius: 70px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3); /* Stronger shadow */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2.2em; /* Larger */
  font-weight: bold;
  margin-bottom: 30px; /* More space */
  letter-spacing: 1.8px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-links {
  margin-bottom: 30px;
}

.footer-links a {
  color: #fff;
  margin: 0 20px; /* More space */
  font-size: 1.15em; /* Larger */
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: #3498db;
  text-decoration: none;
  border-bottom: 1px solid #3498db;
}

.copyright {
  font-size: 0.95em; /* Slightly larger */
  color: #ccc;
  margin-bottom: 25px; /* More space */
}

.footer-text {
  font-size: 1em; /* Adjusted size */
  color: #bbb;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

/* Media Queries for Responsiveness */

@media (max-width: 1024px) {
  h1 {
    font-size: 3em;
  }
  h2 {
    font-size: 2.4em;
  }
  h3 {
    font-size: 1.8em;
  }

  .subtitle {
    font-size: 1.4em;
  }
  .section-intro {
    font-size: 1.1em;
  }

  #header {
    padding: 15px 4%;
  }

  #header nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .burger-menu {
    display: block;
  }

  .hero-content {
    padding: 0 20px;
  }

  .video-placeholder {
    height: 400px;
  }

  .features,
  .gameplay-container,
  .progress-steps,
  .customization-options,
  .legal-points,
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .feature,
  .gameplay-card,
  .step,
  .option,
  .legal-points .point,
  .contact-form,
  .contact-info {
    width: 90%;
    min-width: unset;
    margin-bottom: 40px;
    max-width: none; /* Remove max-width for column layout */
  }

  .text-feature-block,
  .text-feature-block.reverse-layout {
    flex-direction: column;
    gap: 40px;
  }

  .text-feature-block .image-content {
    flex: 0 0 auto;
    width: 100%;
  }
  .text-feature-block .image-content img {
    height: auto; /* Allow auto height */
    max-height: 350px;
  }

  .trophy-image {
    width: 110px;
    height: 110px;
  }

  .faq-item h3 {
    font-size: 1.3em;
    padding: 20px 25px;
  }

  .testimonials-carousel-container {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.6em;
  }
  h2 {
    font-size: 2.2em;
  }
  h3 {
    font-size: 1.6em;
  }

  .section-padding {
    padding: 60px 4%;
  }

  .subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
  }
  .section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .hero-content {
    padding: 0;
  }

  .video-placeholder {
    height: 300px;
  }

  .feature {
    width: 100%;
  }

  .gameplay-card,
  .step,
  .option,
  .legal-points .point {
    width: 100%;
    padding: 25px;
  }

  .gameplay-card .card-image,
  #progress .step-image,
  #customization .option-image {
    height: 180px;
  }

  .trophy-image {
    width: 90px;
    height: 90px;
  }

  .text-feature-block .image-content img {
    max-height: 280px;
  }

  .faq-item h3 {
    font-size: 1.2em;
    padding: 18px 20px;
  }

  .faq-answer p {
    font-size: 0.95em;
  }

  .footer-links a {
    display: block;
    margin: 10px 0;
  }

  .game-area {
    padding: 30px;
  }

  .game-controls {
    flex-direction: column;
  }

  .game-controls .cta-button {
    width: 80%;
  }

  .card-image-game {
    width: 80px;
    height: 110px;
  }

  .dealer-hand h3,
  .player-hand h3 {
    font-size: 1.5em;
  }

  .game-message {
    font-size: 1.5em;
  }

  .testimonial-card {
    padding: 30px;
  }

  .testimonial-avatar {
    width: 80px;
    height: 80px;
  }

  .testimonial-text {
    font-size: 1.1em;
  }

  .contact-form,
  .contact-info {
    padding: 35px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2em;
  }
  h2 {
    font-size: 1.8em;
  }
  h3 {
    font-size: 1.4em;
  }

  .section-padding {
    padding: 40px 3%;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .hero-cta {
    margin-top: 30px;
  }

  .video-placeholder {
    height: 200px;
    font-size: 1.2em;
  }

  .feature {
    padding: 25px;
  }
  .feature span {
    font-size: 1.2em;
  }
  .feature p {
    font-size: 0.85em;
  }

  .gameplay-card h3,
  .step h3,
  .option h3 {
    font-size: 1.3em;
  }
  .gameplay-card p,
  .step p,
  .option p {
    font-size: 0.9em;
  }

  .trophy-image {
    width: 70px;
    height: 70px;
  }

  .text-feature-block .text-content h3 {
    font-size: 1.6em;
  }
  .text-feature-block .text-content p {
    font-size: 0.95em;
  }
  .text-feature-block .image-content img {
    height: 200px;
  }

  .legal-points .point span {
    font-size: 1.1em;
  }
  .legal-text,
  .section-intro,
  .policies p {
    font-size: 0.9em;
  }

  .faq-item h3 {
    font-size: 1em;
    padding: 15px;
  }
  .faq-item h3 span {
    font-size: 1.2em;
  }

  .footer-logo {
    font-size: 1.8em;
  }

  .game-area {
    padding: 20px;
  }

  .card-image-game {
    width: 60px;
    height: 80px;
  }
  .dealer-hand h3,
  .player-hand h3 {
    font-size: 1.2em;
  }
  .game-message {
    font-size: 1.2em;
  }

  .testimonial-card {
    padding: 20px;
  }
  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }
  .testimonial-text {
    font-size: 0.95em;
  }

  .contact-form,
  .contact-info {
    padding: 25px;
  }

  .form-group label {
    font-size: 1em;
  }
  .form-group input,
  .form-group textarea {
    padding: 12px;
  }
  .checkbox-label {
    font-size: 0.85em;
  }
}

/* utility-pages.css */

/* General styling for utility pages to ensure content is readable */
.utility-page-main {
  padding-top: var(--header-height); /* Adjust based on your header height */
  min-height: 80vh; /* Ensure content takes up most of the viewport */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to the top */
  align-items: center;
  background-color: var(
    --color-background-light
  ); /* Or your primary background */
  color: var(--color-text-dark); /* Or your primary text color */
}

.utility-content {
  background-color: var(
    --color-background-section
  ); /* A slightly different background for readability */
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin: 40px auto;
  max-width: 900px; /* Max width for content */
  width: 90%; /* Responsive width */
  line-height: 1.6;
  text-align: left; /* Default text alignment for policies */
}

/* Specific styling for headings within utility pages */
.utility-content h1 {
  font-size: 2.5em;
  color: var(--color-primary); /* Your brand primary color */
  margin-bottom: 25px;
  text-align: center;
}

.utility-content h2 {
  font-size: 1.8em;
  color: var(--color-secondary); /* A secondary brand color or darker tone */
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
}

.utility-content p {
  margin-bottom: 15px;
}

.utility-content ul {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 15px;
}

.utility-content ul li {
  margin-bottom: 8px;
}

.utility-content a {
  color: var(--color-primary); /* Style links to match your brand */
  text-decoration: underline;
}

.utility-content a:hover {
  color: var(--color-primary-light);
  text-decoration: none;
}

/* Specific styles for the "Thanks" page */
.utility-content.text-center {
  text-align: center;
}

.utility-content.text-center h1 {
  margin-top: 0; /* No top margin needed if it's the first element */
}

.utility-content .btn {
  margin: 15px 10px; /* Spacing between buttons */
  display: inline-block; /* Allow buttons to sit side-by-side */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .utility-content {
    padding: 30px 15px;
    margin: 20px auto;
    width: 95%;
  }

  .utility-content h1 {
    font-size: 2em;
  }

  .utility-content h2 {
    font-size: 1.5em;
  }

  .utility-content ul {
    margin-left: 20px;
  }
}

@media (max-width: 480px) {
  .utility-content h1 {
    font-size: 1.8em;
  }

  .utility-content h2 {
    font-size: 1.3em;
  }

  .utility-content .btn {
    display: block; /* Stack buttons vertically on very small screens */
    width: calc(100% - 20px); /* Full width with padding */
    margin: 10px auto;
  }
}
