/* D2 UberApp — Dark Gothic Sanctuary Theme */
:root {
  --bg: #0b0e0b;
  --bg2: #10140f;
  --panel: #111610;
  --panel2: #171b14;
  --panel3: #1f251b;
  --ink: #e5dfcc;
  --muted: #929687;
  --line: #303729;
  --line2: #424936;
  --gold: #b99650;
  --gold2: #d7b46a;
  --gold-bright: #f1c34a;
  --red: #a94434;
  --red2: #e06a52;
  --green: #728c69;
  --green2: #8ab882;
  --blue: #5b74ff;
  --shadow: 0 24px 70px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 80% 0%, #20231944, transparent 45%),
              radial-gradient(circle at 15% 35%, rgba(185,150,80,.05), transparent 30rem),
              #0b0e0b;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a { color: inherit; }
.wrap { width: min(1320px, calc(100% - 48px)); margin: auto; }
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; }

/* BILINGUAL VISIBILITY */
body.lang-pl .lang-en { display: none !important; }
body.lang-en .lang-pl { display: none !important; }

.eyebrow {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 800;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(16,21,15,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201,154,82,.14);
}
.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font: 24px Georgia, serif;
  color: var(--gold2);
  letter-spacing: .06em;
}
.brand small {
  display: block;
  font: 9px Georgia, serif;
  letter-spacing: .38em;
  margin-top: 4px;
  color: #b4ab8b;
  text-transform: uppercase;
}
.brandmark {
  width: 44px;
  height: 48px;
  display: grid;
  place-items: center;
}
.brandmark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.navlinks {
  display: flex;
  gap: 16px;
  margin-left: auto;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  align-items: center;
}
.navlinks a {
  text-decoration: none;
  color: var(--muted);
  transition: color .2s;
  padding: 8px 0;
}
.navlinks a:hover {
  color: var(--ink);
}

/* LANGUAGE SWITCHER */
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(185,150,80,.3);
  border-radius: 2px;
  overflow: hidden;
  background: #090d09;
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 6px 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.lang-btn.active {
  background: var(--gold);
  color: #110e08;
}

.nav-cta {
  border: 1px solid var(--gold);
  background: rgba(185,150,80,.12);
  color: var(--gold2) !important;
  padding: 8px 18px !important;
  border-radius: 2px;
  font-weight: 800;
  transition: all .2s;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: #110e08 !important;
  box-shadow: 0 0 16px rgba(201,154,82,.3);
}

/* SUBNAV BAR (NO EMOJIS) */
.act-nav {
  border-top: 1px solid rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(185,150,80,.2);
  background: #090d09;
}
.act-nav .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.act-nav .wrap::-webkit-scrollbar { display: none; }
.act-nav a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
  padding: 13px 18px;
  font-size: 11px;
  letter-spacing: .11em;
  border-bottom: 2px solid transparent;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.act-nav a:hover, .act-nav a.active {
  color: var(--gold2);
  background: rgba(185,150,80,.07);
  border-color: var(--gold);
}

/* HERO WITH D2R-HERO.PNG AND EMBERS */
.hero {
  min-height: 590px;
  background: #0d100c;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b0e0b 6%, #0b0e0bec 34%, #0b0e0b66 68%, #0b0e0b22),
              linear-gradient(0deg, #0b0e0b, transparent 38%),
              url('assets/d2r-hero.png') center right/cover no-repeat;
  opacity: .92;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: block;
  padding: 92px 0 76px;
}
.kicker-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.badge-clean {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.badge-beta {
  background: rgba(201,154,82,.14);
  border: 1px solid rgba(201,154,82,.38);
  color: var(--gold2);
}
.badge-safe {
  background: rgba(114,140,105,.18);
  border: 1px solid #4e6347;
  color: #a5d297;
}
.kicker {
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--gold2);
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker:before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 400;
  margin: 0;
}
.hero h1 span {
  display: block;
  color: var(--gold2);
  font-style: normal;
}
.hero p {
  font-size: 16px;
  max-width: 600px;
  color: #a7ad9b;
  line-height: 1.8;
  margin: 26px 0 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ink);
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  transition: all .2s;
  border-radius: 2px;
  cursor: pointer;
}
.btn:hover {
  border-color: var(--gold2);
  color: var(--gold2);
  box-shadow: 0 0 18px rgba(201,154,82,.22);
}
.btn.primary {
  background: var(--gold);
  color: #16120a;
}
.btn.primary:hover {
  background: var(--gold2);
  border-color: var(--gold2);
  color: #110e08;
  box-shadow: 0 0 26px rgba(215,180,106,.45);
}
.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  color: #929687;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.hero-meta span {
  display: flex;
  align-items: baseline;
}
.hero-meta b {
  color: var(--gold2);
  font: 26px Georgia, serif;
  margin-right: 8px;
}
.hero-credit {
  position: absolute;
  right: 36px;
  bottom: 16px;
  font-size: 9px;
  color: #9f9e89;
  z-index: 2;
  text-decoration: none;
}
.hero-credit:hover { color: var(--gold); }

