/* Fixed navbar on top */
.menu20-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: #181713;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: none;
    opacity: 1;
    pointer-events: auto;
}

.menu20-fixed.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.menu20-fixed .hero-main.menu20 {
    margin-top: 0;
    padding: 10px 0;
}

@font-face {
    font-family: 'Cinzel';
    src: url('fonts/cinzel-variable-latin-ext.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02FF, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cinzel';
    src: url('fonts/cinzel-variable-latin.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-300-latin.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-400-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-500-latin.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-600-latin.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-700-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MedievalSharp';
    src: url('fonts/medievalsharp-400-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-Regular-latin.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-SemiBold-latin.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-SemiBold-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-heading: 'Cinzel', serif;
    --font-body: 'Pretendard', Arial, sans-serif;
    --font-ui: 'Pretendard', Arial, sans-serif;
}

/*==Font-setup==*/

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: #e8e0d2;
    background: #0d0b0b;
    line-height: 1.6;
}

/* Site-wide type hierarchy: Cinzel is reserved for display headings and
   compact labels; readable interface and content copy use Pretendard. */
button,
input,
select,
textarea {
    font-family: var(--font-ui);
}

a,
a:hover {
    text-decoration: none;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
label {
    margin: 0;
}

/*==Basic-setup==*/

/* Discord floating button */
.discord-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #660f0f;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(63, 1, 11, 0.4);
    transition: all 0.3s ease;
}

.discord-float:hover {
    background: #ca1919;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(150, 8, 8, 0.6);
    color: #fff;
}

.discord-float i {
    font-size: 20px;
}

.discord-float span {
    font-family: var(--font-heading);
}

/*===this-is-code-start===*/
.container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}

/*==hero-section==*/
.hero-area {
    background: url('images/hero-bg.webp') no-repeat;
    background-position: center;
    background-size: cover;
    padding-bottom: 60px;
}

.hero-logo-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    /*! position: relative; */
    /*! bottom: -53px; */
}

.hero-logo-wrapper img {
    width: 100%;
}

.hero-logo-left img {
    position: relative;
    z-index: 2;
    top: -30px;
    transform: scale(1.1);
    transform-origin: center center;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-logo-left img:hover {
    transform: scale(1.13);
    filter: brightness(1.08) contrast(1.05);
}

.hero-logo-right img {
    position: relative;
    left: -80px;
    z-index: 1;
    top: 90px;
    max-height: 640px;
    object-fit: contain;
}

.hero-main {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    background: #181713;
    align-items: center;
    padding: 20px 30px;
    column-gap: 40px;
    position: relative;
    z-index: 5;
    margin-top: -65px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu20.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    margin: 0;
    width: 100%;
    padding: 15px 40px;
    z-index: 1000;
}

.hero-main-img img {
    width: 100%;
}

.hero-left ul {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.hero-left ul li a img {
    vertical-align: bottom;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-left ul li a img:hover {
    transform: translateY(-3px) scale(1.1);
    filter: brightness(1.3);
}

/* Navbar social vector icons */
.nav-social-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #808080;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-social-icon:hover {
    color: #BD0917;
    transform: translateY(-2px) scale(1.1);
}

.nav-social-icon:active {
    color: #8b1a1a;
}

.hero-left ul li span {
    width: 1px;
    height: 20px;
    background: #312F2C;
    display: block;
}

.hero-middle ul {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 40px;
}

.hero-middle ul li a {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    transition: 0.2s all ease;
}

.hero-middle ul li:nth-of-type(4) button {
    background: none;
    border: none;
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    transition: 0.2s all ease;
    cursor: pointer;
}

.hero-middle ul li:nth-of-type(4) button:hover {
    color: #BD0917;
}

.hero-middle ul li a:hover {
    color: #BD0917;
}

.hero-right ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    column-gap: 20px;
    min-width: 345px;
}

html.hf-logged-in .hf-guest-only {
    display: none !important;
}

html.hf-logged-out .hf-auth-only,
html:not(.hf-logged-in) .hf-auth-only {
    display: none !important;
}

html.hf-logged-in .hf-auth-only {
    display: block !important;
}

html:not(.hf-is-admin) .hf-admin-only {
    display: none !important;
}

html.hf-is-admin .hf-admin-only {
    display: block !important;
}

html:not(.hf-is-auction-tester) .hf-auction-only {
    display: none !important;
}

html.hf-is-auction-tester .hf-auction-only {
    display: block !important;
}

.hero-middle ul li,
.hero-right ul li {
    flex: 0 0 auto;
}

.hero-middle ul li a,
.hero-middle ul li button,
.hero-right ul li a,
.hero-right ul li button {
    white-space: nowrap;
}

.hero-right .hf-account-link a,
.hero-right .hf-logout-link button,
.hero-right #acLogout {
    font-family: var(--font-heading);
    font-size: 13px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 37px;
    padding: 0 4px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-right .hf-account-link {
    width: 145px;
}

.hero-right .hf-logout-link {
    width: 92px;
}

.hero-right .hf-account-link a {
    max-width: 145px;
    overflow: hidden;
}

.hero-right #acNavUserLink {
    width: 145px;
    overflow: hidden;
}

.hero-right .hf-account-link i,
.hero-right .hf-logout-link i,
.hero-right #acLogout i {
    color: #BD0917;
    font-size: 15px;
}

.hero-right .hf-account-name {
    display: inline-block;
    width: auto;
    max-width: 108px;
    height: auto;
    background: none;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.hero-right #acNavUserName {
    display: inline-block;
    max-width: 108px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: none;
    height: auto;
}

.hero-right .hf-account-link a:hover,
.hero-right .hf-logout-link button:hover,
.hero-right #acLogout:hover {
    color: #BD0917;
}

.hero-right ul li img {
    transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-right ul li img:hover {
    transform: translateY(-2px) scale(1.1);
    filter: brightness(1.3);
}

/* Event extension */
#set1-tab2 .news-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr) !important;
    gap: 18px !important;
    align-items: stretch;
}

#set1-tab2 .news-left,
#set1-tab2 .news-right {
    width: auto;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

#set1-tab2 .news-left:hover {
    transform: none;
    box-shadow: none;
}

#set1-tab2 .news-right {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, minmax(150px, 1fr));
    gap: 14px !important;
    height: 100%;
    align-self: stretch;
}

.hf-event-feature,
.hf-event-side {
    border: 1px solid rgba(209, 159, 80, .28);
    border-radius: 6px;
    background: rgba(9, 9, 9, .82);
    overflow: hidden;
}

.hf-event-feature {
    height: 100%;
    box-sizing: border-box;
}

.hf-event-feature-image {
    position: relative;
    height: 282px;
    overflow: hidden;
}

.hf-event-feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 5, .62));
    pointer-events: none;
}

.hf-event-feature-image>img,
.hf-event-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.hf-event-feature:hover .hf-event-feature-image>img,
.hf-event-side:hover .hf-event-side-image img {
    transform: scale(1.025);
}

.hf-event-feature-image>.hf-event-pill {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
}

.hf-event-feature-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(285px, .85fr);
    gap: 22px;
    padding: 20px 24px;
}

.hf-event-kind,
.hf-event-timer-wrap>span,
.hf-event-side-meta>span:nth-child(2) {
    color: #d19f50;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hf-event-copy h3 {
    margin: 6px 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: 0;
}

.hf-event-copy p,
.hf-event-side-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    line-height: 1.55;
}

.hf-event-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hf-event-side-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hf-event-range {
    margin-top: 12px;
    color: rgba(255, 255, 255, .72);
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
}

.hf-event-range i {
    margin-right: 7px;
    color: #d19f50;
}

.hf-event-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: #e32231;
    font-family: var(--font-heading);
    font-size: 12px;
    text-decoration: none;
}

.hf-event-explore:hover {
    color: #fff;
}

.hf-event-timer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
}

.hf-event-tba {
    margin-top: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 5px;
    color: rgba(255, 255, 255, .48);
    font-size: 13px;
    text-align: center;
}

.hf-event-timer>div {
    min-width: 0;
    padding: 13px 4px 10px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 5px;
    text-align: center;
}

.hf-event-timer strong {
    display: block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 29px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.hf-event-timer small {
    display: block;
    margin-top: 8px;
    color: #d19f50;
    font-size: 8px;
    font-weight: 700;
}

.hf-event-side {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    min-height: 145px;
}

.hf-event-side-image {
    display: block;
    min-height: 145px;
    overflow: hidden;
}

.hf-event-side-copy {
    min-width: 0;
    padding: 15px 16px;
}

.hf-event-side-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, .45);
    font-size: 9px;
    text-transform: uppercase;
}

.hf-event-side-copy h4 {
    margin: 10px 0 7px;
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 0;
}

.hf-event-side-copy h4 a {
    color: #fff;
    text-decoration: none;
}

.hf-event-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    box-sizing: border-box;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 3px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .7);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.hf-event-pill.live,
.hf-event-pill.ending {
    border-color: rgba(227, 34, 49, .7);
    background: rgba(189, 9, 23, .3);
    color: #fff;
}

.hf-event-pill.live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff2637;
    box-shadow: 0 0 8px rgba(255, 38, 55, .8);
}

.hf-event-pill.ended {
    opacity: .58;
}

.hf-event-empty {
    display: grid;
    place-items: center;
    min-height: 320px;
    gap: 10px;
    color: rgba(255, 255, 255, .38);
}

.hf-event-empty i {
    color: #d19f50;
    font-size: 28px;
}

@media (max-width: 1100px) {
    #set1-tab2 .news-main {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #set1-tab2 .news-right {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
        grid-template-rows: auto;
        height: auto;
    }

    .hf-event-side {
        grid-template-columns: 38% minmax(0, 1fr);
    }

    .hf-event-side-image {
        height: auto;
    }
}

@media (max-width: 700px) {
    .discord-float {
        width: 46px;
        height: 46px;
        justify-content: center;
        padding: 0;
        right: 12px;
        bottom: 12px;
    }

    .discord-float span {
        display: none;
    }

    .hf-event-feature-image {
        height: 220px;
    }

    .hf-event-feature-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    #set1-tab2 .news-right {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .hf-event-side {
        grid-template-columns: 36% minmax(0, 1fr);
    }

    .hf-event-timer strong {
        font-size: 23px;
    }
}

@media (max-width: 460px) {
    .hf-event-side {
        grid-template-columns: 1fr;
    }

    .hf-event-side-image {
        height: 160px;
    }

    .hf-event-feature-body {
        padding: 17px;
    }

    .hf-event-timer {
        gap: 4px;
    }

    .hf-event-timer strong {
        font-size: 19px;
    }
}

/* Event extension */
#set1-tab2 .news-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr) !important;
    gap: 18px !important;
    align-items: stretch;
}

#set1-tab2 .news-left,
#set1-tab2 .news-right {
    width: auto;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

#set1-tab2 .news-left:hover {
    transform: none;
    box-shadow: none;
}

#set1-tab2 .news-right {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, minmax(150px, 1fr));
    gap: 14px !important;
    height: 100%;
    align-self: stretch;
}

.hf-event-feature,
.hf-event-side {
    border: 1px solid rgba(209, 159, 80, .28);
    border-radius: 6px;
    background: rgba(9, 9, 9, .82);
    overflow: hidden;
}

.hf-event-feature {
    height: 100%;
    box-sizing: border-box;
}

.hf-event-feature-image {
    position: relative;
    height: 282px;
    overflow: hidden;
}

.hf-event-feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 5, .62));
    pointer-events: none;
}

.hf-event-feature-image>img,
.hf-event-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.hf-event-feature:hover .hf-event-feature-image>img,
.hf-event-side:hover .hf-event-side-image img {
    transform: scale(1.025);
}

.hf-event-feature-image>.hf-event-pill {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
}

.hf-event-feature-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(285px, .85fr);
    gap: 22px;
    padding: 20px 24px;
}

.hf-event-kind,
.hf-event-timer-wrap>span,
.hf-event-side-meta>span:nth-child(2) {
    color: #d19f50;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hf-event-copy h3 {
    margin: 6px 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: 0;
}

.hf-event-copy p,
.hf-event-side-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    line-height: 1.55;
}

.hf-event-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hf-event-side-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hf-event-range {
    margin-top: 12px;
    color: rgba(255, 255, 255, .72);
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
}

.hf-event-range i {
    margin-right: 7px;
    color: #d19f50;
}

.hf-event-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: #e32231;
    font-family: var(--font-heading);
    font-size: 12px;
    text-decoration: none;
}

.hf-event-explore:hover {
    color: #fff;
}

.hf-event-timer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
}

.hf-event-tba {
    margin-top: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 5px;
    color: rgba(255, 255, 255, .48);
    font-size: 13px;
    text-align: center;
}

