/* ==============================
   ゲットだぜ！ - Page-Specific Styles
   ============================== */

/* ==============================
   PAGE HERO (Subpages)
   ============================== */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 30, 58, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(212, 168, 83, 0.06) 0%, transparent 50%),
    var(--c-bg);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.page-hero__bg-kanji {
  position: absolute;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(12rem, 25vw, 30rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 30, 58, 0.08);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  opacity: 0.5;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: var(--s-xl) var(--s-md);
}

.page-hero__subtitle {
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.95rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--s-md);
  font-weight: 500;
}

.page-hero__title {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--s-md);
  line-height: 1.1;
}

.page-hero__desc {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  color: var(--c-text-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==============================
   BREADCRUMB
   ============================== */
.breadcrumb {
  padding: var(--s-md) 0;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  font-size: 0.8rem;
  color: var(--c-text-2);
  flex-wrap: wrap;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
}

.breadcrumb__item:not(:last-child)::after {
  content: '/';
  color: var(--c-border);
  margin-left: var(--s-xs);
}

.breadcrumb__link {
  color: var(--c-text-2);
  transition: color var(--t-fast);
}

.breadcrumb__link:hover {
  color: var(--c-gold);
}

.breadcrumb__current {
  color: var(--c-text);
}

/* ==============================
   GUIDE PAGE - Condition Cards
   ============================== */
.condition-cards {
  display: grid;
  gap: var(--s-lg);
}

.condition-card {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  display: flex;
  gap: var(--s-lg);
  align-items: center;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.condition-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}

.condition-card--mint::before { background: #27ae60; }
.condition-card--near-mint::before { background: #6dd400; }
.condition-card--excellent::before { background: #f1c40f; }
.condition-card--good::before { background: #e67e22; }
.condition-card--poor::before { background: #e74c3c; }

.condition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, 0.1);
}

.condition-card__indicator {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text);
}

.condition-card--mint .condition-card__indicator { background: rgba(39, 174, 96, 0.2); border: 2px solid #27ae60; }
.condition-card--near-mint .condition-card__indicator { background: rgba(109, 212, 0, 0.15); border: 2px solid #6dd400; }
.condition-card--excellent .condition-card__indicator { background: rgba(241, 196, 15, 0.15); border: 2px solid #f1c40f; }
.condition-card--good .condition-card__indicator { background: rgba(230, 126, 34, 0.15); border: 2px solid #e67e22; }
.condition-card--poor .condition-card__indicator { background: rgba(231, 76, 60, 0.15); border: 2px solid #e74c3c; }

.condition-card__content h3 {
  font-size: 1.2rem;
  margin-bottom: var(--s-xs);
}

.condition-card__content h3 span {
  color: var(--c-text-2);
  font-size: 0.9rem;
  font-weight: 400;
  margin-left: var(--s-sm);
}

.condition-card__content p {
  font-size: 0.9rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .condition-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .condition-cards {
    gap: var(--s-md);
  }
}

/* ==============================
   GUIDE PAGE - Exclusives Grid
   ============================== */
.exclusives-grid {
  display: grid;
  gap: var(--s-lg);
}

.exclusive-card {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl) var(--s-lg);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.exclusive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-gold);
}

.exclusive-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--s-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(212, 168, 83, 0.1);
  color: var(--c-gold);
  font-size: 1.5rem;
}

.exclusive-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--s-sm);
}

.exclusive-card p {
  font-size: 0.9rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .exclusives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==============================
   GUIDE PAGE - Checklist
   ============================== */
.checklist {
  display: grid;
  gap: var(--s-md);
  max-width: 800px;
}

.checklist__item {
  display: flex;
  gap: var(--s-md);
  align-items: flex-start;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--s-md) var(--s-lg);
  transition: border-color var(--t-fast);
}

.checklist__item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.checklist__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e67e22;
  font-size: 1.25rem;
  margin-top: 2px;
}

.checklist__icon svg {
  width: 24px;
  height: 24px;
}

.checklist__text h4 {
  font-size: 1rem;
  margin-bottom: var(--s-xs);
}

.checklist__text p {
  font-size: 0.875rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

/* ==============================
   GUIDE PAGE - Investment Stats
   ============================== */
.investment-stats {
  display: grid;
  gap: var(--s-lg);
}

.investment-stat {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl) var(--s-lg);
  text-align: center;
}

.investment-stat__value {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: var(--s-sm);
}

.investment-stat__label {
  font-size: 0.9rem;
  color: var(--c-text-2);
  margin-bottom: var(--s-md);
}

.investment-stat__bar {
  height: 6px;
  background: var(--c-border);
  border-radius: 3px;
  overflow: hidden;
  margin-top: var(--s-sm);
}

.investment-stat__bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--g-gold);
  transition: width 1.5s cubic-bezier(0.23, 1, 0.32, 1);
  width: 0;
}

.animate--visible .investment-stat__bar-fill {
  width: var(--fill-width, 0%);
}

.investment-chart {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl) var(--s-lg);
}

