body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f9;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.section {
  padding: 10px 20px;
  text-align: center;
}

.header {
  background-color: #1a1a2e;
  color: white;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 60px;
  max-width: 100%;
}

.tagline {
  margin: 0;
  font-size: 16px;
  color: #ddd;
}

.info {
  background-color: #ffffff;
}

.game {
  background-color: #e8f0fe;
}

button {
  background-color: #6FA8DC;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #3D85C6;
}

button:focus-visible,
a:focus-visible {
  outline: 2px dashed #007bff;
  outline-offset: 3px;
}

iframe {
  width: 100%;
  max-width: 800px;
  height: 600px;
  border: none;
  border-radius: 10px;
}

nav a {
  margin: 0 10px;
  color: #007bff;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

nav a:hover {
  text-decoration: underline;
}

.disclaimer {
  margin-bottom: 10px;
  color: #666;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 90%;
}

/* Game Preview Section */
.preview-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.preview-image img {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.preview-text {
  max-width: 500px;
  text-align: left;
}

.preview-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.preview-text p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Features Section */
.features {
  background-color: #f9f9fb;
  padding: 60px 20px;
  text-align: center;
}

.features h3.section-label {
  font-weight: bold;
  color: #ff6f61;
  margin-bottom: 10px;
}

.features h2.section-title {
  font-size: 32px;
  margin: 10px 0;
  color: #1a1a2e;
}

.features p.section-sub {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
  background-color: #fefefe;
  animation-delay: 0.1s;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  background-color: #fff8ed;
  animation-delay: 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.feature-card h4 {
  margin: 10px 0;
  font-size: 20px;
  color: #1a1a2e;
}

.feature-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Testimonials Carousel */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

.testimonial {
  display: none;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  animation: fade 0.5s ease-in-out;
}

.testimonial.active {
  display: block;
}

.testimonial .quote {
  font-style: italic;
  font-size: 18px;
  color: #305050;
  margin-bottom: 15px;
}

.testimonial .author {
  font-weight: bold;
  color: #1a1a2e;
}

.testimonial .author span {
  display: block;
  font-weight: normal;
  font-size: 14px;
  color: #888;
  margin-top: 4px;
}

.testimonial .stars {
  color: #ffb347;
  font-size: 18px;
  margin-top: 10px;
}

.testimonial-arrows {
  margin-top: 20px;
}

.testimonial-arrows button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 16px;
  margin: 0 8px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-arrows button:hover {
  background-color: #0056b3;
}

.testimonial-dots {
  margin: 20px 0;
  text-align: center;
}

.testimonial-dots .dot {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.testimonial-dots .dot.active {
  background-color: #007bff;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Footer */
.footer-enhanced {
  background-color: #2b3a4c;
  color: #eee;
  font-size: 14px;
  padding: 50px 20px 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  color: #fff;
}

.footer-col p {
  margin-bottom: 15px;
  color: #ccc;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-col ul li a {
  color: #66b2ff;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 20px;
  color: #ccc;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom .badges span {
  display: inline-block;
  margin: 5px 10px;
  padding: 6px 12px;
  background-color: #1a2734;
  color: #ddd;
  border-radius: 20px;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  iframe {
    height: 400px;
  }

  button {
    width: 90%;
    max-width: 300px;
  }

  .preview-container {
    flex-direction: column;
    text-align: center;
  }

  .preview-text {
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 30px;
  }
}
