/* default-button */
.default-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(45deg, #ae7b17, #feebc2);
    border-radius: 3px;
    height: 34px;
    width: 118px;
    font-size: 13.3px;
    font-weight: 700;
    padding: 2px 10px 3px;
    font-family: var(--font4);
    color: #14100a;
    transition: 0.3s;
}

button.default-button {
	border: none
}

.default-button, .header-logo {
  -webkit-transition: all 1s ease!important;
  transition: all 1s ease!important;
}
.default-button:hover, .header-logo:hover {
  -webkit-filter: brightness(112%);
  filter: brightness(112%);
}

.default-button--small {
    font-size: 10.64px;
    padding: 2px 10px 2px;
    background: linear-gradient(45deg, #ae7b17, #feebc2);
    border-radius: 3px;
    height: 28px;
    width: 113px;
}


/* -checkbox-model- */
.checkbox-model {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    height: 14px;
    width: 14px;
    border-radius: 0px;
    font-size: 10px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
  }
  .checkbox-model::before {
    content: '';
    height: 100%;
    width: 100%;
    border: 1px solid #49350b;
    background-color: #0d0c0c;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    border-radius: inherit;
  }
  
  .checkbox-model::after {
    content: '\f00c';
    font-family: "Font Awesome 5 Pro";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme__color2);
    font-size:inherit;
    border-radius: inherit;
    opacity: 0;
    transition: 0.3s;
  }
  .checkbox-model:checked::after {
    opacity: 1;
  }


/* small-tools */
.h-0 {
    height: 0 !important;
}
.underline {
    text-decoration: underline !important;
}
.h-initial {
    height: initial !important;
}
.space-nowrap {
    white-space: nowrap;
}
.hidden-scroll {
    overflow-y: auto !important;
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
    -webkit-overflow-scrolling: touch;
}
.hidden-scroll::-webkit-scrollbar {
    display: none !important;
}
.pseudo-before-none::before {
    display: none !important;
}
.pseudo-after-none::after {
    display: none !important;
}
.pseudo-none::before,
.pseudo-none::after {
    display: none !important;
}



.flip {
    transform: rotateY(180deg);
}
.flip-x {
    transform: rotateX(180deg);
}
.rotate1_8 {
    transform: rotate(45deg) !important;
}
.rotate2_8 {
    transform: rotate(90deg) !important;
}
.rotate3_8 {
    transform: rotate(135deg) !important;
}
.rotate4_8 {
    transform: rotate(180deg) !important;
}
.rotate5_8 {
    transform: rotate(225deg) !important;
}
.rotate6_8 {
    transform: rotate(270deg) !important;
}
.rotate7_8 {
    transform: rotate(315deg) !important;
}
.rotate8_8 {
    transform: rotate(360deg) !important;
}


/* bg */
.bg-theme1 {
    background: var(--theme__color1) !important;
}
.bg-theme2 {
    background: var(--theme__color2) !important;
}
.bg-theme3 {
    background: var(--theme__color3) !important;
}
.bg-theme4 {
    background: var(--theme__color4) !important;
}

/* hover--bg */
.hover-bg-theme1:hover {
    background: var(--theme__color1) !important;
}
.hover-bg-theme2:hover {
    background: var(--theme__color2) !important;
}
.hover-bg-theme3:hover {
    background: var(--theme__color3) !important;
}
.hover-bg-theme4:hover {
    background: var(--theme__color4) !important;
}


/* fonts */
.font1 {
    font-family: var(--font1);
}
.font2 {
    font-family: var(--font2);
}
.font3 {
    font-family: var(--font3);
}
.font4 {
    font-family: var(--font4);
}


/* text-color */
.color-white {
    color: #fff !important;
}
.color-text {
    color: var(--text__color1) !important;
}
.color-theme1 {
    color: var(--theme__color1) !important;
}
.color-theme2 {
    color: var(--theme__color2) !important;
}
.color-theme3 {
    color: var(--theme__color3) !important;
}
.color-theme4 {
    color: var(--theme__color4) !important;
}


