/* ============================================================
   DragonSea — CYBERPUNK Layout
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@500;600;700&display=swap');

/* ---- VARS (CYBERPUNK) ---- */
:root {
    --red:    #ff00ff; /* Neon Magenta */
    --red-d:  #d900d9;
    --gold:   #fdf500; /* Neon Yellow */
    --cyan:   #00f3ff; /* Neon Cyan */
    --cyan-d: #00c4cc;
    --dark:   #050510;
    --dark2:  #0a0a1a;
    --dark3:  #121226;
    --border: rgba(0,243,255,0.3);
    --text:   #e0f7fa;
    --muted:  #8ab4f8;
    --header-h: 64px;
    --header-top-h: 48px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, .ds-body {
    background: var(--dark) url('https://www.transparenttextures.com/patterns/cubes.png') !important;
    color: var(--text) !important;
    font-family: 'Rajdhani', sans-serif !important;
    overflow-x: hidden;
}
a { text-decoration: none; color: var(--cyan); transition: all 0.3s ease; }
a:hover { color: var(--gold); text-shadow: 0 0 10px var(--gold); }
h1,h2,h3,h4,h5 { font-family: 'Orbitron', sans-serif !important; text-transform: uppercase; letter-spacing: 2px; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ---- LAYOUT ---- */
.ds-wrapper { min-height: 100vh; }
.w-1200 { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
main#app { background: transparent !important; padding: 0 !important; width: 100% !important; }

/* ==============================================================
   HEADER TOP
   ============================================================== */
.header_top {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(232,76,30,0.3);
    height: var(--header-top-h);
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
}
.header_top-wrap {
    display: flex; align-items: center; height: 44px; gap: 12px;
}
.logo-top {
    color: #fff; font-size: 1.25rem; font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px; flex-shrink: 0;
}
.logo-top strong { color: #fff; font-weight: 800; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.logo-top em { color: var(--gold); font-style: normal; font-weight: 700; text-shadow: 0 0 10px rgba(252,225,65,0.4); }

.header_top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.header-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #e0e0e0; font-size: 0.85rem; font-weight: 600;
    padding: 6px 16px; border-radius: 4px; transition: all .2s;
    white-space: nowrap; font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}
.header-btn:hover { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.3); }
.header-btn_recharge {
    background: linear-gradient(135deg, var(--red), var(--red-d)) !important;
    border-color: var(--red) !important; color: #fff !important;
    box-shadow: 0 2px 10px rgba(232,76,30,.3);
}
.header-btn_register {
    background: rgba(232,76,30,0.12) !important;
    border-color: rgba(232,76,30,0.4) !important; color: var(--red) !important;
}

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
    margin-left: 10px;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: #aaa; border-radius: 2px; transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================================================
   MAIN HEADER
   ============================================================== */
.ds-header {
    background: rgba(5,5,16,0.9);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--cyan);
    height: var(--header-h);
    position: fixed;
    top: var(--header-top-h); left: 0; right: 0;
    z-index: 9998;
    transition: all .3s;
    box-shadow: 0 0 20px rgba(0,243,255,0.3);
}
.ds-header.scrolled { background: rgba(0,0,0,0.98); box-shadow: 0 5px 30px rgba(0,243,255,0.6); }

.header_wrap {
    display: flex; align-items: center; height: 56px; gap: 20px;
}
.logo-main {
    font-family: 'Rajdhani', sans-serif; font-size: 1.25rem;
    letter-spacing: 1px; flex-shrink: 0; color: #fff;
}
.logo-main strong { color: #fff; font-weight: 800; }
.logo-main em { color: var(--red); font-style: normal; }

/* Nav */
.header-menu { margin-left: auto; }
.ul-menu {
    list-style: none; display: flex; align-items: center; gap: 0; margin: 0; padding: 0;
}
.li_item { position: relative; }
.menu_item {
    display: block; padding: 22px 16px; color: rgba(255,255,255,.85);
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.05rem;
    text-transform: uppercase; letter-spacing: 1px; transition: color .2s, text-shadow .2s;
    white-space: nowrap;
}
.menu_item:hover, .li_item.active .menu_item { color: var(--gold); text-shadow: 0 0 10px rgba(252,225,65,.5); }

.li_item.active::after {
    content: ''; position: absolute; bottom: 0; left: 10px; right: 10px;
    height: 3px; background: var(--cyan); box-shadow: 0 -2px 15px var(--cyan);
}
/* Sub menu */
.menu_sub {
    display: none; position: absolute; top: 100%; left: 0;
    background: #111; border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px; min-width: 180px; padding: 6px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.6); list-style: none;
    z-index: 100;
}
.has_sub:hover .menu_sub { display: block; }
.menu_sub li a {
    display: block; padding: 9px 18px; color: #bbb;
    font-size: .85rem; transition: all .2s;
}
.menu_sub li a:hover { color: var(--red); background: rgba(232,76,30,.08); }
.divider-li hr { border-color: rgba(255,255,255,.08); margin: 4px 0; }

/* User avatar mini */
.user-ava-mini {
    width: 26px; height: 26px; border-radius: 50%;
    border: 1px solid var(--red); object-fit: cover; vertical-align: middle; margin-right: 6px;
}
.menu_item--login .btn-login-nav {
    background: linear-gradient(135deg, var(--red), var(--red-d));
    color: #fff; padding: 5px 16px; border-radius: 4px; font-size: .82rem;
    box-shadow: 0 2px 10px rgba(232,76,30,.3);
}

/* ==============================================================
   PAGE 1 — BANNER
   ============================================================== */
.page { padding-top: calc(var(--header-top-h) + var(--header-h)); }
.page.page1 { padding-top: calc(var(--header-top-h) + var(--header-h)); }

.box-banner { position: relative; }
.swiper_banner { width: 100%; }
.swiper_banner .swiper-slide { overflow: hidden; display: block; }
.banner-img {
    width: 100%; display: block;
    aspect-ratio: 16/5; object-fit: cover;
    background: var(--dark2);
}
@media (max-width: 768px) {
    .banner-img { aspect-ratio: 4/3; }
}

/* Swiper controls */
.swiper-button-next,
.swiper-button-prev {
    width: 38px !important; height: 38px !important;
    background: rgba(0,0,0,.5); border-radius: 50%;
    color: #fff !important;
    transition: background .2s;
}
.swiper-button-next:hover,
.swiper-button-prev:hover { background: var(--red); }
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 12px !important; font-weight: 900; }
.swiper-pagination-bullet { background: rgba(255,255,255,.4) !important; }
.swiper-pagination-bullet-active {
    background: var(--red) !important; transform: scale(1.3);
    box-shadow: 0 0 6px var(--red);
}

/* Download buttons */
.box_btn {
    background: linear-gradient(90deg, #120500, #1a0800, #120500);
    border-top: 2px solid rgba(232,76,30,.35);
    border-bottom: 1px solid rgba(232,76,30,.15);
    padding: 14px 16px;
    display: flex; align-items: center; justify-content: center;
}
.box_btn-dl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn_dl {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px; padding: 10px 24px; color: #fff;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem;
    text-transform: uppercase; letter-spacing: 1px; transition: all .25s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.btn_dl:hover { background: rgba(227,41,41,.15); border-color: var(--red); color: var(--gold); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(227,41,41,0.4); text-shadow: 0 0 8px rgba(252,225,65,0.5); }
.btn_dl i { font-size: 1rem; }
.btn_dl-android i { color: #78c257; }
.btn_dl-ios i { color: #c0c0c0; }
.btn_dl-pc i, .btn_dl-download i { color: var(--gold); }

/* ==============================================================
   PAGE 2 — NEWS
   ============================================================== */
.page2 {
    padding-top: 0;
    background: var(--dark);
    padding-bottom: 0;
}
.box_wrap { padding: 30px 0; }

.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px;
}
.section-header h2 {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.45rem; font-weight: 800; text-transform: uppercase;
    color: #fff; letter-spacing: 1px; text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.section-header h2 .bar {
    display: inline-block; width: 4px; height: 22px;
    background: var(--red); border-radius: 2px;
}
.section-header .view-all {
    font-size: .8rem; color: var(--muted); transition: color .2s;
}
.section-header .view-all:hover { color: var(--red); }

/* News grid */
.list_new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 1024px) { .list_new { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .list_new { grid-template-columns: 1fr; } }

/* NEURAL NEXUS SYSTEM STYLES */
.neural-nexus-shell {
    background: #020205;
    min-height: 100vh;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    padding-top: 120px;
    overflow: hidden;
}

.background-matrix {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.05) 0%, transparent 80%),
        linear-gradient(rgba(10, 10, 20, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 20, 0.8) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    z-index: 0;
}

.nexus-container { position: relative; z-index: 1; }

.nexus-header-deco {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    opacity: 0.6;
}

.deco-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent); }
.system-status { font-size: 0.7rem; letter-spacing: 3px; color: var(--neon-cyan); font-weight: 700; }

/* MAIN GRID LAYOUT */
.nexus-main-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* NEXUS CORE */
.nexus-left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nexus-core-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nexus-aura {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: auraBreath 4s infinite alternate;
}

.nexus-aura.namek { background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%); }
.nexus-aura.saiyan { background: radial-gradient(circle, rgba(255, 0, 255, 0.15) 0%, transparent 70%); }