/* FLOATING EMBERS */
.embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.ember {
  position: absolute;
  bottom: -15px;
  width: 3px;
  height: 3px;
  background: #e89635;
  border-radius: 50%;
  box-shadow: 0 0 8px #e66c22;
  animation: float-ember var(--duration) linear infinite;
  animation-delay: var(--delay);
  left: var(--left);
  opacity: 0;
}
@keyframes float-ember {
  0% { opacity: 0; transform: translate(0,0); }
  12% { opacity: .75; }
  75% { opacity: .4; }
  100% { opacity: 0; transform: translate(75px, -105vh); }
}

/* SECTIONS */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: .98;
  margin: 8px 0 0;
  font-weight: 500;
  letter-spacing: -.035em;
}
.section-head p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 0 6px auto;
}

/* RULE GRID (CLEAN, NO EMOJIS) */
.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.rule {
  background: var(--bg2);
  padding: 34px;
  min-height: 220px;
  transition: background .25s;
}
.rule:hover {
  background: #141a12;
}
.rule .num {
  font: italic 36px Georgia, serif;
  color: rgba(201,154,82,.38);
}
.rule h3 {
  font-size: 23px;
  margin: 20px 0 10px;
  font-weight: 500;
  color: var(--gold2);
}
.rule p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* SLEEK RESPONSIVE SHOWCASE GALLERY */
.showcase-wrapper {
  border: 1px solid var(--line);
  background: #10150f;
  box-shadow: var(--shadow);
  border-radius: 4px;
  overflow: hidden;
}
.showcase-nav {
  display: flex;
  background: #090d09;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.showcase-nav::-webkit-scrollbar { display: none; }
.showcase-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 16px 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-btn .idx {
  color: rgba(201,154,82,.5);
  font-family: Georgia, serif;
  font-size: 13px;
}
.showcase-btn:hover {
  color: var(--gold2);
  background: rgba(185,150,80,.05);
}
.showcase-btn.active {
  color: var(--gold2);
  border-bottom-color: var(--gold);
  background: rgba(185,150,80,.09);
}
.showcase-btn.active .idx {
  color: var(--gold-bright);
}

.showcase-body {
  padding: 32px;
  background: radial-gradient(circle at 45% 20%, rgba(185,150,80,.04), transparent 60%), #0d120d;
}
.showcase-panel {
  display: none;
  animation: showcaseFade .3s ease;
}
.showcase-panel.active {
  display: block;
}
@keyframes showcaseFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 2-COLUMN STAGE */
.showcase-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: start;
}
.showcase-frame {
  border: 1px solid var(--line2);
  border-radius: 4px;
  overflow: hidden;
  background: #060806;
  box-shadow: 0 18px 45px rgba(0,0,0,.7);
}
.showcase-frame-header {
  height: 28px;
  background: #141b12;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.frame-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333d2e;
}
.frame-title {
  margin-left: auto;
  font-size: 10px;
  color: #79846d;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}

.showcase-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.info-chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 8px;
}
.showcase-info h3 {
  font-size: 28px;
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.15;
}
.showcase-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 11px;
}
.feature-list li {
  font-size: 13px;
  color: #cfc7b6;
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.5;
}
.feature-list li .bullet {
  color: var(--gold);
  font-size: 16px;
  line-height: 0;
}
.pro-card {
  margin-top: auto;
  padding: 16px;
  border-left: 2px solid var(--gold);
  background: rgba(201,154,82,.06);
  border-radius: 0 2px 2px 0;
}
.pro-card strong {
  display: block;
  color: var(--gold2);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pro-card span {
  font-size: 12px;
  color: #a7ad9b;
  line-height: 1.5;
  display: block;
}

/* HOTKEYS TABLE */
.hotkeys-table-wrap {
  border: 1px solid var(--line);
  background: #10150f;
  overflow: auto;
  border-radius: 4px;
}
.hotkeys-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.hotkeys-table th, .hotkeys-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #232b1d;
  font-size: 14px;
}
.hotkeys-table th {
  background: rgba(185,150,80,.07);
  color: var(--gold2);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .14em;
  text-align: left;
}
.hotkeys-table tr:hover td {
  background: rgba(185,150,80,.03);
}
.hotkey-badge {
  display: inline-block;
  background: #1b2417;
  border: 1px solid #4a5c37;
  color: var(--gold-bright);
  padding: 5px 12px;
  font-weight: 800;
  font-size: 13px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  font-family: monospace;
}