.hf-event-timer>div {
    min-width: 0;
    padding: 13px 4px 10px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 5px;
    text-align: center;
}

.hf-event-timer strong {
    display: block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 29px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.hf-event-timer small {
    display: block;
    margin-top: 8px;
    color: #d19f50;
    font-size: 8px;
    font-weight: 700;
}

.hf-event-side {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    min-height: 145px;
}

.hf-event-side-image {
    display: block;
    min-height: 145px;
    overflow: hidden;
}

.hf-event-side-copy {
    min-width: 0;
    padding: 15px 16px;
}

.hf-event-side-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, .45);
    font-size: 9px;
    text-transform: uppercase;
}

.hf-event-side-copy h4 {
    margin: 10px 0 7px;
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 0;
}

.hf-event-side-copy h4 a {
    color: #fff;
    text-decoration: none;
}

.hf-event-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    box-sizing: border-box;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 3px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .7);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.hf-event-pill.live,
.hf-event-pill.ending {
    border-color: rgba(227, 34, 49, .7);
    background: rgba(189, 9, 23, .3);
    color: #fff;
}

.hf-event-pill.live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff2637;
    box-shadow: 0 0 8px rgba(255, 38, 55, .8);
}

.hf-event-pill.ended {
    opacity: .58;
}

.hf-event-empty {
    display: grid;
    place-items: center;
    min-height: 320px;
    gap: 10px;
    color: rgba(255, 255, 255, .38);
}

.hf-event-empty i {
    color: #d19f50;
    font-size: 28px;
}

@media (max-width: 1100px) {
    #set1-tab2 .news-main {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #set1-tab2 .news-right {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
        grid-template-rows: auto;
        height: auto;
    }

    .hf-event-side {
        grid-template-columns: 38% minmax(0, 1fr);
    }

    .hf-event-side-image {
        height: auto;
    }
}

@media (max-width: 700px) {
    .discord-float {
        width: 46px;
        height: 46px;
        justify-content: center;
        padding: 0;
        right: 12px;
        bottom: 12px;
    }

    .discord-float span {
        display: none;
    }

    .hf-event-feature-image {
        height: 220px;
    }

    .hf-event-feature-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    #set1-tab2 .news-right {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .hf-event-side {
        grid-template-columns: 36% minmax(0, 1fr);
    }

    .hf-event-timer strong {
        font-size: 23px;
    }
}

@media (max-width: 460px) {
    .hf-event-side {
        grid-template-columns: 1fr;
    }

    .hf-event-side-image {
        height: 160px;
    }

    .hf-event-feature-body {
        padding: 17px;
    }

    .hf-event-timer {
        gap: 4px;
    }

    .hf-event-timer strong {
        font-size: 19px;
    }
}

/* Language Switcher */
.lang-switcher-wrap,
.mobile-language-switcher {
    display: none !important;
}

.lang-switcher-wrap {
    position: relative;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: #999;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.lang-pill:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.lang-pill .fa-globe {
    font-size: 14px;
}

.lang-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.lang-code {
    letter-spacing: 1px;
    font-size: 12px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 170px;
    background: #1e1d1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-switcher-wrap.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    color: #aaa;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-option img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.lang-option.active {
    color: #BD0917;
}

.lang-option.active:hover {
    color: #BD0917;
}

.hero-right ul > li.hf-guest-only > button {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 15px;
    color: #ffffff;
    text-transform: uppercase;
    width: 156px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('images/btn-bg1.png') no-repeat;
    background-position: 100% 100%;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-right ul > li.hf-guest-only > button:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.2);
}

.hero-right .hf-login-link:hover {
    opacity: 0.8;
}

.hero-right ul li span {
    /* width: 1px; */
    height: 20px;
    background: #312F2C;
    display: block;
}

.hero-btm img {
    width: 100%;
    position: relative;
    margin-top: -20px;
    vertical-align: bottom;
}