.investment-chart__title {
  font-family: var(--f-heading);
  font-size: 1.25rem;
  margin-bottom: var(--s-lg);
  text-align: center;
}

.investment-chart__bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 200px;
  gap: var(--s-sm);
  padding: 0 var(--s-md);
  border-bottom: 1px solid var(--c-border);
}

.investment-chart__bar {
  flex: 1;
  max-width: 60px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  transition: height 1.2s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  cursor: default;
}

.investment-chart__bar:nth-child(odd) {
  background: var(--g-red);
}

.investment-chart__bar:nth-child(even) {
  background: var(--g-gold);
}

.investment-chart__bar:hover {
  opacity: 0.8;
}

.investment-chart__labels {
  display: flex;
  justify-content: space-around;
  padding: var(--s-sm) var(--s-md) 0;
}

.investment-chart__label {
  font-size: 0.7rem;
  color: var(--c-text-2);
  text-align: center;
  flex: 1;
  max-width: 60px;
}

@media (min-width: 768px) {
  .investment-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==============================
   BLOG PAGE - Article Cards
   ============================== */
.featured-article {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
  display: grid;
}

.featured-article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-gold);
}

.featured-article__image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.3), rgba(212, 168, 83, 0.2), rgba(196, 30, 58, 0.15));
  position: relative;
  overflow: hidden;
}

.featured-article__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.6), transparent);
}

.featured-article__content {
  padding: var(--s-xl) var(--s-lg);
}

.featured-article__badge {
  display: inline-block;
  background: var(--g-red);
  color: var(--c-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-sm);
  margin-bottom: var(--s-md);
}

.featured-article__meta {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  font-size: 0.8rem;
  color: var(--c-text-2);
  margin-bottom: var(--s-sm);
}

.featured-article__title {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  margin-bottom: var(--s-md);
  line-height: 1.3;
}

.featured-article__excerpt {
  font-size: 0.95rem;
  color: var(--c-text-2);
  line-height: 1.8;
  margin-bottom: var(--s-lg);
}

.featured-article__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  color: var(--c-gold);
  font-size: 0.9rem;
  font-weight: 500;
  transition: gap var(--t-fast), color var(--t-fast);
}

.featured-article__link:hover {
  gap: var(--s-md);
  color: var(--c-gold-light);
}

.featured-article__link svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 768px) {
  .featured-article {
    grid-template-columns: 1fr 1fr;
  }

  .featured-article__image {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

/* Article Grid */
.article-grid {
  display: grid;
  gap: var(--s-lg);
}

.article-card {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, 0.1);
}

.article-card__image {
  aspect-ratio: 16 / 10;
  position: relative;
}

.article-card__image--gradient-1 {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.4), rgba(10, 10, 10, 0.8));
}

.article-card__image--gradient-2 {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.3), rgba(10, 10, 10, 0.8));
}

.article-card__image--gradient-3 {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(10, 10, 10, 0.8));
}

.article-card__content {
  padding: var(--s-lg);
}

.article-card__badge {
  display: inline-block;
  background: rgba(196, 30, 58, 0.15);
  color: var(--c-red-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-sm);
  margin-bottom: var(--s-sm);
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  font-size: 0.75rem;
  color: var(--c-text-2);
  margin-bottom: var(--s-sm);
}

.article-card__meta-divider {
  color: var(--c-border);
}

.article-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--s-sm);
  line-height: 1.3;
}

.article-card__excerpt {
  font-size: 0.875rem;
  color: var(--c-text-2);
  line-height: 1.7;
  margin-bottom: var(--s-md);
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  color: var(--c-gold);
  font-size: 0.85rem;
  font-weight: 500;
  transition: gap var(--t-fast);
}

.article-card__link:hover {
  gap: var(--s-md);
}

.article-card__link svg {
  width: 14px;
  height: 14px;
}

@media (min-width: 768px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==============================
   ARTICLE PAGE - Reading Progress
   ============================== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--g-red);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* Article Page Layout */
.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--s-xl) var(--s-md);
}

.article-page__header {
  margin-bottom: var(--s-xl);
  text-align: center;
}

