/* UNIVERSAL RESET */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --theme-dark-bg: #121212;
    /* Deep slate dark background */
    --theme-dark-card: #141414;
    /* Rich dark card background */
    --theme-dark-nav: #161823;
    /* Deep matte black for headers and navs */
    --theme-text-light: #ffffff;
    /* Pure white text */
    --theme-text-muted: #a6a8b6;
    /* Clean muted slate gray */
    --theme-tiktok-pink: #fe2c55;
    /* Brand pink/red */
    --theme-tiktok-cyan: #25f4ee;
    /* Brand cyan */
    --theme-tiktok-glow-pink: rgba(254, 44, 85, 0.35);
    --theme-tiktok-glow-cyan: rgba(37, 244, 238, 0.35);
}

/* PC BACKGROUND (Void) */
html {
    background-color: #0b0c10 !important;
    height: 100%;
}

/* APP SIMULATION CONTAINER */
body {
    margin: 0 auto;
    /* Center on Desktop */
    padding: 0;
    width: 100%;
    max-width: 480px;
    /* PHONE WIDTH LOCK */
    min-height: 100vh;
    background-color: var(--theme-dark-bg) !important;
    font-family: 'Prompt', sans-serif;
    color: var(--theme-text-light) !important;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
    /* Elevation on PC */
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

@media (max-width: 480px) {
    html {
        background: #F5F7FA;
    }

    /* Match app bg on mobile */
    body {
        box-shadow: none;
    }
}

/* SHARED UTILS */
img {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

/* Page Loader & Transitions */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.4s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(254, 44, 85, 0.1);
    border-top: 4px solid #fe2c55;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loader-fade-out {
    opacity: 0;
    pointer-events: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- SHOPEE STYLE COMPONENTS --- */

.quick-links {
    display: flex;
    overflow-x: auto;
    padding: 15px 10px;
    gap: 15px;
    background: white;
    scrollbar-width: none;
}

.quick-links::-webkit-scrollbar {
    display: none;
}

.ql-item {
    flex: 0 0 65px;
    text-align: center;
    text-decoration: none;
}

.ql-icon {
    width: 45px;
    height: 45px;
    border-radius: 18px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ql-text {
    font-size: 11px;
    color: #ffffff !important;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ql-item {
    color: #ffffff !important;
}

/* Category Grid */
.cat-grid-container {
    padding: 15px 0;
    background: white;
    margin-top: 10px;
    overflow: hidden;
}

.cat-grid-title {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 15px;
    padding: 0 15px;
    text-transform: uppercase;
}

.cat-grid-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
}

.cat-grid-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.cat-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 80px;
    /* Precise width for each item */
    gap: 12px 0;
    padding: 0 10px;
}

.cat-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-grid-item:active {
    transform: scale(0.95);
}

.cat-grid-item.active .cat-grid-icon-box {
    background: #1a1a2e;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(254, 44, 85, 0.2);
}

.cat-grid-item.active .cat-grid-text {
    color: #fe2c55;
    font-weight: 600;
}

.cat-grid-icon-box {
    width: 45px;
    height: 45px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-grid-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cat-grid-text {
    font-size: 11px;
    color: #333;
    line-height: 1.25;
    width: 70px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5em;
    /* Lock height for alignment */
}

/* Flash Sale */
.flash-sale-container {
    background: white;
    margin-top: 10px;
    padding: 15px 0;
}

.fs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 15px;
}

.fs-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fs-title {
    color: #fe2c55;
    font-size: 18px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
}

.fs-timer {
    display: flex;
    gap: 4px;
}

.timer-box {
    background: #333;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 4px;
    min-width: 20px;
    text-align: center;
}

.fs-more {
    color: #fe2c55;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fs-scroll {
    display: flex;
    overflow-x: auto;
    padding: 0 15px;
    gap: 10px;
    scrollbar-width: none;
}

.fs-scroll::-webkit-scrollbar {
    display: none;
}

.fs-card {
    flex: 0 0 120px;
    text-align: center;
    position: relative;
}

.fs-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

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

.fs-price {
    color: #fe2c55;
    font-size: 15px;
    font-weight: 700;
    margin-top: 8px;
}

.fs-discount-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #25f4ee;
    color: #161823;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 4px;
    border-radius: 4px;
}

.fs-mall-tag {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #fe2c55;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 2px;
}

.fs-progress-container {
    height: 12px;
    background: rgba(254, 44, 85, 0.1);
    border-radius: 10px;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

.fs-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fe2c55, #161823);
    border-radius: 10px;
}

