/* =========================================================
SAVAGE CONFLICTS — FEATURES PAGE
Dark Brown Royal Scroll Cards (CSS Only)
Author: ChatGPT & Gwezie
========================================================= */

:root {
  --ink: #f9eac8;
  --brown-light: #7c5731;
  --brown-dark: #301c10;
  --brown-deep: #1b1007;
  --gold: #d8b267;
  --gold-bright: #ffe6ac;
}

/* Background stays themed */
body.features-page {
  background:
    radial-gradient(900px 500px at 30% 0%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(1200px 700px at 100% 100%, rgba(0,0,0,.25), transparent 60%),
    linear-gradient(#1a1410, #0c0906);
  font-family: "Cinzel", Georgia, serif;
  color: var(--ink);
}

/* Page layout */
.features-page .container {
  max-width: 1200px;
  margin: 3.8rem auto 5rem;
  padding: 0 24px;
}

.features-page .page-title {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: .5rem;
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(255,220,120,.22);
}

.features-page .page-subtitle {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 3.3rem;
  color: #e9d4b0;
  opacity: .85;
}

/* Grid */
.feature-grid {
  display: grid;
  gap: 2.2rem;
}
@media(min-width: 700px) { .feature-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width: 1100px) { .feature-grid { grid-template-columns: repeat(3,1fr); } }

/* =========================================================
   DARK BROWN SCROLL CARD (NO IMAGES)
========================================================= */
.feature-card {
  position: relative;
  padding: 1.8rem 1.6rem 2.2rem;
  border-radius: 12px;

  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.10), transparent 70%),
    radial-gradient(circle at 80% 90%, rgba(0,0,0,.4), transparent 65%),
    linear-gradient(#3e2818, #26170d, #1a0f08);

  border: 2px solid #6c4a24;

  box-shadow:
    0 18px 35px rgba(0,0,0,.45),
    inset 0 0 15px rgba(0,0,0,.5),
    inset 0 0 45px rgba(80,60,35,.35);

  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

/* Hover — brighter, gold, enchanted glow */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 42px rgba(0,0,0,.6),
    0 0 25px rgba(255,215,140,.25),
    inset 0 0 25px rgba(255,255,255,.15);
  filter: brightness(1.07) contrast(1.07);
}

/* =========================================================
   SCROLL EDGE BANDS — still CSS only
========================================================= */
.feature-card::before,
.feature-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 26px;
  background: linear-gradient(
    to right,
    rgba(60,40,20,.7),
    rgba(255,240,200,.25),
    rgba(60,40,20,.7)
  );
  border-radius: 50px;
  opacity: .45;
  filter: blur(1.3px);
}

.feature-card::before { top: -22px; }
.feature-card::after {
  bottom: -22px;
  transform: rotate(180deg);
}

/* =========================================================
   TEXT STYLES
========================================================= */
.feature-card h3 {
  margin: 0 0 .6rem;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--gold-bright);
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}

/* gold underline */
.feature-card h3::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: .45rem;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-bright),
    var(--gold),
    transparent
  );
  opacity: .95;
  border-radius: 2px;
}

.feature-card p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.58;
  color: #f0e2c8;
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}

/* =========================================================
   GOLD RIVETS — CSS ONLY
========================================================= */
.feature-card .rivet {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff4c0, #d9b356 55%, #6a4718 100%);
  position: absolute;
  box-shadow: 0 2px 6px rgba(0,0,0,.45);
}

.feature-card .rivet.tl { top: -8px; left: -8px; }
.feature-card .rivet.tr { top: -8px; right: -8px; }
.feature-card .rivet.bl { bottom: -8px; left: -8px; }
.feature-card .rivet.br { bottom: -8px; right: -8px; }