.article-page__badge {
  display: inline-block;
  background: var(--g-red);
  color: var(--c-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-sm);
  margin-bottom: var(--s-md);
}

.article-page__title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  margin-bottom: var(--s-md);
  line-height: 1.2;
}

.article-page__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-md);
  font-size: 0.85rem;
  color: var(--c-text-2);
  flex-wrap: wrap;
}

.article-page__hero-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.3), rgba(212, 168, 83, 0.2), rgba(10, 10, 10, 0.5));
  border-radius: var(--r-lg);
  margin-bottom: var(--s-xl);
  border: 1px solid var(--c-border);
}

/* Article Body Typography */
.article-body {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  line-height: 1.9;
  color: var(--c-text-2);
}

.article-body h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  color: var(--c-text);
  margin-top: var(--s-xl);
  margin-bottom: var(--s-md);
  padding-bottom: var(--s-sm);
  border-bottom: 1px solid var(--c-border);
}

.article-body h3 {
  font-size: 1.25rem;
  color: var(--c-text);
  margin-top: var(--s-lg);
  margin-bottom: var(--s-sm);
}

.article-body p {
  margin-bottom: var(--s-md);
}

.article-body ul,
.article-body ol {
  margin-bottom: var(--s-md);
  padding-left: var(--s-lg);
}

.article-body li {
  margin-bottom: var(--s-sm);
  list-style: disc;
  color: var(--c-text-2);
}

.article-body ol li {
  list-style: decimal;
}

.article-body strong {
  color: var(--c-text);
  font-weight: 600;
}

/* Drop Cap */
.article-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--f-heading);
  font-size: 4rem;
  line-height: 0.8;
  padding-right: var(--s-sm);
  padding-top: 0.1em;
  color: var(--c-red);
  font-weight: 700;
}

/* Pull Quote */
.pull-quote {
  border-left: 3px solid var(--c-gold);
  padding: var(--s-lg) var(--s-xl);
  margin: var(--s-xl) 0;
  font-family: var(--f-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--c-text);
  line-height: 1.6;
  background: rgba(212, 168, 83, 0.05);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

/* Author Card */
.author-card {
  display: flex;
  gap: var(--s-lg);
  align-items: center;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  margin-top: var(--s-2xl);
}

.author-card__avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-red), var(--c-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-text);
}

.author-card__info h4 {
  font-size: 1.1rem;
  margin-bottom: var(--s-xs);
}

.author-card__info .author-card__role {
  font-size: 0.8rem;
  color: var(--c-gold);
  margin-bottom: var(--s-sm);
}

.author-card__info p {
  font-size: 0.875rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .author-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Related Articles */
.related-articles {
  margin-top: var(--s-2xl);
  padding-top: var(--s-xl);
  border-top: 1px solid var(--c-border);
}

.related-articles__title {
  font-size: 1.5rem;
  margin-bottom: var(--s-lg);
  text-align: center;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  color: var(--c-text-2);
  font-size: 0.9rem;
  margin-bottom: var(--s-lg);
  transition: color var(--t-fast);
}

.back-link:hover {
  color: var(--c-gold);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* ==============================
   ABOUT PAGE - Story Section
   ============================== */
.story-grid {
  display: grid;
  gap: var(--s-xl);
}

.story-grid__text {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

.story-grid__text p {
  font-size: 0.95rem;
  color: var(--c-text-2);
  line-height: 1.9;
}

.story-grid__timeline {
  position: relative;
  padding-left: var(--s-xl);
}

.story-grid__timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-red), var(--c-gold));
  opacity: 0.5;
}

.story-timeline-item {
  position: relative;
  margin-bottom: var(--s-lg);
  padding-left: var(--s-md);
}

.story-timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--s-xl) + 2px);
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-red);
}

.story-timeline-item__year {
  font-family: var(--f-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: var(--s-xs);
}

.story-timeline-item__text {
  font-size: 0.9rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ==============================
   ABOUT PAGE - Team Cards
   ============================== */
.team-grid {
  display: grid;
  gap: var(--s-lg);
}

.team-card {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl) var(--s-lg);
  text-align: center;
  transition: all var(--t-base);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, 0.1);
}

.team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto var(--s-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-text);
  position: relative;
  overflow: hidden;
}