.fs-progress-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 9px;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/* Redesign Section Headers */
.section-title-box {
    padding: 15px 20px 10px;
    background: var(--theme-dark-card) !important;
    margin-top: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text-light) !important;
}

/* --- HYPER-PREMIUM TIKTOK DARK MODE REDESIGN SYSTEM --- */

/* 1. Global Headings & Typography */
h1,
h2,
h3,
h4,
h5,
h6,
span,
p,
a,
div {
    /* Keep dynamic color support but default to comfortable light contrast */
}

/* Reusable text helper classes */
.text-light {
    color: var(--theme-text-light) !important;
}

.text-muted {
    color: var(--theme-text-muted) !important;
}

/* 2. Global Container Overrides (Converting white boxes into dark premium card panels) */
.menu-card, 
.floating-box, 
.comm-box, 
.cat-grid-container, 
.flash-sale-container, 
.rank-item,
.product-card,
.bank-card-box,
.order-card,
.form-card,
.my-rank-card,
.partner-card {
    background: var(--theme-dark-card) !important;
    color: var(--theme-text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35) !important;
    border-radius: 18px !important;
}

/* Category Grid & Container details */
.cat-grid-container {
    border-radius: 0px !important;
    /* Keep edge-to-edge for home container */
    border-left: none !important;
    border-right: none !important;
}

.cat-grid-title {
    color: var(--theme-text-muted) !important;
    font-weight: 600;
}

.cat-grid-text {
    color: rgba(255, 255, 255, 0.85) !important;
}

.cat-grid-item:active {
    transform: scale(0.92) !important;
}