.menu-btn {
    width: 24px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.menu-btn span {
    height: 2px;
    background: #fff;
    display: block;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile dropdown menu */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow-y: auto;
    background: #181713;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 95px 24px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav ul li a,
.mobile-nav ul li button {
    display: block;
    padding: 14px 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li button:hover {
    color: #BD0917;
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav .mobile-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav .mobile-social a img {
    width: 24px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.mobile-nav .mobile-social a img:hover {
    opacity: 1;
}

/*==news-section==*/
.news-area {
    background: #252525;
    padding: 10px 0 70px 0;
}

.news-section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.news-section-heading h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    transition: transform 0.3s ease;
    margin: 0;
}

.news-section-heading .heading-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b1a1a, transparent);
    margin: 12px auto 0;
}

.news-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    column-gap: 35px;
    margin-top: 25px;
}

.news-btn1 {
    position: relative;
}

/* Featured news (left) */
.news-left {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-left:hover {
    transform: translateY(-3px);
}

.news-left-img {
    overflow: hidden;
    border-radius: 0;
    position: relative;
}

.news-left-img img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.news-left:hover .news-left-img img {
    transform: scale(1.04);
}

.news-left-img:hover img {
    filter: brightness(0.85);
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #BD0917;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 2;
}

.news-left-cnt {
    padding: 18px 0 0;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.news-category {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: #BD0917;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.news-date {
    font-size: 12px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date i {
    font-size: 11px;
}

.news-title {
    margin-bottom: 12px;
}

.news-title a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.news-title a:hover {
    color: #BD0917;
}

.news-left-cnt h4 {
    font-weight: 600;
    font-size: 13px;
    color: #d19e50;
    margin-top: 0;
}

.news-left-cnt span {
    color: #b60009;
}

.news-left-cnt p {
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    margin-top: 0;
    line-height: 1.65;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: #BD0917;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap 0.3s ease, color 0.2s ease;
}

.news-read-more:hover {
    gap: 14px;
    color: #8b1a1a;
}

.news-read-more i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.news-read-more:hover i {
    transform: translateX(3px);
}

/* Smaller news (right) */
.news-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-flex {
    display: grid;
    grid-template-columns: 170px auto;
    column-gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.news-flex:hover {
    transform: translateY(-2px);
}

.news-flex:last-child {
    border-bottom: none;
}

.news-flex2 {
    margin-top: 20px;
}

.news-col-left img {
    width: 100%;
    border-radius: 4px;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.news-col-left {
    overflow: hidden;
    border-radius: 4px;
}

.news-col-left:hover img {
    transform: scale(1.06);
    filter: brightness(0.9);
}

.news-col-right .news-meta {
    margin-bottom: 8px;
}

.news-col-right h4 {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
}

.news-col-right h4 a {
    color: #ffffff;
    transition: 0.2s all ease;
}

.news-col-right h4 a:hover {
    color: #BD0917;
}

.news-col-right p {
    font-weight: 400;
    font-size: 13px;
    color: #ffffff;
    margin-top: 8px;
    line-height: 1.5;
}

/* Empty state for tabs */
.news-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.news-empty-state i {
    font-size: 40px;
    color: #ccc;
    margin-bottom: 15px;
}

.news-empty-state p {
    font-size: 15px;
    color: #999999;
}

/* View all news button */
.news-view-all {
    text-align: center;
    margin-top: 40px;
}

.news-view-all a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    background: #1a1a1a;
    padding: 14px 36px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background 0.3s ease, transform 0.25s ease, gap 0.3s ease;
}

.news-view-all a:hover {
    background: #BD0917;
    transform: translateY(-2px);
    gap: 16px;
}

.news-view-all a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-view-all a:hover i {
    transform: translateX(3px);
}

/* Tab buttons enhancement */
.tab-buttons ul {
    display: flex;
    align-items: center;
    column-gap: 40px;
    padding-bottom: 15px;
}

.tab-buttons ul li {
    position: relative;
}

.tab-btn {
    font-weight: 600;
    font-size: 14px;
    color: #666;
    z-index: 2;
    position: relative;
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* padding-bottom: 17px; */
}

.tab-btn i {
    font-size: 13px;
}

.tab-btn:hover {
    color: #BD0917;
}

.tab-btn.active {
    color: #BD0917;
    position: relative;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
    margin-top: 20px;
}

.tab-pane.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tab-content {
    position: relative;
    overflow: hidden;
}

.tab-btn-img img {
    position: absolute;
    left: 2px;
    bottom: 0;
    z-index: -1;
    display: none;
    width: 100%;
}

.tab-btn.active .tab-btn-img img {
    display: block;
}

/*==social-midea-section==*/

.social-midea-area {
    background: url('images/social-media-bg.webp') no-repeat;
    background-position: center;
    background-size: cover;
    padding: 67px 0 60px 0;
}

.social-midea-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 15px;
    max-width: 1115px;
    margin: auto;
}

.social-midea-item {
    text-align: center;
}

.social-midea-item img {
    max-width: 130px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-midea-item a:hover img {
    transform: translateY(-6px) scale(1.05);
    filter: brightness(1.2);
}

.social-midea-item a:hover {
    opacity: 1;
}

.social-midea-item h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: #0a0b0a;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 10px;
    text-shadow: 0px 1px 2px #ccc, 0px 8px 10px rgba(0, 0, 0, 0.15), 0px 8px 2px rgba(0, 0, 0, 0.7);
    background-image: linear-gradient(#fff 26%, #76270C 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*==player-section==*/
.player-area {
    padding: 68px 0 92px 0;
}

.player-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
}

.player-item-topper {
    background: url('images/player-top-bg.png') no-repeat;
    background-position: center;
    background-size: cover;
    padding: 20px;
}

.player-item-topper ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.player-item-topper ul li {
    position: relative;
}

.player-line img {
    position: absolute;
    bottom: 0;
    left: 2px;
}

.player-item-topper ul li:nth-of-type(1) h4 {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
}

.player-item-topper ul li:nth-of-type(2) a {
    font-weight: 400;
    font-size: 13px;
    color: #d19f50;
    text-transform: uppercase;
    transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.player-item-topper ul li:nth-of-type(2) a:hover {
    color: #BD0917;
    letter-spacing: 0.5px;
}

.player-item-btmbar {
    background: #080904;
    margin-top: 5px;
    padding: 20px 25px;
    display: grid;
    grid-template-columns: 100%;
    min-height: 330px;
}

.player-table-row {
    display: grid;
    grid-template-columns: 60% auto 20% auto;
    align-items: center;
    padding: 8px 0;
}

.player-table-col1 ul {
    display: flex;
    align-items: center;
    column-gap: 25px;
}

.player-table-col ul li {
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
}

.player-table-col ul li span {
    color: #807f7f;
}

.player-table-col ul li sup {
    font-size: 10px;
    color: #d19f50;
    text-transform: uppercase;
}

.player-table-col3 {
    text-align: right;
}

.player-btn {
    margin-top: auto;
}

.player-btn a {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 19px;
    color: #ffffff;
    text-transform: uppercase;
    width: 200px;
    height: 45px;
    background: url('images/player-btn-bg.png') no-repeat;
    background-position: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 20px;
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.player-btn a:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.2);
}

.player-table-row2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.color-name {
    color: #d19f50 !important;
}

.color-name2 {
    color: #ac0a0b !important;
}

.mage-area {
    background: radial-gradient(circle at center, rgba(38, 36, 35, 0.65) 0%, rgba(13, 13, 12, 0.9) 100%), url('images/mage-bg.webp') no-repeat center / cover;
    background-blend-mode: multiply;
    border-top: 1px solid rgba(209, 159, 80, 0.15);
    border-bottom: 1px solid rgba(209, 159, 80, 0.15);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.mage-area::before {
    background: rgba(10, 9, 8, 0.35) !important;
}

.mega-right-flex {
    position: relative;
}

.maga-mian-img img {
    width: 100%;
    position: absolute;
}

.maga-mian-img1 img {
    max-width: 600px;
    top: -60px;
    right: -50px;
}

.maga-mian-img2 img {
    max-width: 566px;
    top: -87px;
    right: 0;
}

.maga-mian-img3 img {
    max-width: 895px;
    top: -87px;
    right: 0;
}

.maga-mian-img4 img {
    max-width: 600px;
    top: 56px;
    right: -77px;
}

.maga-mian-img5 img {
    max-width: 650px;
    top: 5px;
    right: -90px;
}

.maga-mian-img6 img {
    max-width: 750px;
    top: 51px;
    right: -35px;
}

.maga-mian-img7 img {
    max-width: 750px;
    top: 126px;
    right: -172px;
}

.maga-mian-img8 img {
    max-width: 793px;
    top: 105px;
    right: -155px;
}

.maga-mian-img9 img {
    max-width: 717px;
    top: 71px;
    right: -139px;
}

.maga-mian-img10 img {
    max-width: 750px;
    top: 2px;
    right: -65px;
}

.maga-mian-img11 img {
    max-width: 750px;
    top: -87px;
    right: -140px;
}

.maga-mian-img12 img {
    max-width: 753px;
    top: 32px;
    right: -50px;
}

.maga-mian-img13 img {
    max-width: 835px;
    top: 76px;
    right: -70px;
}

.mage-left ul {
    display: grid;
    grid-template-columns: 100%;
    row-gap: 15px;
}

.mage-left {
    text-align: center;
}

.indicator h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: #807f7f;
    text-align: center;
    transition: color 0.3s ease;
}

.indicator.active h4,
.indicator:hover h4 {
    color: #d19f50;
}

.mage-right h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 60px;
    background-image: linear-gradient(180deg, #ffffff 0%, #BD0917 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 3;
}

.mage-right h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 22px;
    background: linear-gradient(81deg, #ffffff 0%, #d19f50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
    padding: 10px 0;
}

.menga-line1 img {
    vertical-align: bottom;
}

.menga-line2 img {
    vertical-align: top;
}

.menga-line img {
    max-width: 196px;
    position: relative;
    left: -20px;
}

.mega-dot {
    margin-top: 15px;
}

.mage-right h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: #d19f50;
    display: inline-block;
    border-bottom: 2px solid #d19f50;
    margin-top: 20px;
    text-transform: uppercase;
}

.mage-right p {
    font-weight: 400;
    font-size: 14px;
    color: #b8aa96;
    margin-top: 15px;
    max-width: 440px;
    position: relative;
    z-index: 3;
    line-height: 1.6;
}

.mage-right p strong {
    color: #ffd700;
}

.mage-right a {
    font-weight: 600;
    font-size: 14px;
    color: #d19f50;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 25px;
    transition: color 0.2s ease, letter-spacing 0.2s ease, transform 0.2s ease;
}

.mage-right a:hover {
    color: #BD0917;
    letter-spacing: 1px;
    transform: translateX(3px);
}

.custom-slider {
    display: grid;
    grid-template-columns: 160px 1fr;
    column-gap: 50px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* LEFT SIDE */
.indicator-wrapper {
    overflow: hidden;
}

.indicators {
    display: flex;
    flex-direction: column;
    transition: transform .4s ease;
}

.indicator {
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    margin-bottom: 11px;
    text-align: center;
}

.indicator:hover {
    transform: scale(1.1);
    filter: brightness(1.15);
}

.indicator img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transition: filter 0.3s ease;
}

.indicator.active img {
    filter: drop-shadow(0 0 8px rgba(209, 159, 80, 0.8));
}

.controls-top {
    margin-bottom: 10px;
}

.controls-btm {
    margin-top: 10px;
}

.controls button {
    background: none;
    color: white;
    cursor: pointer;
    border: none;
    text-align: center;
    width: 100%;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.controls button:hover {
    transform: scale(1.15);
    filter: brightness(1.3);
}

.slides-wrapper {
    position: relative;
    overflow: visible;
    width: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}

.slide.active-slide {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 420px;
    width: 100%;
}

.mega-right-flex {
    position: relative;
    width: 100%;
}

/* Ensure character images in slider are not cropped */
.slide img {
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/*==backpack-section==*/
.backpack-area {
    background: url('images/backpack-bg.webp') no-repeat;
    background-position: center;
    background-size: cover;
    padding: 42px 0;
    position: relative;
    margin-top: -10px;
    z-index: 3;
}

.backpack-main {

    grid-template-columns: 8% 15% 21% 21% 21% 8%;
    align-items: center;
}

.backpack-item {
    text-align: center;
}

.backpack-item a {
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}

.backpack-item a:hover {
    transform: translateY(-10px) scale(1.05);
}

.backpack-item img {
    max-width: 200px;
    transition: filter 0.3s ease, transform 0.4s ease;
}

.backpack-item a:hover img {
    filter: drop-shadow(0 8px 20px rgba(209, 159, 80, 0.4)) brightness(1.1);
}

.backpack-cnt {
    position: relative;
    top: -35px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.backpack-item a:hover .backpack-cnt {
    transform: translateY(-4px);
}

.backpack-cnt h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0px 1px 2px #ccc, 0px 8px 10px rgba(0, 0, 0, 0.15), 0px 8px 2px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.backpack-item a:hover .backpack-cnt h3 {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0px 1px 2px #ccc, 0px 8px 10px rgba(0, 0, 0, 0.15);
}

.backpack-cnt h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: #d19f50;
    text-shadow: 0px 1px 0px #ccc, 0px 8px 10px rgba(0, 0, 0, 0.15), 0px 8px 2px rgba(0, 0, 0, 0.7);
    margin-top: 10px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.backpack-item a:hover .backpack-cnt h4 {
    color: #f0c060;
    text-shadow: 0 0 12px rgba(209, 159, 80, 0.5), 0px 1px 0px #ccc, 0px 8px 10px rgba(0, 0, 0, 0.15);
}

.backpack-right-arrow {
    text-align: right;
}

.splide-slider {
    width: 100%;
    overflow: visible;
    max-width: 900px;
    margin: auto;
}

/* Custom arrows */
.custom-arrows {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.backpack-container {
    position: relative;
}

.custom-arrows button {
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
    filter: brightness(0.7);
    opacity: 0.8;
    padding: 0;
}

.custom-arrows button:hover,
.custom-arrows button:focus {
    filter: brightness(1.2);
    opacity: 1;
}

.custom-arrows button:active {
    filter: brightness(0.5);
}

.arrow-inner img {
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.25s;
}

.custom-arrows button:hover .arrow-inner img,
.custom-arrows button:focus .arrow-inner img {
    transform: scale(1.15);
}

.custom-arrows button:active .arrow-inner img {
    transform: scale(0.92);
}

.left-arrow {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}

.left-arrow:hover {
    transform: translateY(-50%) scaleX(-1) scale(1.15);
}

.right-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.right-arrow:hover {
    transform: translateY(-50%) scale(1.15);
}

/* Custom Dots */
.custom-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    display: none;
}

.custom-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #fff;
    cursor: pointer;
}

.custom-dots button.active {
    background: red;
}

/*==footer-section==*/
.footer-area {
    padding: 50px 0 25px 0;
    text-align: center;
}

.footer-main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-main ul {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 40px;
}

.footer-main ul li a {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-main ul li a:hover {
    color: #BD0917;
    transform: translateY(-2px);
}

.copyright-item {
    padding-top: 30px;
    border-top: 1px solid #000000;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright-item ul {
    display: flex;
    align-items: center;
    column-gap: 25px;
    justify-content: center;
}

.copyright-item ul li p {
    font-weight: 600;
    font-size: 14px;
    color: #bd0811;
}

.copyright-item ul li span {
    width: 2px;
    height: 20px;
    background: #807F7F;
    display: block;
}

.copyright-item ul li a {
    font-weight: 600;
    font-size: 14px;
    color: #4e4e4e;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.copyright-item ul li a:hover {
    color: #BD0917;
    transform: translateY(-1px);
}

/*==login-page==*/
.login-title {
    text-align: center;
    position: relative;
}

.login-title h2 {
    font-weight: 600;
    font-size: 14px;
    color: #e1dfe0;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.login-line {
    position: absolute;
    margin-top: -28px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -7px;
}

.login-item {
    padding: 20px 37px;
    background: url('images/login-item-bg1.png') no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.login-item1 {
    background: url('images/login-item-bg1.png') no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.login-item2 {
    background: url('images/login-item-bg2.png') no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.login-flex-wrap {
    margin-top: 30px;
}

.input-flex {
    display: grid;
    grid-template-columns: 38px auto;
    column-gap: 18px;
    background: #151611;
    padding: 10px 20px;
    margin-top: 15px;
}

.input-item-left ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.devide {
    display: block;
    height: 20px;
    width: 2px;
    background: #383934;
}

.input-flex ul li i {
    color: #8f8577 !important;
    /* muted, always visible */
}

.input-flex:focus-within li i {
    color: #d19f50 !important;
    /* gold on focus, matches your accent */
}

.input-item-right input {
    font-weight: 400;
    font-size: 14px;
    color: #e1dfe0;
    width: 100%;
    background: none;
    border: none;
    outline: none;
}

.input-item-right input::placeholder {
    font-weight: 400;
    font-size: 14px;
    color: #e1dfe0;
}

.sign-btm h4 {
    font-weight: 400;
    font-size: 14px;
    color: #807f7f;
    text-align: center;
    margin-top: 15px;
}

.sign-btm h4 span {
    color: #d19f50;
}

.input-submit {
    text-align: center;
    margin-top: 24px;
}

.input-submit button {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 15px;
    color: #ffffff;
    width: 160px;
    height: 36px;
    background: url('images/submit-bg.png') no-repeat;
    background-position: 100% 100%;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.input-submit button:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.2);
}

.checkbox {
    display: grid;
    grid-template-columns: 20px auto;
    align-items: center;
    column-gap: 12px;
    margin-top: 20px;
}

.checkbox input[type=checkbox] {
    appearance: none;
    height: 20px;
    width: 20px;
    background: #1F2120;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox input[type=checkbox]::after {
    content: "\f00c";
    font-weight: 900;
    font-family: 'Font Awesome 5 Free';
    font-size: 15px;
    color: #ffffff;
    display: none;
}

.checkbox input[type=checkbox]:checked {
    background: #6E2226;
}

.checkbox input[type=checkbox]:checked::after {
    display: block;
}

.checkbox label {
    font-weight: 400;
    font-size: 14px;
    color: #807f7f;
    cursor: pointer;
}

/* ===== Modal Overlay ===== */
.modal-hf {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 3000;
    overflow-y: auto;
    padding: 40px 0;

    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}

/* Active modal */
.modal-hf.active-hf,
.modal-hf.hf-modal-open {
    opacity: 1;
    visibility: visible;
}

/* ===== Modal Box ===== */
.modal-box-hf {
    max-width: 480px;
    width: 90%;
    margin: 100px auto 40px;
    position: relative;
    transform: translateY(-120px);
    opacity: 0;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1),
        opacity .45s ease;
}

/* Slide down animation */
.modal-hf.active-hf .modal-box-hf,
.modal-hf.hf-modal-open .modal-box-hf {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Close Button ===== */
.modal-close-hf {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border: 0;
    padding: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-family: inherit;
    z-index: 30;
}

/* Refined account-entry modals: aligned with shop/admin panel styling. */
.modal-hf[data-modal="loanModal"],
.modal-hf[data-modal="loanModal2"] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 4, 3, .9);
    backdrop-filter: blur(7px);
}

.modal-hf[data-modal="loanModal"] .modal-box-hf,
.modal-hf[data-modal="loanModal2"] .modal-box-hf {
    width: min(92vw, 480px);
    max-width: 480px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(209, 159, 80, .25);
    border-top: 2px solid rgba(189, 9, 23, .8);
    border-radius: 5px;
    background: linear-gradient(145deg, #1a1814 0%, #11110e 100%);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .72), 0 0 40px rgba(189, 9, 23, .06);
}

.modal-hf[data-modal="loanModal"] .login-item,
.modal-hf[data-modal="loanModal2"] .login-item {
    box-sizing: border-box;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: 34px 38px 38px;
    background: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(209, 159, 80, .35) transparent;
}

.modal-hf[data-modal="loanModal"] .modal-close-hf,
.modal-hf[data-modal="loanModal2"] .modal-close-hf {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 3px;
    background: rgba(255, 255, 255, .045);
    color: rgba(255, 255, 255, .65);
    font-size: 15px;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.modal-hf[data-modal="loanModal"] .modal-close-hf:hover,
.modal-hf[data-modal="loanModal2"] .modal-close-hf:hover {
    background: #bd0917;
    border-color: #bd0917;
    color: #fff;
}

.modal-hf[data-modal="loanModal"] .login-title,
.modal-hf[data-modal="loanModal2"] .login-title {
    margin: 0 42px 30px 0;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(209, 159, 80, .18);
    text-align: left;
}

.modal-hf[data-modal="loanModal"] .login-title h2,
.modal-hf[data-modal="loanModal2"] .login-title h2 {
    margin: 0;
    color: #f3f0ea;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 2px;
}

.modal-hf[data-modal="loanModal"] .login-line,
.modal-hf[data-modal="loanModal2"] .login-line {
    display: none;
}

.modal-hf[data-modal="loanModal"] .login-flex-wrap,
.modal-hf[data-modal="loanModal2"] .login-flex-wrap {
    margin-top: 0;
}

.modal-hf[data-modal="loanModal"] .input-flex,
.modal-hf[data-modal="loanModal2"] .input-flex {
    box-sizing: border-box;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 52px;
    margin-top: 11px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 3px;
    background: #0d0e0b;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.modal-hf[data-modal="loanModal"] .input-flex:focus-within,
.modal-hf[data-modal="loanModal2"] .input-flex:focus-within {
    border-color: rgba(209, 159, 80, .7);
    box-shadow: 0 0 0 2px rgba(209, 159, 80, .08);
}

.modal-hf[data-modal="loanModal"] .input-item-left,
.modal-hf[data-modal="loanModal2"] .input-item-left {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.modal-hf[data-modal="loanModal"] .input-item-left ul,
.modal-hf[data-modal="loanModal2"] .input-item-left ul {
    width: auto;
    margin: 0;
    padding: 0 10px 0 0;
}

.modal-hf[data-modal="loanModal"] .devide,
.modal-hf[data-modal="loanModal2"] .devide {
    display: none;
}

.modal-hf[data-modal="loanModal"] .input-item-right,
.modal-hf[data-modal="loanModal2"] .input-item-right {
    display: flex;
    align-items: center;
    min-width: 0;
}

.modal-hf[data-modal="loanModal"] .input-item-right input,
.modal-hf[data-modal="loanModal2"] .input-item-right input {
    box-sizing: border-box;
    min-height: 36px;
    color: #f3f0ea;
    font-size: 14px;
}

.modal-hf[data-modal="loanModal"] .input-item-right input::placeholder,
.modal-hf[data-modal="loanModal2"] .input-item-right input::placeholder {
    color: rgba(255, 255, 255, .34);
}

.modal-hf[data-modal="loanModal"] .sign-btm h4,
.modal-hf[data-modal="loanModal2"] .sign-btm h4 {
    margin: 18px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

.modal-hf[data-modal="loanModal2"] .checkbox {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    margin-top: 16px;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 3px;
    background: rgba(255, 255, 255, .025);
}

.modal-hf[data-modal="loanModal2"] .checkbox input[type=checkbox] {
    width: 17px;
    height: 17px;
}

.modal-hf[data-modal="loanModal2"] .checkbox label {
    font-size: 12px;
    line-height: 1.55;
}

.modal-hf[data-modal="loanModal"] .hf-msg,
.modal-hf[data-modal="loanModal2"] .hf-msg {
    box-sizing: border-box;
    margin: 14px 0 0 !important;
    border: 1px solid currentColor;
    border-radius: 3px !important;
    line-height: 1.5;
}

.modal-hf[data-modal="loanModal"] .input-submit,
.modal-hf[data-modal="loanModal2"] .input-submit {
    margin-top: 18px;
}

.modal-hf[data-modal="loanModal"] .input-submit button,
.modal-hf[data-modal="loanModal2"] .input-submit button {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(189, 9, 23, .9);
    border-radius: 3px;
    background: linear-gradient(180deg, #c31321, #9f0713);
    box-shadow: 0 8px 22px rgba(189, 9, 23, .15);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.modal-hf[data-modal="loanModal"] .input-submit button:hover,
.modal-hf[data-modal="loanModal2"] .input-submit button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

@media (max-width: 600px) {
    .modal-hf[data-modal="loanModal"],
    .modal-hf[data-modal="loanModal2"] { padding: 12px; }

    .modal-hf[data-modal="loanModal"] .modal-box-hf,
    .modal-hf[data-modal="loanModal2"] .modal-box-hf { width: 100% !important; max-height: calc(100dvh - 24px); }

    .modal-hf[data-modal="loanModal"] .login-item,
    .modal-hf[data-modal="loanModal2"] .login-item { max-height: calc(100dvh - 24px); padding: 28px 18px 24px !important; }

    .modal-hf[data-modal="loanModal"] .login-title h2,
    .modal-hf[data-modal="loanModal2"] .login-title h2 { font-size: 18px; letter-spacing: 1.5px; }
}

/* =========================================================
   Pixarts visual polish pass - premium dark fantasy UI
   ========================================================= */
:root {
    --pix-bg: #0d0b0b;
    --pix-panel: rgba(19, 16, 14, 0.86);
    --pix-panel-solid: #15110f;
    --pix-panel-soft: #1c1714;
    --pix-red: #BD0917;
    --pix-red-dark: #6d060e;
    --pix-gold: #d19f50;
    --pix-text: #f2eadb;
    --pix-muted: #b8aa96;
    --pix-border: rgba(209, 159, 80, 0.18);
    --pix-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top, #26140f 0, var(--pix-bg) 480px);

}

body::selection {
    background: var(--pix-red);
    color: #fff;
}

.section-wrapper20-area {
    background: linear-gradient(180deg, #0d0b0b 0%, #14100e 46%, #0b0908 100%);
}

.hero-area {
    position: relative;
    min-height: 760px;
    padding-bottom: 96px;
    isolation: isolate;
    background-position: center top;
}

.hero-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 73% 38%, rgba(189, 9, 23, .18), transparent 35%),
        linear-gradient(90deg, rgba(8, 6, 6, .86) 0%, rgba(8, 6, 6, .42) 42%, rgba(8, 6, 6, .78) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, #0d0b0b 100%);
    z-index: -1;
}

.hero-area::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 220px;
    background: linear-gradient(180deg, transparent, #0d0b0b 80%);
    z-index: -1;
}

.hero-container {
    max-width: 1280px;
}

.hero-logo-wrapper {
    min-height: 610px;
    position: relative;
}

.hero-logo-left img {
    max-width: 530px;
    margin: 54px auto 0;
    filter: drop-shadow(0 24px 45px rgba(0, 0, 0, .75));
}

.hero-logo-right img {
    max-height: 680px;
    filter: drop-shadow(0 36px 72px rgba(0, 0, 0, .72));
}

.hero-main,
.menu20-fixed,
.mobile-nav {
    background: rgba(14, 12, 10, .88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(209, 159, 80, .14);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .42);
}

.menu20-fixed {
    border-left: 0;
    border-right: 0;
}

.hero-main {
    border-radius: 18px;
    margin-top: -88px;
}

.hero-middle ul li a,
.hero-middle ul li:nth-of-type(4) button,
.mobile-nav ul li a,
.mobile-nav ul li button {
    letter-spacing: 1.1px;
    color: var(--pix-text);
}

.hero-middle ul li a:hover,
.hero-middle ul li:nth-of-type(4) button:hover,
.mobile-nav ul li a:hover,
.mobile-nav ul li button:hover,
.nav-social-icon:hover {
    color: #f0c060;
}

.lang-pill {
    background: rgba(255, 255, 255, .06);
    color: var(--pix-text);
    border-color: var(--pix-border);
}

.lang-dropdown {
    background: #120f0d;
    border-color: var(--pix-border);
}

.hero-right ul > li.hf-guest-only > button,
.player-btn a,
.news-view-all a,
.pix-hero-cta .cta-primary {
    background: linear-gradient(135deg, var(--pix-red-dark), var(--pix-red));
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(189, 9, 23, .28);
}

.pix-hero-cta {
    position: absolute;
    left: 50%;
    bottom: 86px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 360px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pix-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pix-gold);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pix-kicker::before {
    content: "";
    width: 42px;
    height: 1px;
    background: var(--pix-gold);
    opacity: .8;
}

.pix-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.pix-kicker::before,
.pix-kicker::after {
    content: "";
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pix-gold), transparent);
}

.pix-hero-cta h1 {
    font-family: var(--font-heading);
    color: var(--pix-text);
    font-size: clamp(38px, 5vw, 72px);
    line-height: .98;
    letter-spacing: .5px;
    text-shadow: 0 16px 44px rgba(0, 0, 0, .78);
    margin-bottom: 18px;
}

.pix-hero-cta p {
    color: var(--pix-muted);
    max-width: 440px;
    font-size: 16px;
}

.pix-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
    justify-content: center;
}

.pix-hero-actions a,
.pix-hero-actions button {
    min-width: 150px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.pix-hero-actions .cta-secondary {
    border-radius: 999px;
    border: 1px solid var(--pix-border);
    background: rgba(0, 0, 0, .28);
    color: var(--pix-text);
}

.pix-hero-actions a:hover,
.pix-hero-actions button:hover {
    transform: translateY(-3px);
}

.hero-btm {
    display: none;
}

.news-area,
.player-area,
.social-midea-area,
.backpack-area,
.footer-area {
    background-color: transparent;
}

.news-area {
    padding: 92px 0 82px;
}

.news-section-heading {
    margin-bottom: 42px;
}

.news-section-heading h2 {
    font-size: clamp(30px, 3.5vw, 46px);
    letter-spacing: 1px;
}

.news-section-heading .heading-line {
    width: 112px;
    background: linear-gradient(90deg, transparent, var(--pix-gold), var(--pix-red), transparent);
}

.news-main {
    gap: 28px;
}

.news-left,
.news-flex,
.player-item-btmbar,
.social-midea-item,
.backpack-item a {
    background: var(--pix-panel);
    border: 1px solid var(--pix-border);
    border-radius: 18px;
    box-shadow: var(--pix-shadow);
}

.news-left {
    padding: 14px;
}

.news-left-img,
.news-col-left {
    border-radius: 14px;
}

.news-left-img img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-left-cnt {
    padding: 20px 6px 4px;
}

.news-left-cnt p,
.news-col-right p {
    color: var(--pix-muted);
}

.news-date {
    color: var(--pix-muted);
}

.news-flex {
    grid-template-columns: 160px auto;
    padding: 14px;
    border-bottom: 0;
}

.news-col-left img {
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.news-title a,
.news-col-right h4 a {
    color: var(--pix-text);
}

.news-read-more,
.news-category {
    color: var(--pix-gold);
}

.news-view-all a {
    background-image: linear-gradient(135deg, #2a1914, var(--pix-red-dark));
}

.social-midea-area {
    padding: 84px 0;
    background-size: cover;
    position: relative;
}

.social-midea-area::before,
.backpack-area::before,
.mage-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 6, 6, .68);
    pointer-events: none;
}

.social-midea-area>.container,
.backpack-area>.container,
.mage-area>.container {
    position: relative;
    z-index: 1;
}

.social-midea-item {
    padding: 28px 18px;
    text-align: center;
}

.social-midea-item img {
    max-width: 92px;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, .45));
}

.social-midea-item h4 {
    color: var(--pix-text);
    text-shadow: none;
}

.player-area {
    padding: 88px 0;
}

.player-main {
    display: grid;
    grid-template-columns: repeat(2, 480px);
    justify-content: center;
    gap: 28px;
}

.player-item-topper {
    border-radius: 18px 18px 0 0;
    border: 1px solid var(--pix-border);
    border-bottom: 0;
}

.player-item-btmbar {
    border-radius: 0 0 18px 18px;
    margin-top: 0;
    background: rgba(10, 9, 8, .88);
}

.player-table-col ul li {
    color: var(--pix-text);
}

.player-table-col ul li span {
    color: var(--pix-muted);
}

.player-btn a {
    width: 190px;
    height: 46px;
    background-position: center;
}

.mage-area {
    padding: 82px 0;
}

.backpack-area {
    padding: 76px 0 86px;
    margin-top: 0;
}

.backpack-main {
    display: grid;
    gap: 22px;
}

.backpack-item a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 24px 12px 18px !important;
    min-height: 270px !important;
    box-sizing: border-box !important;
}

.backpack-item img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 140px !important;
    object-fit: contain !important;
}

.backpack-cnt {
    position: static !important;
    margin-top: 10px !important;
}

.backpack-cnt h3,
.backpack-cnt h4 {
    text-shadow: none;
}

.footer-area {
    padding-top: 66px;
    background: #080706;
    border-top: 1px solid var(--pix-border);
}

.copyright-item {
    border-top-color: rgba(209, 159, 80, .16);
}

.copyright-item ul li a {
    color: var(--pix-muted);
}

.discord-float {
    background: linear-gradient(135deg, #4d070c, var(--pix-red));
    box-shadow: 0 14px 40px rgba(189, 9, 23, .36);
}

@media screen and (max-width: 991px) {
    .hero-area {
        min-height: auto;
        padding-bottom: 48px;
    }

    .hero-logo-wrapper {
        min-height: 520px;
        margin-top: 54px;
        grid-template-columns: 1fr;
    }

    .hero-logo-left img {
        max-width: 390px;
        top: 0;
        transform: none;
        margin-top: 26px;
    }

    .hero-logo-right img {
        position: absolute;
        right: -90px;
        bottom: -10px;
        left: auto;
        top: auto;
        max-height: 430px;
        opacity: .78;
    }

    .pix-hero-cta {
        position: relative;
        left: auto;
        transform: none;
        bottom: auto;
        padding: 0 20px 22px;
        margin-top: -80px;
        margin-left: auto;
        margin-right: auto;
    }

    .pix-hero-cta h1 {
        font-size: 40px;
    }

    .pix-hero-cta p {
        font-size: 14px;
    }

    .pix-hero-actions a,
    .pix-hero-actions button {
        min-width: 135px;
        min-height: 44px;
        font-size: 12px;
    }

    .news-area,
    .player-area,
    .social-midea-area,
    .backpack-area {
        padding: 54px 0;
    }

    .news-main {
        grid-template-columns: 1fr;
    }

    .news-flex {
        grid-template-columns: 120px auto;
    }

    .player-main {
        grid-template-columns: 1fr;
    }

    .hero-main {
        border-radius: 0;
    }
}

@media screen and (max-width: 575px) {
    .hero-logo-left img {
        max-width: 285px;
    }

    .hero-logo-right img {
        max-height: 350px;
        right: -120px;
        opacity: .62;
    }

    .pix-hero-cta {
        margin-top: -70px;
    }

    .pix-hero-cta h1 {
        font-size: 32px;
    }

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

    .news-flex {
        grid-template-columns: 1fr;
    }

    .social-midea-main {
        grid-template-columns: 1fr;
    }

    .backpack-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main ul,
    .copyright-item ul {
        flex-wrap: wrap;
        row-gap: 14px;
    }
}


/* Cinematic redesign pass */
.hero-area {
    padding-bottom: 20px !important;
}

.hero-logo-left img {
    max-width: 620px !important;
    transform: scale(1.18) !important;
}

.hero-logo-right img {
    max-height: 760px !important;
    left: -20px !important;
    top: 40px !important;
}

.hero-main {
    border-radius: 24px !important;
    background: rgba(8, 8, 8, .82) !important;
    border: 1px solid rgba(255, 120, 40, .18) !important;
}

.news-main-item,
.news-right-item {
    background: rgba(10, 10, 10, .92) !important;
    border: 1px solid rgba(255, 120, 40, .15) !important;
    border-radius: 18px !important;
}

.news-heading h2 {
    letter-spacing: 2px !important;
}


/* =========================================================
   SECOND CINEMATIC HOMEPAGE PASS
   Makes the live files closer to the mockup: top black nav,
   bigger hero/logo/dragon, decorative dividers, premium cards.
   ========================================================= */
:root {
    --pix-red: #e20f22;
    --pix-red-deep: #8b080f;
    --pix-gold: #d8a74e;
    --pix-gold-soft: #f1d58b;
    --pix-ink: #070606;
    --pix-panel: rgba(10, 9, 8, .84);
    --pix-border: rgba(216, 167, 78, .24);
    --pix-text: #f4efe5;
    --pix-muted: #b8aca0;
}

body {
    background: #060505;
    color: var(--pix-text);
}

.container {
    max-width: 1540px;
}

.section-wrapper20-area {
    background: radial-gradient(circle at 50% 0, rgba(156, 24, 13, .13), transparent 35%), linear-gradient(180deg, #050404 0%, #0c0a09 45%, #050404 100%) !important;
}

/* Always show one polished top navbar like the mockup */
.menu20-fixed {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    background: rgba(4, 4, 4, .94) !important;
    border-bottom: 1px solid rgba(216, 167, 78, .22) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .48) !important;
    backdrop-filter: blur(18px);
}

.menu20-fixed .hero-container {
    max-width: 1680px;
    padding: 0 44px;
}

.menu20-fixed .hero-main.menu20 {
    display: grid !important;
    grid-template-columns: 240px minmax(560px, 1fr) auto auto !important;
    align-items: center !important;
    gap: 24px !important;
    min-height: 96px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.menu20-fixed .menu-btn {
    display: none !important;
}

.nav-brand {
    display: flex;
    align-items: center;
    width: 250px;
    height: 96px;
    position: relative;
    z-index: 3;
}

.nav-brand img {
    width: 230px;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .75));
    transform: translateY(5px);
}

.menu20-fixed .hero-left {
    order: 3;
}

.menu20-fixed .hero-middle {
    order: 2;
    min-width: 0;
}

.menu20-fixed .hero-right {
    order: 4;
}

.menu20-fixed .hero-left ul,
.menu20-fixed .hero-right ul,
.menu20-fixed .hero-middle ul {
    height: 96px;
}

.menu20-fixed .hero-middle ul {
    gap: clamp(22px, 2.4vw, 44px);
    justify-content: center;
}

.menu20-fixed .hero-middle ul li {
    position: relative;
}

.menu20-fixed .hero-middle ul li a,
.menu20-fixed .hero-middle ul li:nth-of-type(4) button {
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: .9px !important;
    color: #f7f1e8 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .65);
}

.menu20-fixed .hero-middle ul li a.nav-active,
.menu20-fixed .hero-middle ul li a.nw-active,
.menu20-fixed .hero-middle ul li a.rk-active,
.menu20-fixed .hero-middle ul li a.dl-active,
.menu20-fixed .hero-middle ul li a.is-active,
.menu20-fixed .hero-middle ul li a.ac-active {
    color: var(--pix-red) !important;
    position: relative;
}

.menu20-fixed .hero-middle ul li a.nav-active::after,
.menu20-fixed .hero-middle ul li a.nw-active::after,
.menu20-fixed .hero-middle ul li a.rk-active::after,
.menu20-fixed .hero-middle ul li a.dl-active::after,
.menu20-fixed .hero-middle ul li a.is-active::after,
.menu20-fixed .hero-middle ul li a.ac-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -35px;
    width: 86px;
    height: 3px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--pix-red), var(--pix-gold), transparent);
    box-shadow: 0 0 24px rgba(226, 15, 34, .75);
}

.mobile-nav ul li a.nav-active,
.mobile-nav ul li a.nw-active,
.mobile-nav ul li a.rk-active,
.mobile-nav ul li a.dl-active,
.mobile-nav ul li a.is-active,
.mobile-nav ul li a.ac-active {
    color: var(--pix-red) !important;
}

.menu20-fixed .hero-middle ul li a:hover,
.menu20-fixed .hero-middle ul li:nth-of-type(4) button:hover {
    color: var(--pix-red) !important;
}

.menu20-fixed .nav-social-icon {
    font-size: 20px;
    color: #f3efe7 !important;
    opacity: .95;
}

.menu20-fixed .hero-left ul {
    gap: 28px;
}

.menu20-fixed .hero-left ul li:last-child span {
    display: none;
}

.menu20-fixed .hero-right ul {
    gap: 16px;
    min-width: 345px;
}

.menu20-fixed .lang-pill {
    height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    background: rgba(0, 0, 0, .36) !important;
    border: 1px solid rgba(216, 167, 78, .24) !important;
    color: #fff !important;
}

.menu20-fixed .hero-right ul > li.hf-guest-only > button {
    width: 148px !important;
    height: 48px !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg, #ed1a2a, #9c0b12) !important;
    border: 1px solid rgba(255, 165, 130, .28) !important;
    box-shadow: 0 10px 30px rgba(226, 15, 34, .35) !important;
    font-size: 15px !important;
}

/* Remove the duplicate floating hero navbar. The top navbar replaces it. */
.hero-area>.hero-main-wrapper>.hero-container>.hero-main.menu20 {
    display: none !important;
}

/* Cinematic hero */
.hero-area {
    min-height: 690px !important;
    padding: 96px 0 0 !important;
    background-image: url('images/hero-bg.webp') !important;
    background-size: cover !important;
    background-position: center top !important;
    overflow: hidden;
}

.hero-area::before {
    background:
        radial-gradient(circle at 65% 15%, rgba(255, 124, 28, .28), transparent 26%),
        radial-gradient(circle at 83% 45%, rgba(226, 15, 34, .22), transparent 30%),
        linear-gradient(90deg, rgba(2, 2, 2, .56) 0%, rgba(2, 2, 2, .18) 47%, rgba(2, 2, 2, .38) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(6, 5, 5, .15) 62%, #060505 100%) !important;
}

.hero-area::after {
    height: 170px !important;
    background: linear-gradient(180deg, transparent, #060505 86%) !important;
}

.hero-logo-wrapper {
    min-height: 594px !important;
    display: grid !important;
    grid-template-columns: 47% 53% !important;
    align-items: center !important;
    position: relative !important;
}

.hero-logo-wrapper::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 620px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(216, 167, 78, .65), var(--pix-red), rgba(216, 167, 78, .65), transparent);
    box-shadow: 0 0 25px rgba(226, 15, 34, .48);
}

.hero-logo-wrapper::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 14px;
    height: 14px;
    transform: translateX(-50%) rotate(45deg);
    background: linear-gradient(135deg, var(--pix-gold), var(--pix-red));
    border: 1px solid rgba(255, 228, 150, .65);
    z-index: 6;
}

.hero-logo-left {
    z-index: 5;
}

.hero-logo-left img {
    max-width: 690px !important;
    width: 112% !important;
    margin: 20px 0 0 80px !important;
    top: 0 !important;
    transform: none !important;
    filter: drop-shadow(0 26px 42px rgba(0, 0, 0, .8)) saturate(1.06) contrast(1.04) !important;
}

.hero-logo-left img:hover {
    transform: scale(1.02) !important;
}

.hero-logo-right {
    z-index: 4;
}

.hero-logo-right img {
    max-height: 760px !important;
    width: auto !important;
    max-width: 100% !important;
    left: -80px !important;
    top: 60px !important;
    transform: scale(1.04) !important;
    filter: drop-shadow(0 36px 65px rgba(0, 0, 0, .86)) saturate(1.08) contrast(1.05) !important;
}

.hero-btm {
    display: none !important;
}

/* News section rebuilt to feel like the mockup */
.news-area {
    padding: 24px 0 110px !important;
    position: relative;
}

.news-section-heading {
    margin-bottom: 34px !important;
    text-align: center;
}

.news-section-heading h2 {
    font-family: var(--font-heading) !important;
    font-size: clamp(34px, 3.1vw, 50px) !important;
    letter-spacing: 4px !important;
    color: #fff !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .85);
}

.news-section-heading .heading-line {
    width: 360px !important;
    height: 24px !important;
    margin: 12px auto 0 !important;
    background: none !important;
    position: relative;
}

.news-section-heading .heading-line::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 11px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216, 167, 78, .65), rgba(226, 15, 34, .8), rgba(216, 167, 78, .65), transparent);
}

