/* ===========================
   RUNESTONE CORE — DWARVEN FORGE THEME
   Fantasy Medieval Dwarven Style
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700;900&family=MedievalSharp&display=swap');

:root {
  /* Dark stone palette */
  --bg: #0b0a0f;
  --bg-alt: #11101a;
  --stone: #1a1825;
  --stone-light: #252336;
  --stone-dark: #08070c;

  /* Dwarven metals */
  --rune-gold: #d4a556;
  --rune-amber: #e8c27a;
  --rune-copper: #b87333;
  --rune-bronze: #cd7f32;
  --forge-red: #8b2500;
  --forge-ember: #cc4400;
  --steel: #7a8594;
  --iron: #4a4a5a;

  /* Text */
  --text: #e8e0d4;
  --muted: #9e9585;
  --accent: #e0b15a;

  /* Card & borders */
  --card: #13121c;
  --card-hover: #1a1929;
  --border: #2a2838;
  --border-gold: rgba(212, 165, 86, 0.25);

  /* Typography */
  --font-heading: 'Cinzel Decorative', 'Cinzel', serif;
  --font-body: 'Cinzel', 'Georgia', serif;
  --font-accent: 'MedievalSharp', cursive;
}

/* ===========================
   STONE TEXTURE BACKGROUND
   =========================== */

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  font-size: 15px;

  /* Layered stone background */
  background-color: var(--bg);
  background-image:
    /* Subtle stone grain noise */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"),
    /* Stone block pattern */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Crect width='120' height='60' fill='none'/%3E%3Cpath d='M0 0h120v60H0z' fill='none' stroke='rgba(255,255,255,0.015)' stroke-width='1'/%3E%3Cpath d='M60 0v30M0 30h120' stroke='rgba(255,255,255,0.012)' stroke-width='0.5'/%3E%3C/svg%3E"),
    /* Deep vignette gradient */
    radial-gradient(ellipse at 50% 0%, rgba(30, 25, 45, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse at 50% 100%, rgba(15, 10, 5, 0.8) 0%, transparent 70%),
    /* Ambient forge glow from below */
    radial-gradient(ellipse at 50% 120%, rgba(139, 37, 0, 0.08) 0%, transparent 50%);
}

/* Global selection color */
::selection {
  background: rgba(212, 165, 86, 0.3);
  color: var(--text);
}

/* ===========================
   DECORATIVE RUNE SVG PATTERNS
   =========================== */

/* Corner rune ornament mixin — used on cards and sections */
.card::before,
.addon-card::before,
.hero-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    /* Top-left corner ornament */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M2 2h6v1H3v5H2z' fill='%23d4a556' opacity='0.3'/%3E%3Cpath d='M4 4h2v1H5v1H4z' fill='%23d4a556' opacity='0.2'/%3E%3C/svg%3E") no-repeat top left,
    /* Top-right corner ornament */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M22 2h-6v1h5v5h1z' fill='%23d4a556' opacity='0.3'/%3E%3Cpath d='M20 4h-2v1h1v1h1z' fill='%23d4a556' opacity='0.2'/%3E%3C/svg%3E") no-repeat top right,
    /* Bottom-left corner ornament */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M2 22h6v-1H3v-5H2z' fill='%23d4a556' opacity='0.3'/%3E%3Cpath d='M4 20h2v-1H5v-1H4z' fill='%23d4a556' opacity='0.2'/%3E%3C/svg%3E") no-repeat bottom left,
    /* Bottom-right corner ornament */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M22 22h-6v-1h5v-5h1z' fill='%23d4a556' opacity='0.3'/%3E%3Cpath d='M20 20h-2v-1h1v-1h1z' fill='%23d4a556' opacity='0.2'/%3E%3C/svg%3E") no-repeat bottom right;
}