.team-card__avatar--1 {
  background: linear-gradient(135deg, #c41e3a, #8b1528);
}

.team-card__avatar--2 {
  background: linear-gradient(135deg, #d4a853, #b8902d);
}

.team-card__avatar--3 {
  background: linear-gradient(135deg, #2c3e50, #3498db);
}

.team-card__avatar--4 {
  background: linear-gradient(135deg, #8e44ad, #c0392b);
}

.team-card__name {
  font-size: 1.2rem;
  margin-bottom: var(--s-xs);
}

.team-card__role {
  font-size: 0.8rem;
  color: var(--c-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-md);
}

.team-card__bio {
  font-size: 0.875rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

@media (min-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==============================
   ABOUT PAGE - Values
   ============================== */
.values-grid {
  display: grid;
  gap: var(--s-lg);
}

.value-card {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl) var(--s-lg);
  text-align: center;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g-gold);
  opacity: 0;
  transition: opacity var(--t-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-card:hover::before {
  opacity: 1;
}

.value-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.1);
  color: var(--c-gold);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--s-sm);
}

.value-card p {
  font-size: 0.875rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

@media (min-width: 600px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==============================
   ABOUT PAGE - Office / Map
   ============================== */
.office-grid {
  display: grid;
  gap: var(--s-xl);
}

.office-info h3 {
  font-size: 1.35rem;
  margin-bottom: var(--s-md);
}

.office-info p {
  font-size: 0.95rem;
  color: var(--c-text-2);
  line-height: 1.8;
  margin-bottom: var(--s-md);
}

.office-details {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  margin-top: var(--s-lg);
}

.office-detail {
  display: flex;
  gap: var(--s-md);
  align-items: flex-start;
}

.office-detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--c-gold);
  margin-top: 2px;
}

.office-detail p {
  font-size: 0.9rem;
  color: var(--c-text-2);
  margin-bottom: 0;
}

.office-map-placeholder {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(42, 42, 42, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-md);
  position: relative;
  overflow: hidden;
}

.office-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.office-map-placeholder::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.office-map-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--c-red);
  position: relative;
  z-index: 1;
}

.office-map-placeholder span {
  font-size: 0.85rem;
  color: var(--c-text-2);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .office-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* ==============================
   ABOUT PAGE - Milestones Timeline
   ============================== */
.milestones-wrapper {
  position: relative;
  overflow: hidden;
}

.milestones {
  display: flex;
  gap: var(--s-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--s-lg) var(--s-md) var(--s-xl);
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}

.milestones:active {
  cursor: grabbing;
}

.milestones::-webkit-scrollbar {
  height: 6px;
}

.milestones::-webkit-scrollbar-track {
  background: transparent;
}

.milestones::-webkit-scrollbar-thumb {
  background: var(--c-border);
  border-radius: 3px;
}

.milestone {
  flex-shrink: 0;
  width: 260px;
  scroll-snap-align: start;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  position: relative;
  transition: all var(--t-base);
}

.milestone:hover {
  border-color: var(--c-gold);
  transform: translateY(-4px);
}

.milestone__year {
  font-family: var(--f-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: var(--s-sm);
  line-height: 1;
}

.milestone__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--s-sm);
}

.milestone__desc {
  font-size: 0.85rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

.milestones-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--c-text-2);
  margin-top: var(--s-sm);
}

/* ==============================
   SHARED - CTA Section
   ============================== */
.cta-section {
  text-align: center;
  padding: var(--s-2xl) 0;
}

.cta-section__title {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.5rem);
  margin-bottom: var(--s-md);
}

.cta-section__desc {
  font-size: 1rem;
  color: var(--c-text-2);
  max-width: 500px;
  margin: 0 auto var(--s-xl);
  line-height: 1.8;
}

/* ==============================
   NAVIGATION UPDATES FOR SUBPAGES
   ============================== */
.nav__link--page {
  color: var(--c-text-2);
}

.nav__link--page.nav__link--active {
  color: var(--c-text);
}

/* ==============================
   WHATSAPP VARIABLES
   ============================== */
:root {
  --c-whatsapp: #25D366;
  --c-whatsapp-dark: #128C7E;
  --c-mercari: #FF0211;
  --c-hareruya: #1a5276;
  --c-cardrush: #e67e22;
  --c-manasource: #27ae60;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==============================
   WHATSAPP BUTTON VARIANTS
   ============================== */
.btn--whatsapp {
  background: var(--c-whatsapp);
  color: #fff;
  border: 1px solid transparent;
}

.btn--whatsapp:hover {
  background: var(--c-whatsapp-dark);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transform: translateY(-1px);
  color: #fff;
}

/* ==============================
   WHATSAPP FLOATING BUTTON
   ============================== */
.whatsapp-float {
  position: fixed;
  bottom: var(--s-lg);
  right: var(--s-lg);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  background: var(--c-whatsapp);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--t-base);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.whatsapp-float--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.whatsapp-float:hover {
  background: var(--c-whatsapp-dark);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.whatsapp-float span {
  display: none;
}

/* Pulse animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid var(--c-whatsapp);
  opacity: 0;
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.3); }
}

@media (min-width: 768px) {
  .whatsapp-float span {
    display: inline;
  }
}

/* ==============================
   HOW IT WORKS BANNER
   ============================== */
.hiw-banner {
  padding: var(--s-xl) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.hiw-banner__eyebrow {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-2);
  margin-bottom: var(--s-lg);
}

.hiw-banner__steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

/* Connecting line running through the step numbers */
.hiw-banner__steps::before {
  content: '';
  position: absolute;
  top: 17px; /* half of 34px badge height */
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--c-border);
  z-index: 0;
}

.hiw-banner__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-sm);
  flex: 1;
  text-align: center;
  position: relative;
}