/* text-align */
.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}
.text-center {
    text-align: center !important;
}
.text-justified {
    text-align: justify !important;
}


/* font-weights */
.fw-300 {
    font-weight: 300 !important;
}
.fw-400 {
    font-weight: 400 !important;
}
.fw-500 {
    font-weight: 500 !important;
}
.fw-600{
    font-weight: 600!important;
}
.fw-700 {
    font-weight: 700 !important;
}
.fw-800{
    font-weight: 800!important;
}



/* nice-select-edit */
.nice-select {
    height: initial;
    min-height: initial;
    line-height: 1;
    padding: 0 20px 0 0;
    float: none;
    display: inline-block;
    border: none;
}
.nice-select:after {
    margin-top: -2px;
}
.nice-select .list .option,
.nice-select.open .list .option {
    font-size: 16px;
    line-height: initial;
    min-height: initial;
    padding: 13px 15px;
    min-width: 50px;
}
.nice-select .option.selected {
    font-weight: inherit;
}
.nice-select .list {
    border-radius: 2px;
    min-width: 100%;
}

@media (max-width: 767px) {
    .nice-select .list .option,
    .nice-select.open .list .option {
        font-size: 16px;
        line-height: initial;
        min-height: initial;
        padding: 8px 12px;
        min-width: 50px;
    } 
}

/* important */
#scrollUp {
    background: linear-gradient(135deg, #1a1a1a, #060606);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollUp::before {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #ca9020;
    border-right: 2px solid #ca9020;
    transform: rotate(-45deg) translate(1px, 1px);
}

.table > tbody > tr > td {
     vertical-align: middle;
}
.table > tbody > tr > th {
     vertical-align: middle;
}

.table>:not(caption)>*>* {
	    background-color: #141212;
		border-bottom-width: 0;
		color: #feebc2;
}

.table-dark {
    --bs-table-striped-bg: #1a1717;
}

.form-control,
.form-control:focus,
.form-control:active {
	border-radius: 0;
    font-size: 12.3px;
    color: #feebc2;
    background-color: #0d0c0c;
    border: 1px solid #49350b;
}

.btn {
	border-radius: 0;
}
.btn-danger {
	background: #601F1F !important;
	border-color: #601F1F !important;
}
.btn-danger:hover {
	background: #8d1a1a !important;
	border-color: #8d1a1a !important;
}
.alert {
	border-radius: 0;
}
.modal-content {
    background-color: #0d0c0c;
    border: 1px solid #49350b;
}
.modal-header {
    border-bottom: 1px solid #49350b;
}
.modal-footer {
    border-top: 1px solid #49350b;
}
.list-group-item.active {
    background-color: #ca9020;
    border-color: #ca9020;
    color: #141212;
}
.list-group-item {
	background-color: #141212;
}
.list-group-item:hover, .list-group-item:focus {
	background-color: #1a1717;
	opacity: 0.8;
}

.list-group-item-action,
.list-group-item-action:active,
.list-group-item-action:focus,
.list-group-item-action:hover {
	color: white;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #141212;
    background-color: #ca9020;
    border-color: #ca9020;
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #49350b;
}
.nav-tabs {
    border-bottom: 1px solid #49350b;
}
.nav-tabs .nav-link {
	color: white;
}

.card {
    background-color: #3b1919;
    padding: 15px;
	border-radius: 0;
}

/* --- New Premium Footer --- */
.footer-section {
    padding: 60px 0 40px;
    background: linear-gradient(to top, #000000, #0a0a0a);
    border-top: 1px solid rgba(212, 175, 55, 0.22);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(to right, transparent, #ca9020, transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo .logo-text {
    font-size: 26px;
    letter-spacing: 5px;
}

.footer-divider {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin-bottom: 40px;
    gap: 20px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.35), transparent);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 10px #4caf50;
    animation: branding-pulse 2s infinite;
}

