/* ═══ La Banque d'Oro — page vitrine (staking + donjon 3 niveaux) ═════════
   Même recette que la page NWoE : parallaxe de bannière, voiles alternés,
   Rajdhani scopé, cartes bordées or. La bannière /images/banque.jpg est
   optionnelle : si le fichier n'existe pas, les dégradés + la couleur de fond
   prennent le relais et la page reste correcte. */

html { background: var(--bg); }
body.page-banque { background: transparent; }
.page-bg-fixed {
  position: fixed; top: 0; left: 0; right: 0;
  height: 100vh; height: 100lvh; z-index: -1;
  background-image: url('/images/banque.jpg');
  background-size: cover; background-position: center 30%;
  filter: blur(1px) saturate(1.06) contrast(1.02) brightness(0.62);
  pointer-events: none;
}

.bk-page {
  padding-top: 64px;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  --ink: #eef1f7; --sub: #b3bccb; --faint: #8a94a6;
}
.bk-page p { line-height: 1.6; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.bk-hero {
  position: relative;
  padding: 120px 0 78px;
  background:
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(4,6,12,0.96) 100%),
    linear-gradient(90deg, rgba(4,6,12,0.90) 0%, rgba(4,6,12,0.70) 32%, rgba(4,6,12,0.30) 62%, rgba(4,6,12,0.08) 88%),
    radial-gradient(120% 80% at 82% 12%, rgba(201,147,58,0.18), transparent 55%),
    url('/images/banque.jpg') center 30% / cover no-repeat,
    #0a0d14;
  overflow: hidden; text-align: left;
  border-bottom: 1px solid var(--border);
}
.bk-hero .container { position: relative; z-index: 1; }
.bk-title {
  font-size: clamp(38px, 5.4vw, 62px); font-weight: 700; color: #fff;
  margin-top: 8px; letter-spacing: 0.01em; line-height: 1.03;
  text-shadow: 0 2px 20px rgba(0,0,0,0.55);
}
.bk-sub {
  font-size: 18px; color: var(--sub); font-weight: 500;
  margin-top: 16px; max-width: 660px; line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ── Sections — alternance (impaire sombre / paire révèle la bannière) ── */
.bk-section {
  position: relative; padding: 66px 0;
  background: linear-gradient(180deg, rgba(4,6,12,0.93) 0%, rgba(4,6,12,0.90) 100%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,147,58,0.10);
}
.bk-section:nth-of-type(even) {
  background: linear-gradient(180deg,
    rgba(5,7,13,0.88) 0%, rgba(5,7,13,0.62) 130px,
    rgba(5,7,13,0.62) calc(100% - 130px), rgba(5,7,13,0.88) 100%);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.bk-section:nth-of-type(odd)::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 45% at 12% 3%, rgba(201,147,58,0.11), transparent 60%),
    radial-gradient(55% 45% at 92% 97%, rgba(110,168,212,0.09), transparent 62%);
}
.bk-section > .container { position: relative; z-index: 1; }
.bk-section:last-child { border-bottom: none; }
.bk-section-title {
  font-size: clamp(25px, 3.1vw, 34px); font-weight: 700; color: #fff;
  margin-bottom: 12px; text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.bk-section-desc {
  font-size: 16px; color: var(--sub); font-weight: 500;
  max-width: 760px; margin-bottom: 30px; line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.bk-section-desc strong, .bk-floor-desc strong, .bk-step-desc strong, .bk-rule strong { color: var(--gold-lt); font-weight: 700; }

/* ── Cartes ─────────────────────────────────────────────────────────── */
.bk-card {
  background: linear-gradient(180deg, rgba(30,34,45,0.72) 0%, rgba(17,20,28,0.76) 100%);
  border: 1px solid rgba(201,147,58,0.16); border-radius: 15px; padding: 24px 22px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.bk-card:hover {
  border-color: rgba(201,147,58,0.45); transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,147,58,0.12) inset;
}
.bk-card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 15px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-lt);
  background: linear-gradient(180deg, rgba(201,147,58,0.20), rgba(201,147,58,0.07));
  border: 1px solid rgba(201,147,58,0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.bk-card-icon svg { width: 24px; height: 24px; }
.bk-card-title { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.bk-card-desc { font-size: 14.5px; font-weight: 500; color: var(--sub); line-height: 1.55; }
.bk-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── Tableau des contrats de staking ────────────────────────────────── */
.bk-table-wrap {
  border-radius: 15px; overflow: hidden auto;
  border: 1px solid rgba(201,147,58,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.bk-table { width: 100%; border-collapse: collapse; }
.bk-table th {
  background: rgba(201,147,58,0.12); text-align: left; padding: 14px 20px;
  font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-lt);
  white-space: nowrap;
}
.bk-table td {
  padding: 15px 20px; font-size: 16px; font-weight: 600; color: var(--ink);
  background: linear-gradient(180deg, rgba(30,34,45,0.6), rgba(17,20,28,0.66));
  border-top: 1px solid rgba(255,255,255,0.04);
  white-space: nowrap;
}
.bk-table tbody tr:hover td { background: linear-gradient(180deg, rgba(40,45,58,0.7), rgba(22,26,35,0.72)); }
.bk-table .num { text-align: right; }
.bk-table th.num { text-align: right; }
.bk-yield { color: var(--gold-lt); font-weight: 700; }
.bk-faint { color: var(--faint); font-weight: 500; }
.bk-tier {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 76px; padding: 5px 12px; border-radius: 8px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
}
.bk-tier--bronze { background: rgba(219,90,0,0.16);   border: 1px solid rgba(219,90,0,0.45);   color: #e8925a; }
.bk-tier--silver { background: rgba(154,168,198,0.16); border: 1px solid rgba(154,168,198,0.45); color: #c6d0e2; }
.bk-tier--gold   { background: linear-gradient(180deg, var(--gold-lt), var(--gold-dk)); color: #16110a; border: 1px solid transparent; }

/* ── Règles du staking ──────────────────────────────────────────────── */
.bk-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.bk-rule {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(180deg, rgba(30,34,45,0.55), rgba(17,20,28,0.6));
  border: 1px solid rgba(201,147,58,0.14); border-radius: 13px; padding: 18px 18px;
}
.bk-rule p { font-size: 14.5px; font-weight: 500; color: var(--sub); margin: 0; }
.bk-rule-ico {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--blue);
  background: linear-gradient(180deg, rgba(110,168,212,0.18), rgba(110,168,212,0.06));
  border: 1px solid rgba(110,168,212,0.32);
}
.bk-rule-ico svg { width: 20px; height: 20px; }
.bk-warn {
  margin-top: 18px; padding: 15px 20px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(201,147,58,0.10), rgba(17,20,28,0.5));
  border: 1px solid rgba(201,147,58,0.3); border-left-width: 3px;
  font-size: 15px; font-weight: 500; color: var(--sub);
}
.bk-warn strong { color: var(--gold-lt); font-weight: 700; }

/* ── Les 3 niveaux du donjon ────────────────────────────────────────── */
.bk-floor {
  background: linear-gradient(180deg, rgba(30,34,45,0.62) 0%, rgba(17,20,28,0.7) 100%);
  border: 1px solid rgba(201,147,58,0.16); border-radius: 16px;
  padding: 26px 26px 22px; margin-bottom: 20px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.32);
}
.bk-floor-grid.has-map {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 24px; align-items: start;
}
.bk-floor-map { margin: 0; }
.bk-floor-map img {
  display: block; width: 100%; height: auto; border-radius: 12px;
  border: 1px solid rgba(201,147,58,0.22);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.bk-floor-head { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.bk-floor-num {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif; font-size: 26px; font-weight: 700;
  background: linear-gradient(180deg, rgba(201,147,58,0.22), rgba(201,147,58,0.08));
  border: 1px solid rgba(201,147,58,0.42); color: var(--gold-lt);
}
.bk-floor-title { font-size: 21px; font-weight: 700; color: #fff; margin: 0; }
.bk-floor-meta {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--faint); margin: 3px 0 0;
}
.bk-floor-desc { font-size: 15px; font-weight: 500; color: var(--sub); margin-bottom: 16px; }

.bk-mobs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bk-mob {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px 5px 8px; border-radius: 9px;
  background: rgba(17,20,28,0.6); border: 1px solid rgba(255,255,255,0.07);
}
.bk-mob-ico {
  flex: 0 0 auto; width: 30px; height: 30px; object-fit: contain;
  image-rendering: pixelated; /* sprites RO nets, pas de flou d'upscale */
}
.bk-mob-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.bk-mob-qty  { font-size: 13px; font-weight: 700; color: var(--faint); }

.bk-boss {
  display: flex; gap: 16px; align-items: center; margin-top: 16px;
  background: linear-gradient(180deg, rgba(180,42,42,0.14), rgba(17,20,28,0.55));
  border: 1px solid rgba(200,60,60,0.36); border-radius: 13px; padding: 16px 20px;
}
.bk-boss-ico {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; color: #e58080;
  background: linear-gradient(180deg, rgba(200,60,60,0.22), rgba(200,60,60,0.07));
  border: 1px solid rgba(200,60,60,0.45);
}
.bk-boss-ico svg { width: 23px; height: 23px; }
.bk-boss-ico img { width: 44px; height: 44px; object-fit: contain; image-rendering: pixelated; }
.bk-boss-name { font-size: 18px; font-weight: 700; color: #fff; margin: 0; }
.bk-boss-hp   { font-size: 14px; font-weight: 600; color: #e58080; margin: 2px 0 0; letter-spacing: 0.03em; }

/* ── Étapes de la boucle ────────────────────────────────────────────── */
.bk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bk-step {
  position: relative;
  background: linear-gradient(180deg, rgba(30,34,45,0.72) 0%, rgba(17,20,28,0.76) 100%);
  border: 1px solid rgba(201,147,58,0.16); border-radius: 16px; padding: 24px 22px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: border-color 0.2s, transform 0.2s;
}
.bk-step:hover { border-color: rgba(201,147,58,0.42); transform: translateY(-4px); }
.bk-step-ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; color: var(--blue);
  background: linear-gradient(180deg, rgba(110,168,212,0.18), rgba(110,168,212,0.06));
  border: 1px solid rgba(110,168,212,0.34);
}
.bk-step-ico svg { width: 23px; height: 23px; }
.bk-step-num {
  position: absolute; top: 20px; right: 22px;
  font-family: 'Rajdhani', sans-serif; font-size: 30px; font-weight: 700;
  color: rgba(255,255,255,0.12); line-height: 1;
}
.bk-step-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.bk-step-desc { font-size: 14px; font-weight: 500; color: var(--sub); line-height: 1.55; }

/* ── Appel à l'action ───────────────────────────────────────────────── */
.bk-cta {
  display: flex; gap: 24px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; margin-top: 26px;
  background: linear-gradient(180deg, rgba(201,147,58,0.10), rgba(17,20,28,0.55));
  border: 1px solid rgba(201,147,58,0.3); border-radius: 14px; padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.bk-cta-title { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.bk-cta-desc { font-size: 15px; font-weight: 500; color: var(--sub); margin: 0; }
.bk-cta-btn {
  flex: 0 0 auto; padding: 13px 26px; border-radius: 11px;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold-dk));
  color: #16110a; font-weight: 700; font-size: 15px; text-decoration: none;
  letter-spacing: 0.02em; transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 18px rgba(201,147,58,0.25);
}
.bk-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,147,58,0.4); }

/* ── Illustrations (screens du staff) ───────────────────────────────────
   Tant que le fichier n'est pas déposé dans public/images/banque/, on affiche
   un cadre discret qui rappelle le chemin attendu — jamais une image cassée. */
.bk-fig { margin: 24px 0 0; }
.bk-fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-fig img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid rgba(201,147,58,0.22);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.bk-fig-cap {
  font-size: 13.5px; font-weight: 500; color: var(--faint);
  margin-top: 9px; text-align: center; font-style: italic;
}
.bk-fig-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 150px; border-radius: 14px;
  border: 1px dashed rgba(201,147,58,0.30);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0 12px, transparent 12px 24px), rgba(17,20,28,0.45);
}
.bk-fig-ph-txt {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: rgba(201,147,58,0.75);
}
.bk-fig-ph-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; color: var(--faint);
  background: rgba(0,0,0,0.3); padding: 4px 10px; border-radius: 6px;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .bk-pillars, .bk-rules, .bk-steps { grid-template-columns: 1fr; }
  .bk-floor-grid.has-map { grid-template-columns: 1fr; }
  .bk-floor-map { max-width: 400px; }
  .bk-fig-pair { grid-template-columns: 1fr; }
  .bk-table th, .bk-table td { padding: 12px 14px; font-size: 14.5px; }
  .bk-cta { flex-direction: column; align-items: flex-start; }
  .bk-cta-btn { width: 100%; text-align: center; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .bk-hero { padding: 96px 0 56px; }
  .bk-section { padding: 48px 0; }
  .bk-floor { padding: 20px 18px 18px; }
  .bk-floor-num { width: 42px; height: 42px; font-size: 22px; }
}