/* STEP CARDS / INSTALL */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  border: 1px solid var(--line);
  background: #10150f;
  padding: 26px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
}
.step-num {
  font: italic 32px Georgia, serif;
  color: var(--gold);
  margin-bottom: 14px;
}
.step-card h3 {
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--ink);
}
.step-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.code-box {
  background: #080b08;
  border: 1px solid #262e1e;
  border-radius: 3px;
  padding: 10px 12px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  color: #79d288;
  margin-top: auto;
  word-break: break-all;
}

/* COMPARISON / VALUE MATRIX */
.matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.matrix-box {
  border: 1px solid var(--line);
  background: #10150f;
  padding: 32px;
  border-radius: 4px;
}
.matrix-box.featured {
  border-color: var(--gold);
  background: radial-gradient(circle at 100% 0%, rgba(185,150,80,.08), transparent 40%), #121811;
  box-shadow: 0 0 30px rgba(185,150,80,.1);
}
.matrix-box h3 {
  font-size: 26px;
  margin: 0 0 16px;
  color: var(--gold2);
}
.matrix-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.matrix-list li {
  font-size: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #b7b09e;
}
.matrix-list li b { color: var(--ink); }
.check-glyph { color: #76cf85; font-weight: 800; }

/* FAQ SECTION */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.faq-item {
  border: 1px solid var(--line);
  background: #10150f;
  padding: 24px 28px;
  border-radius: 3px;
}
.faq-item h4 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--gold2);
}
.faq-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 70px;
  color: #7d8471;
  font-size: 12px;
  background: #090c09;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover {
  color: var(--gold2);
}
.footer-disclaimer {
  margin-top: 24px;
  line-height: 1.7;
  font-size: 11px;
  color: #646a5b;
  max-width: 900px;
}

/* RESPONSIVE */
@media(max-width: 1040px) {
  .showcase-stage {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media(max-width: 960px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head p { margin: 0; }
  .rule-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .matrix-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .hero .wrap { padding: 70px 0; }
}
@media(max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .nav { min-height: 74px; }
  .brand { font-size: 20px; }
  .brandmark { width: 34px; }
  .navlinks a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: 44px; }
  .hero-meta { gap: 18px; }
  .steps-grid { grid-template-columns: 1fr; }
  .showcase-body { padding: 18px; }
}


/* COMPANION SPLIT FEATURE SECTIONS */
.companion-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  margin-top: 40px;
}
.companion-split.reversed {
  direction: rtl;
}
.companion-split.reversed > * {
  direction: ltr;
}
.companion-visual {
  background: #0d120d;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.6), 0 0 20px rgba(195,162,93,0.12);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.companion-visual:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.companion-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.companion-text h3 {
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--gold2);
  margin: 12px 0 16px;
  line-height: 1.2;
}
.companion-text p {
  color: #c0c6b3;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #dcdfb6;
  line-height: 1.5;
}
.feature-checklist .check-icon {
  color: #8ab882;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

/* FULL GALLERY GRID (ALL SCREENSHOTS) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.gallery-item {
  background: #10150f;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0,0,0,0.7), 0 0 20px rgba(195,162,93,0.18);
}
.gallery-thumb {
  position: relative;
  overflow: hidden;
  background: #080b07;
  aspect-ratio: 16 / 10;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-thumb img {
  transform: scale(1.03);
}
.gallery-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.gallery-category {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8ab882;
  margin-bottom: 6px;
  font-weight: 600;
}
.gallery-title {
  font-size: 18px;
  color: var(--gold2);
  margin: 0 0 8px;
  font-weight: 500;
}
.gallery-desc {
  font-size: 13px;
  color: #9ea392;
  line-height: 1.6;
  margin: 0;
}

/* HERO META 5 TILES REFRESH */
.hero-features-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.feature-chip {
  background: rgba(18, 24, 16, 0.85);
  border: 1px solid rgba(195, 162, 93, 0.28);
  border-radius: 6px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: border-color 0.25s, transform 0.25s;
}
.feature-chip:hover {
  border-color: var(--gold2);
  transform: translateY(-3px);
  background: rgba(24, 32, 21, 0.95);
}
.feature-chip-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.feature-chip-desc {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold2);
  font-weight: 500;
}

/* DOWNLOAD / RELEASE CARDS */
.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.release-card {
  background: linear-gradient(180deg, #161f14 0%, #0d120d 100%);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 32px 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 24px rgba(195,162,93,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.release-card h3 {
  font-size: 22px;
  color: var(--gold2);
  margin: 0 0 10px;
}
.release-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(114, 140, 105, 0.25);
  border: 1px solid #728c69;
  color: #a5d297;
  border-radius: 4px;
  margin-bottom: 16px;
  align-self: flex-start;
}

