/* ================================================================
   TOKEN REDEMPTION — Catalog Page
   Category Grid layout (Marriott Bonvoy style)
   Palette: sage #607057 · champagne #c9b384 · bronze #8a7048
            charcoal #2a3026 · cream #fafaf5
   ================================================================ */

.trc {
  background: #fafaf5;
  padding: 80px 0 100px 0;
  color: #2a3026;
}

/* Widen the page container for this page only */
.trc .container {
  max-width: 1480px;
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}
@media (max-width: 767px) {
  .trc .container { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 767px) {
  .trc { padding: 50px 0 70px 0; }
}

/* ============== SHOWCASE HERO (character + side cards) ============== */
.trc-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  max-width: 100%;
  margin: 0 auto 60px auto;
  padding: 0;
  min-height: 620px;
}
@media (max-width: 991px) {
  .trc-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
  }
}

.trc-showcase-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 2;
}
@media (max-width: 991px) {
  .trc-showcase-side {
    flex-direction: row;
    gap: 16px;
  }
  .trc-showcase-side > * { flex: 1; }
}
@media (max-width: 600px) {
  .trc-showcase-side { flex-direction: column; }
}

/* Stagger the side cards for visual interest */
.trc-showcase-left  .trc-mini:nth-child(1) { transform: translateX(20px); }
.trc-showcase-left  .trc-mini:nth-child(2) { transform: translateX(-10px); }
.trc-showcase-right .trc-mini:nth-child(1) { transform: translateX(-20px); }
.trc-showcase-right .trc-mini:nth-child(2) { transform: translateX(10px); }
@media (max-width: 991px) {
  .trc-showcase-side .trc-mini { transform: none !important; }
}

/* ====== Mini card — app-style large card ====== */
.trc-mini {
  position: relative;
  display: block;
  padding: 28px 26px 26px 26px;
  background: #fff;
  border: 1px solid rgba(232, 224, 200, 0.6);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(42, 48, 38, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.trc-mini:hover {
  box-shadow: 0 22px 50px rgba(42, 48, 38, 0.18);
  transform: translateY(-6px) !important;
}

/* Stack — image on top, title below */
.trc-mini-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.trc-mini-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background-color: #ebe6d8;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 22px rgba(42, 48, 38, 0.18);
}
.trc-mini-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 4px 9px;
  background: #607057;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(96, 112, 87, 0.35);
}

.trc-mini-titles { min-width: 0; }
.trc-mini-name {
  font-size: 22px;
  font-weight: 700;
  color: #2a3026;
  margin: 0 0 4px 0;
  line-height: 1.2;
  letter-spacing: 0.2px;
}
.trc-mini-sub {
  font-size: 13px;
  color: #7a7060;
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
}

/* Meta row — cost pill + retail price side by side */
.trc-mini-meta,
.trc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Retail price — secondary visual to the token cost */
.trc-mini-price,
.trc-card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}
.trc-mini-price small,
.trc-card-price small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a7048;
  margin-bottom: 2px;
}
.trc-mini-price span,
.trc-card-price span {
  font-size: 16px;
  font-weight: 500;
  color: #5a5040;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
}

/* Cost block — transparent, text-based for a calmer look */
.trc-mini-cost {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.trc-mini-cost i {
  font-size: 14px;
  color: #c9b384;                 /* champagne coin */
  align-self: center;
  margin-right: 2px;
}
.trc-mini-cost span {
  font-size: 22px;
  font-weight: 600;
  color: #607057;                 /* sage primary */
  letter-spacing: 0.3px;
  line-height: 1;
}
.trc-mini-cost small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a7048;                 /* bronze label */
}

@media (max-width: 600px) {
  .trc-mini { padding: 22px; border-radius: 20px; }
  .trc-mini-name { font-size: 19px; }
}

/* ====== Center column ====== */
.trc-showcase-center {
  position: relative;
  text-align: center;
  z-index: 1;
}
.trc-showcase-art {
  position: relative;
  margin: 0 auto 20px auto;
  max-width: 380px;
  /* Reserve space — children are absolutely-positioned so they overlap */
  aspect-ratio: 380 / 420;
  cursor: pointer;
}
.trc-showcase-art::before {
  /* Soft glow behind die-cut character */
  content: "";
  position: absolute;
  inset: 10% -5%;
  background: radial-gradient(ellipse at center, rgba(201,179,132,0.30) 0%, transparent 65%);
  filter: blur(20px);
  z-index: -1;
}
.trc-showcase-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(42,48,38,0.25));
  transition: opacity 0.4s ease, transform 0.5s ease;
}

/* Default pose visible — hover pose hidden */
.trc-showcase-art .trc-art-hover { opacity: 0; }