/* ===========================
   SCROLLBAR — DWARVEN STYLE
   =========================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--stone-dark);
  border-left: 1px solid var(--border);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--iron), var(--stone-light));
  border: 1px solid var(--border-gold);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--steel), var(--iron));
}

/* ===========================
   NAVIGATION — DWARVEN HEADER
   =========================== */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background:
    linear-gradient(180deg, rgba(20, 18, 30, 0.97) 0%, rgba(15, 13, 22, 0.99) 100%);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

/* Decorative bottom rune-line on nav */
.nav::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 165, 86, 0.1) 15%,
    rgba(212, 165, 86, 0.5) 40%,
    rgba(232, 194, 122, 0.8) 50%,
    rgba(212, 165, 86, 0.5) 60%,
    rgba(212, 165, 86, 0.1) 85%,
    transparent 100%);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--rune-amber);
  border-color: rgba(212, 165, 86, 0.15);
  background: rgba(212, 165, 86, 0.04);
  text-shadow:
    0 0 8px rgba(232, 194, 122, 0.4),
    0 0 20px rgba(212, 165, 86, 0.15);
}

/* Logo mark — glowing rune stone */
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, var(--rune-gold) 0%, var(--rune-copper) 50%, var(--rune-bronze) 100%);
  animation: logoRunePulse 4s ease-in-out infinite;
  position: relative;
  /* Inner rune symbol */
  box-shadow:
    inset 0 0 8px rgba(0, 0, 0, 0.4),
    0 0 6px rgba(212, 165, 86, 0.3);
}

/* Rune etching on logo */
.logo-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 2L5 7l4 4 4-4-4-5zM5 7l4 9M13 7l-4 9M3 10h12' stroke='rgba(0,0,0,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat center;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rune-amber);
  letter-spacing: 0.05em;
  animation: runeGlow 5s ease-in-out infinite;
}

.brand-sub {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 4rem 3rem;
  gap: 3rem;
  position: relative;
  /* Forge glow from behind */
  background:
    radial-gradient(ellipse at 30% 80%, rgba(139, 37, 0, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 20%, rgba(212, 165, 86, 0.03) 0%, transparent 40%);
}

/* Decorative top rune border for hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(212, 165, 86, 0.15) 20%,
    rgba(212, 165, 86, 0.3) 50%,
    rgba(212, 165, 86, 0.15) 80%,
    transparent);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.hero-kicker {
  font-family: var(--font-accent);
  color: var(--rune-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  animation: runeFlicker 6s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

.hero-title span {
  color: var(--rune-amber);
  animation: runeGlow 3s ease-in-out infinite;
  display: inline;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 560px;
}

/* ===========================
   DWARVEN BUTTONS
   Hammered metal with rune engravings
   =========================== */

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Hammered metal texture overlay for all buttons */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='h'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23h)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  border-radius: inherit;
}

/* Rune engraving line along bottom */
.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.15) 70%,
    transparent);
  transition: all 0.3s ease;
}

