/* =========================================================
   NYTHERADRAGON HOME V2 — PREMIUM REALM POLISH
   ========================================================= */

body.nd-home-v2 {
  --gold: #e7b64f;
  --gold-bright: #ffe39b;
  --cream: #f8edda;
  --muted: #bdabb4;
  --line: rgba(218, 164, 83, .25);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(113, 21, 43, .19), transparent 48%),
    linear-gradient(180deg, #0e0710, #09060b 55%, #0c070d);
}

/* HEADER */
.ndv2-header {
  position: sticky;
  top: 0;
  min-height: 80px;
  padding: 10px max(4.5vw, calc((100vw - 1380px)/2));
  background: rgba(10, 6, 12, .94);
  border-bottom: 1px solid rgba(218, 164, 83, .34);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(0,0,0,.34);
}

.ndv2-logo img {
  max-height: 54px;
  filter: drop-shadow(0 0 12px rgba(219, 164, 71, .15));
}

.ndv2-nav a {
  position: relative;
  min-height: 40px;
  padding: 0 14px;
  color: #d5c4ce;
  font-size: 11px;
  letter-spacing: .025em;
  border-radius: 8px;
}

.ndv2-nav a:hover,
.ndv2-nav a.active {
  color: var(--gold-bright);
  background: linear-gradient(145deg, rgba(111, 49, 37, .24), rgba(53, 17, 34, .42));
  border-color: rgba(224, 176, 93, .32);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.ndv2-nav a:focus-visible,
.ndv2-btn:focus-visible,
.ndv2-path-card:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

/* CINEMATIC HERO */
.ndv2-hero {
  min-height: 610px;
  border-bottom: 1px solid rgba(218, 164, 83, .25);
  background:
    radial-gradient(ellipse at 70% 32%, rgba(150, 24, 47, .25), transparent 42%),
    linear-gradient(105deg, #0e0710, #1b0914 55%, #100810);
}

.ndv2-hero::before {
  background-size: auto 120%;
  background-position: 58% 48%;
  opacity: .96;
  filter: saturate(1.12) contrast(1.04);
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 38%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 12%, #000 38%, #000 82%, transparent 100%);
}

.ndv2-hero::after {
  background:
    linear-gradient(90deg, rgba(9,5,11,.80) 0%, rgba(9,5,11,.40) 38%, rgba(9,5,11,.12) 65%, rgba(9,5,11,.48) 100%),
    linear-gradient(0deg, rgba(9,5,11,.75), transparent 30%, transparent 78%, rgba(9,5,11,.25));
}

.ndv2-hero-inner {
  width: min(1380px, 91%);
  min-height: 610px;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, .88fr);
  gap: clamp(28px, 4vw, 76px);
  padding: 62px 0;
}

.ndv2-copy {
  max-width: 720px;
}

.ndv2-kicker {
  border-color: rgba(235, 184, 94, .48);
  background: rgba(22, 9, 18, .78);
  box-shadow: 0 0 32px rgba(174, 39, 51, .14);
  letter-spacing: .16em;
}

.ndv2-kicker .dot {
  animation: ndv2-pulse 2s ease-in-out infinite;
}

@keyframes ndv2-pulse {
  0%, 100% { box-shadow: 0 0 5px #e7a83c; opacity: .85; }
  50% { box-shadow: 0 0 17px #ffd36c; opacity: 1; }
}

.ndv2-copy h1 {
  font-size: clamp(46px, 5.5vw, 78px);
  line-height: 1.03;
  letter-spacing: -.04em;
  text-shadow: 0 6px 32px rgba(0,0,0,.65);
}

.ndv2-copy h1 span {
  margin-top: 7px;
  filter: drop-shadow(0 5px 18px rgba(168, 101, 33, .20));
}

.ndv2-copy p {
  max-width: 570px;
  color: #e0d0d3;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.9;
  text-shadow: 0 2px 12px #000;
}

.ndv2-btn {
  min-height: 55px;
  padding: 0 25px;
  border-radius: 10px;
  letter-spacing: .015em;
}

.ndv2-btn-primary {
  box-shadow: 0 8px 32px rgba(220, 151, 48, .25), inset 0 1px rgba(255,255,255,.35);
}

/* BENEFITS PANEL */
.ndv2-benefits {
  max-width: 475px;
  padding: 28px 28px 22px;
  border-color: rgba(224, 177, 99, .55);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(128, 34, 43, .2), transparent 48%),
    linear-gradient(145deg, rgba(35, 13, 27, .94), rgba(12, 7, 14, .97));
  backdrop-filter: blur(12px);
  box-shadow:
    0 24px 80px rgba(0,0,0,.52),
    inset 0 1px rgba(255,255,255,.055),
    0 0 38px rgba(181, 51, 47, .10);
}

.ndv2-benefits-head {
  padding-bottom: 18px;
}

.ndv2-benefits-head h2 {
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: .015em;
}

.ndv2-benefit-list {
  gap: 0;
  padding: 8px 0 12px;
}

.ndv2-benefit {
  grid-template-columns: 45px 1fr;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(211, 154, 84, .12);
}

.ndv2-benefit:last-child {
  border-bottom: 0;
}

.ndv2-benefit-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(119, 39, 44, .55), rgba(39, 13, 27, .9));
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 5px 15px rgba(0,0,0,.16);
}