.hiw-banner__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 1.5px solid var(--c-gold);
  color: var(--c-gold);
  font-family: var(--f-heading);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.hiw-banner__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.08);
  color: var(--c-red);
}

.hiw-banner__icon svg {
  width: 18px;
  height: 18px;
}

.hiw-banner__icon--whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: var(--c-whatsapp);
}

.hiw-banner__icon--whatsapp svg {
  width: 17px;
  height: 17px;
}

.hiw-banner__step-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
}

/* ==============================
   MARKETPLACE FILTER BAR
   ============================== */
.mp-filter {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-md) 0;
}

.mp-filter__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.mp-filter__row {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

.mp-filter__chips {
  display: flex;
  gap: var(--s-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.mp-filter__chips::-webkit-scrollbar {
  display: none;
}

.mp-filter__chips--source {
  border-top: 1px solid var(--c-border);
  padding-top: var(--s-sm);
}

.mp-filter__chip {
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--c-text-2);
  border: 1px solid var(--c-border);
  background: transparent;
  cursor: pointer;
  transition: all var(--t-fast);
}

.mp-filter__chip:hover {
  border-color: var(--c-text-2);
  color: var(--c-text);
}

.mp-filter__chip--active {
  background: var(--g-red);
  border-color: transparent;
  color: var(--c-text);
}

.mp-filter__controls {
  display: flex;
  gap: var(--s-sm);
}

.mp-filter__search {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  flex: 1;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 0 var(--s-md);
}

.mp-filter__search svg {
  width: 18px;
  height: 18px;
  color: var(--c-text-2);
  flex-shrink: 0;
}

.mp-filter__search input {
  width: 100%;
  padding: 0.55rem 0;
  font-size: 0.875rem;
  background: transparent;
  border: none;
  color: var(--c-text);
  outline: none;
}

.mp-filter__search input::placeholder {
  color: rgba(160, 160, 160, 0.5);
}

.mp-filter__sort {
  appearance: none;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 0.55rem 2.5rem 0.55rem var(--s-md);
  font-size: 0.875rem;
  color: var(--c-text);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .mp-filter__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .mp-filter__controls {
    flex-shrink: 0;
  }

  .mp-filter__search {
    min-width: 200px;
    flex: 0;
  }
}

/* ==============================
   MARKETPLACE CARD GRID
   ============================== */
.mp-grid-section {
  padding-top: var(--s-xl);
}

.mp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-lg);
}

.mp-card {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mp-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 168, 83, 0.08);
  border-color: rgba(212, 168, 83, 0.3);
}

.mp-card__image {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-card__image--link {
  display: flex;
  cursor: pointer;
  text-decoration: none;
}

.mp-card__image--link:hover img {
  transform: scale(1.05);
}

.mp-card__view-link {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.72rem;
  text-align: center;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mp-card__image--link:hover .mp-card__view-link {
  opacity: 1;
  transform: translateY(0);
}

.mp-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.mp-card:hover .mp-card__image img {
  transform: scale(1.05);
}

/* Shine effect */
.mp-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.05) 45%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.05) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 2;
}

.mp-card:hover .mp-card__shine {
  transform: translateX(100%);
}

/* Source badges */
.mp-card__source {
  position: absolute;
  top: var(--s-sm);
  left: var(--s-sm);
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-sm);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  z-index: 3;
}

.mp-card__source--mercari {
  background: var(--c-mercari);
}

.mp-card__source--hareruya {
  background: var(--c-hareruya);
}

.mp-card__source--cardrush {
  background: var(--c-cardrush);
}

.mp-card__source--manasource {
  background: var(--c-manasource);
}

.mp-card__source--private {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  color: var(--c-bg);
}

/* Card body */
.mp-card__body {
  padding: var(--s-md);
}