/* === PRIMARY BUTTON — Molten Gold Forge === */
.btn-primary {
  background:
    linear-gradient(180deg,
      rgba(232, 194, 122, 0.15) 0%,
      var(--rune-gold) 8%,
      #c4953e 50%,
      var(--rune-copper) 92%,
      rgba(139, 95, 30, 0.8) 100%);
  color: #1a1207;
  border: 1px solid rgba(232, 194, 122, 0.6);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: buttonRuneGlow 3s ease-in-out infinite;
  /* Beveled edge look */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 0 8px rgba(212, 165, 86, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  background:
    linear-gradient(180deg,
      rgba(255, 220, 150, 0.2) 0%,
      var(--rune-amber) 8%,
      var(--rune-gold) 50%,
      #c4953e 92%,
      rgba(160, 110, 35, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 0 16px rgba(232, 194, 122, 0.5),
    0 0 32px rgba(212, 165, 86, 0.25),
    0 0 48px rgba(212, 165, 86, 0.1),
    0 3px 6px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  background:
    linear-gradient(180deg,
      rgba(139, 95, 30, 0.8) 0%,
      var(--rune-copper) 8%,
      #b58535 50%,
      var(--rune-gold) 92%,
      rgba(232, 194, 122, 0.15) 100%);
  box-shadow:
    inset 0 2px 3px rgba(0, 0, 0, 0.3),
    0 0 6px rgba(212, 165, 86, 0.2);
}

/* === OUTLINE BUTTON — Dark Iron with Rune Border === */
.btn-outline {
  background:
    linear-gradient(180deg,
      rgba(42, 40, 56, 0.9) 0%,
      rgba(26, 24, 37, 0.95) 50%,
      rgba(19, 18, 28, 1) 100%);
  color: var(--rune-amber);
  border: 1px solid rgba(212, 165, 86, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
  border-color: rgba(212, 165, 86, 0.6);
  color: var(--text);
  background:
    linear-gradient(180deg,
      rgba(52, 48, 68, 0.95) 0%,
      rgba(32, 30, 46, 0.98) 50%,
      rgba(22, 20, 34, 1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 0 12px rgba(212, 165, 86, 0.2),
    0 0 24px rgba(212, 165, 86, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(232, 194, 122, 0.3);
}

.btn-outline:active {
  transform: translateY(0);
  background:
    linear-gradient(180deg,
      rgba(19, 18, 28, 1) 0%,
      rgba(26, 24, 37, 0.95) 50%,
      rgba(42, 40, 56, 0.9) 100%);
  box-shadow:
    inset 0 2px 3px rgba(0, 0, 0, 0.3);
}

/* ===========================
   HERO META BADGES
   =========================== */

.hero-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.hero-meta span {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: rgba(19, 18, 28, 0.6);
  transition: all 0.3s ease;
}

.hero-meta span:hover {
  border-color: var(--border-gold);
  color: var(--rune-amber);
  text-shadow:
    0 0 6px rgba(232, 194, 122, 0.4),
    0 0 14px rgba(212, 165, 86, 0.2);
  background: rgba(212, 165, 86, 0.04);
}

/* ===========================
   HERO CARD — Dwarven Scroll
   =========================== */

.hero-card {
  background:
    linear-gradient(170deg,
      rgba(26, 24, 37, 0.95) 0%,
      rgba(19, 18, 28, 0.98) 40%,
      rgba(15, 14, 22, 1) 100%);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 6px;
  position: relative;
  animation: runeBorderGlow 4s ease-in-out infinite;
}

/* Decorative top gold bar */
.hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    var(--rune-gold) 30%,
    var(--rune-amber) 50%,
    var(--rune-gold) 70%,
    transparent);
  border-radius: 0 0 2px 2px;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--rune-amber);
  letter-spacing: 0.03em;
}

.hero-card-badge {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  color: var(--rune-gold);
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(212, 165, 86, 0.3);
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--rune-amber);
  animation: runeGlow 3.5s ease-in-out infinite;
  line-height: 1;
}

.hero-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.3rem;
}

.hero-card-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  margin-bottom: 1.5rem;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero-card-item {
  padding: 0.75rem;
  background: rgba(11, 10, 15, 0.5);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  transition: border-color 0.3s ease;
}

.hero-card-item:hover {
  border-color: var(--border-gold);
}

.hero-card-item strong {
  display: block;
  color: var(--rune-amber);
  font-family: var(--font-body);
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
}

/* ===========================
   SECTIONS — Stone Hall Chambers
   =========================== */

.section {
  padding: 4rem 3rem;
  position: relative;
}

/* Alternating stone shade */
.section:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(17, 16, 26, 0.6) 0%, rgba(17, 16, 26, 0.95) 50%, rgba(17, 16, 26, 0.6) 100%);
}

