/* ============================================================
   FEATURES PAGE REWORK  —  modern MMORPG styling to match the homepage
   Scoped to .info-section (and #subheader on this page) so it does NOT
   affect the rankings page, which also loads features.css.
   Loaded LAST, so it wins over base rules.
   ============================================================ */

/* ---- page subheader ---------------------------------------- */
#subheader.featureheader h2 {
    font-family: "Oxanium", sans-serif;
    font-weight: 800;
    letter-spacing: .04em;
    text-shadow: 0 4px 40px rgba(209, 155, 37, .25);
}

/* ---- section shell ----------------------------------------- */
.topnomargin { padding-bottom: 90px; }

.info-section {
    gap: 26px;
    align-items: flex-start;
}

/* ============================================================
   LEFT NAV  —  styled like the homepage "Unique Items" sidebar
   ============================================================ */
.info-section .nav {
    flex: 0 0 258px;
    width: 258px;
    gap: 6px;
    position: sticky;
    top: 100px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
}

.info-section .tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 13px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: #c3c3c3;
    font-size: 13.5px;
    letter-spacing: .01em;
    transition: all .16s ease;
}
.info-section .tab-btn a { color: inherit; text-decoration: none; pointer-events: none; }
.info-section .tab-btn .descicon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .06);
    transition: all .16s ease;
}
.info-section .tab-btn .descicon img { width: 26px; height: 26px; padding: 0; object-fit: contain; }