.status-text {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.footer-branding-premium {
    margin-bottom: 30px;
}

.branding-badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

.branding-badge:hover {
    transform: translateY(-5px);
    border-color: #ca9020;
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ca9020, #49350b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.badge-icon i {
    color: #fff;
    font-size: 16px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.badge-text .label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2px;
}

.badge-text .team-name {
    font-size: 15px;
    font-weight: 700;
    color: #feebc2;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-copyright strong {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

@keyframes branding-pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

@media (max-width: 575px) {
    .branding-badge {
        padding: 10px 20px;
    }
    .badge-icon {
        width: 30px;
        height: 30px;
        margin-right: 12px;
    }
    .badge-text .team-name {
        font-size: 13px;
    }
}

.rounded-2xl {
    border-radius: 12px !important;
}
.footer-b-left {
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
}

/* --- Hero banner (below the nav bar) --- */
.hero-section {
    padding: 0;
    min-height: 0;
    line-height: 0;
    border-bottom: 1px solid #49350b;
}

.hero-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Promo banners row (3 across, below header) --- */
/* --- Header bar (solid, in-flow) --- */
.header-section {
    position: relative;
    width: 100%;
    background: #FFC000;
    border-bottom: 1px solid #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), inset 0 -3px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
}

.symmetrical-nav-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    padding: 0 5%;
}

.nav-group {
    display: flex;
    align-items: center;
    flex: 1;
}

.left-group {
    justify-content: flex-end;
    gap: 20px;
    padding-right: 40px;
}

.right-group {
    justify-content: flex-start;
    gap: 20px;
    padding-left: 40px;
}

.nav-logo-anchor {
    flex: 0 0 auto;
    width: 250px;
    display: flex;
    justify-content: center;
}

/* Text-based wordmark logo — no image dependency */
.main-site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.main-site-logo .logo-text {
    font-family: var(--font2);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000;
    text-shadow: none;
    transition: 0.3s ease;
    white-space: nowrap;
}

.main-site-logo:hover .logo-text {
    color: #1a1206;
}

/* Flat text nav links */
.nav-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
    color: #000 !important;
    text-decoration: none !important;
    transition: opacity 0.25s ease;
}

.nav-link-item:hover {
    color: #000 !important;
    opacity: 0.65;
}

.nav-link-item i {
    color: #000;
    font-size: 17px;
}

.nav-link-item:hover i {
    color: #000;
}

.nav-link-item span {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font3);
}

/* Language selector */
.left-group .lan-select {
    margin-right: 25px;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    height: auto;
}

.lan-select .nice-select {
    font-size: 18px !important; /* Larger Language Text */
    font-weight: 700;
    color: #000;
}

.lan-select img {
    width: 25px; /* Larger Flag */
    height: auto;
}

/* --- Unified Footer Branding (Gold Match) --- */
.branding-badge {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
}

.branding-badge:hover {
    background: rgba(212, 175, 55, 0.1) !important;
    border-color: #ca9020 !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25) !important;
}

.badge-icon {
    background: linear-gradient(135deg, #ca9020, #49350b) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.45) !important;
}

.badge-text .team-name {
    color: #feebc2 !important;
}

/* --- Premium Stats Hub Design --- */
.premium-stats-hub {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 480px; /* Moved down to be below the main logo text */
    width: 100%;
    flex-wrap: wrap;
}

.stat-premium-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.28);
    padding: 18px 35px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-premium-card:hover {
    transform: translateY(-6px);
    border-color: #ca9020;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.stat-icon-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-wrapper i {
    font-size: 24px;
    color: #ca9020;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.stat-text-wrapper {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 900;
    color: #feebc2;
    line-height: 1;
    font-family: var(--font3);
    text-shadow: 0 3px 15px rgba(0,0,0,0.6);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
    font-weight: 700;
}

/* Pulsing Live Indicator */
.pulse-dot {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 14px;
    height: 14px;
    background: #4caf50;
    border-radius: 50%;
    border: 3px solid #0a0a0a;
    box-shadow: 0 0 15px #4caf50;
    animation: live-pulse-glow 2s infinite;
}