/* Top decorative rune divider for every section */
.section::before {
  content: '';
  display: block;
  width: 100%;
  height: 24px;
  margin-bottom: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='24' viewBox='0 0 400 24'%3E%3Cline x1='0' y1='12' x2='140' y2='12' stroke='%23d4a556' stroke-opacity='0.15' stroke-width='1'/%3E%3Cline x1='260' y1='12' x2='400' y2='12' stroke='%23d4a556' stroke-opacity='0.15' stroke-width='1'/%3E%3Cpath d='M160 12l10-6 10 6-10 6z' fill='%23d4a556' fill-opacity='0.2'/%3E%3Cpath d='M190 12l10-8 10 8-10 8z' fill='%23d4a556' fill-opacity='0.35'/%3E%3Cpath d='M220 12l10-6 10 6-10 6z' fill='%23d4a556' fill-opacity='0.2'/%3E%3Ccircle cx='150' cy='12' r='2' fill='%23d4a556' fill-opacity='0.25'/%3E%3Ccircle cx='250' cy='12' r='2' fill='%23d4a556' fill-opacity='0.25'/%3E%3C/svg%3E") no-repeat center;
  background-size: min(100%, 400px) 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--rune-amber);
  text-align: center;
  letter-spacing: 0.06em;
  animation: runeGlow 4s ease-in-out infinite;
  margin: 0 0 0.5rem 0;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem auto;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===========================
   CARD GRID — Carved Stone Tablets
   =========================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

/* Card — Stone slab with chiseled edge */
.card {
  background:
    linear-gradient(170deg,
      rgba(26, 24, 37, 0.7) 0%,
      rgba(19, 18, 28, 0.9) 100%);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 6px;
  position: relative;
  transition: all 0.4s ease;
  /* Subtle inner bevel */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.card:hover {
  border-color: rgba(212, 165, 86, 0.35);
  background:
    linear-gradient(170deg,
      rgba(32, 30, 46, 0.8) 0%,
      rgba(22, 20, 34, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 10px rgba(212, 165, 86, 0.15),
    0 0 25px rgba(212, 165, 86, 0.06),
    0 4px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rune-amber);
  margin: 0 0 0.5rem 0;
  transition: text-shadow 0.3s ease;
}

.card:hover h3 {
  text-shadow:
    0 0 8px rgba(232, 194, 122, 0.4),
    0 0 18px rgba(212, 165, 86, 0.15);
}

.card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}

/* ===========================
   ADDON CARDS — Runic Grimoire Pages
   =========================== */

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.addon-card {
  background:
    linear-gradient(170deg,
      rgba(26, 24, 37, 0.7) 0%,
      rgba(19, 18, 28, 0.9) 100%);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 6px;
  position: relative;
  transition: all 0.4s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.addon-card:hover {
  border-color: rgba(212, 165, 86, 0.35);
  background:
    linear-gradient(170deg,
      rgba(32, 30, 46, 0.8) 0%,
      rgba(22, 20, 34, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 10px rgba(212, 165, 86, 0.15),
    0 0 25px rgba(212, 165, 86, 0.06),
    0 4px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.addon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.addon-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rune-amber);
  transition: text-shadow 0.3s ease;
}

.addon-card:hover .addon-name {
  text-shadow:
    0 0 8px rgba(232, 194, 122, 0.4),
    0 0 18px rgba(212, 165, 86, 0.15);
}

.addon-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--rune-gold);
  transition: text-shadow 0.3s ease;
}

.addon-card:hover .addon-price {
  text-shadow:
    0 0 10px rgba(232, 194, 122, 0.5),
    0 0 22px rgba(212, 165, 86, 0.2);
}

.addon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.addon-list li {
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(42, 40, 56, 0.4);
  position: relative;
  padding-left: 1.2rem;
}

.addon-list li:last-child {
  border-bottom: none;
}

/* Rune bullet points */
.addon-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 5px;
  height: 5px;
  background: var(--rune-gold);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.addon-card:hover .addon-list li::before {
  opacity: 0.7;
}

/* ===========================
   FOOTER — Foundation Stone
   =========================== */

.footer {
  text-align: center;
  padding: 2.5rem 2rem;
  background:
    linear-gradient(180deg, rgba(11, 10, 15, 1) 0%, rgba(8, 7, 12, 1) 100%);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  position: relative;
}

/* Gold rune line on top of footer */
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(212, 165, 86, 0.2) 20%,
    rgba(212, 165, 86, 0.5) 50%,
    rgba(212, 165, 86, 0.2) 80%,
    transparent);
}

