/* ==============================================================================
   DIỄN ĐÀN CHÚ BÉ RỒNG ONLINE - MODERN GAMING FORUM CSS SYSTEM
   Thiết kế: Hiện đại, thanh lịch, chuẩn Diễn Đàn Game, tối ưu Mobile & PC
============================================================================== */

:root {
    --bg-main: #f1f5f9;
    --bg-card: #ffffff;
    --bg-header: #0f172a;
    --bg-header-accent: #1e293b;
    --primary: #ea580c;
    --primary-hover: #c2410c;
    --gold: #f59e0b;
    --gold-hover: #d97706;
    --emerald: #10b981;
    --sky: #0ea5e9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    font-size: 14.5px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== CONTAINER ==================== */
.nro-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==================== TOP ADVISORY BAR ==================== */
.top-advisory-bar {
    background: #090d16;
    color: #94a3b8;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-advisory-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.advisory-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
}
.advisory-badge .age-pill {
    background: #ef4444;
    color: #fff;
    font-weight: bold;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
}
.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 500;
}
.status-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

/* ==================== MAIN HEADER & HERO ==================== */
.nro-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}
.brand-area {
    display: flex;
    align-items: center;
    gap: 14px;
}
.brand-logo {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.3));
    transition: transform 0.2s;
}
.brand-logo:hover {
    transform: scale(1.03);
}
.brand-info h1 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}
.brand-info h1 span {
    color: var(--gold);
}
.brand-info p {
    font-size: 12px;
    color: #94a3b8;
}

/* Fast Download Pills in Header */
.header-downloads {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dl-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s;
}
.dl-pill:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-1px);
}
.dl-pill.pc { border-left: 3px solid #38bdf8; }
.dl-pill.apk { border-left: 3px solid #4ade80; }
.dl-pill.ios { border-left: 3px solid #fb7185; }

/* ==================== NAVBAR ==================== */
.nro-navbar {
    background: #141f33;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}
.nav-item a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #cbd5e1;
    padding: 11px 15px;
    font-size: 13.5px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.nav-item a:hover,
.nav-item.active a {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: var(--gold);
}
.nav-item .nav-badge {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
}
.badge-hot {
    background: #ef4444;
    color: #fff;
}
.badge-new {
    background: var(--gold);
    color: #0f172a;
}

/* User Controls in Navbar */
.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-nav-login {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.btn-nav-reg {
    background: linear-gradient(135deg, var(--gold) 0%, var(--primary) 100%);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
    transition: all 0.2s;
}
.btn-nav-reg:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.user-pill img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--gold);
    object-fit: cover;
}
.user-pill .vnd-badge {
    color: var(--gold);
    font-size: 12px;
}

/* Mobile Toggle Button */
.btn-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    padding: 8px;
    cursor: pointer;
}

/* ==================== NOTICE TICKER ==================== */
.notice-ticker {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
}
.ticker-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fee2e2;
    color: #dc2626;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}
.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    font-size: 13.5px;
    color: var(--text-main);
}
.ticker-marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}
.ticker-marquee a {
    color: #ea580c;
    font-weight: 600;
}
.ticker-marquee:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* ==================== LAYOUT GRID ==================== */
.main-wrapper {
    flex: 1;
    padding: 20px 0 40px;
}
.forum-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
}

/* ==================== CARDS & PANELS ==================== */
.nro-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}
.card-header {
    background: #fafafa;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-header h2,
.card-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.card-header h2 i,
.card-header h3 i {
    color: var(--primary);
}
.card-body {
    padding: 16px 18px;
}

/* ==================== FORUM TABS ==================== */
.forum-nav-tabs {
    display: flex;
    gap: 6px;
    background: #fafafa;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    scrollbar-width: none;
}
.forum-nav-tabs::-webkit-scrollbar {
    display: none;
}
.forum-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.forum-tab-btn:hover {
    color: var(--primary);
    background: #fff;
    border-color: var(--border-color);
}
.forum-tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
}

/* ==================== FORUM POST LIST ==================== */
.post-list {
    list-style: none;
}
.post-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s ease;
}
.post-item:last-child {
    border-bottom: none;
}
.post-item:hover {
    background-color: #f8fafc;
}
.post-item.pinned-post {
    background: #fffbeb;
    border-left: 3px solid var(--gold);
}
.post-item.pinned-post:hover {
    background: #fef3c7;
}

.post-avatar {
    position: relative;
    flex-shrink: 0;
}
.post-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    object-fit: cover;
}
.post-avatar .pin-icon {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: var(--gold);
    color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
}