@keyframes live-pulse-glow {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 12px rgba(76, 175, 80, 0); }
    100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Responsive Overrides */
@media (max-width: 1199px) {
    .nav-group { display: none; }
    .nav-logo-anchor { flex-grow: 1; justify-content: center; }
}

@media (max-width: 767px) {
    .premium-stats-hub { gap: 20px; }
    .stat-premium-card { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 575px) {
    .main-site-logo .logo-text { font-size: 22px; letter-spacing: 3px; }
}

/* --- Secondary Compact Stats Grid (TOP SECTION) --- */
.secondary-stats-section {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 10px;
    padding: 25px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.stats-hub-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.stats-hub-header i {
    color: #ca9020;
    font-size: 20px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.stats-hub-header span {
    font-family: var(--font3);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
}

.secondary-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Strict 3-column layout */
    gap: 10px; /* Reduced from 15px */
    width: 100%;
}

.mini-stat-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 12px; /* Reduced padding */
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.mini-stat-item:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.3);
}

.mini-stat-item i {
    font-size: 14px; /* Reduced from 16px */
    color: #ca9020;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
}

.mini-stat-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* --- Empire icons (existing project assets) --- */
.emp-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.emp-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.mini-stat-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mini-value {
    font-size: 14px; /* Reduced from 16px */
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    font-family: var(--font3);
}

.mini-label {
    font-size: 9px; /* Reduced from 10.5px */
    color: #fff !important; /* White for high contrast */
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    white-space: nowrap;
}

/* Sidebar Stats Badges */
.stat-value-badge {
    background: rgba(212, 175, 55, 0.12);
    color: #feebc2;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font3);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.premium-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-stat-row:last-child {
    border-bottom: none;
}