.news-section-heading .heading-line::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 5px;
    width: 14px;
    height: 14px;
    transform: translateX(-50%) rotate(45deg);
    background: linear-gradient(135deg, var(--pix-gold), var(--pix-red));
    border: 1px solid rgba(255, 224, 147, .75);
    box-shadow: 0 0 22px rgba(226, 15, 34, .7);
}

.tab-container {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
}

.tab-buttons {
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tab-buttons ul {
    gap: 0 !important;
    background: rgba(8, 7, 7, .62);
    border: 1px solid rgba(216, 167, 78, .18);
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .35);
}

.tab-buttons ul li a {
    min-width: 172px !important;
    height: 56px !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-right: 1px solid rgba(216, 167, 78, .12);
    color: var(--pix-muted) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .1));
}

.tab-buttons ul li a.active {
    color: #fff !important;
    background: linear-gradient(180deg, rgba(226, 15, 34, .28), rgba(88, 8, 8, .18));
    box-shadow: inset 0 -3px 0 var(--pix-red);
}

.tab-btn-img {
    display: none !important;
}

.news-view-all {
    position: absolute !important;
    right: 8px !important;
    top: 5px !important;
    margin: 0 !important;
}

.news-view-all a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-weight: 700;
    gap: 14px;
}

.news-view-all a i {
    color: var(--pix-red);
}