/* 3. Global Inline Styles Attribute Hack (Forces all hardcoded whites into darks) */
div[style*="background: white"],
div[style*="background:white"],
div[style*="background: #fff"],
div[style*="background:#fff"],
div[style*="background: rgb(255, 255, 255)"],
div[style*="background-color: #fff"],
div[style*="background-color:#fff"] {
    background: var(--theme-dark-bg) !important;
    color: var(--theme-text-light) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

/* Specific inline container hacks for dashboard elements */
div[style*="background: #f8fafc"],
div[style*="background:#f8fafc"],
div[style*="background: #f9fafb"],
div[style*="background:#f9fafb"],
div[style*="background: #fffcf0"],
div[style*="background:#fffcf0"],
div[style*="background: #f3f4f6"] {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* Text overrides in inline boxes */
div[style*="color: #333"],
div[style*="color:#333"],
div[style*="color: #1f2937"],
span[style*="color: #1f2937"],
h2[style*="color: #1f2937"],
p[style*="color: #64748b"] {
    color: var(--theme-text-light) !important;
}

/* 4. Navigation & Bottom Nav */
.bottom-nav {
    background: var(--theme-dark-nav) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6) !important;
}

.nav-item {
    color: var(--theme-text-muted) !important;
    transition: all 0.2s ease;
}

.nav-item.active {
    color: var(--theme-tiktok-pink) !important;
    font-weight: 700;
}

/* 5. Headers & Stats Banner (TikTok Premium Gradient style) */
.profile-header,
.stats-header {
    background: linear-gradient(135deg, #7c0a20 0%, #161823 100%) !important;
    border-radius: 0px 0px 24px 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    border-bottom: 1.5px solid rgba(254, 44, 85, 0.2) !important;
}

.avatar-circle {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid var(--theme-tiktok-pink) !important;
    box-shadow: 0 4px 15px rgba(254, 44, 85, 0.3) !important;
}

.vip-badge {
    background: linear-gradient(90deg, var(--theme-tiktok-pink), #800a20) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 10px rgba(254, 44, 85, 0.25) !important;
}

/* 6. Dashboard / start-order styling (Comfortable Neon Cyan Glow Values) */
.f-val {
    color: var(--theme-text-light) !important;
}

.f-label {
    color: var(--theme-text-muted) !important;
}

.f-stat-item {
    border-right: 1.5px solid rgba(255, 255, 255, 0.05) !important;
}

/* Commission Neon Cyan Highlight Box */
.comm-box {
    background: linear-gradient(135deg, #111e25 0%, #0d1217 100%) !important;
    border: 1.5px solid rgba(37, 244, 238, 0.15) !important;
    box-shadow: 0 6px 18px rgba(37, 244, 238, 0.05) !important;
}

.comm-val {
    color: var(--theme-tiktok-cyan) !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(37, 244, 238, 0.6) !important;
    font-size: 20px !important;
}

.comm-lbl {
    color: var(--theme-text-muted) !important;
    font-weight: 500;
}

/* 7. Action Button "เริ่มงาน" (Premium Ruby Pink glow style) */
.btn-start {
    background: linear-gradient(90deg, var(--theme-tiktok-pink) 0%, #800a20 100%) !important;
    box-shadow: 0 6px 20px rgba(254, 44, 85, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 44, 85, 0.55) !important;
}

.btn-start:active {
    transform: scale(0.96) !important;
}

/* 8. Action Cards & Profile Buttons */
.menu-item {
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.04) !important;
    color: var(--theme-text-light) !important;
}

.menu-item:active {
    background: rgba(255, 255, 255, 0.02) !important;
}

.menu-icon {
    background: linear-gradient(135deg, #2d2d3a, #161823) !important;
    color: var(--theme-tiktok-cyan) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.06) !important;
}

.icon-box {
    background: linear-gradient(135deg, #252631, #121319) !important;
    color: var(--theme-tiktok-pink) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.icon-withdraw,
.icon-partner {
    color: var(--theme-tiktok-cyan) !important;
}

.btn-logout {
    background: rgba(254, 44, 85, 0.08) !important;
    color: var(--theme-tiktok-pink) !important;
    border: 1px solid rgba(254, 44, 85, 0.2) !important;
    box-shadow: 0 4px 15px rgba(254, 44, 85, 0.08) !important;
}

.btn-logout:active {
    background: rgba(254, 44, 85, 0.15) !important;
    transform: scale(0.97);
}

/* 9. SweetAlert Dynamic Dark Popups */
.custom-swal-popup,
.swal2-popup {
    background: var(--theme-dark-card) !important;
    color: var(--theme-text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
}

.swal2-title,
.swal2-html-container,
.swal2-content {
    color: var(--theme-text-light) !important;
}

.custom-confirm-btn {
    background: linear-gradient(90deg, var(--theme-tiktok-pink) 0%, #800a20 100%) !important;
    box-shadow: 0 4px 15px rgba(254, 44, 85, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.custom-cancel-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--theme-text-muted) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.custom-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* 10. Forms, inputs, select fields */
input,
select,
textarea {
    background-color: var(--theme-dark-bg) !important;
    color: var(--theme-text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 12px !important;
}

.input-wrapper input {
    padding-left: 45px !important;
}

input:focus,
select:focus {
    border-color: var(--theme-tiktok-cyan) !important;
    outline: none !important;
    box-shadow: 0 0 8px rgba(37, 244, 238, 0.2) !important;
}

/* Swiper pagination active color */
.swiper-pagination-bullet-active {
    background: var(--theme-tiktok-pink) !important;
}

/* 11. Form Specific Utility Overrides for deposit.html & withdraw.html */
.dropzone {
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--theme-text-muted) !important;
    border: 2px dashed rgba(255, 255, 255, 0.15) !important;
    transition: all 0.2s ease !important;
}

.dropzone:hover {
    background: rgba(37, 244, 238, 0.05) !important;
    border-color: var(--theme-tiktok-cyan) !important;
    color: var(--theme-tiktok-cyan) !important;
}

.form-label {
    color: var(--theme-text-light) !important;
}

/* Selectable bank elements */
.bank-item {
    background: var(--theme-dark-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.bank-item.active {
    border-color: var(--theme-tiktok-pink) !important;
    box-shadow: 0 0 10px rgba(254, 44, 85, 0.2) !important;
}

/* Alert text indicators (Red generic items) */
span[style*="color:#ef4444"],
div[style*="color:#ef4444"],
span[style*="color: #ef4444"],
div[style*="color: #ef4444"] {
    color: var(--theme-tiktok-pink) !important;
}

/* 12. Withdraw Page Overrides */
.withdraw-card {
    background: var(--theme-dark-card) !important;
    color: var(--theme-text-light) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
}

.bank-info-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.06) !important;
    color: var(--theme-text-light) !important;
}

.bank-icon {
    background: var(--theme-dark-bg) !important;
    color: var(--theme-tiktok-cyan) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.withdraw-card .balance-val {
    color: var(--theme-tiktok-cyan) !important;
    text-shadow: 0 0 10px rgba(37, 244, 238, 0.6) !important;
}

.withdraw-card .balance-label {
    color: var(--theme-text-muted) !important;
}

.secure-badge {
    color: var(--theme-text-muted) !important;
}

/* 13. Login & Register Pages Overrides */
.login-card {
    background: var(--theme-dark-card) !important;
    color: var(--theme-text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
}

.login-card .app-name {
    color: var(--theme-text-light) !important;
}

.login-card .app-desc {
    color: var(--theme-text-muted) !important;
}

.login-card .form-label {
    color: var(--theme-text-light) !important;
}

.login-card .form-control {
    background-color: var(--theme-dark-bg) !important;
    color: var(--theme-text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.login-card .form-control:focus {
    border-color: var(--theme-tiktok-cyan) !important;
    box-shadow: 0 0 8px rgba(37, 244, 238, 0.2) !important;
}

.login-card .footer-link {
    color: var(--theme-text-muted) !important;
}

.login-card .footer-link a {
    color: var(--theme-tiktok-cyan) !important;
}

/* 14. Detailed Page Element Theme Overrides */

/* --- Ranking Page --- */
.u-name {
    color: var(--theme-text-light) !important;
}
.rank-num {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--theme-text-muted) !important;
}
.u-vip {
    background: rgba(254, 44, 85, 0.12) !important;
    color: var(--theme-tiktok-pink) !important;
}

/* --- Transactions Page --- */
.tx-type {
    color: var(--theme-text-light) !important;
}
.status-pending {
    background: rgba(217, 119, 6, 0.15) !important;
    color: #f59e0b !important;
}
.status-success {
    background: rgba(16, 185, 129, 0.15) !important;
    color: var(--theme-tiktok-cyan) !important;
}
.status-rejected {
    background: rgba(239, 68, 68, 0.15) !important;
    color: var(--theme-tiktok-pink) !important;
}

/* --- Order History Page --- */
.product-name {
    color: var(--theme-text-light) !important;
}
.detail-value {
    color: var(--theme-text-light) !important;
}
.detail-label {
    color: var(--theme-text-muted) !important;
}
.order-details {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.empty-subtext {
    color: var(--theme-text-muted) !important;
}

/* --- Profile Form Page --- */
#profileForm .form-label {
    color: var(--theme-text-light) !important;
}
#bankSelectBtn {
    background-color: var(--theme-dark-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#bankSelectBtn span {
    color: var(--theme-text-light) !important;
}
#bankDropdown {
    background-color: var(--theme-dark-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
#bankDropdown div {
    background-color: var(--theme-dark-bg) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
#bankDropdown div span {
    color: var(--theme-text-light) !important;
}
#bankDropdown div:hover {
    background-color: var(--theme-dark-card) !important;
}
input:disabled, textarea:disabled, #bankSelectBtn[style*="pointer-events: none"] {
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: var(--theme-text-muted) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    cursor: not-allowed !important;
}

/* --- Partners / Logistics Page --- */
.lp-item {
    background: var(--theme-dark-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
}
.lp-item img {
    filter: brightness(0.9) contrast(1.1);
}

/* --- Advanced SweetAlert Dynamic Dark Theme Customizations --- */
div[style*="background:#fee2e2"],
div[style*="background: #fee2e2"],
div[style*="background:#fef2f2"],
div[style*="background: #fef2f2"] {
    background: rgba(239, 68, 68, 0.15) !important;
}
div[style*="background:#fff7ed"],
div[style*="background: #fff7ed"],
div[style*="background:#fef3c7"],
div[style*="background: #fef3c7"] {
    background: rgba(217, 119, 6, 0.15) !important;
}
div[style*="background:#f0fdf4"],
div[style*="background: #f0fdf4"],
div[style*="background:#d1fae5"],
div[style*="background: #d1fae5"] {
    background: rgba(16, 185, 129, 0.15) !important;
}
div[style*="background:#fff3cd"],
div[style*="background: #fff3cd"] {
    background: rgba(217, 119, 6, 0.15) !important;
    color: #f59e0b !important;
    border-color: rgba(217, 119, 6, 0.3) !important;
}

/* --- INTERESTING ARTICLES SECTION --- */
.interest-container {
    background: var(--theme-dark-card) !important;
    border-top: 1.5px solid rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35) !important;
}

.interest-title {
    color: var(--theme-text-light) !important;
    font-size: 16px;
    font-weight: 700;
}

.interest-card {
    background: var(--theme-dark-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease !important;
}

.interest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 44, 85, 0.15) !important;
    border-color: rgba(254, 44, 85, 0.25) !important;
}

.interest-card:active {
    transform: scale(0.96) !important;
}

.interest-card-title {
    color: var(--theme-text-light) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

.interest-card-desc {
    color: var(--theme-text-muted) !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    height: 2.9em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}