/* On hover (or focus-within for keyboard) — swap to second pose with a
   tiny scale bounce for character */
.trc-showcase-art:hover .trc-art-default,
.trc-showcase-center:hover .trc-showcase-art .trc-art-default { opacity: 0; }
.trc-showcase-art:hover .trc-art-hover,
.trc-showcase-center:hover .trc-showcase-art .trc-art-hover  {
  opacity: 1;
  transform: scale(1.03);
}

@media (max-width: 991px) {
  .trc-showcase-art { max-width: 280px; aspect-ratio: 280 / 280; }
}

.trc-showcase-text { max-width: 480px; margin: 0 auto; }

/* ============== HOW-TO STEPS — moved out of hero ============== */
/* keep block reusable */

.trc-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #8a7048;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(138, 112, 72, 0.3);
  border-radius: 2px;
}

.trc-title {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #2a3026;
  margin: 0 0 24px 0;
  text-transform: none;
}
@media (min-width: 992px) {
  .trc-title { font-size: 48px; }
}

.trc-lead {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: #4a4538;
  margin: 0 0 40px 0;
}
.trc-lead strong {
  color: #607057;
  font-weight: 600;
}
.trc-lead a {
  color: #8a7048;
  border-bottom: 1px solid rgba(138, 112, 72, 0.4);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.trc-lead a:hover {
  color: #607057;
  border-color: #607057;
  text-decoration: none;
}

/* ============== HOW-TO STEPS ============== */
.trc-howto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 70px auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .trc-howto {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.trc-howto-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0dcc8;
  border-radius: 4px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}
.trc-howto-step:hover {
  border-color: #c9b384;
  transform: translateY(-2px);
}

.trc-howto-num {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  color: #c9b384;
  letter-spacing: 1px;
  font-style: italic;
}

.trc-howto-text {
  font-size: 13px;
  line-height: 1.5;
  color: #4a4538;
  font-weight: 400;
}

/* ============== CATEGORY SECTION ============== */
.trc-cat {
  margin-bottom: 80px;
  max-width: 100%;
}
@media (max-width: 767px) {
  .trc-cat { margin-bottom: 60px; }
}

.trc-cat-head {
  text-align: center;
  margin-bottom: 40px;
}

.trc-cat-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8a7048;
  margin-bottom: 10px;
}

.trc-cat-title {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2a3026;
  margin: 0 0 16px 0;
}
@media (min-width: 992px) {
  .trc-cat-title { font-size: 38px; letter-spacing: 3px; }
}

.trc-cat-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: #c9b384;
}

/* ============== GRID ============== */
.trc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .trc-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
  .trc-grid { grid-template-columns: 1fr; }
}

/* ============== CARD — Catalog grid card ============== */
.trc-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(232, 224, 200, 0.6);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(42, 48, 38, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.trc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(42, 48, 38, 0.16);
}

/* Inner image — inset with rounded corners (like the mini cards) */
.trc-card-image {
  position: relative;
  margin: 14px 14px 0 14px;
  width: calc(100% - 28px);
  aspect-ratio: 4 / 3;
  background-color: #ebe6d8;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(42, 48, 38, 0.12);
}

.trc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 5px 11px;
  background: #607057;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(96, 112, 87, 0.35);
}

.trc-card-body {
  padding: 22px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.trc-card-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #2a3026;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.trc-card-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: #5a5040;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

/* Cost block — transparent, text-based (matches .trc-mini-cost) */
.trc-card-cost {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.trc-card-cost i {
  font-size: 13px;
  color: #c9b384;
  align-self: center;
  margin-right: 2px;
}
.trc-card-cost span {
  font-size: 20px;
  font-weight: 600;
  color: #607057;
  letter-spacing: 0.3px;
  line-height: 1;
}
.trc-card-cost small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a7048;
}

/* ============== OUTRO ============== */
.trc-outro {
  text-align: center;
  max-width: 640px;
  margin: 30px auto 0 auto;
  padding: 60px 24px 20px 24px;
  border-top: 1px dotted #c4b898;
}

.trc-outro h3 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2a3026;
  margin: 0 0 14px 0;
}

.trc-outro p {
  font-size: 14px;
  color: #5a5040;
  line-height: 1.7;
  margin: 0 0 24px 0;
}

.trc-outro-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  background: transparent;
  color: #607057;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(96, 112, 87, 0.4);
  transition: gap 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.trc-outro-btn:hover {
  background: transparent;
  color: #2a3026;
  border-color: #2a3026;
  text-decoration: none;
  gap: 16px;
}
.trc-outro-btn i { font-size: 12px; }

.trc-outro-fine {
  font-size: 11px !important;
  color: #7a7060 !important;
  margin: 28px 0 0 0 !important;
  letter-spacing: 0.3px;
}