.ndv2-benefit h3 {
  font-size: 13px;
}

.ndv2-benefit p {
  color: #cbb9c1;
  font-size: 10px;
  line-height: 1.65;
}

.ndv2-live-line {
  padding-top: 15px;
  font-size: 9px;
  letter-spacing: .06em;
}

.ndv2-live-line strong,
.ndv2-live-number {
  color: var(--gold-bright);
}

/* ONLINE ADVENTURERS */
.ndv2-presence-section {
  width: min(1380px, 91%);
  margin: 0 auto;
  padding: 44px 0 10px;
}

.ndv2-presence-card {
  position: relative;
  overflow: hidden;
  padding: 23px 27px 19px;
  border: 1px solid rgba(211, 155, 76, .28);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(111, 28, 42, .14), transparent 48%),
    linear-gradient(145deg, rgba(29, 12, 24, .94), rgba(13, 8, 15, .97));
  box-shadow: 0 16px 42px rgba(0,0,0,.19), inset 0 1px rgba(255,255,255,.035);
}

.ndv2-presence-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(211, 155, 76, .20);
}

.ndv2-presence-head h2 {
  margin: 0;
  color: #f7e7c9;
  font: 700 clamp(19px, 2vw, 24px)/1.25 Cinzel, Georgia, serif;
}

.ndv2-presence-head .ndv2-section-kicker {
  margin-bottom: 6px;
  color: #d9aa54;
}

.ndv2-presence-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c6ad79;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ndv2-presence-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #77d697;
  box-shadow: 0 0 12px rgba(119,214,151,.75);
}

.ndv2-presence-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 7px 12px 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(211,155,76,.5) rgba(255,255,255,.035);
}

.ndv2-adventurers-names {
  color: #ead9c4;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ndv2-adventurers-names > * {
  display: block;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(196,139,100,.10);
}

.ndv2-adventurers-names > *:last-child {
  border-bottom: 0;
}

.ndv2-presence-note {
  margin: 10px 0 0;
  color: #8f7b85;
  font-size: 10px;
}

/* SERVER STATISTICS */
.ndv2-stats-section {
  width: min(1380px, 91%);
  margin: 0 auto;
  padding: 62px 0 38px;
}

.ndv2-stats-inner {
  width: 100%;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 75px);
}

.ndv2-stats-intro {
  padding: 15px 0;
}

.ndv2-stats-intro h2 {
  font-size: clamp(29px, 3.4vw, 43px);
  line-height: 1.15;
}

.ndv2-stats-intro p {
  max-width: 390px;
  color: #bba9b2;
  line-height: 1.9;
}

.ndv2-stats-card {
  max-width: none;
  padding: 25px 27px 19px;
  border-color: rgba(211, 155, 76, .32);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(117, 28, 43, .16), transparent 48%),
    linear-gradient(145deg, rgba(30, 12, 25, .96), rgba(13, 8, 15, .98));
  box-shadow: 0 20px 48px rgba(0,0,0,.23), inset 0 1px rgba(255,255,255,.035);
}

.nd-stats-list-head {
  padding-bottom: 17px;
}

.nd-stats-list-title {
  font-size: 19px;
}







.nd-stats-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 28px;
  row-gap: 0;
  padding-top: 7px;
}

.nd-stats-row {
  min-height: 39px;
  padding: 9px 2px;
  border-bottom-color: rgba(196, 139, 100, .13);
  font-size: 10px;
}

.nd-stats-row dt {
  color: #bdaeb5;
}

.nd-stats-row dd {
  color: #f0ce7c;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.nd-stats-list-footer {
  margin-top: 3px;
}

/* NAVIGATION CARDS */
.ndv2-path-section {
  width: min(1380px, 91%);
  padding: 58px 0 78px;
}

.ndv2-section-head {
  margin-bottom: 30px;
}

.ndv2-section-kicker {
  color: #d9a64e;
  letter-spacing: .18em;
}

.ndv2-section-head h2 {
  font-size: clamp(29px, 3.3vw, 42px);
}

.ndv2-section-head p {
  max-width: 440px;
}

.ndv2-path-grid {
  gap: 18px;
}

.ndv2-path-card {
  position: relative;
  overflow: hidden;
  min-height: 235px;
  padding: 27px;
  border-color: rgba(203, 135, 67, .30);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(117, 28, 43, .13), transparent 55%),
    linear-gradient(145deg, rgba(31, 12, 25, .96), rgba(13, 8, 15, .98));
  box-shadow: 0 14px 35px rgba(0,0,0,.19), inset 0 1px rgba(255,255,255,.035);
}

.ndv2-path-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232,184,91,.65), transparent);
  opacity: .5;
  transition: opacity .2s ease;
}

.ndv2-path-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 184, 91, .62);
  box-shadow: 0 22px 48px rgba(0,0,0,.30), 0 0 25px rgba(166,47,46,.12);
}

.ndv2-path-card:hover::after {
  opacity: 1;
}

