.notifyjs-bootstrap-error {
    display: flex !important;
    align-items: center !important;
}

.notifyjs-bootstrap-error span {
    line-height: 1;
    vertical-align: middle;
}

.notifyjs-bootstrap-error i,
.notifyjs-bootstrap-error .icon {
    vertical-align: middle;
    margin-right: 8px;
}

.notifyjs-bootstrap-success {
    display: flex !important;
    align-items: center !important;
}

.notifyjs-bootstrap-success span {
    line-height: 1;
    vertical-align: middle;
}

/* Nếu có icon element */
.notifyjs-bootstrap-success i,
.notifyjs-bootstrap-success .icon {
    vertical-align: middle;
    margin-right: 8px;
}

/* Stat Cards Design */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.stat-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.coins::before {
    background: linear-gradient(180deg, #ffab10, #ff8c00);
}

.stat-card.balance::before {
    background: linear-gradient(180deg, #11b76b, #0a8f52);
}

.stat-card.spent::before {
    background: linear-gradient(180deg, #ff3838, #cc2d2d);
}

.stat-card.deposit::before {
    background: linear-gradient(180deg, #1494a9, #0d7085);
}

.stat-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-card-info h6 {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-info .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-card-info .stat-value img {
    width: 24px;
    height: 24px;
}

.stat-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-card.coins .stat-card-icon {
    background: linear-gradient(
        135deg,
        rgba(255, 171, 16, 0.15),
        rgba(255, 140, 0, 0.15)
    );
    color: #ff8c00;
}

.stat-card.balance .stat-card-icon {
    background: linear-gradient(
        135deg,
        rgba(17, 183, 107, 0.15),
        rgba(10, 143, 82, 0.15)
    );
    color: #11b76b;
}

.stat-card.spent .stat-card-icon {
    background: linear-gradient(
        135deg,
        rgba(255, 56, 56, 0.15),
        rgba(204, 45, 45, 0.15)
    );
    color: #ff3838;
}

.stat-card.deposit .stat-card-icon {
    background: linear-gradient(
        135deg,
        rgba(20, 148, 169, 0.15),
        rgba(13, 112, 133, 0.15)
    );
    color: #1494a9;
}

/* Profile Card - Modern Design */
.profile-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.profile-info-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(51, 55, 64, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.profile-info-card::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(51, 55, 64, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    position: relative;
    z-index: 1;
}

.profile-avatar-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: var(--chalk);
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.profile-details h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-details h4 .verified-badge {
    color: #4ade80;
    font-size: 18px;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
    background: var(--chalk);
    padding: 6px 12px;
    border-radius: 20px;
}

/* Enhanced Services Sidebar Styling */
.services-sidebar .category-list {
    padding: 5px 0;
    overflow: hidden;
}

.services-sidebar .category-item {
    margin: 0 8px 6px 8px;
    border-radius: 10px;
    background: var(--chalk);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    overflow: hidden;
}

.services-sidebar .category-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.services-sidebar .category-link {
    display: flex;
    align-items: center;
    padding: 12px 12px;
    text-decoration: none;
    color: var(--heading);
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
}

.services-sidebar .category-link:hover {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.services-sidebar .category-icon {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.services-sidebar .category-item:hover .category-icon {
    transform: scale(1.05);
    color: var(--primary-dark);
}

.services-sidebar .category-text {
    flex: 1;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.services-sidebar .category-arrow {
    font-size: 10px;
    color: var(--gray);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.services-sidebar .category-item.expanded .category-arrow {
    transform: rotate(180deg);
}

.services-sidebar .sub-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid var(--border);
    display: none;
}

.services-sidebar .category-item.expanded .sub-category-list {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-sidebar .sub-category-list li {
    margin: 0;
}

.services-sidebar .sub-category-list li a {
    display: flex;
    align-items: center;
    padding: 10px 12px 10px 40px;
    text-decoration: none;
    color: var(--gray);
    font-size: 12px;
    transition: all 0.3s ease;
    gap: 8px;
    border-left: 3px solid transparent;
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
}

.services-sidebar .sub-category-list li a:hover {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    border-left-color: var(--primary);
    padding-left: 43px;
}

.services-sidebar .sub-category-list li a i {
    font-size: 12px;
    color: var(--primary);
    opacity: 0.8;
    flex-shrink: 0;
}

.services-sidebar .sub-category-list li a:hover i {
    opacity: 1;
}

.profile-meta span i {
    color: var(--green);
    font-size: 12px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 1;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid var(--border);
}

.profile-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: transparent;
    transition: all 0.3s ease;
    border: none;
    border-radius: 0;
    border-right: 1px dashed #d1d5db;
}

.profile-stat-item:last-child {
    border-right: none;
}

.profile-stat-item:hover {
    background: rgba(51, 55, 64, 0.05);
}

.profile-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.profile-stat-icon.balance {
    background: linear-gradient(135deg, #f7931a 0%, #f5a623 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.4);
}

.profile-stat-icon.coins {
    background: linear-gradient(135deg, #333740 0%, #52555c 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(51, 55, 64, 0.4);
}

.profile-stat-icon.deposit {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.profile-stat-icon.rank {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.profile-stat-info {
    min-width: 0;
}

.profile-stat-info h6 {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-stat-info p {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-stat-info p img {
    width: 20px;
    height: 20px;
}

@media (max-width: 1200px) {
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-stat-item:nth-child(2n) {
        border-right: none;
    }

    .profile-stat-item:nth-child(1),
    .profile-stat-item:nth-child(2) {
        border-bottom: 1px dashed #d1d5db;
    }
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .profile-avatar-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 14px;
    }

    .profile-avatar {
        border-radius: 8px;
    }

    .profile-details h4 {
        font-size: 18px;
        justify-content: center;
    }

    .profile-meta {
        justify-content: center;
    }

    .profile-meta span {
        font-size: 12px;
        padding: 5px 10px;
    }

    .profile-stat-item {
        padding: 15px;
    }

    .profile-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .profile-stat-info h6 {
        font-size: 10px;
    }

    .profile-stat-info p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .profile-info-card {
        border-radius: 12px;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 0 0 12px 12px;
    }

    .profile-stat-item {
        border-right: 1px dashed #d1d5db;
    }

    .profile-stat-item:nth-child(2n) {
        border-right: none;
    }

    .profile-stat-item:nth-child(1),
    .profile-stat-item:nth-child(2) {
        border-bottom: 1px dashed #d1d5db;
    }

    .profile-stat-info h6 {
        font-size: 9px;
    }

    .profile-stat-info p {
        font-size: 13px;
    }

    .profile-stat-info p img {
        width: 16px;
        height: 16px;
    }
}

/* Update Timeline - Compact */
.update-timeline-compact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-compact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--chalk);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.timeline-compact-item:hover {
    background: rgba(51, 55, 64, 0.08);
}

.timeline-compact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.timeline-compact-icon.clock {
    background: rgba(107, 114, 128, 0.12);
    color: #6b7280;
}

.timeline-compact-icon.shield {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.timeline-compact-icon.coins {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.timeline-compact-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.timeline-compact-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.timeline-compact-date {
    font-size: 11px;
    color: var(--gray);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .timeline-compact-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .timeline-compact-title {
        white-space: normal;
    }
}

.services-sidebar {
    position: fixed;
    top: 0px;
    right: -450px;
    width: 400px;
    height: 100vh;
    z-index: 5;
    background: var(--white);
    -webkit-box-shadow: -15px 0px 25px 0px rgba(0, 0, 0, 0.15);
    box-shadow: -15px 0px 25px 0px rgba(0, 0, 0, 0.15);
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
}

.services-sidebar.active {
    right: 0px;
}

.services-header {
    padding: 18px 25px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.services-total {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.services-total i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--primary);
}

.services-total span {
    font-weight: 500;
    color: var(--primary);
}

.services-close {
    position: absolute;
    top: 50%;
    left: -18px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.services-close i {
    width: 35px;
    height: 35px;
    font-size: 18px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    color: var(--text);
    background: var(--white);
    text-shadow: var(--primary-tshadow);
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
}

.services-close i:hover {
    color: var(--white);
    background: var(--primary);
}

.services-list {
    height: 100%;
    padding: 0px 15px;
    max-height: calc(100vh - 210px);
    overflow-y: scroll;
}

.services-item {
    padding: 15px 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
}

.services-item:hover .services-media button {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.services-item:last-child {
    border-bottom: none;
}

.services-media {
    position: relative;
    margin-right: 25px;
}

.services-media a img {
    width: 100px;
    border-radius: 8px;
}

.services-media button {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(0);
    transform: scale(0);
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
}

.services-media button i {
    width: 32px;
    height: 32px;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    border-radius: 5px;
    display: inline-block;
    color: var(--red);
    background: rgba(255, 255, 255, 0.9);
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
}

.services-media button i:hover {
    color: var(--white);
    background: var(--red);
}

.services-info-group {
    width: 100%;
}

.services-info {
    margin-bottom: 13px;
}

.services-info h6 {
    font-weight: 400;
}

.services-info h6 a {
    color: var(--heading);
}

.services-info p {
    font-size: 14px;
}

.services-action-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.services-action-group .product-action {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.services-action-group .product-action button i {
    width: 30px;
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    border-radius: 5px;
}

.services-action-group .product-action input {
    width: 45px;
    height: 30px;
    font-size: 14px;
    border-radius: 5px;
    color: var(--primary);
    background: var(--chalk);
}

.services-action-group h6 {
    font-weight: 500;
    color: var(--primary);
}

.services-footer {
    padding: 20px 15px 0px;
    text-align: center;
    -webkit-box-shadow: 0px -3px 7px 0px rgba(0, 0, 0, 0.08);
    box-shadow: 0px -3px 7px 0px rgba(0, 0, 0, 0.08);
}

@media (max-width: 450px) {
    .services-sidebar {
        right: 0px;
        width: 100%;
        height: 100vh;
        -webkit-transform: scale(0);
        transform: scale(0);
        margin: 80px 0px 0px;
        border-radius: 15px 15px 0px 0px;
        transition: all linear 0.3s;
        -webkit-transition: all linear 0.3s;
        -moz-transition: all linear 0.3s;
        -ms-transition: all linear 0.3s;
        -o-transition: all linear 0.3s;
    }

    .services-sidebar.active {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: top;
        transform-origin: top;
    }

    .services-close {
        left: 50%;
        top: -45px;
        bottom: inherit;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        border-radius: 50px 50px 0px 0px;
        -webkit-box-shadow: 0px -8px 10px 0px rgba(0, 0, 0, 0.15);
        box-shadow: 0px -8px 10px 0px rgba(0, 0, 0, 0.15);
    }

    .services-list {
        max-height: calc(100vh - 290px);
    }

    .services-media a img {
        width: 80px;
    }
}

.services-sidebar .category-item {
    width: auto;
}

/* Dropdown menu rộng hơn */
.navbar-item.dropdown .dropdown-position-list {
    min-width: 220px;
}

.navbar-item.dropdown .dropdown-position-list li a {
    white-space: nowrap;
}


/* ============================================
   NEW ADDITIONS (2026-04-13 session)
   ============================================ */

/* System Stats - Vivid Animated */
.sys-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.sys-stat {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sys-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.1);
}
.sys-stat-glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .4;
  pointer-events: none;
}
.sys-stat--nap { border-left: 3px solid #f59e0b; }
.sys-stat--nap .sys-stat-glow { background: #f59e0b; }
.sys-stat--nap .sys-stat-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.sys-stat--mua { border-left: 3px solid #3b82f6; }
.sys-stat--mua .sys-stat-glow { background: #3b82f6; }
.sys-stat--mua .sys-stat-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.sys-stat--tang { border-left: 3px solid #ef4444; }
.sys-stat--tang .sys-stat-glow { background: #ef4444; }
.sys-stat--tang .sys-stat-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }
.sys-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.sys-stat-body { flex: 1; min-width: 0; }
.sys-stat-label {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: block;
  margin-bottom: 4px;
}
.sys-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}
.sys-coin {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  animation: coinBounce 2s ease infinite;
}
@keyframes coinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.sys-stat-trend {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sys-stat-trend.up { background: #ecfdf5; color: #059669; }
.sys-stat-trend.neutral { background: #f0f9ff; color: #0284c7; }
.sys-stat-trend.gift { background: #fef2f2; color: #dc2626; }
@media (max-width: 768px) {
  .sys-stats { grid-template-columns: 1fr; gap: 10px; }
  .sys-stat { padding: 16px; gap: 12px; }
  .sys-stat-icon { width: 40px; height: 40px; font-size: 17px; }
  .sys-stat-value { font-size: 20px; }
  .sys-coin { width: 18px; height: 18px; }
  .sys-stat-trend { top: 10px; right: 10px; }
}

/* User Balance Bar - Vivid */
.user-balance-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 16px;
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.ubb-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(59,130,246,.25), transparent 70%);
  pointer-events: none;
}
.ubb-stats { display: flex; align-items: center; gap: 24px; }
.ubb-item { display: flex; align-items: center; gap: 12px; }
.ubb-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.ubb-icon--wallet { background: rgba(251,191,36,.15); color: #fbbf24; }
.ubb-icon--deposit { background: rgba(52,211,153,.15); color: #34d399; }
.ubb-text { display: flex; flex-direction: column; gap: 2px; }
.ubb-label { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; opacity: .5; font-weight: 500; }
.ubb-value { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.ubb-value--gold { color: #fbbf24; }
.ubb-divider { width: 1px; height: 32px; background: rgba(255,255,255,.1); }
.ubb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(59,130,246,.3);
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.ubb-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(59,130,246,.4);
}
@media (max-width: 768px) {
  .user-balance-bar { padding: 14px 16px; gap: 12px; }
  .ubb-stats { gap: 16px; }
  .ubb-divider { display: none; }
  .ubb-value { font-size: 18px; }
  .ubb-icon { width: 34px; height: 34px; font-size: 14px; }
}
@media (max-width: 480px) {
  .user-balance-bar {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 0;
    padding: 12px 14px;
  }
  .ubb-stats { display: contents; }
  .ubb-item { gap: 8px; }
  .ubb-icon { width: 30px; height: 30px; font-size: 12px; border-radius: 8px; }
  .ubb-label { font-size: 9px; letter-spacing: .5px; }
  .ubb-value { font-size: 16px; font-weight: 800; }
  .ubb-divider { display: none; }
  .ubb-btn { width: 36px; height: 36px; font-size: 14px; border-radius: 50%; }
}


/* Server Cards - Buy Coins */
.sv-card {
  position: relative;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all .25s ease;
  overflow: hidden;
}
.sv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  opacity: 0;
  transition: opacity .25s;
}
.sv-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(59,130,246,.12);
  transform: translateY(-2px);
}
.sv-card:hover::before { opacity: 1; }
.sv-active {
  border-color: #3b82f6 !important;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  box-shadow: 0 4px 20px rgba(59,130,246,.2);
}
.sv-active::before { opacity: 1; }
.sv-card-check {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 18px;
  color: #3b82f6;
  opacity: 0;
  transform: scale(0);
  transition: all .25s ease;
}
.sv-active .sv-card-check {
  opacity: 1;
  transform: scale(1);
}
.sv-card-icon {
  position: absolute;
  top: 12px; right: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #9ca3af;
  transition: all .25s;
}
.sv-active .sv-card-icon {
  display: none;
}
.sv-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.sv-card-price {
  font-size: 13px;
  color: #6b7280;
}
.sv-card-price b {
  font-size: 14px;
}
.sv-disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}
.sv-maint-badge {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
}


/* Profile Card Mobile Fix */
@media (max-width: 768px) {
  .profile-info-card {
    padding: 16px;
  }
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .profile-avatar {
    width: 40px;
    height: 40px;
  }
  .profile-details h4 {
    font-size: 15px;
  }
  .profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .profile-stat-item {
    min-width: 0;
    padding: 10px 12px;
    gap: 8px;
  }
  .profile-stat-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
    border-radius: 8px;
  }
  .profile-stat-info h6 {
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .profile-stat-info p {
    font-size: 13px;
  }
  .profile-stat-info p img {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 380px) {
  .profile-stats {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .profile-stat-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 10px;
    gap: 4px;
  }
  .profile-stat-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .profile-stat-info p {
    font-size: 12px;
  }
}


/* Profile Header (avatar + name) Mobile Fix */
@media (max-width: 768px) {
  .profile-info-card .profile-header .d-flex {
    align-items: center;
  }
  .profile-info-card .profile-avatar-wrapper {
    margin-right: 12px;
  }
  .profile-info-card .profile-avatar-wrapper img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .profile-info-card .profile-details h4 {
    font-size: 14px;
    margin-bottom: 2px;
  }
  .profile-info-card .profile-details .text-muted {
    font-size: 11px;
    word-break: break-all;
  }
  .profile-info-card .profile-details .text-muted i {
    display: none;
  }
}

/* Rank Badges */
.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.rank-member {
  background: rgba(107,114,128,.1);
  color: #6b7280;
  border: 1px solid rgba(107,114,128,.2);
}
.rank-member i { font-size: 10px; }
.rank-vip {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1px solid #fcd34d;
  animation: rankGlow 2s ease infinite;
}
.rank-vip i { color: #d97706; font-size: 11px; }
@keyframes rankGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,.3); }
  50% { box-shadow: 0 0 8px 2px rgba(251,191,36,.2); }
}
/* Banner Slider */
.banner-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  width: 100%;
}
.banner-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.banner-slide {
  flex: 0 0 100%;
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 48px 56px;
  overflow: hidden;
}
.slide-tiktok { background: linear-gradient(135deg, #0f0f1a 0%, #1a1033 40%, #2d1b69 100%); }
.slide-tiktok::before {
  content: '';
  position: absolute;
  top: -80px; right: -40px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,244,238,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.slide-tiktok::after {
  content: '';
  position: absolute;
  bottom: -120px; right: 80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(254,44,85,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.slide-aff { background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #047857 100%); }
.slide-aff::before {
  content: '';
  position: absolute;
  top: -60px; right: 0;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(52,211,153,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.slide-agency { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #3730a3 100%); }
.slide-agency::before {
  content: '';
  position: absolute;
  top: -80px; right: -20px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.banner-slide-body { position: relative; z-index: 2; max-width: 55%; color: white; }
.banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.tag-hot { background: #fe2c55; }
.tag-green { background: #22c55e; }
.tag-vip { background: #6366f1; }
.banner-slide-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hl-cyan { color: #25f4ee; }
.hl-pink { color: #fe2c55; }
.hl-green { color: #34d399; }
.hl-purple { color: #a78bfa; }
.banner-slide-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 420px;
}
.banner-slide-actions { display: flex; gap: 12px; align-items: center; }
.sbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.sbtn-cyan { background: #25f4ee; color: #0f0f1a; }
.sbtn-cyan:hover { background: #14d9d3; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,244,238,0.3); color: #0f0f1a; }
.sbtn-green { background: #34d399; color: #064e3b; }
.sbtn-green:hover { background: #2cc48d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(52,211,153,0.3); color: #064e3b; }
.sbtn-indigo { background: #818cf8; color: #1e1b4b; }
.sbtn-indigo:hover { background: #6366f1; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.3); color: #1e1b4b; }

/* Banner Dots */
.banner-dots { display: flex; justify-content: center; gap: 8px; position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 5; }
.banner-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all .3s;
}
.banner-dot.active {
  width: 28px;
  border-radius: 5px;
  background: #fff;
  animation: bnDotPulse 2s ease infinite;
}
@keyframes bnDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.4); }
  50% { box-shadow: 0 0 0 4px rgba(255,255,255,.1); }
}

/* Banner Animated Elements */
.bn-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bn-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  animation: bnFloat 6s ease-in-out infinite;
}
.bn-particle.p1 { width: 6px; height: 6px; top: 20%; left: 10%; animation-delay: 0s; }
.bn-particle.p2 { width: 4px; height: 4px; top: 60%; left: 25%; animation-delay: 1s; }
.bn-particle.p3 { width: 8px; height: 8px; top: 30%; left: 70%; animation-delay: 2s; }
.bn-particle.p4 { width: 5px; height: 5px; top: 75%; left: 85%; animation-delay: 3s; }
.bn-particle.p5 { width: 3px; height: 3px; top: 45%; left: 50%; animation-delay: 4s; }
@keyframes bnFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .4; }
  50% { transform: translateY(-20px) scale(1.5); opacity: .8; }
}
.bn-visual {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.bn-coin-stack { position: relative; width: 120px; height: 120px; }
.bn-coin {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.bn-coin img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.2)); }
.bn-coin.c1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  top: 0; left: 0;
  animation: bnCoinFloat 3s ease-in-out infinite;
  border: 2px solid rgba(251,191,36,.4);
}
.bn-coin.c2 {
  background: linear-gradient(135deg, #0f0f1a, #1a1033);
  top: 15px; left: 50px;
  animation: bnCoinFloat 3s ease-in-out infinite 0.5s;
  border: 2px solid rgba(37,244,238,.3);
  color: #25f4ee;
}
.bn-coin.c3 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  top: 50px; left: 18px;
  animation: bnCoinFloat 3s ease-in-out infinite 1s;
  border: 2px solid rgba(251,191,36,.4);
}
@keyframes bnCoinFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(3deg); }
  66% { transform: translateY(-5px) rotate(-2deg); }
}
.bn-sparkle {
  position: absolute;
  font-size: 12px;
  color: #fbbf24;
  pointer-events: none;
  animation: bnSparkle 2s ease-in-out infinite;
}
.bn-sparkle.s1 { top: -8px; left: 55px; animation-delay: 0s; }
.bn-sparkle.s2 { top: 35px; left: 100px; animation-delay: 0.7s; }
.bn-sparkle.s3 { top: 70px; left: -5px; animation-delay: 1.4s; }
@keyframes bnSparkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}
.bn-chart { display: flex; align-items: flex-end; gap: 6px; height: 100px; padding: 10px; }
.bn-bar {
  width: 14px;
  border-radius: 4px 4px 0 0;
  background: rgba(52,211,153,.6);
  animation: bnBarGrow 2s ease-out forwards;
  transform-origin: bottom;
}
.bn-bar:nth-child(even) { background: rgba(52,211,153,.35); }
@keyframes bnBarGrow { 0% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
.bn-globe {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(99,102,241,.2);
  border: 2px solid rgba(99,102,241,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: rgba(167,139,250,.7);
  animation: bnGlobePulse 3s ease-in-out infinite;
}
@keyframes bnGlobePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99,102,241,.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px 10px rgba(99,102,241,.15); }
}

/* Hide banner arrows */
.banner-arrow { display: none !important; }

/* Banner Mobile */
@media (max-width: 768px) {
  .bn-visual { display: none; }
  .banner-slider { border-radius: 12px; }
  .banner-slide { min-height: 240px; padding: 32px 28px; }
  .banner-slide-body { max-width: 100%; }
  .banner-slide-title { font-size: 24px; }
  .banner-slide-desc { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sbtn { padding: 10px 18px; font-size: 13px; }
}

/* SEO: Hidden H1 for screen readers & crawlers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Telegram Notice */
.telegram-notice {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.06);
}
.telegram-notice__content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.telegram-notice__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0088cc, #00aaff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.telegram-notice__text {
  flex: 1;
  min-width: 0;
}
.telegram-notice__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.telegram-notice__subtitle {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.telegram-notice__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-telegram-compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #0088cc, #00aaff);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn-telegram-compact:hover {
  background: #0077b5;
  transform: translateY(-1px);
  color: #fff;
}
.telegram-notice__dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.telegram-notice__dismiss:hover {
  color: rgba(255,255,255,.8);
}
@media (max-width: 768px) {
  .telegram-notice {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .telegram-notice__content {
    gap: 10px;
  }
  .telegram-notice__icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .telegram-notice__title {
    font-size: 13px;
  }
  .telegram-notice__subtitle {
    font-size: 11px;
    display: none;
  }
  .btn-telegram-compact {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
  }
  .telegram-notice__dismiss {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .telegram-notice__icon {
    display: none;
  }
  .telegram-notice__text {
    flex: 1;
  }
  .telegram-notice__title {
    font-size: 12px;
  }
}
