/* style/resources-kk-win-introduction.css */

:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --border-light: #e0e0e0;
}

.page-resources-kk-win-introduction {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  padding-bottom: 60px; /* General padding for bottom content */
}

.page-resources-kk-win-introduction__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-kk-win-introduction__section {
  padding: 60px 0;
}

.page-resources-kk-win-introduction__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-resources-kk-win-introduction__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-kk-win-introduction__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555555;
}

/* Main Introduction Section */
.page-resources-kk-win-introduction__main-introduction-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color), #1A345B);
  color: var(--text-light);
  overflow: hidden;
}

.page-resources-kk-win-introduction__main-introduction-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-resources-kk-win-introduction__main-introduction-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-resources-kk-win-introduction__main-introduction-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-kk-win-introduction__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources-kk-win-introduction__main-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-resources-kk-win-introduction__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-kk-win-introduction__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-resources-kk-win-introduction__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-kk-win-introduction__btn-primary:hover {
  background: #E6C200;
  border-color: #E6C200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-kk-win-introduction__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-kk-win-introduction__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Features Grid (Module 1) */
.page-resources-kk-win-introduction__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-kk-win-introduction__feature-item {
  background: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-kk-win-introduction__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-kk-win-introduction__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1)); /* Allowed filter for shadow, not color change */
}

.page-resources-kk-win-introduction__feature-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-kk-win-introduction__feature-text {
  font-size: 16px;
  color: #666666;
}

/* Quick Access Links (Module 2) */
.page-resources-kk-win-introduction__quick-access {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-kk-win-introduction__quick-access .page-resources-kk-win-introduction__section-title {
  color: var(--secondary-color);
}

.page-resources-kk-win-introduction__quick-access .page-resources-kk-win-introduction__section-description {
  color: rgba(255, 255, 255, 0.8);
}

.page-resources-kk-win-introduction__access-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-kk-win-introduction__access-link-card {
  display: block;
  background: #1A345B;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources-kk-win-introduction__access-link-card:hover {
  transform: translateY(-10px);
  background: #2B4E87;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-kk-win-introduction__access-link-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-kk-win-introduction__access-link-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* Game Showcase (Module 3) */
.page-resources-kk-win-introduction__game-tabs {
  margin-top: 50px;
}

.page-resources-kk-win-introduction__tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.page-resources-kk-win-introduction__tab-button {
  background: #e0e0e0;
  color: var(--primary-color);
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-resources-kk-win-introduction__tab-button:hover {
  background: #d0d0d0;
}

.page-resources-kk-win-introduction__tab-button.active {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-kk-win-introduction__tab-content {
  background: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-resources-kk-win-introduction__tab-pane {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.page-resources-kk-win-introduction__tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-resources-kk-win-introduction__game-card {
  text-align: center;
}

.page-resources-kk-win-introduction__game-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 0 auto 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-kk-win-introduction__game-title {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-kk-win-introduction__game-description {
  font-size: 17px;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 25px;
}

.page-resources-kk-win-introduction__btn-text-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-resources-kk-win-introduction__btn-text-link:hover {
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

/* Promotions (Module 4) */
.page-resources-kk-win-introduction__promotions {
  background-color: var(--bg-light);
}