.core-rings .ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 50%;
}

.ring.r1 { width: 220px; height: 220px; border-style: dashed; animation: rotateCW 20s linear infinite; }
.ring.r2 { width: 260px; height: 260px; border-width: 2px; border-color: rgba(0, 243, 255, 0.1); border-top-color: var(--neon-cyan); animation: rotateCCW 15s linear infinite; }
.ring.r3 { width: 320px; height: 320px; opacity: 0.3; }

.avatar-nexus {
    position: relative;
    width: 180px;
    height: 180px;
    background: rgba(0,0,0,0.5);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.avatar-nexus .avatar-img { width: 100%; height: 100%; object-fit: contain; }

.planet-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0, 243, 255, 0.8);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    padding: 3px 0;
    text-transform: uppercase;
}

.nexus-name { text-align: center; margin-top: 30px; }
.nexus-name h1 { font-family: 'Orbitron', sans-serif; font-size: 3rem; margin: 0; }
.nexus-sub-info { font-size: 0.8rem; color: #888; letter-spacing: 2px; }

.nexus-status { padding: 2px 8px; border-radius: 3px; font-weight: 800; font-size: 0.65rem; }
.nexus-status.active { background: rgba(0, 255, 136, 0.1); color: #00ff88; border: 1px solid #00ff88; }
.nexus-status.warning { background: rgba(255, 170, 0, 0.1); color: #ffaa00; border: 1px solid #ffaa00; }

/* DATA MODULES GRID */
.nexus-data-modules {
    display: grid;
    grid-template-areas: 
        "hp"
        "mp"
        "dame"
        "power"
        "account";
    gap: 15px;
    width: 100%;
}

.nexus-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    position: relative;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.box-main-icon {
    font-size: 3rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 15px currentColor);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    position: relative;
}

.box-main-icon::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: currentColor;
    filter: blur(30px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 50%;
}

.box-content {
    flex: 1;
    z-index: 2;
}

.nexus-box:hover { border-color: var(--neon-cyan); background: rgba(0, 243, 255, 0.03); }
.nexus-box:hover .box-main-icon { transform: scale(1.1); filter: drop-shadow(0 0 25px currentColor); }
.nexus-box:hover .box-main-icon::after { opacity: 0.5; }
.box-main-icon { transition: all 0.3s ease; }

.box-label { font-size: 0.65rem; color: #666; letter-spacing: 2px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.box-value { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; font-weight: 700; word-break: break-all; }
.box-value.big { font-size: 1.6rem; color: var(--neon-cyan); line-height: 1.2; word-break: break-all; }
.box-value small { font-size: 0.75rem; color: #444; }

/* DAME & POWER SPECIAL STYLES */
.dame-module { border-left: 3px solid #ffaa00; }
.dame-module .box-value.big { color: #ffaa00; }
.power-module { border-left: 3px solid #ff5500; }
.power-module .box-value.big { color: #ff5500; }
.hp-module { border-left: 3px solid #ff3366; }
.mp-module { border-left: 3px solid #33ccff; }
.account-module { border-left: 3px solid #00ff88; }

.box-deco-dots { display: flex; gap: 4px; margin-top: 8px; }
.box-deco-dots span { width: 6px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 50%; }

.nexus-progress-wrap { height: 4px; background: rgba(255,255,255,0.05); margin-top: 15px; border-radius: 2px; overflow: hidden; }
.nexus-progress-bar { height: 100%; transition: width 1s ease-out; position: relative; }
.nexus-progress-bar.hp { background: linear-gradient(90deg, #ff3366, #ff0000); box-shadow: 0 0 10px #ff3366; }
.nexus-progress-bar.mp { background: linear-gradient(90deg, #33ccff, #0066ff); box-shadow: 0 0 10px #33ccff; }

.overload-warning {
    position: absolute;
    top: 10px; right: 10px;
    color: #ff3366;
    font-size: 0.55rem;
    font-weight: 800;
    animation: blink 0.5s infinite;
}

.box-corner { position: absolute; bottom: 0; right: 0; width: 10px; height: 10px; border-right: 2px solid var(--neon-cyan); border-bottom: 2px solid var(--neon-cyan); }

.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.f-item { display: flex; flex-direction: column; }
.f-label { font-size: 0.6rem; color: #555; }
.f-val { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--neon-yellow); }

/* HISTORY STREAM */
.nexus-history { width: 100%; max-width: 900px; margin: 0 auto; }
.history-label { font-size: 0.7rem; color: #444; letter-spacing: 4px; border-bottom: 1px solid #111; padding-bottom: 10px; margin-bottom: 20px; }
.history-container { background: rgba(0,0,0,0.3); border: 1px solid #111; border-radius: 4px; overflow: hidden; }
.history-scroll { max-height: 250px; overflow-y: auto; }
.history-row { display: flex; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.02); font-size: 0.85rem; align-items: center; }
.h-id { width: 80px; color: #444; }
.h-type { flex: 1; font-weight: 700; color: #888; }
.h-amt { width: 120px; color: var(--neon-cyan); font-family: 'Orbitron', sans-serif; font-weight: 700; }
.h-time { width: 120px; color: #444; font-size: 0.75rem; }
.h-st { width: 80px; font-weight: 800; font-size: 0.7rem; text-align: right; }
.s-success { color: #00ff88; }
.s-fail { color: #ff3366; }
.s-wait { color: #ffaa00; }

/* ANIMATIONS */
@keyframes auraBreath { from { opacity: 0.4; transform: scale(1); } to { opacity: 0.8; transform: scale(1.1); } }
@keyframes rotateCW { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rotateCCW { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }

/* RESPONSIVE LAYOUTS */
/* Tablet (md) */
@media (min-width: 768px) {
    .nexus-data-modules { 
        grid-template-areas: 
            "hp mp" 
            "dame power" 
            "account account"; 
        gap: 20px;
    }
}

/* PC (lg) - Right side takes 2/3 of width */
@media (min-width: 992px) {
    .nexus-main-grid { 
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 40px;
        align-items: flex-start; 
    }
    .nexus-left-column { position: sticky; top: 100px; }
}

.new_item {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: all .3s;
}
.new_item:hover { transform: translateY(-5px); border-color: rgba(232,76,30,.3); box-shadow: 0 8px 25px rgba(0,0,0,.5); }

.new_item-img { display: block; overflow: hidden; }
.new_item-img img {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
    transition: transform .4s;
    background: var(--dark3);
}
.new_item:hover .new_item-img img { transform: scale(1.05); }

.new_item-content { padding: 12px 14px; flex: 1; }
.new_item-category {
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; margin-bottom: 6px; display: inline-block;
}
.tag-event  { color: var(--red); }
.tag-guide  { color: var(--gold); }
.tag-news   { color: #5bc0f5; }
.tag-qa     { color: #66d9a0; }
.tag-bug    { color: #f87171; }
.color--pupple { color: var(--red); }

.new_item-title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 1rem; font-weight: 700; line-height: 1.4;
    color: #fff; display: block; margin-bottom: 8px; transition: color .2s;
}
.new_item-title:hover { color: var(--gold); }
.new_item-desc {
    font-size: .88rem; color: var(--muted); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.new_item-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 14px 12px;
    border-top: 1px solid rgba(255,255,255,.05);
}
.new_item-date { font-size: .75rem; color: var(--muted); }
.new_item-readmore { font-size: .75rem; color: var(--red); font-weight: 600; transition: opacity .2s; }
.new_item-readmore:hover { opacity: .75; }

/* ==============================================================
   PAGE 3 — RANKINGS
   ============================================================== */
.page3 {
    position: relative; overflow: hidden;
    padding: 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(232,76,30,.2);
}
.page3_bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(232,76,30,.15) 0%, transparent 60%),
        url('https://portal-cdn.smobgame.com/135/game/134/6960a3a0c4de0.jpg') center/cover no-repeat;
    opacity: .25;
}
.page3_content {
    position: relative; z-index: 2;
    padding: 50px 16px 40px;
}
.page3_title { text-align: center; margin-bottom: 30px; }
.page3_title h2 { font-size: 2rem; font-weight: 700; text-transform: uppercase; color: #fff; letter-spacing: 2px; }
.page3_title p { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* Top 5 */
.list_top {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 28px;
}
.top_item {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; padding: 14px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    min-width: 170px; text-align: center;
    transition: all .3s;
}
.top_item:hover { transform: translateY(-4px); }
.top_item-1 { border-color: rgba(245,166,35,.4); background: rgba(245,166,35,.05); }
.top_item-2 { border-color: rgba(192,192,192,.3); background: rgba(192,192,192,.04); }
.top_item-3 { border-color: rgba(205,127,50,.3); background: rgba(205,127,50,.04); }
.top_medal { font-size: 1.6rem; }
.top_item strong { font-size: .9rem; font-weight: 700; color: #ddd; font-family: 'Rajdhani', sans-serif; }
.top_exp { font-size: .72rem; color: var(--muted); }

.page3_actions {
    display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.btn-more {
    background: linear-gradient(135deg, var(--red), var(--red-d));
    color: #fff; border: none;
    padding: 10px 28px; border-radius: 6px;
    font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
    transition: all .25s; box-shadow: 0 4px 16px rgba(232,76,30,.35);
}
.btn-more:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,76,30,.5); }

.server_status_chip {
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; color: var(--muted);
}
.dot-online {
    width: 9px; height: 9px; border-radius: 50%;
    background: #22c55e; box-shadow: 0 0 6px #22c55e;
    animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }
.server_status_chip strong { color: #eee; }

/* Ranking Modal */
.rank-modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.75); z-index: 9000;
}
.rank-modal-box {
    display: none; position: fixed;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    background: #111; border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px; width: 95%; max-width: 520px;
    max-height: 80vh; overflow: hidden;
    z-index: 9001; display: none;
    flex-direction: column;
}
.rank-modal-box { display: none; }
.rank-modal-box[style*="display:block"],
.rank-modal-box[style*="display: block"] { display: flex; flex-direction: column; }
.rank-modal-header {
    background: linear-gradient(90deg, var(--red), var(--red-d));
    padding: 14px 20px; display: flex; align-items: center; justify-content: space-between;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.rank-modal-header button {
    background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; opacity: .75;
}
.rank-modal-header button:hover { opacity: 1; }
.rank-modal-body { overflow-y: auto; padding: 0; flex: 1; }
.rank-tbl { width: 100%; border-collapse: collapse; }
.rank-tbl th {
    padding: 10px 16px; background: rgba(255,255,255,.04);
    font-size: .8rem; text-transform: uppercase; letter-spacing: .5px;
    color: var(--muted); text-align: left; position: sticky; top: 0; z-index: 1;
}
.rank-tbl td { padding: 9px 16px; font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.rank-tbl tr:hover td { background: rgba(255,255,255,.03); }
.rank-tbl .rank-1 td { color: var(--gold); font-weight: 700; }
.rank-tbl .rank-2 td { color: #c0c0c0; font-weight: 700; }
.rank-tbl .rank-3 td { color: #cd7f32; font-weight: 700; }

/* ==============================================================
   FOOTER
   ============================================================== */
.ds-footer {
    background: #080808;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 24px 0 12px;
    margin-bottom: 56px; /* Space for floating bar */
}
.footer_wrap {
    display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap;
    justify-content: space-between;
}
.footer_logo {
    font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; color: #fff;
    flex-shrink: 0;
}
.footer_logo strong { color: #fff; font-weight: 800; }
.footer_logo em { color: var(--red); font-style: normal; }
.footer_content { flex: 1; }
.footer_links { margin-bottom: 8px; }
.footer_link { color: var(--muted); font-size: .8rem; transition: color .2s; padding: 0 4px; }
.footer_link:hover { color: var(--red); }
.footer_txt { font-size: .75rem; color: var(--muted); line-height: 1.8; }
.footer_18 {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--red); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.footer_18::before { content: '18+'; }

/* ==============================================================
   FLOATING BOTTOM BAR
   ============================================================== */
.box-cnhd {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 8999;
    display: flex; align-items: stretch;
    background: #0d0d0d;
    border-top: 1px solid rgba(232,76,30,.3);
    height: 50px;
}
.btn-cnm {
    flex: 1; display: flex; align-items: center; justify-content: center;
    color: #aaa; font-size: .72rem; font-weight: 700;
    font-family: 'Rajdhani', sans-serif; text-transform: uppercase;
    letter-spacing: .5px; transition: all .2s;
    border-right: 1px solid rgba(255,255,255,.05);
}
.btn-cnm:last-child { border-right: none; }
.btn-cnm:hover { color: #fff; background: rgba(255,255,255,.05); }
.btn-cnm-nap   { color: var(--red) !important; }
.btn-cnm-nap:hover { background: rgba(232,76,30,.12) !important; }
.btn-cnm-register { color: var(--gold) !important; }
.btn-cnm-register:hover { background: rgba(245,166,35,.08) !important; }

/* ==============================================================
   AUTH PAGES (Login / Register)
   ============================================================== */
.auth-wrap {
    min-height: calc(100vh - var(--header-top-h) - var(--header-h));
    display: flex; align-items: center; justify-content: center;
    padding: 40px 16px 80px;
    padding-top: calc(var(--header-top-h) + var(--header-h) + 40px);
}
.auth-card {
    background: var(--dark2); border: 1px solid var(--border);
    border-radius: 14px; padding: 36px;
    width: 100%; max-width: 420px;
    box-shadow: 0 16px 50px rgba(0,0,0,.6);
}
.auth-logo { text-align: center; font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; margin-bottom: 4px; }
.auth-logo strong { color: #fff; }
.auth-logo em { color: var(--red); font-style: normal; }
.auth-sub { text-align: center; color: var(--muted); font-size: .85rem; margin-bottom: 28px; }
.auth-group { position: relative; margin-bottom: 14px; }
.auth-group .a-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #555; font-size: .9rem; pointer-events: none; transition: color .2s;
}
.auth-group:focus-within .a-icon { color: var(--red); }
.auth-input {
    width: 100%;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 11px 14px 11px 40px !important;
    font-size: .88rem !important;
    transition: border-color .2s, box-shadow .2s !important;
    outline: none !important;
}
.auth-input:focus {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(232,76,30,.12) !important;
    background: rgba(255,255,255,.06) !important;
}
.auth-input::placeholder { color: #555 !important; }
.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--red), var(--red-d));
    color: #fff; border: none; border-radius: 8px;
    padding: 12px; font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer;
    box-shadow: 0 4px 18px rgba(232,76,30,.3);
    transition: all .25s; margin-top: 6px;
}
.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,76,30,.5); }
.avatar-ring {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, var(--neon-cyan), transparent, var(--neon-magenta));
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    transition: all 0.5s ease;
}

.nav-link-user:hover .avatar-ring {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
}

.user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none !important;
    transition: transform 0.5s ease;
}

.nav-link-user:hover .user-avatar {
    transform: rotate(-180deg);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animate-float { animation: float 3s ease-in-out infinite; }
.auth-link-row { text-align: center; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.auth-link-row a { color: var(--red); font-weight: 600; }

/* ==============================================================
   FORUM / BLOG
   ============================================================== */
.forum-wrap {
    padding-top: calc(var(--header-top-h) + var(--header-h) + 20px);
    padding-bottom: 70px;
}
.post-grid {
    display: grid; grid-template-columns: 1fr 300px; gap: 20px;
}
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
    background: var(--dark2); border: 1px solid var(--border);
    border-radius: 10px; padding: 14px 18px;
    display: flex; gap: 14px; align-items: flex-start;
    transition: all .25s; margin-bottom: 10px;
}
.post-card:hover { border-color: rgba(232,76,30,.25); background: rgba(255,255,255,.02); }
.post-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--red); flex-shrink: 0; object-fit: cover; }
.post-badge {
    padding: 2px 10px; border-radius: 20px; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; display: inline-block; margin-bottom: 5px;
}
.badge-su-kien  { background: rgba(232,76,30,.15); color: var(--red); border: 1px solid rgba(232,76,30,.25); }
.badge-giao-luu { background: rgba(91,192,245,.1); color: #5bc0f5; border: 1px solid rgba(91,192,245,.2); }
.badge-hoi-dap  { background: rgba(102,217,160,.1); color: #66d9a0; border: 1px solid rgba(102,217,160,.2); }
.badge-bao-loi  { background: rgba(248,113,113,.1); color: #f87171; border: 1px solid rgba(248,113,113,.2); }

/* Sidebar */
.sidebar-card { background: var(--dark2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.sidebar-head { background: rgba(232,76,30,.1); border-bottom: 1px solid var(--border); padding: 12px 16px; font-family: 'Rajdhani', sans-serif; font-size: .95rem; font-weight: 700; text-transform: uppercase; color: var(--red); }
.sidebar-body { padding: 14px 16px; }

/* ==============================================================
   RECHARGE PAGE
   ============================================================== */
#napthe {
    padding-top: calc(var(--header-top-h) + var(--header-h) + 20px);
    padding-bottom: 70px;
}
#napthe .card { background: var(--dark2) !important; border-color: var(--border) !important; border-radius: 12px !important; }
#napthe .form-select option { background: #111; }

/* ==============================================================
   GENERIC CARDS, FORMS, BUTTONS
   ============================================================== */
.card { background: var(--dark2) !important; border-color: var(--border) !important; border-radius: 10px !important; color: var(--text) !important; }
.modal-content { background: #111 !important; border: 1px solid rgba(255,255,255,.1) !important; border-radius: 14px !important; }
.modal-header { border-bottom-color: var(--border) !important; }
.modal-footer { border-top-color: var(--border) !important; }
.form-control, .form-select {
    background: rgba(255,255,255,.04) !important; border: 1px solid var(--border) !important;
    color: #fff !important; border-radius: 8px !important;
}
.form-control:focus, .form-select:focus { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(232,76,30,.1) !important; background: rgba(255,255,255,.06) !important; }
.form-control::placeholder { color: #555 !important; }
.btn-primary { background: linear-gradient(135deg, var(--red), var(--red-d)) !important; border: none !important; font-family: 'Rajdhani', sans-serif !important; font-weight: 700 !important; }
.btn-primary:hover { box-shadow: 0 4px 16px rgba(232,76,30,.4) !important; }
.table { color: var(--text) !important; }
.table th, .table td { border-color: rgba(255,255,255,.05) !important; }
.text-danger, .text-primary { color: var(--red) !important; }

/* ==============================================================
   PARTICLES
   ============================================================== */
#ds-particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 900px) {
    .header-menu { display: none; position: fixed; top: calc(var(--header-top-h) + var(--header-h)); left: 0; right: 0; background: #111; border-bottom: 1px solid var(--border); padding: 10px 0; max-height: calc(100vh - 100px); overflow-y: auto; }
    .header-menu.open { display: block; }
    .ul-menu { flex-direction: column; gap: 0; }
    .menu_item { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.04); }
    .menu_sub { display: none; position: static; box-shadow: none; border: none; background: rgba(255,255,255,.04); border-radius: 0; }
    .has_sub.sub-open .menu_sub { display: block; }
    .hamburger { display: flex; }
    .page.page1 { padding-top: calc(var(--header-top-h) + var(--header-h)); }
    .logo-top, .logo-main { font-size: .95rem; }
    .list_top { gap: 8px; }
    .top_item { min-width: 140px; padding: 10px 14px; }
}

@media (max-width: 480px) {
    .header_top-right .header-btn:not(.header-btn_recharge) { display: none; }
    .list_new { grid-template-columns: 1fr; }
}

/* ==============================================================
   HIDE THEME PANEL
   ============================================================== */
.theme-panel { display: none !important; }
.btn-scroll-top { display: none !important; }

/* ==============================================================
   BLOG/FORUM COMPAT VARIABLES
   ============================================================== */
:root {
    --ds-bg-card: var(--dark2);
    --ds-glass-border: var(--border);
    --ds-text: var(--text);
    --ds-accent: var(--red);
}

/* Forum section styling for NRO Awaken theme */
.forum-welcome-banner {
    background: rgba(232,76,30,0.06) !important;
    border-color: rgba(232,76,30,0.15) !important;
}
.forum-section {
    background: var(--dark2) !important;
    border-color: var(--border) !important;
}
.forum-section-header {
    border-bottom-color: rgba(255,255,255,0.06) !important;
}
.forum-post-item {
    color: var(--text) !important;
}
.forum-post-item:hover {
    background: rgba(255,255,255,0.04) !important;
}

/* Tag badges for forum */
.tag-badge {
    padding: 2px 10px; border-radius: 20px;
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; display: inline-block;
}
.tag-giaoluu { background: rgba(91,192,245,.1); color: #5bc0f5; border: 1px solid rgba(91,192,245,.2); }
.tag-hoidap  { background: rgba(102,217,160,.1); color: #66d9a0; border: 1px solid rgba(102,217,160,.2); }
.tag-baoloi  { background: rgba(248,113,113,.1); color: #f87171; border: 1px solid rgba(248,113,113,.2); }

/* Text colors used in blog */
.text-theme, .text-danger { color: var(--red) !important; }
.text-warning { color: var(--gold) !important; }
.text-accent { color: var(--red) !important; }
.text-muted { color: var(--muted) !important; }
.rajdhani { font-family: 'Rajdhani', sans-serif !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }

/* Glass effect for modals */
.glass-effect {
    background: #111 !important;
    border: 1px solid rgba(255,255,255,.1) !important;
}

/* Forum page padding */
section.py-4 {
    padding-top: calc(var(--header-top-h) + var(--header-h) + 16px) !important;
    padding-bottom: 70px !important;
}

/* btn-theme compatibility */
.btn-theme {
    background: linear-gradient(135deg, var(--red), var(--red-d)) !important;
    border: none !important; color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 12px rgba(232,76,30,0.25) !important;
}
.btn-theme:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 20px rgba(232,76,30,0.4) !important;
}

/* Form DS */
.form-control-ds {
    background: rgba(0, 243, 255, 0.05) !important;
    border: 1px solid var(--border) !important;
    color: #fff !important; border-radius: 8px !important;
}
.form-control-ds:focus {
    border-color: var(--cyan) !important;
    box-shadow: 0 0 10px rgba(0,243,255,0.4) !important;
}

/* CYBERPUNK OVERRIDES FOR GENERIC ELEMENTS */
.card {
    background: var(--dark2) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 15px rgba(0,243,255,0.1) !important;
    color: var(--text) !important;
}
.card-header, .card-footer {
    border-color: var(--border) !important;
    background: rgba(0,243,255,0.05) !important;
}
.form-control, .form-select {
    background: rgba(0,243,255,0.03) !important;
    border: 1px solid var(--border) !important;
    color: var(--cyan) !important;
    border-radius: 8px !important;
    font-family: 'Orbitron', 'Rajdhani', sans-serif !important;
}
.form-control:focus, .form-select:focus {
    border-color: var(--cyan) !important;
    box-shadow: 0 0 10px rgba(0,243,255,0.4) !important;
    background: rgba(0,243,255,0.08) !important;
}
.form-control::placeholder { color: #4a8ca0 !important; }
.btn-theme, .btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-d)) !important;
    border: 1px solid var(--red) !important;
    color: #fff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 0 15px rgba(255,0,255,0.4) !important;
    transition: all 0.3s ease !important;
}
.btn-theme:hover, .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 25px rgba(255,0,255,0.7) !important;
}
.table { color: var(--text) !important; }
.table th { 
    border-color: var(--border) !important; 
    color: var(--gold) !important;
    font-family: 'Orbitron', sans-serif !important;
    background: rgba(0,243,255,0.1) !important;
}
.table td { border-color: rgba(0,243,255,0.1) !important; }
