/* Unified Background Design - All elements share one seamless background */

/* Remove all individual backgrounds and borders to create unified look */
body.dark-theme {
    background: transparent !important;
}

body.dark-theme .page-wrapper {
    background: transparent !important;
}

body.dark-theme .page-content {
    background: transparent !important;
}

/* Main content area - transparent to show unified background */
body.dark-theme .page-main {
    background: transparent !important;
}

/* Header - Remove background and borders for unified look */
body.dark-theme .page-header {
    background: transparent !important;
}

body.dark-theme .page-header__inner {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

body.dark-theme .page-header__sidebar {
    background: transparent !important;
    border-right: none !important;
}

body.dark-theme .page-header__content {
    background: transparent !important;
    box-shadow: none !important;
}

/* Sidebar - Remove background and borders */
body.dark-theme .sidebar {
    background: transparent !important;
    border-right: none !important;
}

body.dark-theme .sidebar.is-collapsed {
    background: transparent !important;
    border-right: none !important;
}

body.dark-theme .sidebar.is-collapsed .sidebar-box .uk-nav li.uk-active a {
    background: transparent !important;
}

body.dark-theme .sidebar-box {
    background: transparent !important;
}

/* Search bar - subtle semi-transparent background */
body.dark-theme .search__input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
}

body.dark-theme .search__input input {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

body.dark-theme .search__input input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Cards - subtle semi-transparent backgrounds */
body.dark-theme .character-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
}

body.dark-theme .latest-news-card {
    background: transparent !important;
    /* Old border - commented out */
    /* border: 1px solid rgba(255, 255, 255, 0.08) !important; */
    /* Golden border for Latest News cards - 2px (commented out) */
    /* border: 2px solid #DDBA7D !important; */
    /* Gray border for Latest News cards - 2px (commented out) */
    /* border: 2px solid #999790 !important; */
    /* No border - using Card_Container_2.png frame instead */
    border: none !important;
}

body.dark-theme .recent-sales-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    /* Golden border for Recent Sales cards - 2px (commented out) */
    /* border: 2px solid #DDBA7D !important; */
}

body.dark-theme .recent-sales-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    /* Keep golden border on hover (commented out) */
    /* border: 2px solid #DDBA7D !important; */
}

/* Game cards and widgets */
body.dark-theme .game-card__box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
}

body.dark-theme .widjet__body {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
}

body.dark-theme .recommend-slide {
    background: transparent !important;
    border: none !important;
}

body.dark-theme .recommend-slide__box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Featured slideshow container */
/* body.dark-theme .js-recommend {
    background: transparent !important;
} */

/* Remove any card shadows that break the unified look */
body.dark-theme .game-card__box,
body.dark-theme .widjet__body,
body.dark-theme .recommend-slide {
    box-shadow: none !important;
}

/* Sidebar menu items - keep subtle hover effects */
body.dark-theme .sidebar-box .uk-nav li a {
    background: transparent !important;
}

body.dark-theme .sidebar-box .uk-nav li a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

body.dark-theme .sidebar-box .uk-nav li.uk-active a {
    background: transparent !important;
}

/* Action buttons in header */
body.dark-theme .action-btn {
    background: transparent !important;
}

body.dark-theme .profile {
    background: transparent !important;
}

/* Modal backgrounds - slightly more opaque for readability */
body.dark-theme .uk-modal-dialog {
    background: rgba(12, 24, 38, 0.95) !important;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form backgrounds */
body.dark-theme .form-login {
    background: rgba(12, 24, 38, 0.95) !important;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* User items in chat/friends */
body.dark-theme .user-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Chat message boxes */
body.dark-theme .chat-messages-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .chat-user-list {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Activities items */
body.dark-theme .activities-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Stream items */
body.dark-theme .stream-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Payment cards */
body.dark-theme .payment-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
}

/* Remove any remaining borders that break unified look */
body.dark-theme .page-header__sidebar,
body.dark-theme .sidebar,
body.dark-theme .page-header__content {
    border: none !important;
}

/* Ensure text remains readable on unified background */
body.dark-theme .uk-text-lead {
    color: #fff !important;
}

body.dark-theme .section-title-glow {
    color: #fff !important;
}

/* Swiper pagination bullets */
body.dark-theme .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
}

body.dark-theme .swiper-pagination-bullet-active {
    background: #A11315 !important;
}