.stat-label-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.shinsoo-txt { color: #ff4d4d !important; }
.chunjo-txt { color: #ffff4d !important; }
.jinno-txt { color: #4d4dff !important; }

/* --- Global Layout Alignment --- */
.section-wrapper1 {
    background: transparent !important; /* Remove original image background */
    padding: 0 !important;
}

.main-section-inner {
    display: flex !important;
    align-items: stretch !important; /* Forces sidebars to be same height as news */
    gap: 30px !important;
    width: 100% !important;
    margin-top: 14px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.m-main-part {
    flex: 1 !important; /* Main content takes the middle space */
    min-width: 0; /* Prevents overflow issues */
    margin-top: 0 !important;
}

/* --- Premium Sidebar Container --- */
.m-sidebar {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* Keep boxes together */
    gap: 30px !important;
    height: auto !important;
    width: 280px !important;
    flex-shrink: 0 !important;
}

/* --- Sidebar board (flat, top-accent style) --- */
.premium-sidebar-box {
    background: #0d0c0c !important;
    backdrop-filter: none;
    border: none;
    border-top: 3px solid #49350b;
    border-radius: 0;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-shadow: none;
    overflow: visible !important;
    box-sizing: border-box !important;
    margin-bottom: 24px !important;
}

.box-premium-header {
    height: auto !important;
    background: transparent;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: none;
    padding: 18px 0 6px;
}

.box-premium-header::before {
    display: none;
}

.box-premium-header::after, .box-premium-header .dragon-right {
    display: none;
}

.box-premium-header h3 {
    font-family: var(--font2);
    font-size: 19px !important;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #ca9020;
    background: none;
    -webkit-text-fill-color: initial;
    z-index: 10;
    margin: 0 !important;
}

.box-premium-content {
    padding: 14px 16px 20px !important;
    position: relative;
    z-index: 5;
    width: 100%;
}

/* Ranking Table Styles */
.premium-ranking-table table {
    width: 100%;
    border-collapse: collapse;
}

.premium-ranking-table tr {
    background-color: #0d0c0c;
    border-bottom: 1px solid #141212;
    height: 44px;
}

.premium-ranking-table td {
    padding: 10px 5px;
    font-size: 13px;
    color: #867555;
}

.premium-ranking-table td:nth-child(2) {
    color: #feebc2;
}

.premium-ranking-table img {
    width: 18px;
    height: auto;
}

.gold-player {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #141212;
    border: none;
    border-radius: 0;
    padding: 12px;
    margin-bottom: 12px;
}

.gold-player__image {
    position: relative;
    width: 45px;
    height: 45px;
}

.gold-player__image .img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #ca9020;
}

/* Rank-1 crown badge — CSS only, no image dependency */
.gold-player__bdg {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ca9020;
    border: 1px solid rgba(0, 0, 0, 0.4);
}

.gold-player__bdg i {
    font-size: 10px;
    color: #1a1206;
}

.gold-player__content h4 {
    font-size: 14px;
    color: #feebc2;
    margin: 0;
    font-weight: 600;
}

.gold-player__content h5 {
    font-size: 11px;
    color: #867555;
    margin: 4px 0 0;
}

/* Rank-2 / Rank-3 badges — replaces silver.png / bronze.png */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font3);
    background: transparent;
    border: none;
    color: #867555;
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #e7e7e7, #9a9a9a);
    border-radius: 50%;
    color: #1a1a1a;
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #d99a5b, #8b5a2b);
    border-radius: 50%;
    color: #1a1206;
}

/* Global Sections Flow */
body {
    background-color: #020000 !important;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(202, 144, 32, 0.05) 0%, transparent 55%) !important;
    background-attachment: fixed !important;
}

.xy-news-part {
    width: 100% !important;
    background: #141212 !important;
    backdrop-filter: none !important;
    border: none !important;
    border-top: 3px solid #49350b !important;
    border-radius: 0 !important;
    padding: 25px 20px !important;
    box-shadow: none !important;
    margin: 0 !important;
    align-self: flex-start !important;
}

.m-sidebar,
.m-main-part {
    margin: 0 !important;
}

.m-sidebar .premium-sidebar-box:first-child {
    margin-top: 0 !important;
}

.btn-premium-login {
    width: 100%;
    background: #ca9020;
    border: none;
    color: #342200;
    padding: 12px;
    border-radius: 0;
    font-family: var(--font3);
    font-weight: 600;
    font-size: 15px;
    text-transform: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-premium-login:hover {
    background: #d09422;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .secondary-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .secondary-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Login form icons (replaces user-icon.png / lock-icon.png) --- */
.single-input-x-input-outer .icon i {
    font-size: 14px;
    color: var(--theme__color2);
    opacity: 0.85;
}

/* --- Slider banner background (replaces update-bg.png) --- */
.content-ud-theme-bg {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, transparent 45%),
        repeating-linear-gradient(135deg, rgba(212, 175, 55, 0.04) 0px, rgba(212, 175, 55, 0.04) 1px, transparent 1px, transparent 14px),
        linear-gradient(to bottom, #111111, #050505);
}

/* --- Download CTA (right sidebar, top) --- */

/* --- In-game statistics widget (right sidebar) --- */
.ingame-stats {
    text-align: center;
}

.ingame-stat-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #262323;
}

.ingame-stat-value {
    font-size: 32px;
    font-weight: 500;
    color: #ffecc7;
    font-family: var(--font3);
    line-height: 1;
}

.ingame-stat-label {
    font-size: 11px;
    color: #9d7933;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    font-weight: 700;
}

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

.ingame-stat-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ingame-stat-cell .v {
    font-size: 16px;
    font-weight: 700;
    color: #feebc2;
    font-family: var(--font3);
}

.ingame-stat-cell .l {
    font-size: 9px;
    color: #867555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- News post cards --- */
.single-news-item {
    background: #201e1e;
    padding: 14px 16px 20px;
    margin-bottom: 16px;
    border-top: 3px solid #49350b;
}

.news-main-info h4 {
    margin: 0 0 8px;
}

.news-link {
    color: #d6a319;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font2);
    text-decoration: none !important;
}

.news-link:hover {
    color: #ca9020;
}

.news-admin-tools {
    margin-inline-start: 10px;
    font-size: 13px;
}

.news-excerpt {
    color: #b1a080;
    font-size: 13px;
    line-height: 1.7;
}

.news-excerpt img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 4px 0 16px;
    border: 1px solid #49350b;
    border-radius: 4px;
}

.news-excerpt p {
    margin: 0 0 12px;
}

.news-date-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #49350b;
}

.date-badge,
.author-tag {
    font-size: 11px;
    color: #867555;
}

.news-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
    color: #ca9020 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.news-read-more:hover {
    color: #FFC000 !important;
}