.post-main {
    flex: 1;
    min-width: 0;
}
.post-title-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}
.post-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    word-break: break-word;
}
.post-item:hover .post-title {
    color: var(--primary);
}
.badge-tag {
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.badge-admin {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}
.badge-pin {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}
.badge-event {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.post-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.post-author {
    font-weight: 600;
    color: #475569;
}
.post-author.admin-name {
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.post-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 12px;
    flex-shrink: 0;
}
.post-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==================== PAGINATION ==================== */
.pagination-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 16px;
    background: #fafafa;
    border-top: 1px solid var(--border-color);
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--border-color);
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
}
.page-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--primary);
}
.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ==================== SIDEBAR USER PANEL ==================== */
.user-profile-card {
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
    border: 1px solid #fed7aa;
}
.user-profile-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ffedd5;
}
.user-avatar-lg {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid var(--gold);
    background: #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.user-name-title h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}
.user-name-title .in-game-name {
    font-size: 12px;
    color: #78350f;
    font-weight: 500;
}
.user-balance-list {
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #fed7aa;
    font-size: 13px;
}
.balance-item .lbl {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.balance-item .val {
    font-weight: 700;
    color: #ea580c;
}
.balance-item .val.gold-val {
    color: #d97706;
}

.user-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-action.btn-nap {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
}
.btn-action.btn-nap:hover {
    filter: brightness(1.1);
}
.btn-action.btn-moc {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}
.btn-action.btn-moc:hover {
    filter: brightness(1.1);
}
.btn-action.btn-outline {
    background: #fff;
    color: #475569;
    border: 1px solid var(--border-color);
}
.btn-action.btn-outline:hover {
    background: #f8fafc;
    color: #0f172a;
}
.btn-action.btn-danger {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}
.btn-action.btn-danger:hover {
    background: #fecaca;
}
.btn-action.btn-admin {
    grid-column: span 2;
    background: #1e293b;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.btn-action.btn-admin:hover {
    background: #0f172a;
}

/* ==================== LOGIN / REG FORM CARD ==================== */
.auth-form-card .form-group {
    margin-bottom: 12px;
}
.auth-form-card label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}
.auth-form-card input {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    background: #fff;
    transition: border 0.2s;
}
.auth-form-card input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}
.btn-submit-auth {
    width: 100%;
    height: 38px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit-auth:hover {
    background: var(--primary-hover);
}
.auth-card-links {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--primary);
    font-weight: 600;
}

/* ==================== SIDEBAR WIDGETS ==================== */
.download-widget-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dl-big-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 600;
    transition: all 0.2s;
}
.dl-big-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.dl-big-btn.win { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.dl-big-btn.apk { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }
.dl-big-btn.ios { background: linear-gradient(135deg, #e11d48 0%, #be123c 100%); }
.dl-big-btn i { font-size: 22px; }
.dl-big-btn .dl-txt { display: flex; flex-direction: column; line-height: 1.2; }
.dl-big-btn .dl-txt span { font-size: 11px; font-weight: normal; opacity: 0.85; }

/* Mini BXH Widget */
.mini-bxh-list {
    list-style: none;
}
.mini-bxh-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}
.mini-bxh-item:last-child {
    border-bottom: none;
}
.mini-bxh-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rank-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    background: #e2e8f0;
    color: #475569;
}
.rank-badge.top-1 { background: #fef08a; color: #854d0e; }
.rank-badge.top-2 { background: #e2e8f0; color: #334155; }
.rank-badge.top-3 { background: #fed7aa; color: #9a3412; }
.mini-bxh-item .val {
    font-weight: 700;
    color: var(--primary);
    font-size: 12.5px;
}

/* ==================== MỐC NẠP PAGE ==================== */
.milestone-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-md);
    padding: 24px;
    color: #fff;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.milestone-banner h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 6px;
}
.milestone-banner p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 16px;
}
.progress-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #ea580c 100%);
    border-radius: 20px;
    transition: width 0.5s ease;
}
.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.milestone-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
}
.milestone-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.milestone-card.claimed {
    background: #f0fdf4;
    border-color: #86efac;
}
.milestone-card.eligible {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}
.card-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    background: #fee2e2;
    color: #dc2626;
}
.milestone-amount {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}
.milestone-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.reward-list {
    list-style: none;
    margin-bottom: 16px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.reward-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #334155;
}
.reward-list li i {
    color: var(--gold);
}
.btn-claim {
    width: 100%;
    padding: 9px 0;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-claim.ready {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}
.btn-claim.ready:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.btn-claim.done {
    background: #dcfce7;
    color: #15803d;
    cursor: default;
    border: 1px solid #86efac;
}
.btn-claim.locked {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border: 1px solid var(--border-color);
}

/* ==================== FOOTER ==================== */
.nro-footer {
    background: #090d16;
    color: #94a3b8;
    padding: 30px 0 20px;
    border-top: 3px solid var(--gold);
    margin-top: auto;
    font-size: 13px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.footer-col h4 {
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.footer-col p {
    line-height: 1.6;
    color: #64748b;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col ul a:hover {
    color: var(--gold);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    color: #64748b;
    font-size: 12px;
}

/* ==================== MOBILE BOTTOM BAR ==================== */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}
.mobile-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}
.m-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 600;
    gap: 3px;
    flex: 1;
    height: 100%;
}
.m-bar-item i {
    font-size: 17px;
}
.m-bar-item.active,
.m-bar-item:hover {
    color: var(--gold);
}

/* ==================== RESPONSIVE QUERIES ==================== */
@media (max-width: 992px) {
    .forum-grid {
        grid-template-columns: 1fr;
    }
    .header-downloads {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .btn-mobile-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0f172a;
        padding: 10px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-menu.show {
        display: flex;
    }
    .nav-inner {
        flex-wrap: wrap;
    }
    .nav-user {
        margin-left: auto;
    }
    .brand-logo {
        height: 40px;
    }
    .brand-info h1 {
        font-size: 15px;
    }
    .brand-info p {
        display: none;
    }
    .mobile-bottom-bar {
        display: block;
    }
    body {
        padding-bottom: 56px; /* space for mobile bar */
    }
}