.mp-card__name {
  font-family: var(--f-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.mp-card__set {
  font-size: 0.8rem;
  color: var(--c-text-2);
  margin-bottom: var(--s-xs);
}

.mp-card__grade {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--s-sm);
}

.mp-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--s-sm);
  margin-bottom: var(--s-md);
  flex-wrap: wrap;
}

.mp-card__price-usd {
  font-family: var(--f-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text);
}

.mp-card__price-jpy {
  font-size: 0.8rem;
  color: var(--c-text-2);
}

.mp-card__cta {
  font-size: 0.85rem;
  padding: 0.65rem var(--s-md);
  gap: var(--s-sm);
}

.mp-card__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Grid responsiveness */
@media (min-width: 500px) {
  .mp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .mp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .mp-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* No Results */
.mp-no-results {
  text-align: center;
  padding: var(--s-2xl) var(--s-md);
  color: var(--c-text-2);
  font-size: 1.1rem;
}

/* Disclaimer */
.mp-disclaimer {
  margin-top: var(--s-xl);
  padding: var(--s-md) var(--s-lg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: rgba(17, 17, 17, 0.5);
}

.mp-disclaimer p {
  font-size: 0.8rem;
  color: var(--c-text-2);
  line-height: 1.7;
  text-align: center;
}

/* Hidden card (for filter) */
.mp-card--hidden {
  display: none !important;
}

/* ==============================
   PICKUP LOCATIONS
   ============================== */
.pickup__grid {
  display: grid;
  gap: var(--s-lg);
}

.pickup__card {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl) var(--s-lg);
  text-align: center;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.pickup__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g-red);
  opacity: 0;
  transition: opacity var(--t-base);
}

.pickup__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pickup__card:hover::before {
  opacity: 1;
}

.pickup__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.1);
  color: var(--c-red);
}

.pickup__icon svg {
  width: 28px;
  height: 28px;
}

.pickup__card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--s-xs);
}

.pickup__detail {
  font-size: 0.8rem;
  color: var(--c-gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--s-md);
}

.pickup__card > p:last-child {
  font-size: 0.9rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .pickup__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==============================
   REVIEW STATS BAR
   ============================== */
.review-stats {
  padding: var(--s-xl) 0;
}

.review-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
  text-align: center;
}

.review-stats__value {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
  display: block;
  margin-bottom: var(--s-sm);
}

.review-stats__stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: var(--s-sm);
}

.review-stats__stars svg {
  width: 20px;
  height: 20px;
  color: var(--c-gold);
}

.review-stats__item p {
  font-size: 0.85rem;
  color: var(--c-text-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==============================
   REVIEW FILTER
   ============================== */
.review-filter {
  padding: var(--s-md) 0;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
}

.review-filter__chips {
  display: flex;
  gap: var(--s-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.review-filter__chips::-webkit-scrollbar {
  display: none;
}

.review-filter__chip {
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--c-text-2);
  border: 1px solid var(--c-border);
  background: transparent;
  cursor: pointer;
  transition: all var(--t-fast);
}

.review-filter__chip:hover {
  border-color: var(--c-text-2);
  color: var(--c-text);
}

.review-filter__chip--active {
  background: var(--g-red);
  border-color: transparent;
  color: var(--c-text);
}

/* ==============================
   REVIEW CARDS
   ============================== */
.reviews-grid {
  display: grid;
  gap: var(--s-lg);
}

.review-card {
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.3), transparent);
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.review-card--hidden {
  display: none !important;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  margin-bottom: var(--s-md);
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-card__author {
  flex: 1;
}

.review-card__author h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.review-card__flag {
  font-family: initial;
  font-size: 0.9rem;
}

.review-card__author p {
  font-size: 0.8rem;
  color: var(--c-text-2);
}

.review-card__verified {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-whatsapp);
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--r-sm);
  white-space: nowrap;
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--s-md);
}

.review-card__stars svg {
  width: 18px;
  height: 18px;
  color: var(--c-gold);
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--c-text-2);
  line-height: 1.8;
  margin-bottom: var(--s-md);
}

.review-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-sm);
  border-top: 1px solid var(--c-border);
}

.review-card__date {
  font-size: 0.75rem;
  color: var(--c-text-2);
}