.news-read-more .plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ca9020;
    color: #14100a;
    font-size: 13px;
    font-weight: 800;
    border-radius: 3px;
}

.no-news-box {
    color: #9d7933;
    text-align: center;
    padding: 30px 0;
}

.xy-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #262323;
}

.xy-news-header h3 {
    color: #ca9020;
    font-size: 19px;
    font-weight: 600;
    font-family: var(--font2);
    margin: 0;
}

.xy-nh-ul {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.xy-nh-ul li a {
    color: #9d7933;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.xy-nh-ul li a.active,
.xy-nh-ul li a:hover {
    color: #ca9020;
}

/* --- Footer / mini-stat flat backgrounds --- */
.branding-badge {
    background: #0d0c0c !important;
}

.branding-badge:hover {
    background: #141212 !important;
}

.status-indicator {
    background: #0d0c0c !important;
}

.mini-stat-item {
    background: #0d0c0c !important;
    backdrop-filter: none !important;
    border: 1px solid #262323 !important;
    border-radius: 0 !important;
}

.mini-stat-item:hover {
    background: #141212 !important;
}

.secondary-stats-section {
    background: #0d0c0c !important;
    border: none !important;
    border-top: 3px solid #49350b !important;
    border-radius: 0 !important;
}

.premium-sidebar-box,
.xy-news-part,
.download-cta,
.single-news-item,
.mini-stat-item,
.secondary-stats-section {
    box-shadow: none !important;
}

/* --- Inner page headers (account/characters/register/login/etc.) --- */
.page-hd {
    background-image: none !important;
    background-color: #0d0c0c !important;
    border-bottom: 3px solid #49350b !important;
    border-radius: 6px 6px 0 0;
    padding: 20px 16px !important;
    margin: 0 0 20px !important;
}

.pre-social {
    color: #ca9020 !important;
    font-family: var(--font2);
}

.mt2cms2-c-l .jumbotron {
    background: #0d0c0c;
    border-radius: 0 0 6px 6px;
    padding: 24px 20px;
    margin: 0;
}

.mt2cms2-c-l .jumbotron p {
    color: #d8d3c8;
}

/* --- Generic inner-page containers (ranking, redeem, download, etc.) --- */
.padding-container,
.ranking-page {
    background: #0d0c0c;
    border-radius: 0 0 6px 6px;
    padding: 20px;
}

.jumbotron {
    background: #141212;
    border-radius: 6px;
    margin-bottom: 16px;
}

.exp-table,
.level-table {
    color: #ca9020 !important;
    text-align: center;
}

/* --- Single article view (read.php) --- */
.post {
    background: #201e1e;
    padding: 20px;
    border-top: 3px solid #49350b;
    border-radius: 4px;
}

.post_title {
    color: #d6a319;
    font-size: 19px;
    font-weight: 600;
    font-family: var(--font2);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post_content {
    color: #b1a080;
    font-size: 14px;
    line-height: 1.8;
}

.post_content img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 4px 0 16px;
    border: 1px solid #49350b;
    border-radius: 4px;
}

.post_content p {
    margin: 0 0 12px;
}

.post_date {
    color: #867555;
    font-size: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #49350b;
}

.side-stat-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    vertical-align: middle;
}

/* Disable full-screen blocking preloader */
#preloader {
    display: none !important;
}