@media(max-width: 1040px) {
  .hero-features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .companion-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media(max-width: 640px) {
  .hero-features-bar {
    grid-template-columns: 1fr;
  }
}




/* --- POLISHED AUTHENTIC D2R ITEM INSPECTION CARDS --- */
.item-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  margin-top: 36px;
}
.item-card {
  background: #0d140b;
  border: 1px solid #2a3922;
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.75), 0 0 20px rgba(70,95,58,0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.item-card:hover {
  transform: translateY(-5px);
  border-color: #557248;
  box-shadow: 0 22px 48px rgba(0,0,0,0.85), 0 0 28px rgba(114,140,105,0.22);
}
.item-card-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.item-icon-box {
  width: 96px;
  height: 96px;
  background: radial-gradient(circle at center, #151f12 0%, #060905 100%);
  border: 2px solid #3e5033;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: inset 0 0 16px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.5);
  position: relative;
}
.item-icon-box::before {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(195, 162, 93, 0.2);
  border-radius: 2px;
  pointer-events: none;
}
.item-icon-box img {
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.9));
  transition: transform 0.3s ease;
}
.item-card:hover .item-icon-box img {
  transform: scale(1.06);
}
.item-header-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.item-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.item-name {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 21px;
  color: #d8b877;
  margin: 0;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.item-subname {
  font-size: 13px;
  color: #8c9383;
  margin: 3px 0 3px;
}
.item-base-name {
  font-size: 11px;
  color: #6e8864;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 6px;
}
.item-rarity-badge {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}
.item-rarity-badge.unique {
  color: #c99a52;
  border: 1px solid #8e723d;
  background: rgba(201, 154, 82, 0.08);
}
.item-rarity-badge.runeword {
  color: #d8b877;
  border: 1px solid #8e7a46;
  background: rgba(216, 184, 119, 0.08);
}
.item-req-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.req-pill {
  background: #141c12;
  border: 1px solid #293822;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  color: #b7bda9;
  font-family: system-ui, -apple-system, sans-serif;
}
.item-roll-box {
  background: #121a0f;
  border: 1px solid #283720;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.roll-metric-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}
.roll-metric-range {
  font-size: 12px;
  color: #677d5f;
  margin-left: 6px;
  font-weight: normal;
}
.roll-status-pill {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}
.roll-status-pill.perfect {
  color: #00e676;
  border: 1px solid #00e676;
  background: rgba(0, 230, 118, 0.16);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.3);
  text-shadow: 0 0 6px #00e676;
}
.roll-status-pill.high {
  color: #00e676;
  border: 1px solid #2e7d32;
  background: rgba(0, 230, 118, 0.08);
  text-shadow: 0 0 6px rgba(0, 230, 118, 0.4);
}
.roll-status-pill.low {
  color: #ff5252;
  border: 1px solid #c62828;
  background: rgba(255, 82, 82, 0.08);
  text-shadow: 0 0 6px rgba(255, 82, 82, 0.4);
}
.item-affixes-box {
  background: #090e07;
  border: 1px solid #1a2516;
  border-radius: 4px;
  padding: 16px 18px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.affix-line {
  color: #4b82d4;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0.01em;
  font-family: 'Cinzel', Georgia, serif;
  text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}
.affix-bullet {
  color: #3b68a8;
  margin-right: 6px;
}

/* ==========================================================================
   ROADMAP / CO PRZED NAMI SECTION
   ========================================================================== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.roadmap-item {
  background: linear-gradient(180deg, #141b12 0%, #0c100b 100%);
  border: 1px solid #283424;
  border-radius: 8px;
  padding: 26px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 154, 82, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.roadmap-item:hover {
  border-color: #615031;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(195, 162, 93, 0.12);
}

.roadmap-item:hover::before {
  opacity: 1;
}

.roadmap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.roadmap-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.roadmap-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.roadmap-badge.in-dev {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.15);
}

.roadmap-badge.in-dev::before {
  box-shadow: 0 0 6px #4ade80;
}

.roadmap-badge.planned {
  background: rgba(201, 154, 82, 0.12);
  color: #ddc48c;
  border: 1px solid rgba(201, 154, 82, 0.35);
}

.roadmap-badge.ongoing {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.roadmap-num {
  font-size: 11px;
  font-weight: 800;
  color: #55624e;
  letter-spacing: 0.1em;
  font-family: monospace;
}

.roadmap-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: #ede8dc;
  line-height: 1.35;
  margin: 0 0 12px 0;
  letter-spacing: 0.02em;
}

.roadmap-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #9aa192;
  margin: 0;
}