/* ===========================
   KEYFRAME ANIMATIONS
   =========================== */

@keyframes runeGlow {
  0%, 100% {
    text-shadow:
      0 0 4px rgba(212, 165, 86, 0.4),
      0 0 11px rgba(212, 165, 86, 0.2),
      0 0 19px rgba(212, 165, 86, 0.1);
  }
  50% {
    text-shadow:
      0 0 7px rgba(232, 194, 122, 0.6),
      0 0 21px rgba(232, 194, 122, 0.4),
      0 0 42px rgba(212, 165, 86, 0.2),
      0 0 62px rgba(212, 165, 86, 0.1);
  }
}

@keyframes runeBorderGlow {
  0%, 100% {
    box-shadow:
      0 0 3px rgba(212, 165, 86, 0.15),
      0 0 8px rgba(212, 165, 86, 0.08),
      inset 0 0 3px rgba(212, 165, 86, 0.05);
    border-color: var(--border);
  }
  50% {
    box-shadow:
      0 0 6px rgba(232, 194, 122, 0.3),
      0 0 18px rgba(212, 165, 86, 0.15),
      0 0 30px rgba(212, 165, 86, 0.06),
      inset 0 0 6px rgba(212, 165, 86, 0.08);
    border-color: rgba(212, 165, 86, 0.35);
  }
}

@keyframes buttonRuneGlow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(0, 0, 0, 0.2),
      0 0 6px rgba(212, 165, 86, 0.3),
      0 2px 4px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(0, 0, 0, 0.2),
      0 0 12px rgba(232, 194, 122, 0.5),
      0 0 24px rgba(212, 165, 86, 0.2),
      0 0 40px rgba(212, 165, 86, 0.08),
      0 2px 4px rgba(0, 0, 0, 0.4);
  }
}

@keyframes logoRunePulse {
  0%, 100% {
    box-shadow:
      inset 0 0 8px rgba(0, 0, 0, 0.4),
      0 0 8px rgba(212, 165, 86, 0.3),
      0 0 16px rgba(212, 165, 86, 0.1);
  }
  50% {
    box-shadow:
      inset 0 0 8px rgba(0, 0, 0, 0.3),
      0 0 12px rgba(232, 194, 122, 0.5),
      0 0 28px rgba(212, 165, 86, 0.25),
      0 0 45px rgba(212, 165, 86, 0.08);
  }
}

@keyframes runeFlicker {
  0%, 18%, 22%, 36%, 40%, 100% {
    opacity: 1;
    text-shadow:
      0 0 4px rgba(212, 165, 86, 0.4),
      0 0 11px rgba(212, 165, 86, 0.2);
  }
  20%, 38% {
    opacity: 0.85;
    text-shadow:
      0 0 2px rgba(212, 165, 86, 0.2),
      0 0 6px rgba(212, 165, 86, 0.1);
  }
}

/* Utility classes */
.rune-glow {
  animation: runeGlow 3s ease-in-out infinite;
}

.rune-glow-border {
  animation: runeBorderGlow 4s ease-in-out infinite;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }

  .grid-3,
  .addons-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section {
    padding: 2.5rem 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-card-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 2rem 1rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.4rem;
  }
}

/* ===========================
   ACCESSIBILITY
   =========================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--rune-gold);
  outline-offset: 2px;
}
