/* style/index-about-game-ok365.css */

/* Base styles for the page content, considering dark body background */
.page-index-about-game-ok365 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Explicitly set to match body if needed for internal sections, but shared.css sets body */
}

/* General section styling */
.page-index-about-game-ok365__section {
  padding: 80px 20px;
  text-align: center;
}

.page-index-about-game-ok365__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Dark background sections */
.page-index-about-game-ok365__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

/* Light background sections */
.page-index-about-game-ok365__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast with other dark sections */
  color: #ffffff;
}

/* Titles and headings */
.page-index-about-game-ok365 h1,
.page-index-about-game-ok365 h2,
.page-index-about-game-ok365 h3 {
  color: #ffffff; /* All headings white for dark background */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-about-game-ok365 h1 {
  font-size: 3.5em;
  font-weight: bold;
}

.page-index-about-game-ok365 h2 {
  font-size: 2.5em;
  font-weight: 600;
}

.page-index-about-game-ok365 h3 {
  font-size: 1.8em;
  font-weight: 500;
}

/* Links (general) */
.page-index-about-game-ok365 a {
  color: #FFFF00; /* Yellow for links to stand out on dark background */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-about-game-ok365 a:hover {
  color: #FFD700; /* Darker yellow on hover */
  text-decoration: underline;
}

/* Buttons (general) */
.page-index-about-game-ok365__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-index-about-game-ok365__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-index-about-game-ok365__btn-primary {
  background-color: #C30808; /* Red for register/login */
  color: #FFFF00; /* Yellow text for register/login */
}

.page-index-about-game-ok365__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-about-game-ok365__btn-secondary {
  background-color: #017439; /* Brand primary green */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-index-about-game-ok365__btn-secondary:hover {
  background-color: #005f2f;
  border-color: #005f2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-index-about-game-ok365__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #0d0d0d; /* Slightly different dark background */
}

.page-index-about-game-ok365__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-about-game-ok365__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-game-ok365__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-index-about-game-ok365__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-index-about-game-ok365__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click */
}

.page-index-about-game-ok365__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-index-about-game-ok365__video-link:hover .page-index-about-game-ok365__video-overlay {
  opacity: 1;
}

.page-index-about-game-ok365__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(0, 123, 255, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-index-about-game-ok365__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-index-about-game-ok365__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Red for Play Now */
  color: #FFFF00; /* Yellow text for Play Now */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-index-about-game-ok365__play-now-button:hover {
  background: #a00606;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Title Section */
.page-index-about-game-ok365__title-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #017439; /* Brand primary color */
}

.page-index-about-game-ok365__title-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 20px auto 0;
  color: #f0f0f0;
}