.page-index { color: #333333; background-color: #FFFFFF; }
.page-index img { max-width: 100%; height: auto; }
.page-index__hero-section { padding-top: 10px; margin-top: 0; width: 100%; overflow: hidden; }
.page-index__hero-container { width: 100%; max-width: 1600px; margin: 0 auto; }
.page-index__hero-link { display: block; }
.page-index__hero-image { width: 100%; height: auto; aspect-ratio: 2/1; object-fit: cover; display: block; }

.page-index__categories-section { max-width: 1200px; margin: 20px auto; padding: 0 12px; }
.page-index__categories-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.page-index__category-card { display: block; overflow: hidden; border-radius: 8px; }
.page-index__category-image { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; display: block; transition: transform 0.3s; }
.page-index__category-card:hover .page-index__category-image { transform: scale(1.04); }

.page-index__intro-section { max-width: 1000px; margin: 0 auto; padding: 24px 16px 0; }
.page-index__intro-inner { background: #f7f9fc; border-radius: 12px; padding: 24px 20px; }
.page-index__guide-title { text-align: center; color: #017439; margin: 0 0 16px; font-size: 1.75rem; font-weight: 700; line-height: 1.3; }
.page-index__lead { font-size: 1rem; line-height: 1.6; margin: 0 0 20px; text-align: left; }
.page-index__offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 20px; }
.page-index__offer-card { background: #FFFFFF; border: 1px solid #e0e7ef; border-radius: 10px; padding: 16px 12px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.page-index__offer-label { font-size: 0.85rem; color: #555555; text-transform: uppercase; letter-spacing: 0.5px; }
.page-index__offer-number { font-size: 1.35rem; font-weight: 700; color: #017439; }
.page-index__offer-desc { font-size: 0.95rem; color: #333333; font-weight: 600; }
.page-index__categories-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 20px; }
.page-index__pill { background: #017439; color: #FFFFFF; padding: 6px 14px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; }
.page-index__cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.page-index__cta-btn { display: inline-block; padding: 14px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; text-align: center; font-size: 0.95rem; transition: opacity 0.2s; box-sizing: border-box; max-width: 100%; word-wrap: break-word; }
.page-index__cta-btn--register { background-color: #C30808; color: #FFFF00; }
.page-index__cta-btn--login { background-color: #C30808; color: #FFFF00; }
.page-index__cta-btn:hover { opacity: 0.9; }

.page-index__guide-section { padding: 24px 0 48px; }
.page-index__guide-inner { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.page-index__guide-inner h2 { color: #017439; font-size: 1.45rem; margin: 32px 0 14px; font-weight: 700; line-height: 1.35; }
.page-index__guide-inner h3 { color: #222222; font-size: 1.15rem; margin: 22px 0 10px; font-weight: 600; line-height: 1.4; }
.page-index__guide-inner p { font-size: 1rem; line-height: 1.7; margin: 0 0 14px; color: #333333; }
.page-index__guide-inner a { color: #017439; text-decoration: underline; }
.page-index__guide-figure { margin: 24px auto; text-align: center; max-width: 800px; }
.page-index__guide-figure img { width: 100%; height: auto; aspect-ratio: 2/1; object-fit: cover; display: block; border-radius: 8px; }
.page-index__guide-figure figcaption { font-size: 0.9rem; color: #666666; margin-top: 8px; }
.page-index__table-wrap { overflow-x: auto; margin: 20px 0; }
.page-index__table { width: 100%; border-collapse: collapse; background: #FFFFFF; }
.page-index__table th, .page-index__table td { border: 1px solid #ddd; padding: 10px 12px; vertical-align: top; text-align: left; font-size: 0.95rem; color: #333333; }
.page-index__table th { background: #017439; color: #FFFFFF; font-weight: 700; }
.page-index__table tbody tr:nth-child(even) { background: #f7f9fc; }
.page-index__closing { margin: 32px 0 0; padding: 16px 20px; border-left: 4px solid #017439; background: #f7f9fc; font-size: 1rem; line-height: 1.7; color: #333333; }

@media (max-width: 1024px) {
  .page-index__categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .page-index__hero-section { padding-top: 10px; }
  .page-index__hero-image { width: 100%; max-width: 100%; height: auto; }
  .page-index__categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .page-index__category-image { width: 100%; max-width: 100%; height: auto; }
  .page-index__intro-inner { padding: 18px 14px; }
  .page-index__guide-title { font-size: 1.35rem; }
  .page-index__offers-grid { grid-template-columns: 1fr; gap: 10px; }
  .page-index__cta-buttons { flex-direction: column; align-items: stretch; }
  .page-index__cta-btn { width: 100%; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; }
  .page-index__guide-inner h2 { font-size: 1.25rem; }
  .page-index__guide-inner h3 { font-size: 1.05rem; }
  .page-index__guide-figure { margin: 18px auto; }
  .page-index__guide-figure img { width: 100%; max-width: 100%; height: auto; }
  .page-index__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .page-index img { max-width: 100% !important; height: auto !important; }
  .page-index { max-width: 100%; overflow-x: hidden; }
}