.info-section .tab-btn:hover {
    background: rgba(209, 155, 37, .08);
    border-color: rgba(209, 155, 37, .3);
    color: #fff;
}
.info-section .tab-btn.active {
    background: linear-gradient(180deg, rgba(209, 155, 37, .20), rgba(209, 155, 37, .06));
    border-color: rgba(209, 155, 37, .55);
    color: #fff;
    box-shadow: inset 3px 0 0 0 var(--secondary-color, #d19b25);
}
.info-section .tab-btn.active .descicon {
    background: rgba(209, 155, 37, .18);
    border-color: rgba(209, 155, 37, .5);
}

/* ============================================================
   RIGHT CONTENT PANEL  —  framed like the homepage panels
   ============================================================ */
.info-section .tab-content-wrapper {
    background:
        radial-gradient(700px 240px at 20% 0%, rgba(209, 155, 37, .07), transparent 70%),
        linear-gradient(180deg, #101114, #0d0e10);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 34px 38px;
    min-height: 600px;
}

/* headings */
.info-section .tab-content h2 {
    font-family: "Oxanium", sans-serif;
    font-weight: 800;
    font-size: 30px;
    color: #fff;
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    position: relative;
}
.info-section .tab-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 66px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--secondary-color, #d19b25), transparent);
}
.info-section .tab-content h3 {
    font-family: "Oxanium", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary-color, #d19b25);
    margin: 30px 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-section .tab-content h3::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--secondary-color, #d19b25);
    display: inline-block;
}

/* paragraphs + lists */
.info-section .tab-content p { color: #b9b9bd; line-height: 1.65; font-size: 14.5px; }
.info-section .tab-content p strong { color: #e7e7e7; }
.info-section .tab-content ul { list-style: none; padding: 0; margin: 0 0 6px; }
.info-section .tab-content ul li {
    position: relative;
    padding: 7px 0 7px 22px;
    color: #b9b9bd;
    line-height: 1.6;
    font-size: 14.5px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.info-section .tab-content ul li:last-child { border-bottom: 0; }
.info-section .tab-content ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary-color, #d19b25);
    box-shadow: 0 0 7px rgba(209, 155, 37, .6);
}
.info-section .tab-content ul li strong { color: #e7e7e7; }
.info-section .tab-content code {
    font-family: "Oxanium", monospace;
    background: rgba(209, 155, 37, .12);
    border: 1px solid rgba(209, 155, 37, .25);
    color: #f0c866;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 13px;
}
.info-section .tab-content em { color: #d0d0d0; font-style: normal; background: rgba(255,255,255,.06); padding: 0 6px; border-radius: 4px; }

/* ---- tables ------------------------------------------------ */
.info-section .tablerr2 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 8px 0 10px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 10px;
    overflow: hidden;
}
.info-section .tablerr2 thead th {
    background: rgba(0, 0, 0, .4);
    color: var(--secondary-color, #d19b25);
    font-family: "Oxanium", sans-serif;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(209, 155, 37, .3);
}
.info-section .tablerr2 tbody td {
    padding: 12px 16px;
    color: #c2c2c6;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    vertical-align: middle;
}
.info-section .tablerr2 tbody tr:last-child td { border-bottom: 0; }
.info-section .tablerr2 tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .018); }
.info-section .tablerr2 tbody tr:hover td { background: rgba(209, 155, 37, .06); }
.info-section .tablerr2 td:first-child { color: #ededed; font-weight: 600; }

.info-section .tableicon,
.info-section .tableicon2 { display: flex; align-items: center; gap: 9px; }
.info-section .tableicon img,
.info-section .tableicon2 img {
    width: 26px; height: 26px; padding: 0;
    border-radius: 5px;
    background: rgba(0, 0, 0, .3);
}
.info-section .tableicon { margin: 26px 0 10px; }
.info-section .tableicon h3 { margin: 0; }

/* ---- images ------------------------------------------------ */
.info-section .imgfeature img {
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
}

/* ============================================================
   INFO CALLOUTS + STAT CARDS  (used by new content below)
   ============================================================ */
.fx-note {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    margin: 14px 0;
    border-radius: 9px;
    background: rgba(209, 155, 37, .07);
    border: 1px solid rgba(209, 155, 37, .28);
    border-left: 3px solid var(--secondary-color, #d19b25);
    color: #d8d8d8;
    font-size: 14px;
    line-height: 1.6;
}
.fx-note i { color: var(--secondary-color, #d19b25); font-size: 16px; margin-top: 2px; flex: 0 0 auto; }

/* two-up card grid for item showcases (dynasty, shirts) */
.fx-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 18px 0 8px;
}
.fx-card {
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 11px;
    padding: 18px 18px 16px;
    transition: border-color .16s ease, transform .16s ease;
}
.fx-card:hover { border-color: rgba(209, 155, 37, .4); transform: translateY(-2px); }
.fx-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fx-card-head img {
    width: 40px; height: 40px; border-radius: 8px;
    background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); padding: 3px;
}
.fx-card-title { font-family: "Oxanium", sans-serif; font-weight: 700; font-size: 15.5px; color: #fff; }
.fx-card-sub { font-size: 11.5px; color: var(--secondary-color, #d19b25); text-transform: uppercase; letter-spacing: .08em; }
.fx-card p { font-size: 13.5px; margin: 0; }
.fx-card ul { margin-top: 8px !important; }
.fx-card ul li { font-size: 13.5px; padding: 5px 0 5px 20px; }
.fx-card ul li::before { top: 12px; }

/* gem colour dot (Custom Items > Gems table) */
.info-section .gemdot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--d, #d19b25);
    box-shadow: 0 0 7px var(--d, #d19b25);
    margin-right: 9px;
    vertical-align: middle;
}

/* little coloured tags */
.fx-tag {
    display: inline-block;
    font-family: "Oxanium", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    margin-left: 4px;
    vertical-align: middle;
}
.fx-tag.new  { background: rgba(46, 204, 113, .16); color: #4fe08a; border: 1px solid rgba(46, 204, 113, .4); }
.fx-tag.pvp  { background: rgba(224, 56, 79, .16); color: #ff7183; border: 1px solid rgba(224, 56, 79, .4); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .info-section { flex-direction: column; }
    .info-section .nav {
        flex: 1 1 auto;
        width: 100%;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .info-section .tab-btn { width: auto; flex: 1 1 auto; }
    .info-section .tab-content-wrapper { padding: 24px 20px; }
}
@media (max-width: 575px) {
    .info-section .tab-content h2 { font-size: 24px; }
    .info-section .tablerr2 { font-size: 13px; }
    .info-section .tablerr2 thead th,
    .info-section .tablerr2 tbody td { padding: 10px 11px; }
    .info-section .tab-btn .descicon { width: 30px; height: 30px; }
}