.review-card__purchase {
  font-size: 0.75rem;
  color: var(--c-gold);
  font-weight: 500;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==============================
   LATEST LISTINGS (Index Page)
   ============================== */
.latest-listings__grid {
  display: grid;
  gap: var(--s-lg);
}

.latest-listings__more {
  text-align: center;
  margin-top: var(--s-xl);
}

@media (min-width: 600px) {
  .latest-listings__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .latest-listings__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==============================
   BLOG - Articles Grid
   ============================== */
.articles-grid {
  display: grid;
  gap: var(--s-lg);
}

.articles-grid .article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.article-card__body {
  padding: var(--s-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__category {
  display: inline-block;
  background: rgba(196, 30, 58, 0.15);
  color: var(--c-red-light, #e8475f);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-sm);
  margin-bottom: var(--s-sm);
  align-self: flex-start;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  font-size: 0.75rem;
  color: var(--c-text-2);
  margin-top: auto;
  padding-top: var(--s-sm);
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==============================
   ARTICLE PAGE - Body Typography
   ============================== */
.article-page__body {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  line-height: 1.9;
  color: var(--c-text-2);
}

.article-page__body h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  color: var(--c-text);
  margin-top: var(--s-xl);
  margin-bottom: var(--s-md);
  padding-bottom: var(--s-sm);
  border-bottom: 1px solid var(--c-border);
}

.article-page__body h3 {
  font-size: 1.25rem;
  color: var(--c-text);
  margin-top: var(--s-lg);
  margin-bottom: var(--s-sm);
}

.article-page__body p {
  margin-bottom: var(--s-md);
}

.article-page__body ul,
.article-page__body ol {
  margin-bottom: var(--s-md);
  padding-left: var(--s-lg);
}

.article-page__body li {
  margin-bottom: var(--s-sm);
  list-style: disc;
  color: var(--c-text-2);
}

.article-page__body ol li {
  list-style: decimal;
}

.article-page__body strong {
  color: var(--c-text);
  font-weight: 600;
}

.article-page__lead {
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);
  line-height: 1.9;
  color: var(--c-text);
  margin-bottom: var(--s-xl);
  font-weight: 400;
}

/* ==============================
   LEGAL PAGES
   ============================== */
.legal-content {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.9;
  color: var(--c-text-2);
}

.legal-content h2 {
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem);
  color: var(--c-text);
  margin-top: var(--s-xl);
  margin-bottom: var(--s-md);
  padding-bottom: var(--s-sm);
  border-bottom: 1px solid var(--c-border);
}

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--c-text);
  margin-top: var(--s-lg);
  margin-bottom: var(--s-sm);
}

.legal-content p {
  margin-bottom: var(--s-md);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--s-md);
  padding-left: var(--s-lg);
}

.legal-content li {
  margin-bottom: var(--s-sm);
  list-style: disc;
  color: var(--c-text-2);
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content strong {
  color: var(--c-text);
  font-weight: 600;
}

.legal-content em {
  font-style: italic;
}

.legal-content a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}

.legal-content a:hover {
  color: var(--c-gold-light, #e8c860);
}

/* Legal Table (Commercial Transaction) */
.legal-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-bg-3);
  margin-top: var(--s-lg);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.legal-table th,
.legal-table td {
  padding: var(--s-md) var(--s-lg);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--c-border);
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(196, 30, 58, 0.08);
  color: var(--c-gold);
  font-weight: 600;
  white-space: nowrap;
  width: 200px;
}

.legal-table td {
  color: var(--c-text-2);
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ==============================
   FAQ PAGE - "View All" Link
   ============================== */
.faq__more {
  text-align: center;
  margin-top: var(--s-xl);
}

/* ==============================
   404 ERROR PAGE
   ============================== */
.error-page {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.error-page__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: var(--s-3xl) 0;
}

.error-page__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  margin-bottom: var(--s-lg);
}

.error-page__code-num {
  font-family: var(--f-heading, 'Cormorant Garamond', serif);
  font-size: clamp(5rem, 4rem + 5vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(196, 30, 58, 0.4);
}

.error-page__code-kanji {
  font-size: clamp(3rem, 2.5rem + 3vw, 6rem);
  line-height: 1;
  background: var(--g-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-page__title {
  font-family: var(--f-heading, 'Cormorant Garamond', serif);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: var(--s-sm);
  color: var(--c-text);
}

.error-page__desc {
  font-size: 1rem;
  color: var(--c-text-2);
  max-width: 480px;
  margin: 0 auto var(--s-2xl);
  line-height: 1.7;
}

.error-page__links {
  display: grid;
  gap: var(--s-lg);
  max-width: 600px;
  margin: 0 auto;
}

.error-page__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-lg) var(--s-md);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all var(--t-base);
}

.error-page__link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-gold);
}

.error-page__link svg {
  width: 28px;
  height: 28px;
  color: var(--c-gold);
  margin-bottom: var(--s-sm);
}

