/* style/index.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg-color: #111111;
  --bg-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
}

.page-index {
  color: var(--text-main-color); /* All text in main content should be light for dark body background */
  background-color: var(--bg-color);
}

.page-index__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
}

.page-index__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box; /* Crucial for desktop width requirement */
}

.page-index__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__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-index__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.15);
}

.page-index__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Allow click on parent <a> */
}

.page-index__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__video-link:hover .page-index__video-overlay {
  opacity: 1;
}

.page-index__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(242, 193, 78, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

/* Keyword Intro Section */
.page-index__keyword-intro-section {
  padding: 60px 20px;
  background-color: var(--bg-color);
  color: var(--text-main-color);
  box-sizing: border-box;
}

.page-index__keyword-intro-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__keyword-intro-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-index__keyword-intro-visual {
  flex: 1;
  min-width: 0;
}

.page-index__keyword-intro-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-index__keyword-intro-content {
  flex: 1;
  min-width: 0;
}

.page-index__keyword-intro-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
}

.page-index__keyword-intro-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-index__keyword-intro-cta {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-index__keyword-intro-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-index__keyword-intro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.page-index__keyword-intro-stat {
  background-color: var(--card-bg-color);
  padding: 25px 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__keyword-intro-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 8px;
}

.page-index__keyword-intro-stat-label {
  font-size: 15px;
  color: var(--text-main-color);
  display: block;
}

/* Article Categories Section */
.page-index__articles-section {
  padding: 60px 20px;
  background: var(--bg-color);
  color: var(--text-main-color);
  box-sizing: border-box;
}

.page-index__articles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__articles-main-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 40px;
  text-align: left;
}

.page-index__articles-title-small {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-color);
}

.page-index__articles-title-large {
  font-size: 36px;
  font-weight: 900;
  color: var(--secondary-color);
}

.page-index__category-section {
  margin-bottom: 60px;
  padding: 30px;
  background: var(--card-bg-color);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.page-index__category-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 1;
  min-width: 0;
}

.page-index__category-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.page-index__category-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: var(--text-main-color);
}