/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[15].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Geist","arguments":[{"variable":"--font-geist-sans","subsets":["latin"]}],"variableName":"geistSans"} ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8d697b304b401681-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba015fad6dcf6784-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/4cf2300e9c8272f7-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Geist Fallback';src: local("Arial");ascent-override: 95.94%;descent-override: 28.16%;line-gap-override: 0.00%;size-adjust: 104.76%
}.__className_188709 {font-family: 'Geist', 'Geist Fallback';font-style: normal
}.__variable_188709 {--font-geist-sans: 'Geist', 'Geist Fallback'
}

/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[15].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Geist_Mono","arguments":[{"variable":"--font-geist-mono","subsets":["latin"]}],"variableName":"geistMono"} ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/9610d9e46709d722-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/747892c23ea88013-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/93f479601ee12b01-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Geist Mono Fallback';src: local("Arial");ascent-override: 74.67%;descent-override: 21.92%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_9a8899 {font-family: 'Geist Mono', 'Geist Mono Fallback';font-style: normal
}.__variable_9a8899 {--font-geist-mono: 'Geist Mono', 'Geist Mono Fallback'
}

/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/styles/globals.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
:root {
  --background: #ffffff;
  --foreground: #171717;
  /* Cards table sizing */
  --card-art-w: 110px;
  --card-col-left: 250px;
  --card-col-stat: 90px;
  --card-col-rarity: 200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
}