.error-page__link h3 {
  font-size: 1.15rem;
  margin-bottom: var(--s-xs);
  color: var(--c-text);
}

.error-page__link p {
  font-size: 0.9rem;
  color: var(--c-text-2);
}

@media (min-width: 768px) {
  .error-page__links {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
  }
}

/* ── Marketplace meta bar ───────────────────────────── */

.mp-meta {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  padding-bottom: var(--s-md);
  font-size: 0.85rem;
  color: var(--c-text-2);
}

.mp-meta__count {
  font-weight: 600;
  color: var(--c-text);
}

.mp-meta__updated::before,
.mp-meta__fx::before {
  content: "·";
  margin-right: var(--s-md);
  opacity: 0.4;
}

.mp-meta__fx {
  font-size: 0.8rem;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .mp-meta {
    flex-wrap: wrap;
    row-gap: var(--s-xs);
  }

  .mp-meta__fx {
    flex-basis: 100%;
  }

  .mp-meta__fx::before {
    content: none;
    margin-right: 0;
  }
}

/* ── Marketplace pagination ─────────────────────────── */

.mp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-md);
  padding: var(--s-xl) 0 var(--s-lg);
}

.mp-pagination__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--c-border, rgba(255,255,255,0.12));
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text);
  background: transparent;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.mp-pagination__btn:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.mp-pagination__btn--disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.mp-pagination__info {
  font-size: 0.875rem;
  color: var(--c-text-2);
  min-width: 5em;
  text-align: center;
}

/* ── How It Works flow page ───────────────────────────── */

.flow-timeline {
  max-width: 720px;
  margin: 0 auto;
}

.flow-actor {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.9em;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  color: var(--c-text-2);
  margin-bottom: var(--s-sm);
}

.flow-actor--you {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.flow-actor--us {
  border-color: var(--c-red-light);
  color: var(--c-red-light);
}

.flow-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-sm) var(--s-md);
  margin-top: var(--s-md);
  padding: var(--s-md) var(--s-lg);
  border: 1px solid var(--c-gold);
  border-radius: 8px;
  background: rgba(212, 168, 83, 0.06);
}

.flow-pay__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  white-space: nowrap;
}

.flow-pay__amount {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-text);
}

.flow-example {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-bg-2);
  overflow: hidden;
}

.flow-example__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-xs) var(--s-lg);
  padding: var(--s-md) var(--s-lg);
  border-bottom: 1px solid var(--c-border);
}

.flow-example__row:last-child {
  border-bottom: none;
}

.flow-example__row--total {
  background: rgba(212, 168, 83, 0.08);
}

.flow-example__label {
  color: var(--c-text-2);
  font-size: 0.9rem;
}

.flow-example__row--total .flow-example__label {
  color: var(--c-gold);
  font-weight: 600;
}

.flow-example__value {
  font-weight: 600;
  color: var(--c-text);
}

.flow-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-lg);
  max-width: 900px;
  margin: 0 auto;
}

.flow-note {
  padding: var(--s-lg);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-bg-2);
}

.flow-note h3 {
  font-size: 1.05rem;
  margin-bottom: var(--s-sm);
  color: var(--c-gold-light);
}

.flow-note p {
  font-size: 0.9rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

.mp-loadmore {
  display: block;
  margin: var(--s-lg) auto 0;
}

.mp-card__sku {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--c-text-2);
  opacity: 0.7;
  margin: calc(var(--s-sm) * -0.5) 0 var(--s-sm);
}

/* ── How It Works: step example + scenario cards ─────── */

.flow-eg {
  margin-top: var(--s-md);
  padding: var(--s-sm) var(--s-md);
  border-left: 2px solid var(--c-gold);
  background: rgba(212, 168, 83, 0.05);
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

.flow-eg strong {
  color: var(--c-gold);
  font-weight: 600;
}

.flow-scenarios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.flow-scenario {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-bg-2);
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
}

.flow-scenario h3 {
  font-size: 1rem;
  margin-bottom: var(--s-md);
}

.flow-scenario--up h3 { color: var(--c-red-light); }
.flow-scenario--down h3 { color: var(--c-whatsapp); }
.flow-scenario--cancel h3 { color: var(--c-text-2); }
.flow-scenario--normal h3 { color: var(--c-gold-light); }

.flow-scenario__rows {
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: var(--s-md);
}

.flow-scenario__rows .flow-example__row {
  padding: var(--s-sm) var(--s-md);
}

.flow-scenario__note {
  font-size: 0.82rem;
  color: var(--c-text-2);
  line-height: 1.7;
  margin-top: auto;
}
