.page-x-s-ko {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #f5f5f5;
  line-height: 1.6;
}

.page-x-s-ko .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-x-s-ko .section-title {
  font-size: 38px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-x-s-ko .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-x-s-ko .section-description {
  text-align: center;
  font-size: 18px;
  color: #555555;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s-ko .text-center {
  text-align: center;
}

.page-x-s-ko .cta-button {
  display: inline-block;
  padding: 15px 35px;
  margin: 10px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-x-s-ko .primary-button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-x-s-ko .primary-button:hover {
  background-color: #e0c200; /* Darker gold */
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s-ko .secondary-button {
  background-color: var(--secondary-color);
  color: #ffffff;
  border: 2px solid var(--secondary-color);
}

.page-x-s-ko .secondary-button:hover {
  background-color: #071a47; /* Darker blue */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s-ko .small-button {
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 30px;
}

/* Hero Banner */
.page-x-s-ko .hero-banner {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for visual consistency */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-x-s-ko .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-x-s-ko .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 20px;
}

.page-x-s-ko .hero-title {
  font-size: 56px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-x-s-ko .hero-description {
  font-size: 24px;
  color: #ffffff;
  max-width: 900px;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-x-s-ko .hero-cta-buttons .cta-button {
  margin: 0 15px;
}

/* Introduction Section */
.page-x-s-ko .introduction-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-x-s-ko .introduction-section .content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-x-s-ko .introduction-section .text-content {
  flex: 1;
}

.page-x-s-ko .introduction-section .text-content p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #444444;
}

.page-x-s-ko .introduction-section .image-content {
  flex: 1;
  text-align: center;
}

.page-x-s-ko .introduction-section .feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* How-To-Play Section */
.page-x-s-ko .how-to-play-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-x-s-ko .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-x-s-ko .step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s-ko .step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s-ko .step-item .step-icon {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  object-fit: contain;
  margin-bottom: 25px;
}

.page-x-s-ko .step-item h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-x-s-ko .step-item p {
  font-size: 16px;
  color: #666666;
}

/* Keno Types Section */
.page-x-s-ko .keno-types-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-x-s-ko .keno-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-x-s-ko .keno-type-card {
  background-color: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s-ko .keno-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-x-s-ko .keno-type-card .card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-x-s-ko .keno-type-card h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-x-s-ko .keno-type-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-x-s-ko .keno-type-card h3 a:hover {
  color: var(--primary-color);
}

.page-x-s-ko .keno-type-card p {
  font-size: 16px;
  color: #666666;
  padding: 0 20px 20px;
}

/* Benefits Section */
.page-x-s-ko .benefits-section {
  padding: 80px 0;
  background-color: #0A2463; /* Dark blue background */
  color: #ffffff;
}

.page-x-s-ko .benefits-section .section-title {
  color: var(--primary-color);
}

.page-x-s-ko .benefits-section .section-title::after {
  background-color: #ffffff;
}

.page-x-s-ko .benefits-section .section-description {
  color: #e0e0e0;
}

.page-x-s-ko .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-x-s-ko .benefit-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-x-s-ko .benefit-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.page-x-s-ko .benefit-card .card-icon {
  width: 120px; /* Larger icons */
  height: 120px; /* Larger icons */
  object-fit: contain;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Subtle glow */
}

.page-x-s-ko .benefit-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-x-s-ko .benefit-card p {
  font-size: 16px;
  color: #e0e0e0;
}

/* Strategies Section */
.page-x-s-ko .strategies-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-x-s-ko .strategy-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-x-s-ko .strategy-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s-ko .strategy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s-ko .strategy-card .card-image {
  width: 180px; /* Larger images */
  height: 180px; /* Larger images */
  object-fit: contain;
  margin-bottom: 25px;
}

.page-x-s-ko .strategy-card h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-x-s-ko .strategy-card p {
  font-size: 16px;
  color: #666666;
}

/* Register/Login Section */
.page-x-s-ko .register-login-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-x-s-ko .action-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.page-x-s-ko .action-card {
  flex: 1;
  max-width: 450px;
  background-color: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s-ko .action-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-x-s-ko .action-card .card-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 30px;
}

.page-x-s-ko .action-card h3 {
  font-size: 28px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-x-s-ko .action-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-x-s-ko .action-card h3 a:hover {
  color: var(--primary-color);
}

.page-x-s-ko .action-card p {
  font-size: 17px;
  color: #555555;
  margin-bottom: 30px;
}

.page-x-s-ko .final-cta {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 60px;
}

/* FAQ Section */
.page-x-s-ko .faq-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-x-s-ko .faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s-ko .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-x-s-ko .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-x-s-ko .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

.page-x-s-ko .faq-question h3 {
  font-size: 20px;
  color: var(--secondary-color);
  margin: 0;
  font-weight: bold;
  flex-grow: 1;
}

.page-x-s-ko .faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-x-s-ko .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-x-s-ko .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-x-s-ko .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border-color: #e0e0e0;
}

.page-x-s-ko .faq-answer p {
  font-size: 16px;
  color: #555555;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-x-s-ko .hero-title {
    font-size: 48px;
  }
  .page-x-s-ko .hero-description {
    font-size: 20px;
  }
  .page-x-s-ko .introduction-section .content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-x-s-ko .introduction-section .image-content {
    margin-top: 30px;
  }
  .page-x-s-ko .action-cards {
    flex-direction: column;
    align-items: center;
  }
  .page-x-s-ko .action-card {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-x-s-ko .hero-banner {
    height: 500px;
  }
  .page-x-s-ko .hero-title {
    font-size: 36px;
  }
  .page-x-s-ko .hero-description {
    font-size: 16px;
  }
  .page-x-s-ko .cta-button {
    padding: 12px 25px;
    font-size: 16px;
    margin: 8px;
  }
  .page-x-s-ko .section-title {
    font-size: 30px;
    margin-bottom: 30px;
  }
  .page-x-s-ko .section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .page-x-s-ko .steps-grid, .page-x-s-ko .keno-types-grid, .page-x-s-ko .benefits-grid, .page-x-s-ko .strategy-items {
    grid-template-columns: 1fr;
  }
  .page-x-s-ko .step-item h3, .page-x-s-ko .keno-type-card h3, .page-x-s-ko .benefit-card h3, .page-x-s-ko .strategy-card h3 {
    font-size: 22px;
  }
  .page-x-s-ko .faq-question {
    padding: 15px 20px;
  }
  .page-x-s-ko .faq-question h3 {
    font-size: 18px;
  }
  .page-x-s-ko .faq-toggle {
    font-size: 24px;
  }
  .page-x-s-ko .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-x-s-ko .hero-banner {
    height: 400px;
  }
  .page-x-s-ko .hero-title {
    font-size: 28px;
  }
  .page-x-s-ko .hero-description {
    font-size: 14px;
  }
  .page-x-s-ko .hero-cta-buttons {
    flex-direction: column;
  }
  .page-x-s-ko .hero-cta-buttons .cta-button {
    width: 80%;
    margin: 8px auto;
  }
  .page-x-s-ko .section-title {
    font-size: 26px;
  }
  .page-x-s-ko .introduction-section, .page-x-s-ko .how-to-play-section, .page-x-s-ko .keno-types-section, .page-x-s-ko .benefits-section, .page-x-s-ko .strategies-section, .page-x-s-ko .register-login-section, .page-x-s-ko .faq-section {
    padding: 50px 0;
  }
  .page-x-s-ko .step-item .step-icon, .page-x-s-ko .benefit-card .card-icon, .page-x-s-ko .strategy-card .card-image, .page-x-s-ko .action-card .card-image {
    width: 100px;
    height: 100px;
  }
  .page-x-s-ko .action-card {
    padding: 25px;
  }
  .page-x-s-ko .action-card h3 {
    font-size: 24px;
  }
  .page-x-s-ko .final-cta {
    font-size: 18px;
  }
}