.cardsTable {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.cardsTable td:first-child,
.cardsTable th:first-child {
  text-align: center;
}

.cardsTable th:nth-child(2),
.cardsTable th:nth-child(3),
.cardsTable th:nth-child(4),
.cardsTable th:nth-child(5),
.cardsNum {
  text-align: center;
}

/* Center rarity */
.cardsRarity {
  text-align: center;
}

/* Description wraps */
.cardsDesc {
  white-space: normal;
  word-break: break-word;
}

/* --- Card art + overlays in first column --- */
.cardsNameCell {
  overflow: hidden;
  vertical-align: top;
}

.cardFrame {
  width: 100%;
  max-width: 100%;
}

/* Name banner above image */
.cardBanner {
  width: var(--card-art-w);
  margin: 0 auto 6px auto;

  padding: 6px 8px;
  border-radius: 10px;

  font-weight: 700;
  font-size: 12px;
  line-height: 1.1;
  text-align: center;

  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Wrap art so overlay positions properly */
.cardArtWrap {
  position: relative;
  width: var(--card-art-w);
  margin: 0 auto;
}

.cardArt {
  width: var(--card-art-w);
  height: auto;
  display: block;

  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cardArtPlaceholder {
  height: 150px;
  background: rgba(255, 255, 255, 0.06);
}

/* Compass overlay */
.cardCompass {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cardCompassN,
.cardCompassS,
.cardCompassW,
.cardCompassE {
  position: absolute;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 4px 6px;
  border-radius: 10px;

  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);

  font-size: 11px;
  line-height: 1;
}

.cardCompassN {
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

.cardCompassS {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.cardCompassW {
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
}

.cardCompassE {
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

.cardDir {
  font-weight: 800;
  opacity: 0.9;
}

.cardVal {
  font-weight: 700;
  opacity: 0.95;
}

/* ===== Delteria Items (WoWHead-ish) ===== */

.dtItemsPage {
  padding: 28px 22px 60px;
}

.dtItemsHeader h1 {
  margin: 0 0 16px;
  font-size: 44px;
  letter-spacing: 0.5px;
}

.dtItemsLayout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 1100px) {
  .dtItemsLayout {
    grid-template-columns: 1fr;
  }
}

.dtItemsFilters {
  background: rgba(30, 30, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

.dtFilterGroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.dtFilterGroup label {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.dtFilterGroup input,
.dtFilterGroup select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  border-radius: 6px;
  height: 36px;
  padding: 0 10px;
  outline: none;
}

.dtFilterRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dtRange {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.dtRange span {
  color: rgba(255,255,255,0.35);
  text-align: center;
}

.dtApplyBtn {
  margin-top: 6px;
  width: 140px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: #8c5a2b;
  color: white;
  cursor: pointer;
}

.dtApplyBtn:hover {
  filter: brightness(1.08);
}

.dtError {
  margin-top: 12px;
  color: #ffb3b3;
  font-size: 13px;
}

/* LIST SIDE */

.dtItemsList {
  background: rgba(20,20,20,0.62);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

.dtItemsTopbar {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dtMuted {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

.dtTableWrap {
  overflow: auto;
  max-height: 72vh;
}

.dtTable {
  width: 100%;
  border-collapse: collapse;
}

.dtTable thead th {
  position: sticky;
  top: 0;
  background: rgba(35,35,35,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  text-align: left;
  padding: 10px 12px;
  z-index: 1;
}

.dtTable tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.86);
  font-size: 14px;
  vertical-align: middle;
}

.dtTable tbody tr:hover {
  background: rgba(255,255,255,0.04);
}

.dtNameCell {
  cursor: default;
}

.dtNameInner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dtIconBox {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  flex: 0 0 auto;
}

.dtIconBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dtIconFallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.dtItemName {
  font-weight: 600;
}

.dtNum {
  text-align: right;
  color: rgba(255,255,255,0.75);
}

.dtSlot {
  color: rgba(255,255,255,0.65);
}

.dtEmpty {
  padding: 18px 12px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* TOOLTIP */

.dtTooltipPortal {
  position: fixed;
  z-index: 9999;
  pointer-events: none; /* so hover stays on the row */
}

.dtTooltip {
  width: 360px;
  pointer-events: none;
  background: rgba(12, 12, 12, 0.95);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.7);
  padding: 10px 12px 12px;
}

.dtTooltipName {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 18px;
  line-height: 1.15;
}

.dtTooltipSub {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
}

.dtTooltipDivider {
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 10px 0;
}

.dtTooltipMeta {
  display: grid;
  gap: 4px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

.dtTooltipBody {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  line-height: 1.35;
}

.dtTooltipStatRow {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.dtTooltipStatKey {
  color: rgba(255,255,255,0.78);
}

.dtTooltipStatVal {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

/* QUALITY COLORS (WoW-like) */
.q-poor { color: #9d9d9d; }
.q-common { color: #ffffff; }
.q-uncommon { color: #1eff00; }
.q-rare { color: #0070dd; }
.q-epic { color: #a335ee; }
.q-legendary { color: #ff8000; }
.q-artifact { color: #e6cc80; }
.q-heirloom { color: #00ccff; }

.armoryTabs{
  margin-top: 14px;
  margin-bottom: 14px;
  padding: 10px;
}

.armoryTabsInner{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* tab button */
.armoryTab{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.72);
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.armoryTab:hover{
  transform: translateY(-1px);
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.34);
  border-color: rgba(255,255,255,0.14);
}

/* active tab */
.armoryTab.isActive{
  color: #fff;
  background: rgba(198, 164, 88, 0.18); /* your gold vibe */
  border-color: rgba(198, 164, 88, 0.45);
  box-shadow: 0 0 0 1px rgba(198,164,88,0.18) inset, 0 10px 30px rgba(0,0,0,0.35);
}
/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/styles/armory.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/
 /* =========================
       Delteria Armory (Items)
       apps/web/src/styles/armory.css
       ========================= */

    /* --- base --- */
:root {
    --bg: #060606;
    --panel: rgba(255, 255, 255, 0.04);
    --panel2: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.12);
    --border2: rgba(255, 255, 255, 0.18);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.65);
    --muted2: rgba(255, 255, 255, 0.45);
    --gold: #b89042;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    --radius: 14px;
    --radius2: 18px;
    --gap: 18px;
    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
}

html,
body {
    background: radial-gradient(1200px 700px at 40% 12%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0))
    no-repeat,
    radial-gradient(900px 500px at 80% 20%, rgba(184, 144, 66, 0.12), rgba(0, 0, 0, 0)) no-repeat,
    var(--bg);
    color: var(--text);
    font-family: var(--font);
    margin: 0;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================
   Page layout
   ========================= */

.armoryPage {
    width: min(1400px, calc(100vw - 48px));
    margin: 28px auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--gap);
    align-items: start;
}

/* Responsive */
@media (max-width: 980px) {
    .armoryPage {
        width: calc(100vw - 22px);
        grid-template-columns: 1fr;
    }

    .armorySidebar {
        position: relative !important;
        top: auto !important;
    }
}

.armorySidebar {
    position: sticky;
    top: 18px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius2);
    box-shadow: var(--shadow);
    padding: 16px;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

/* main panel */
.armoryMain {
    background: transparent;
    min-width: 0; /* IMPORTANT: allows table to shrink instead of overflowing */
}

/* =========================
   Filters panel (MATCHES your current component classNames)
   ========================= */

 /* =========================
   Top layout (filters above table)
   ========================= */


 .armoryPageTop {
     width: min(1400px, calc(100vw - 48px));
     margin: 28px auto;

     display: grid;
     grid-template-columns: 1fr;
     gap: var(--gap);
 }

 .armoryFiltersTop {
     background: transparent;
 }

 /* Make the filter card look like a top toolbar card */
 .armoryFiltersTop .filterCard {
     width: 100%;
     max-width: 100%;
 }

 /* Turn the filters into a responsive grid row */
 .armoryFiltersTop .filterRow2 {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 12px;
 }

 @media (max-width: 980px) {
     .armoryPageTop {
         width: min(1400px, calc(100vw - 24px));
         margin: 18px auto;
     }

     .armoryFiltersTop .filterRow2 {
         grid-template-columns: 1fr;
     }
 }

 /* Optional: make the bottom hint less tall on top layout */
 .armoryFiltersTop .filterHint {
     margin-top: 10px;
 }

.filterCard {
    display: grid;
    gap: 12px;
}

.filterTitle {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin: 0;
}

.filterHint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted2);
    line-height: 1.35;
}

.filterRow2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.filterLabel {
    font-size: 12px;
    color: var(--muted);
    display: grid;
    gap: 6px;
}

.filterInput,
.filterSelect {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 10px;
    font-size: 13px;
    outline: none;
}

.filterInput:focus,
.filterSelect:focus {
    border-color: rgba(184, 144, 66, 0.6);
    box-shadow: 0 0 0 3px rgba(184, 144, 66, 0.18);
}

.filterBtns {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.filterBtnPrimary,
.filterBtn {
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid transparent;
    -webkit-user-select: none;
            user-select: none;
}

.filterBtnPrimary {
    background: rgba(184, 144, 66, 0.9);
    color: #14110a;
    border-color: rgba(184, 144, 66, 0.65);
}

.filterBtnPrimary:hover {
    background: rgba(184, 144, 66, 1);
}

.filterBtn {
    background: transparent;
    color: var(--muted);
    border-color: var(--border);
}

.filterBtn:hover {
    color: var(--text);
    border-color: var(--border2);
    background: rgba(255, 255, 255, 0.04);
}

/* =========================
   Items header + pagination (for the newer ItemsTable)
   ========================= */

.itemsHeaderRow {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 6px 0 12px 0;
}

 .itemsPagerTop,
 .itemsPagerBottom {
     padding-right: 12px; /* 👈 adjust to taste (8–16px) */
 }

.itemsHeaderTitle .itemsTitle {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.3px;
    margin: 6px 10px 12px 12px;
}

.itemsSubtitle {
    opacity: 0.75;
    font-size: 13px;
    margin: 6px 10px 12px 12px;
}

.itemsError {
    color: #ff9b9b;
    opacity: 1;
}

/* pager */
.itemsPagerTop,
.itemsPagerBottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.itemsPagerBottom {
    justify-content: center;
    margin-top: 14px;
}

.pagerBtn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #eaeaea;
    padding: 8px 10px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    font-size: 12px;
}

.pagerBtn:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.pagerBtn:disabled {
    opacity: 0.4;
    cursor: default;
}

.pagerInfo {
    font-size: 13px;
    opacity: 0.85;
    white-space: nowrap;
}

/* =========================
   Table
   ========================= */

.itemsTableWrap {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius2);
    box-shadow: var(--shadow);
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

/* Let table scroll horizontally on small screens */
.itemsTableWrap {
    overflow-x: auto;
}

.itemsTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 980px; /* ensures columns don’t collapse into chaos */
}

.itemsTable thead th {
    text-align: left;
    padding: 14px 14px;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.18);
    position: sticky;
    top: 0;
    z-index: 2;
}

.itemsTable tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    color: var(--text);
    vertical-align: middle;
}

.itemsRow:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.itemsTdMuted {
    padding: 18px !important;
    text-align: center;
    color: var(--muted);
}

/* Name cell + icon inline */
.itemsNameCell {
    position: relative;
}

.itemsNameInline {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icon (works with <img className="itemIcon" ... />) */

 .cardIcon {
     width: 75%;
     height: 75%;
     border-radius: 6px;
     object-fit: cover;
     border: 1px solid rgba(255, 255, 255, 0.12);
     background: rgba(0, 0, 0, 0.35);
     flex: 0 0 auto;
 }

 .cardIconPlaceholder {
     width: 75%;
     height: 75%;
     border-radius: 6px;
     border: 1px solid rgba(255, 255, 255, 0.1);
     background: rgba(255, 255, 255, 0.04);
 }

.itemIcon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    flex: 0 0 auto;
}

.itemIconPlaceholder {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

/* Rarity pill */
.rarityPill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

/* =========================
   Tooltip (wowhead-ish)
   ========================= */

/*
  Your ItemTooltip currently returns:
  <div className="dtTooltip"> ... </div>
  So we make it behave like a hover tooltip by wrapping it in a host.
  If you already wrap elsewhere, this still looks fine.
*/

.tooltipHost {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* The tooltip bubble itself */
.dtTooltip {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    width: 340px;
    z-index: 50;

    background: rgba(6, 6, 6, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.8);
    padding: 12px 12px;

    pointer-events: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 140ms ease, transform 140ms ease;
}

/* show on hover/focus */
.tooltipHost:hover .dtTooltip,
.tooltipHost:focus-within .dtTooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Tooltip parts */
.dtTooltipName {
    font-weight: 950;
    font-size: 16px;
    margin-bottom: 6px;
}

.dtTooltipSub {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}

.dtTooltipDivider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.dtTooltipMeta {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.dtTooltipBody {
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    white-space: pre-wrap;
}

/* =========================
   Rarity / Quality colors
   ========================= */

.q-poor {
    color: #9d9d9d;
}
.q-common {
    color: #ffffff;
}
.q-uncommon {
    color: #1eff00;
}
.q-rare {
    color: #0070dd;
}
.q-epic {
    color: #a335ee;
}
.q-legendary {
    color: #ff8000;
}
.q-artifact {
    color: #e6cc80;
}
.q-heirloom {
    color: #00ccff;
}

/* BBTag rendering helpers */
.bb-line {
    display: block;
    margin: 3px 0;
}
.bb-gold {
    color: var(--gold);
    font-weight: 900;
}
.bb-muted {
    color: var(--muted);
}

/* =========================
   Utility
   ========================= */

.hidden {
    display: none !important;
}


/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/styles/landing.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
/* ================================
   Page Shell
================================ */
.landing-page {
    min-height: 100vh;
    background: #0b0b10;
    color: #e6e6eb;
}

.landing-backdrop {
    background:
            radial-gradient(1200px 600px at 50% 0%, rgba(255,255,255,0.06), transparent 60%),
            linear-gradient(180deg, #0b0b10 0%, #07070b 60%, #06060a 100%);
}

.landing-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

/* ================================
   Fixed Top Bar (guaranteed)
================================ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;

    background: rgba(18, 18, 22, 0.85);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.page-offset {
    padding-top: 72px;
}

@media (max-width: 900px) {
    .topbar-inner {
        height: 62px;
    }

    .page-offset {
        padding-top: 62px;
    }

    .navlinks {
        display: none;
    }
}

.brand {
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 20px;
}

.navlinks {
    display: flex;
    gap: 18px;
    align-items: center;
}

.navlinks a {
    color: inherit;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 10px;
    border-radius: 10px;
}

.navlinks a:hover {
    background: rgba(255,255,255,0.08);
}

.actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #e6e6eb;
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
}

.btn.primary {
    background: linear-gradient(
            180deg,
            rgba(255,215,140,0.95),
            rgba(202,150,70,0.95)
    );
    border: 1px solid rgba(255,255,255,0.18);
    color: #161616;
}

/* ================================
   Center Stage Frame (for Parallax)
================================ */
.stage-wrap {
    padding: 26px 0 22px;
}

.stage-frame {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    box-shadow:
            0 18px 60px rgba(0,0,0,0.55),
            inset 0 1px 0 rgba(255,255,255,0.10);
    overflow: hidden;
}

.stage-frame::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    pointer-events: none;
    z-index: 2;
}

.stage-frame .parallax-banner {
    height: 460px;
}

@media (max-width: 900px) {
    .stage-frame .parallax-banner {
        height: 360px;
    }
}

/* ================================
   Parallax Banner (RESTORED)
================================ */
.parallax-banner {
    position: relative;
    overflow: hidden;
    background: #000;
}

/* CRITICAL: absolute positioning for layers */
.parallax-banner .layer {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    will-change: transform;

    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.parallax-banner .bg {
    z-index: 1;
    object-fit: cover;
    object-position: center 40%;
}

.parallax-banner .mid {
    z-index: 2;
    object-fit: contain;
    object-position: center bottom;
}

.parallax-banner .fg {
    z-index: 3;
    object-fit: cover;
    object-position: center 70%;
}

.parallax-banner .flare {
    z-index: 4;
    object-fit: cover;
    object-position: center 30%;
    mix-blend-mode: screen;
    opacity: 0.85;
}

/* Overscan (prevents white edges) */
.parallax-banner .bg,
.parallax-banner .fg,
.parallax-banner .flare {
    width: 112%;
    height: 112%;
    left: 50%;
    bottom: -6%;
}

.banner-content {
    position: absolute;
    bottom: 12%;
    left: 8%;
    z-index: 5;
    color: #e6e6eb;
    text-shadow: 0 2px 18px rgba(0,0,0,0.65);
}

.banner-content h1 {
    font-size: clamp(2.3rem, 4.2vw, 3.6rem);
    letter-spacing: 0.08em;
    margin: 0;
}

.banner-content p {
    margin-top: 12px;
    opacity: 0.88;
}

/* ================================
   Class Showcase (MapleStory-style)
================================ */
.class-showcase {
    margin: 24px 0 60px;
    padding: 26px 0 10px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
    overflow: hidden;
}

/* Icon rail */
.class-rail {
    display: flex;
    justify-content: center;
    padding: 18px 16px 14px;
}

.class-rail-inner {
    display: flex;
    gap: 18px;
    align-items: center;
    transition: transform 350ms ease;
}

.class-icon {
    border: 2px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.25);
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 250ms ease, opacity 250ms ease, border-color 250ms ease;
}

.class-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
}

.class-icon:hover {
    transform: translateY(-2px);
    border-color: rgba(255,215,140,0.75);
}

.class-icon.active {
    border-color: rgba(255,215,140,0.95);
    box-shadow: 0 0 0 6px rgba(255,215,140,0.10);
}

/* Stage layout */
.class-stage {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    padding: 10px 18px 18px;
    align-items: center;
}

@media (max-width: 980px) {
    .class-stage {
        grid-template-columns: 1fr;
    }
}

.class-left {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.class-art {
    width: min(520px, 100%);
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
}

.class-art img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 50px rgba(0,0,0,0.55));
}

/* Label row + arrows */
.class-label-row {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 6;
}

.class-label {
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    z-index: 5;
}

.class-name {
    font-size: 28px;
    font-weight: 900;
    text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}

.class-sub {
    background: rgba(202,150,70,0.95);
    color: #161616;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.18);
    position: relative;
    z-index: 4;
}

/* Arrows forced above the pill */
.class-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.65);
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 7;
    transform: translateY(6px);
}

.class-arrow:hover {
    border-color: rgba(255,215,140,0.9);
    box-shadow: 0 0 0 4px rgba(255,215,140,0.2);
}

/* Right: video */
.class-right {
    display: flex;
    justify-content: center;
}

.class-video {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.35);
    overflow: hidden;
    box-shadow: 0 14px 50px rgba(0,0,0,0.45);
}

.class-video video {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
}

.class-video-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 12px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.16);
}

/* ================================
   Featured News (MapleStory inspired)
================================ */
.featured-wrap {
    margin: 22px 0 54px;
}

.featured-panel {
    border-radius: 10px;
    background: #caa35a;
    padding: 24px 22px 22px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}

.featured-title {
    text-align: center;
    margin: 0 0 18px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.62);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 980px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

.news-card {
    border-radius: 8px;
    background: #ffffff;
    color: #2f2f2f;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    border: 1px solid rgba(0,0,0,0.10);
}

.news-img {
    height: 170px;
    background: #e9e9e9;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-body {
    padding: 14px 16px 16px;
}

.news-pill {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
    color: #fff;
    background: #a5752c;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-pill.sale { background: #8d8372; }
.news-pill.events { background: #7b8657; }

.news-headline {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #444;
}

.news-desc {
    margin: 0 0 14px;
    color: #6b6b6b;
    line-height: 1.35;
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #7a7a7a;
}

.news-more {
    font-weight: 900;
    color: #b0741f;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.featured-cta {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.view-more {
    border: none;
    background: #9c7c58;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 34px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.18);
}

.view-more:hover {
    filter: brightness(1.05);
}