.news-main {
    display: grid !important;
    grid-template-columns: 1.06fr 1.34fr !important;
    gap: 28px !important;
    align-items: stretch !important;
}

.news-left,
.news-flex {
    border: 1px solid rgba(216, 167, 78, .25) !important;
    background: linear-gradient(145deg, rgba(12, 10, 9, .93), rgba(4, 4, 4, .92)) !important;
    box-shadow: 0 22px 65px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .04) !important;
    overflow: hidden !important;
}

.news-left {
    padding: 14px !important;
    border-radius: 20px !important;
    display: flex;
    flex-direction: column;
}

.news-left-img {
    border-radius: 14px !important;
    overflow: hidden;
}

.news-left-img img {
    height: 292px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    filter: saturate(1.08) contrast(1.05);
}

.news-badge {
    top: 26px !important;
    left: 26px !important;
    background: linear-gradient(180deg, #ff1c30, #a50812) !important;
    border-radius: 6px !important;
    font-weight: 900 !important;
    letter-spacing: 1.2px;
}

.news-left-cnt {
    padding: 22px 18px 12px !important;
}

.news-title {
    font-size: 28px !important;
    line-height: 1.12 !important;
}

.news-left-cnt p {
    font-size: 16px !important;
    line-height: 1.65 !important;
}

.news-right {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 22px !important;
}

.news-flex {
    display: grid !important;
    grid-template-columns: 230px 1fr !important;
    gap: 22px !important;
    padding: 18px !important;
    border-radius: 18px !important;
    margin: 0 !important;
    min-height: 210px;
}

.news-flex3 {
    display: none !important;
}

.news-col-left {
    width: 100% !important;
    border-radius: 13px !important;
    overflow: hidden;
}

.news-col-left img {
    width: 100% !important;
    height: 174px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
}

.news-col-right {
    padding: 2px 2px 0 !important;
}

.news-col-right h4 {
    font-size: 24px !important;
    line-height: 1.16 !important;
    margin: 8px 0 12px !important;
}

.news-col-right p {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.news-meta {
    gap: 14px !important;
    align-items: center !important;
}

.news-category {
    font-family: var(--font-heading) !important;
    font-size: 13px !important;
    letter-spacing: 1.8px !important;
    color: var(--pix-gold) !important;
}

.news-date {
    font-size: 13px !important;
    color: #aaa !important;
}

.news-read-more {
    color: #ff2636 !important;
    font-weight: 800 !important;
}

.news-read-more::after,
.news-col-right p+a {
    color: #ff2636 !important;
}

.discord-float {
    right: 24px !important;
    bottom: 26px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #b9111d, #681014) !important;
    border: 1px solid rgba(255, 115, 115, .22) !important;
}

@media (max-width:1200px) {
    .menu20-fixed .hero-main.menu20 {
        grid-template-columns: 220px 1fr max-content !important;
        gap: 18px !important;
    }

    .menu20-fixed .hero-left {
        display: none !important;
    }

    .nav-brand {
        width: 210px
    }

    .nav-brand img {
        width: 200px
    }

    .menu20-fixed .hero-middle ul {
        gap: 26px;
    }

    .hero-logo-left img {
        margin-left: 30px !important;
        max-width: 560px !important;
    }

    .hero-logo-right img {
        left: -40px !important;
        max-height: 680px !important;
    }

    .news-main {
        grid-template-columns: 1fr !important;
    }

    .news-right {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width:900px) {
    .menu20-fixed {
        display: block !important;
        height: 60px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 2000 !important;
        background: rgba(4, 4, 4, 0.95) !important;
        border-bottom: 1px solid rgba(216, 167, 78, 0.22) !important;
        backdrop-filter: blur(18px) !important;
    }

    .menu20-fixed .hero-container {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .menu20-fixed .hero-main.menu20 {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 60px !important;
        min-height: 60px !important;
        padding: 0 20px !important;
    }

    .menu20-fixed .menu-btn {
        display: flex !important;
        order: 1 !important;
    }

    .menu20-fixed .nav-brand {
        display: flex !important;
        align-items: center !important;
        height: 60px !important;
        width: auto !important;
        order: 2 !important;
    }

    .menu20-fixed .nav-brand img {
        width: 140px !important;
        max-height: 40px !important;
        transform: none !important;
        filter: none !important;
    }

    .menu20-fixed .hero-left,
    .menu20-fixed .hero-middle,
    .menu20-fixed .hero-right {
        display: none !important;
    }

    .hero-area {
        padding-top: 60px !important;
        min-height: auto !important;
    }

    .hero-area>.hero-main-wrapper>.hero-container>.hero-main.menu20 {
        display: none !important;
    }

    .tab-btn-img {
        display: none !important;
    }

    .hero-logo-wrapper {
        grid-template-columns: 1fr !important;
        min-height: 560px !important;
        text-align: center;
    }

    .hero-logo-left img {
        margin: 30px auto 0 !important;
        width: 92% !important;
        max-width: 520px !important;
    }

    .hero-logo-right img {
        left: 0 !important;
        top: -40px !important;
        max-height: 520px !important;
    }

    .news-right {
        grid-template-columns: 1fr !important;
    }

    .news-flex {
        grid-template-columns: 1fr !important;
    }

    .news-col-left img {
        height: auto !important;
    }

    .news-view-all {
        position: static !important;
        text-align: center;
        margin-top: 18px !important;
    }

    .tab-buttons {
        justify-content: center;
    }

    .tab-buttons ul {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 18px;
    }
}


/* Restore Latest News & Updates to the original balanced layout */
.news-area {
    padding: 92px 0 82px !important;
}

.news-section-heading {
    text-align: center !important;
    margin-bottom: 42px !important;
}

.news-section-heading h2 {
    font-size: clamp(30px, 3.5vw, 46px) !important;
    letter-spacing: 1px !important;
}

.news-section-heading .heading-line {
    width: 112px !important;
    height: 3px !important;
    margin: 12px auto 0 !important;
    background: linear-gradient(90deg, transparent, var(--pix-gold), var(--pix-red), transparent) !important;
}

.news-section-heading .heading-line::before,
.news-section-heading .heading-line::after {
    content: none !important;
    display: none !important;
}

.tab-container {
    max-width: 1170px !important;
    margin: 0 auto !important;
}

.tab-buttons {
    display: block !important;
    margin-bottom: 0 !important;
}

.tab-buttons ul {
    display: flex !important;
    align-items: center !important;
    column-gap: 40px !important;
    gap: 40px !important;
    padding-bottom: 15px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
}

.tab-buttons ul li a,
.tab-btn {
    position: relative !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #666 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.tab-buttons ul li a.active,
.tab-btn.active {
    color: #BD0917 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.tab-btn-img {
    display: block !important;
}

.tab-btn-img img {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: -1 !important;
    width: 140px !important;
    height: 42px !important;
    max-width: none !important;
    pointer-events: none !important;
}

.news-view-all {
    position: static !important;
    right: auto !important;
    top: auto !important;
    text-align: center !important;
    margin-top: 40px !important;
}

.news-view-all a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #fff !important;
    background: #1a1a1a !important;
    padding: 14px 36px !important;
    border-radius: 4px !important;
    border: 0 !important;
    box-shadow: none !important;
}

.news-main {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    column-gap: 35px !important;
    gap: 35px !important;
    margin-top: 25px !important;
    align-items: start !important;
}

.news-left {
    display: block !important;
    padding: 14px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: var(--pix-panel) !important;
    border: 1px solid var(--pix-border) !important;
    box-shadow: var(--pix-shadow) !important;
}

.news-left-img {
    border-radius: 14px !important;
    overflow: hidden !important;
}

.news-left-img img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
}

.news-badge {
    top: 15px !important;
    left: 15px !important;
    border-radius: 3px !important;
}

.news-left-cnt {
    padding: 20px 6px 4px !important;
}

.news-title {
    font-size: inherit !important;
    line-height: inherit !important;
    margin-bottom: 12px !important;
}

.news-title a {
    font-size: 18px !important;
    line-height: 1.4 !important;
}

.news-left-cnt p {
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.news-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.news-flex,
.news-flex2,
.news-flex3 {
    display: grid !important;
    grid-template-columns: 160px auto !important;
    column-gap: 20px !important;
    gap: 20px !important;
    align-items: center !important;
    padding: 14px !important;
    margin: 0 !important;
    min-height: auto !important;
    border-radius: 18px !important;
    background: var(--pix-panel) !important;
    border: 1px solid var(--pix-border) !important;
    box-shadow: var(--pix-shadow) !important;
}

.news-flex2,
.news-flex3 {
    margin-top: 20px !important;
}

.news-col-left {
    width: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

.news-col-left img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    display: block !important;
}

.news-col-right {
    padding: 0 !important;
}

.news-col-right h4 {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.news-col-right p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-top: 8px !important;
}

.news-meta {
    gap: 15px !important;
    margin-bottom: 10px !important;
}

.news-category {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    color: var(--pix-gold) !important;
}

.news-date {
    font-size: 12px !important;
}

@media (max-width: 1200px) {
    .news-main {
        grid-template-columns: 1fr !important;
    }

    .news-flex,
    .news-flex2,
    .news-flex3 {
        grid-template-columns: 160px auto !important;
    }
}

@media (max-width: 900px) {

    .news-flex,
    .news-flex2,
    .news-flex3 {
        grid-template-columns: 1fr !important;
    }

    .news-col-left img {
        height: auto !important;
    }
}

/* Align page wrappers below fixed navbar */
.ac-wrap,
.rk-wrap,
.reset-wrap,
.is-wrap,
.ns-wrap,
.verify-wrap,
.nw-wrap,
.dl-wrap,
.admin-wrap {
    padding-top: 96px !important;
}

@media screen and (max-width: 900px) {

    .ac-wrap,
    .rk-wrap,
    .reset-wrap,
    .is-wrap,
    .ns-wrap,
    .verify-wrap,
    .nw-wrap,
    .dl-wrap,
    .admin-wrap {
        padding-top: 60px !important;
    }
}

/* Widen inputs and enlarge text inside desktop modal containers */
@media screen and (min-width: 1101px) {
    .login-item {
        padding: 40px 48px !important;
    }

    .login-title h2 {
        font-size: 20px !important;
        letter-spacing: 1px !important;
    }

    .input-flex {
        padding: 14px 24px !important;
        margin-top: 20px !important;
        grid-template-columns: 44px auto !important;
    }

    .input-item-right input {
        font-size: 16px !important;
    }

    .input-submit button {
        width: 220px !important;
        height: 48px !important;
        font-size: 16px !important;
        background-size: 100% 100% !important;
    }

    .sign-btm h4 {
        font-size: 15px !important;
        margin-top: 20px !important;
    }

    .checkbox label {
        font-size: 15px !important;
    }
}

/* Use one consistent compact header across phone and tablet widths. */
@media screen and (max-width: 1100px) {
    .menu20-fixed {
        display: block !important;
        width: 100% !important;
        height: 60px !important;
        min-height: 60px !important;
    }

    .menu20-fixed .hero-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .menu20-fixed .hero-main.menu20 {
        display: flex !important;
        position: relative !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        height: 60px !important;
        min-height: 60px !important;
        padding: 0 20px !important;
    }

    .menu20-fixed .menu-btn {
        display: flex !important;
        position: relative !important;
        order: 1 !important;
        z-index: 3;
    }

    .menu20-fixed .nav-brand {
        display: flex !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        transform: translate(-50%, -50%) !important;
        z-index: 2;
    }

    .menu20-fixed .nav-brand img {
        width: auto !important;
        height: 100px !important;
        max-height: 100px !important;
        transform: none !important;
    }

    .menu20-fixed .hero-left,
    .menu20-fixed .hero-middle,
    .menu20-fixed .hero-right {
        display: none !important;
    }

    .mobile-nav ul li a,
    .mobile-nav ul li button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .ac-wrap,
    .rk-wrap,
    .reset-wrap,
    .is-wrap,
    .ns-wrap,
    .verify-wrap,
    .nw-wrap,
    .dl-wrap,
    .admin-wrap {
        padding-top: 60px !important;
    }
}

/* Stable navigation typography across page loads */
.menu20-fixed .hero-middle ul li a,
.menu20-fixed .hero-middle ul li button,
.menu20-fixed .hero-right ul li a,
.menu20-fixed .hero-right ul li button,
.mobile-nav ul li a,
.mobile-nav ul li button {
    font-family: 'Pretendard', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .9px !important;
    font-synthesis: none;
}

.menu20-fixed .lang-pill,
.menu20-fixed .lang-code {
    font-family: 'Pretendard', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .9px !important;
    font-synthesis: none;
}

/* Consistent top navigation login CTA */
.menu20-fixed .hero-right .hf-login-link,
.menu20-fixed .hero-right .hf-guest-only>button,
.mobile-nav .hf-login-link,
.mobile-nav .hf-guest-only>button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 110px !important;
    min-height: 40px !important;
    width: auto !important;
    height: auto !important;
    padding: 0 18px !important;
    border: 1px solid rgba(255, 165, 130, .28) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #ed1a2a 0%, #9c0b12 100%) !important;
    background-image: linear-gradient(180deg, #ed1a2a 0%, #9c0b12 100%) !important;
    background-size: auto !important;
    box-shadow: 0 10px 30px rgba(226, 15, 34, .28) !important;
    color: #fff !important;
    cursor: pointer;
    font-family: 'Pretendard', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .9px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    font-synthesis: none;
}

.menu20-fixed .hero-right .hf-login-link:hover,
.menu20-fixed .hero-right .hf-guest-only>button:hover,
.mobile-nav .hf-login-link:hover,
.mobile-nav .hf-guest-only>button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* Shared primary CTA shape: nav login, hero actions, and Discord */
.menu20-fixed .hero-right .hf-login-link,
.menu20-fixed .hero-right .hf-guest-only>button,
.pix-hero-actions a,
.pix-hero-actions button,
.discord-float {
    border-radius: 999px !important;
    font-family: 'Pretendard', Arial, sans-serif !important;
    font-synthesis: none;
}

.pix-hero-actions a,
.pix-hero-actions button {
    min-height: 48px !important;
    padding: 0 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.discord-float {
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Auth modal interactions */
.hf-pw-toggle {
    z-index: 2;
}

.input-item-right input.hf-password-match {
    border: 1px solid rgba(46, 204, 113, .9) !important;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, .18) !important;
    outline: none !important;
}

.input-item-right input.hf-password-mismatch {
    border: 1px solid rgba(231, 76, 60, .9) !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, .18) !important;
    outline: none !important;
}

.hf-password-match-status {
    min-height: 20px;
    margin: -4px 0 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
}

.hf-password-match-status.is-match {
    color: #46c875;
}

.hf-password-match-status.is-mismatch {
    color: #e85c66;
}

.hf-password-requirements {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: -2px 0 12px;
    padding: 8px 10px;
    border: 1px solid rgba(209, 159, 80, .18);
    border-radius: 6px;
    background: rgba(209, 159, 80, .06);
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    line-height: 1.45;
}

.hf-password-requirements i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #d19f50;
    font-size: 11px;
}

.hf-modal-helper {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

.hf-resend-verification-link,
.hf-modal-secondary-link {
    margin-top: 12px;
    color: rgba(255, 255, 255, .48);
    font-family: var(--font-heading);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.hf-resend-verification-link[hidden] {
    display: none !important;
}

.hf-nav-avatar {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 1px solid rgba(209, 159, 80, .38);
    border-radius: 50%;
    object-fit: cover;
    background: #0b0a08;
}

.hf-account-link a {
    display: flex;
    align-items: center;
    gap: 9px;
}

/* Homepage ranking previews: condensed version of the Rankings page tables. */
.player-main.hf-home-player-main {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.hf-home-player-main > .player-item {
    width: 100%;
    min-width: 0;
}

.player-item-btmbar.hf-home-rank-panel {
    min-height: 0 !important;
    margin-top: 12px;
    padding: 12px !important;
    border: 1px solid rgba(209, 159, 80, .25);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(22, 21, 17, .96), rgba(7, 7, 6, .96));
    box-shadow: 0 16px 32px rgba(0, 0, 0, .22);
}

.hf-home-rank-table { overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); border-radius: 8px; }
.hf-home-rank-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(145px, 190px) minmax(95px, 135px); align-items: center; min-height: 58px; padding: 7px 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .2s ease; }
.hf-home-rank-row:last-child { border-bottom: 0; }
.hf-home-rank-row:not(.hf-home-rank-head):hover { background: rgba(255, 255, 255, .035); }
.hf-home-rank-head { min-height: 35px; padding-top: 0; padding-bottom: 0; background: rgba(255, 255, 255, .025); color: rgba(255, 255, 255, .36); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.hf-home-rank-head > :last-child { text-align: right; }
.hf-home-rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .45); font-family: var(--font-heading); font-size: 11px; }
.hf-home-rank-badge.b1 { background: linear-gradient(135deg, #ffd700, #d88b12); color: #211300; box-shadow: 0 0 10px rgba(255, 190, 45, .28); }
.hf-home-rank-badge.b2 { background: linear-gradient(135deg, #e1e1e1, #949494); color: #151515; }
.hf-home-rank-badge.b3 { background: linear-gradient(135deg, #d38a45, #75401c); color: #fff; }
.hf-home-rank-player, .hf-home-rank-league { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hf-home-rank-avatar { width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid rgba(209, 159, 80, .32); border-radius: 50%; object-fit: cover; background: #111; }
.hf-home-rank-player strong, .hf-home-rank-league strong { display: block; overflow: hidden; color: #fff; font-family: var(--font-heading); font-size: 12px; letter-spacing: .3px; text-overflow: ellipsis; white-space: nowrap; }
.hf-home-rank-player span { display: block; overflow: hidden; margin-top: 2px; color: rgba(255, 255, 255, .36); font-size: 9px; letter-spacing: .65px; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.hf-home-rank-league i { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid rgba(189, 9, 23, .26); border-radius: 5px; background: rgba(189, 9, 23, .1); color: #d94752; font-size: 13px; }
.hf-home-rank-level { display: flex; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; text-align: right; }
.hf-home-rank-level strong { overflow: hidden; color: rgba(255, 255, 255, .82); font-family: var(--font-heading); font-size: 11px; letter-spacing: .2px; text-overflow: ellipsis; white-space: nowrap; }
.hf-home-rank-level span { padding: 2px 5px; border: 1px solid rgba(189, 9, 23, .32); border-radius: 3px; background: rgba(189, 9, 23, .08); color: #e46a73; font-size: 9px; white-space: nowrap; }
.hf-home-rank-exp { color: #d19f50; font-family: var(--font-heading); font-size: 11px; font-variant-numeric: tabular-nums; text-align: right; }
.hf-home-member-count { text-align: right; }
.hf-home-member-count strong { color: #fff; font-family: var(--font-heading); font-size: 14px; }
.hf-home-member-count span { color: rgba(255, 255, 255, .35); font-size: 10px; }
.hf-home-rank-panel .player-btn { margin-top: 14px; }
.hf-home-rank-panel .player-btn a { width: 150px; height: 38px; border: 1px solid rgba(209, 159, 80, .28); border-radius: 4px; background: rgba(255, 255, 255, .035); color: rgba(255, 255, 255, .8); font-size: 12px; }

@media (max-width: 560px) {
    .hf-home-rank-row { grid-template-columns: 37px minmax(0, 1fr) minmax(90px, 120px); padding-left: 8px; padding-right: 8px; }
    .hf-home-rank-exp, .hf-home-rank-exp-head { display: none; }
    .hf-home-rank-player span { display: none; }
    .hf-home-rank-avatar { width: 30px; height: 30px; flex-basis: 30px; }
    .hf-home-rank-level { display: block; }
    .hf-home-rank-level strong { display: block; font-size: 10px; }
    .hf-home-rank-level span { display: inline-block; margin-top: 3px; }
}

.hf-resend-verification-link span,
.hf-modal-secondary-link span {
    color: #d19f50;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hf-resend-verification-link span:hover,
.hf-modal-secondary-link span:hover {
    color: #fff;
}

.hf-turnstile-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 16px auto 12px !important;
    text-align: center !important;
}

.hf-turnstile-wrap .cf-turnstile,
.hf-turnstile-wrap iframe {
    margin-right: auto !important;
    margin-left: auto !important;
}

.menu20-fixed .hero-main.menu20 {
    min-height: 96px !important;
}

.menu20-fixed .hero-left ul,
.menu20-fixed .hero-middle ul,
.menu20-fixed .hero-right ul {
    min-height: 96px !important;
}

/* Prevent refresh-time nav/auth flicker */
.menu20-fixed,
.menu20-fixed.visible,
.menu20-fixed .nav-brand,
.menu20-fixed .nav-brand img,
.menu20-fixed .hf-auth-only,
.menu20-fixed .hf-guest-only,
.menu20-fixed .hf-account-link,
.menu20-fixed .hf-account-link a,
.menu20-fixed .hf-logout-link,
.menu20-fixed .hf-logout-link button {
    opacity: 1 !important;
    transition-property: color, background, border-color, transform, filter, box-shadow !important;
    transition-duration: .2s !important;
}

.menu20-fixed,
.menu20-fixed.visible {
    transition: none !important;
    transition-property: none !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    transform: none !important;
    pointer-events: auto !important;
}

.menu20-fixed .nav-brand img {
    display: block !important;
    visibility: visible !important;
}

.menu20-fixed .hero-main.menu20 {
    grid-template-columns: 240px minmax(560px, 1fr) auto auto !important;
    gap: 24px !important;
}

/* === NAVBAR FIXES === */

/* Stop LOGIN overflowing between ~1200–1400px */
.menu20-fixed .hero-main.menu20 {
    grid-template-columns: 220px minmax(0, 1fr) auto auto !important;
    column-gap: 20px !important;
}

.menu20-fixed .hero-right ul {
    min-width: 0 !important;
    /* was 345px — forced the row too wide */
    gap: 14px;
    justify-content: flex-end;
}

/* Logged-in LOGOUT was the 3rd <li>, so it inherited the guest LOGIN pill
   (width:148px) from the legacy `li:nth-of-type(3) button` rules and overflowed
   its 92px slot — pushing the button past the viewport edge. Restore the
   intended subtle text button so it sits inside the bar next to the account name. */
.menu20-fixed .hero-right ul li.hf-logout-link button {
    width: auto !important;
    height: auto !important;
    min-height: 37px;
    padding: 0 4px !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-align: left;
}

.menu20-fixed .hero-right ul li.hf-logout-link {
    width: auto !important;
}

.menu20-fixed .hero-right ul li.hf-logout-link button:hover {
    transform: none !important;
    filter: none !important;
    color: var(--pix-red) !important;
}

/* EN pill: kill the grey box, center the text */
.menu20-fixed .lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.menu20-fixed .lang-code {
    background: transparent !important;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding: 0 !important;
    letter-spacing: .5px !important;
}

/* === MOBILE NAVBAR: transparent bar, centered + larger logo === */
@media (max-width: 900px) {
    .menu20-fixed {
        background: transparent !important;
        border-bottom: none !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .menu20-fixed .hero-main.menu20 {
        position: relative !important;
        justify-content: flex-start !important;
        /* faint scrim for icon legibility — delete this line for fully clean transparent */
        background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)) !important;
    }

    .menu20-fixed .menu-btn {
        order: 1 !important;
        position: relative;
        z-index: 3;
    }

    .menu20-fixed .menu-btn span {
        box-shadow: 0 1px 3px rgba(0, 0, 0, .75);
    }

    .menu20-fixed .nav-brand {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }

    .menu20-fixed .nav-brand img {
        width: auto !important;
        height: 100px !important;
        max-height: 100px !important;
        transform: none !important;
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .7)) !important;
    }
}

/* === MOBILE MENU: clean CTA + spacing === */
@media (max-width: 900px) {

    /* Login (guest) & Logout (auth) become standalone pills, not divider rows */
    .mobile-nav ul li.hf-guest-only,
    .mobile-nav ul li.hf-logout-link {
        border-bottom: none !important;
        padding: 18px 0 0 !important;
    }

    .mobile-nav .hf-guest-only button,
    .mobile-nav .hf-guest-only>button,
    .mobile-nav .hf-login-link,
    .mobile-nav .hf-logout-link button,
    .mobile-nav .hf-logout-link form {
        width: 100% !important;
        min-width: 0 !important;
        justify-content: center !important;
        text-align: center !important;
        display: block;
    }

    .mobile-nav .hf-logout-link button {
        width: 100% !important;
        min-width: 0 !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Logout gets a muted outline so it doesn't compete with primary CTAs */
    .mobile-nav .hf-logout-link button {
        background: transparent !important;
        background-image: none !important;
        border: 1px solid rgba(255, 255, 255, .18) !important;
        color: #e8e0d2 !important;
        box-shadow: none !important;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    /* Account link: icon + username as a normal aligned row */
    .mobile-nav ul li.hf-account-link a {
        display: flex !important;
        align-items: center;
        gap: 10px;
        justify-content: center;
        background: rgba(189, 9, 23, .12);
        border: 1px solid rgba(189, 9, 23, .28);
        border-radius: 8px;
        padding: 13px 16px !important;
    }

    .mobile-nav ul li.hf-account-link .hf-account-name {
        color: #d19f50;
        font-size: 13px;
        letter-spacing: 1.1px;
        opacity: .95;
        font-weight: 800;
        text-transform: uppercase;
    }

    /* Item Shop row (auth) stays a normal list item — nothing needed */

    /* Close the empty gap before the social icons */
    .mobile-nav .mobile-social {
        margin-top: 16px !important;
        padding-top: 16px !important;
    }
}

/* Expand the hero status box to fill the CTA column */
.hero-status-widget {
    width: 100% !important;
    align-self: stretch !important;
    padding: 22px 28px !important;
    gap: 14px !important;
}

.hero-status-widget .status-row {
    gap: 18px !important;
    /* keeps label off the value */
    padding-bottom: 12px !important;
}

.hero-status-widget .status-label {
    font-size: 14px !important;
}

.hero-status-widget .status-value {
    font-size: 14px !important;
}

.pix-kicker::after {
    content: "";
    width: 42px;
    height: 1px;
    background: var(--pix-gold);
}

/*== New Phase Layout and Accordion ==*/
.phase-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.phase-left {
    width: 100%;
}

.phase-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phase-right img {
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(189, 9, 23, 0.25));
    animation: floatWarrior 6s ease-in-out infinite;
}

@keyframes floatWarrior {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.phase-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: rgba(18, 16, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    border-color: rgba(189, 9, 23, 0.45);
    background: rgba(18, 16, 15, 0.85);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid rgba(189, 9, 23, 0.15);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phase-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s ease;
}

.accordion-item.active .phase-avatar {
    border-color: #BD0917;
}

.header-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-left h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    transition: color 0.3s ease;
}

.accordion-item.active h3 {
    color: #BD0917;
    background-image: linear-gradient(180deg, #ffffff 0%, #BD0917 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.phase-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coming-soon {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.accordion-header i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease, transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    color: #BD0917;
}

.accordion-body {
    padding: 24px;
}

.phase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

.phase-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 10px;
}

.phase-stat.full-width {
    grid-column: span 2;
    border-bottom: none;
    padding-bottom: 0;
}

.phase-stat span {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #d19f50;
    text-transform: uppercase;
}

.phase-stat strong {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.phase-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
    .phase-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phase-right {
        order: -1;
    }

    .phase-right img {
        max-height: 380px;
    }
}

/*== Profile Dropdown Menu ==*/
.user-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 8px 16px;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    outline: none;
}

.user-pill:hover {
    background: rgba(189, 9, 23, 0.15);
    border-color: rgba(189, 9, 23, 0.35);
}

.user-arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.user-arrow.rotate {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 190px;
    background: #11100f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 18px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 1px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.user-dropdown .dropdown-item.danger {
    color: rgba(255, 100, 100, 0.85);
}

.user-dropdown .dropdown-item.danger:hover {
    background: rgba(189, 9, 23, 0.08);
    color: #ff6b6b;
}

/* Stable profile dropdown across static and Symfony-rendered navigation. */
.menu20-fixed .hero-right ul li.user-dropdown-wrap {
    position: relative;
    display: inline-flex;
    width: auto;
    align-items: center;
}

.menu20-fixed .hero-right ul li.user-dropdown-wrap > button.user-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 40px;
    padding: 8px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
    box-shadow: none !important;
    text-align: left;
}

.menu20-fixed .hero-right .user-dropdown {
    top: calc(100% + 10px);
    right: 0;
    width: 190px;
    z-index: 1000;
}

.menu20-fixed .hero-right .user-dropdown > form {
    width: 100%;
    margin: 0 !important;
}

.menu20-fixed .hero-right .user-dropdown > form > .dropdown-item {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
    text-align: left !important;
}

/* Homepage news category filters: aligned with Rankings' segmented controls. */
.tab-container[data-set="set1"] .tab-buttons {
    display: flex !important;
    margin: 0 0 24px !important;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.tab-container[data-set="set1"] .tab-buttons ul {
    display: flex !important;
    align-items: center !important;
    min-width: max-content;
    gap: 4px !important;
    padding: 5px !important;
    margin: 0 !important;
    border: 1px solid rgba(209, 159, 80, .22) !important;
    border-radius: 8px !important;
    background: rgba(9, 9, 8, .8) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24) !important;
}

.tab-container[data-set="set1"] .tab-buttons ul li a,
.tab-container[data-set="set1"] .tab-btn {
    min-width: 0 !important;
    width: auto !important;
    height: 38px !important;
    padding: 0 14px !important;
    gap: 8px !important;
    border: 1px solid transparent !important;
    border-radius: 5px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, .46) !important;
    font-family: 'Pretendard', Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .65px !important;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease, border-color .2s ease !important;
}

.tab-container[data-set="set1"] .tab-buttons ul li a i { color: rgba(209, 159, 80, .65); font-size: 11px; }
.tab-container[data-set="set1"] .tab-buttons ul li a:hover { border-color: rgba(255, 255, 255, .1) !important; background: rgba(255, 255, 255, .035) !important; color: rgba(255, 255, 255, .82) !important; }
.tab-container[data-set="set1"] .tab-buttons ul li a.active,
.tab-container[data-set="set1"] .tab-btn.active { border-color: rgba(226, 15, 34, .56) !important; background: linear-gradient(180deg, rgba(226, 15, 34, .32), rgba(112, 8, 14, .32)) !important; box-shadow: inset 0 -2px 0 #d19f50 !important; color: #fff !important; }
.tab-container[data-set="set1"] .tab-buttons ul li a.active i { color: #ffd170; }
.tab-container[data-set="set1"] .tab-btn-img { display: none !important; }

@media (max-width: 700px) {
    .tab-container[data-set="set1"] .tab-buttons { margin-bottom: 18px !important; }
    .tab-container[data-set="set1"] .tab-buttons ul { flex-direction: row !important; align-items: center !important; width: max-content; }
    .tab-container[data-set="set1"] .tab-buttons ul li a { justify-content: center !important; width: auto !important; }
}

/* Language selector inside the responsive burger navigation. */
.mobile-nav .mobile-language-switcher {
    position: relative;
    padding: 14px 0;
}

.mobile-nav .mobile-language-switcher > .lang-pill {
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 6px;
}

.mobile-nav .mobile-language-switcher > .lang-dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    border-width: 0;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: max-height .25s ease, opacity .2s ease, margin-top .25s ease, padding .25s ease;
}

.mobile-nav .mobile-language-switcher.open > .lang-dropdown {
    max-height: 130px;
    margin-top: 8px;
    padding: 6px 0;
    border-width: 1px;
    opacity: 1;
    visibility: visible;
    transform: none;
}
/* Temporarily hide legacy social icons duplicated across static page headers. */
.nav-social-icon,
.mobile-nav .mobile-social {
    display: none !important;
}

/* Centre desktop navigation against the page column, independently of the
   logo and right controls. */
@media screen and (min-width: 901px) {
    .menu20-fixed .hero-main.menu20 {
        position: relative !important;
    }

    .menu20-fixed .hero-middle {
        position: absolute !important;
        left: 50% !important;
        width: max-content !important;
        max-width: calc(100% - 480px) !important;
        transform: translateX(-50%) !important;
        z-index: 2;
    }
}

/* Floating community CTA belongs at the lower-left at its intrinsic width. */
html body .discord-float {
    left: 24px !important;
    right: auto !important;
    width: max-content !important;
    inline-size: max-content !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    max-width: calc(100vw - 48px) !important;
}

@media screen and (max-width: 700px) {
    html body .discord-float {
        left: 12px !important;
        right: auto !important;
        width: 46px !important;
        inline-size: 46px !important;
        max-width: 46px !important;
    }
}
/* Guides navigation and player support reply alert. */
.hf-guides-menu{position:relative}.hf-guides-menu>a i{font-size:8px;margin-left:5px;opacity:.6}.hf-guides-dropdown{position:absolute;top:calc(100% + 18px);left:50%;z-index:1000;width:230px;padding:7px;transform:translate(-50%,8px);background:#100e0b;border:1px solid rgba(209,159,80,.28);box-shadow:0 20px 45px rgba(0,0,0,.55);opacity:0;visibility:hidden;transition:.18s}.hf-guides-menu:hover .hf-guides-dropdown,.hf-guides-menu:focus-within .hf-guides-dropdown{opacity:1;visibility:visible;transform:translate(-50%,0)}.hf-guides-dropdown a{display:block!important;padding:12px 13px!important;border-left:2px solid transparent;text-decoration:none!important}.hf-guides-dropdown a:hover{background:rgba(189,9,23,.12);border-left-color:#bd0917}.hf-guides-dropdown span{display:block;color:#fff;font-size:11px;letter-spacing:1px}.hf-guides-dropdown small{display:block;margin-top:4px;color:#a98750;font:9px Arial,sans-serif;letter-spacing:.5px;text-transform:none}.hf-mobile-sub-link a{padding-left:34px!important;color:#b99a68!important;font-size:11px!important}.hf-mobile-sub-link small{margin-left:7px;color:#bd0917;font-size:8px;letter-spacing:1px}.hf-support-reply-toast{position:fixed;left:24px;bottom:24px;z-index:100000;display:flex;align-items:center;gap:13px;width:min(390px,calc(100vw - 32px));box-sizing:border-box;padding:16px 18px;color:#fff;text-decoration:none;background:linear-gradient(135deg,#211812,#100d0b);border:1px solid rgba(209,159,80,.5);border-left:3px solid #bd0917;box-shadow:0 20px 55px rgba(0,0,0,.65);opacity:0;pointer-events:none;transform:translateY(18px);transition:.24s}.hf-support-reply-toast.show{opacity:1;pointer-events:auto;transform:none}.hf-support-reply-toast>i:first-child{display:grid;place-items:center;width:38px;height:38px;color:#e1ad50;background:rgba(209,159,80,.1);border:1px solid rgba(209,159,80,.25);border-radius:50%}.hf-support-reply-toast span{min-width:0;flex:1}.hf-support-reply-toast strong,.hf-support-reply-toast small{display:block}.hf-support-reply-toast strong{font-size:11px;letter-spacing:1.4px}.hf-support-reply-toast small{margin-top:5px;color:rgba(255,255,255,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hf-support-reply-toast>i:last-child{color:#bd0917}@media(max-width:650px){.hf-support-reply-toast{left:16px;bottom:82px}.hf-guides-dropdown{display:none}}

/* Win against legacy navigation flex rules: closed means removed from layout. */
html body .menu20-fixed .hero-middle ul li.hf-guides-menu{position:relative!important}
html body .menu20-fixed .hero-middle ul li.hf-guides-menu>.hf-guides-dropdown{display:none!important;position:absolute!important;top:100%!important;left:50%!important;z-index:10000!important;width:240px!important;margin-top:12px!important;padding:7px!important;box-sizing:border-box!important;transform:translateX(-50%)!important;flex-direction:column!important;text-align:left!important;white-space:normal!important;background:#100e0b!important;border:1px solid rgba(209,159,80,.32)!important;box-shadow:0 22px 48px rgba(0,0,0,.7)!important;opacity:1!important;visibility:visible!important}
html body .menu20-fixed .hero-middle ul li.hf-guides-menu:hover>.hf-guides-dropdown,html body .menu20-fixed .hero-middle ul li.hf-guides-menu:focus-within>.hf-guides-dropdown{display:flex!important}
html body .menu20-fixed .hero-middle ul li.hf-guides-menu>.hf-guides-dropdown>a{display:block!important;width:100%!important;box-sizing:border-box!important;padding:12px 13px!important;line-height:1.2!important;text-align:left!important}
html body .menu20-fixed .hero-middle ul li.hf-guides-menu>.hf-guides-dropdown>a>span,html body .menu20-fixed .hero-middle ul li.hf-guides-menu>.hf-guides-dropdown>a>small{display:block!important;position:static!important;width:auto!important;margin:0!important;line-height:1.35!important;white-space:normal!important}
html body .menu20-fixed .hero-middle ul li.hf-guides-menu>.hf-guides-dropdown>a>small{margin-top:4px!important}

/* Compact homepage social strip now positioned immediately above the footer. */
body[data-page="home"] .social-midea-area{padding:42px 0 38px;background-position:center 58%}
body[data-page="home"] .social-midea-area::before{background:rgba(7,6,6,.76)}
body[data-page="home"] .social-midea-area .news-section-heading{margin-bottom:22px}
body[data-page="home"] .social-midea-area .news-section-heading h2{font-size:clamp(24px,2.4vw,34px);letter-spacing:2px}
body[data-page="home"] .social-midea-area .news-section-heading .heading-line{width:82px}
body[data-page="home"] .social-midea-main{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:820px}
body[data-page="home"] .social-midea-item{padding:15px 12px;border-radius:10px}
body[data-page="home"] .social-midea-item a{display:flex;align-items:center;justify-content:center;gap:11px;min-height:54px;text-decoration:none}
body[data-page="home"] .social-midea-item img{width:46px;max-width:46px;height:46px;object-fit:contain}
body[data-page="home"] .social-midea-item a:hover img{transform:translateY(-2px) scale(1.04)}
body[data-page="home"] .social-midea-item h4{margin:0;font-size:13px;letter-spacing:1px}
@media(max-width:760px){body[data-page="home"] .social-midea-main{grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px}}
@media(max-width:430px){body[data-page="home"] .social-midea-area{padding:34px 0}body[data-page="home"] .social-midea-main{grid-template-columns:1fr 1fr;gap:8px}body[data-page="home"] .social-midea-item{padding:10px 8px}body[data-page="home"] .social-midea-item a{gap:7px}body[data-page="home"] .social-midea-item img{width:34px;height:34px}body[data-page="home"] .social-midea-item h4{font-size:10px}}