.ndv2-path-icon {
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(130,42,44,.45), rgba(45,14,29,.75));
}

/* SHARED FOOTER */
body.nd-home-v2 > footer {
  position: relative;
  margin-top: 0;
  padding: 35px 5vw 39px;
  border-top: 1px solid rgba(211, 155, 76, .28);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(106, 28, 43, .15), transparent 60%),
    linear-gradient(180deg, #100811, #09060b);
  color: #a995a0;
  text-align: center;
  font-size: 10px;
  line-height: 1.9;
}

body.nd-home-v2 > footer .container {
  width: min(1100px, 100%);
  margin: 0 auto;
}

body.nd-home-v2 > footer .title,
body.nd-home-v2 > footer .title b {
  color: #efdfc4;
  font-family: Cinzel, Georgia, serif;
  font-size: 13px;
}

body.nd-home-v2 > footer .footer-info {
  margin-top: 10px;
  color: #bd9e72;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .ndv2-header {
    gap: 12px;
    padding-left: 3vw;
    padding-right: 3vw;
  }

  .ndv2-nav {
    flex-wrap: wrap;
    gap: 2px;
  }

  .ndv2-nav a {
    padding: 0 9px;
    font-size: 10px;
  }

  .ndv2-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .88fr);
  }
}

@media (max-width: 820px) {
  .ndv2-hero,
  .ndv2-hero-inner {
    min-height: 0;
  }

  .ndv2-hero-inner {
    grid-template-columns: 1fr;
    width: min(92%, 680px);
    gap: 30px;
    padding: 52px 0 42px;
  }

  .ndv2-copy {
    max-width: 650px;
  }

  .ndv2-benefits {
    justify-self: stretch;
    max-width: none;
  }

  .ndv2-stats-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ndv2-stats-intro {
    padding: 0;
  }

  .ndv2-stats-intro p {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .ndv2-header {
    position: relative;
    padding: 9px 10px;
  }

  .ndv2-hero::before {
    background-size: auto 83%;
    background-position: 70% 25%;
    opacity: .62;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
    mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
  }

  .ndv2-hero::after {
    background:
      linear-gradient(90deg, rgba(9,6,11,.60), rgba(9,6,11,.20)),
      linear-gradient(0deg, rgba(9,6,11,.90), transparent 50%);
  }

  .ndv2-hero-inner {
    width: 91%;
    padding: 39px 0 32px;
  }

  .ndv2-copy h1 {
    font-size: clamp(39px, 9.5vw, 58px);
  }

  .ndv2-copy p {
    font-size: 13px;
  }

  .ndv2-benefit-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
  }

  .ndv2-presence-section,
  .ndv2-stats-section,
  .ndv2-path-section {
    width: 91%;
  }

  .ndv2-presence-section {
    padding-top: 28px;
  }

  .ndv2-presence-card {
    padding: 19px 17px 15px;
  }

  .ndv2-stats-section {
    padding-top: 42px;
  }

  .nd-stats-list {
    grid-template-columns: 1fr !important;
  }

  .ndv2-path-section {
    padding: 45px 0 56px;
  }

  .ndv2-path-grid {
    grid-template-columns: 1fr;
  }

  .ndv2-path-card {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .ndv2-benefit-list {
    grid-template-columns: 1fr;
  }

  .ndv2-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ndv2-btn {
    width: 100%;
  }

  .ndv2-presence-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ndv2-stats-card {
    padding: 17px 14px;
  }

  .nd-stats-row {
    font-size: 10px;
  }

  body.nd-home-v2 > footer {
    padding: 27px 5vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ndv2-kicker .dot {
    animation: none;
  }

  .ndv2-btn,
  .ndv2-path-card,
  .ndv2-nav a {
    transition: none;
  }
}

/* LIVE DATA TRANSPLANTED FROM INDEX START */

body.nd-home-v2 .ndv2-stats-card .nd-stats-list-head > .nd-stats-live[data-compact-stat="live"] {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex: 0 0 auto !important;
  color: #d8b779 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: .1em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.nd-home-v2 .ndv2-stats-card .nd-stats-list-head > .nd-stats-live[data-compact-stat="live"]::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 6px !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #d8a64d !important;
  box-shadow: 0 0 9px rgba(216, 166, 77, .55) !important;
}

body.nd-home-v2 .ndv2-stats-card .nd-stats-list-head > .nd-stats-live[data-compact-stat="live"].is-error {
  color: #d98a83 !important;
}

body.nd-home-v2 .ndv2-stats-card .nd-stats-list-head > .nd-stats-live[data-compact-stat="live"].is-error::before {
  background: #c65c58 !important;
  box-shadow: 0 0 9px rgba(198, 92, 88, .45) !important;
}

/* LIVE DATA TRANSPLANTED FROM INDEX END */


/* HERO TITLE TWO LINES START */
@media (min-width: 721px) {
  body.nd-home-v2 .ndv2-copy h1 {
    font-size: clamp(38px, 4.5vw, 62px) !important;
    max-width: 100% !important;
    line-height: .99;
  }
}
/* HERO TITLE TWO LINES END */
