* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { 
    background: #f0f2f5; 
    padding-bottom: 75px; 
    /* টেক্সট কপি করা বন্ধ করার জন্য */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ইমেজ টেনে ডাউনলোড বন্ধ করার জন্য */
img {
    -webkit-user-drag: none;
}

.header { background: white; padding: 14px 40px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.site-name { font-size: 26px; font-weight: 800; background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.user-area { display: flex; align-items: center; gap: 15px; }
.user-balance { background: #f59e0b; color: white; padding: 8px 18px; border-radius: 30px; font-weight: 700; font-size: 13px; }
.profile-icon { background: linear-gradient(135deg, #667eea, #764ba2); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; cursor: pointer; }
.auth-buttons { display: flex; gap: 12px; }
.auth-buttons a { padding: 8px 24px; border-radius: 30px; text-decoration: none; font-size: 14px; font-weight: 600; }
.btn-login { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.btn-register { border: 2px solid #667eea; color: #667eea; background: white; }

.main-content { margin-top: 68px; padding: 0; }
.notice-area { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: white; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; margin-top: 10px; margin-bottom: 10px; margin-left: 20px; margin-right: 20px; border-radius: 0 !important; box-sizing: border-box; }
.close-notice { cursor: pointer; font-size: 16px; }
.slider-area { margin-top: 10px; margin-bottom: 30px; margin-left: 20px; margin-right: 20px; box-sizing: border-box; }
.slider-box { position: relative; height: 320px; overflow: hidden; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.slider-images { display: flex; width: 300%; transition: 0.5s; }
.slider-item { width: 33.33%; height: 320px; }
.slider-item a { display: block; width: 100%; height: 100%; }
.slider-item img { width: 100%; height: 100%; object-fit: cover; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; z-index: 10; }
.slider-prev { left: 15px; } .slider-next { right: 15px; }
.slider-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.dot.active { background: white; width: 25px; border-radius: 10px; }

.category-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; margin-top: 20px; padding: 0 20px; position: relative; }
.category-btn { padding: 10px 28px; background: white; border: 1px solid #e0e0e0; border-radius: 30px; cursor: pointer; font-size: 14px; font-weight: 600; color: #555; transition: 0.3s; text-decoration: none; display: inline-block; }
.category-btn.active { background: linear-gradient(135deg, #667eea, #764ba2); color: white; border-color: transparent; }
.category-btn:hover { transform: translateY(-2px); box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
.more-content { display: none; width: 100%; justify-content: center; flex-wrap: wrap; gap: 12px; }
.more-content.show { display: flex; }
.more-btn { cursor: pointer; }

.products-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1100px; margin: 0 auto 50px; padding: 0 20px; }
.product-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: 0.3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.12); }
.product-name { text-align: center; font-size: 20px; font-weight: bold; padding: 15px 15px; color: #333; }
.product-card img { width: 100%; height: 250px; object-fit: cover; display: block; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 10px 15px 15px 15px; }
.tag { width: calc((100% - 12px) / 3); background: #f1f5f9; color: #475569; font-size: 11px; font-weight: 600; padding: 6px 4px; border-radius: 6px; text-align: center; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.product-actions { display: flex; padding: 0 15px 25px; gap: 15px; margin-top: auto; }
.setup-btn, .buy-btn { flex: 1; padding: 12px 10px; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; transition: 0.3s; }
.setup-btn { background: #3b82f6; color: white; }
.setup-btn:hover { background: #2563eb; }

/* Buy Now Button Green (Original) */
.buy-btn { background: #10b981; color: white; } 
.buy-btn:hover { background: #059669; }

.no-product { text-align: center; padding: 50px; color: #999; font-size: 16px; grid-column: span 2; }

/* Stats Section */
.stats-section { margin: 30px 20px; padding: 0; background: white; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.06); overflow: hidden; max-width: 1100px; margin-left: auto; margin-right: auto; }
.tab-buttons { display: flex; background: white; border-bottom: 1px solid #f0f0f0; }
.tab-btn { flex: 1; padding: 18px 0; background: white; border: none; cursor: pointer; font-size: 15px; font-weight: 700; color: #667eea; transition: 0.3s; border-radius: 0; }
.tab-btn.active { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.stats-card { padding: 20px; }

/* Top Buyers / Recent Orders Box (হালকা ছোট করা হয়েছে ২য় ছবির মতো) */
.list-card-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border: 1px solid #f0f2f5; border-radius: 12px; margin-bottom: 12px; transition: 0.2s; }
.list-card-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.03); border-color: #e2e8f0; }
.item-left { display: flex; align-items: center; gap: 12px; }

/* Avatars (হালকা ছোট করা হয়েছে) */
.rank-avatar, .initials-avatar { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.rank-1 { background: #fef9c3; } .rank-2 { background: #f1f5f9; } .rank-3 { background: #fefce8; }
.initials-avatar { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }

.buyer-info, .order-info { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.buyer-name, .order-user { font-weight: 800; color: #1e293b; font-size: 15px; }
.order-package { color: #64748b; font-size: 13px; font-weight: 500; }

.top-member-badge { background: #e0e7ff; color: #4338ca; padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.amount-blue { color: #667eea; font-weight: 800; font-size: 16px; }
.order-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.status-completed { font-size: 11px; color: #000; font-weight: 600; }

.footer-bottom { background: #667eea; color: #ffffff; text-align: center; padding: 15px 5px; margin-top: 30px; font-size: 14px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: white; display: flex; justify-content: space-around; align-items: center; padding: 10px 15px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 100; }
.nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #666; font-size: 11px; flex: 1; text-align: center; padding: 5px 0; }
.nav-item i { font-size: 20px; margin-bottom: 4px; }
.nav-item:hover, .nav-item.active { color: #667eea; }

.loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.95); display: none; justify-content: center; align-items: center; z-index: 999; }
.loading-spinner { width: 50px; height: 50px; border: 4px solid #ddd; border-top: 4px solid #667eea; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Support Button */
.support-btn { position: fixed; bottom: 85px; right: 20px; background: linear-gradient(135deg, #667eea, #764ba2); color: white; width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 99; transition: 0.3s; }
.support-btn:hover { transform: scale(1.05); }

/* Exact Support Modal (100% Copy of 70305.jpg but with Blue Theme) */
.support-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: none; justify-content: center; align-items: center; z-index: 9999; }
.support-modal-overlay.show { display: flex; }
.support-modal-box { background: white; border-radius: 20px; width: 85%; max-width: 320px; overflow: hidden; animation: popIn 0.3s ease-out forwards; display: flex; flex-direction: column;}
.support-modal-header { background: #667eea; color: white; padding: 30px 20px; text-align: center; }
.support-modal-header i { font-size: 30px; margin-bottom: 10px; display: block; }
.support-modal-header h3 { margin: 0; font-size: 18px; font-weight: 800; }
.support-modal-body { padding: 20px; background: white; display: flex; flex-direction: column; gap: 12px;}

.support-btn-dark { background: #1e293b; color: white; border-radius: 50px; padding: 15px; text-align: center; text-decoration: none; display: block; }
.support-btn-dark i { font-size: 22px; margin-bottom: 6px; display: block; }
.support-btn-dark .title { font-weight: bold; font-size: 15px; margin-bottom: 2px; }
.support-btn-dark .subtitle { font-size: 11px; color: #cbd5e1; font-weight: normal; }

.support-btn-purple { background: #2e1065; color: white; border-radius: 50px; padding: 15px; text-align: center; text-decoration: none; display: block; }
.support-btn-purple i { font-size: 22px; margin-bottom: 6px; display: block; }
.support-btn-purple .title { font-weight: bold; font-size: 15px; margin-bottom: 2px; }
.support-btn-purple .subtitle { font-size: 11px; color: #c4b5fd; font-weight: normal; }

.close-support-modal { display: block; width: 100%; background: #f1f5f9; color: #334155; border: none; border-radius: 50px; padding: 15px; font-weight: bold; font-size: 14px; cursor: pointer; transition: 0.2s; margin-top: 5px; }
.close-support-modal:hover { background: #e2e8f0; }

.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 9999; }
.popup-content { background: white; padding: 20px; border-radius: 12px; max-width: 350px; width: 90%; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.3); animation: popIn 0.4s ease-out forwards; }
.popup-image { width: 100%; border-radius: 8px; margin-bottom: 15px; object-fit: cover; }
.popup-title { font-size: 20px; font-weight: bold; color: #333; margin-bottom: 8px; }
.popup-text { font-size: 14px; color: #555; margin-bottom: 20px; line-height: 1.5; }
.btn-close-popup { background: #ef4444; color: white; border: none; padding: 10px 0; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; width: 100%; transition: background 0.2s; }
.btn-close-popup:hover { background: #dc2626; }
@keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 768px) {
    .header { padding: 12px 20px; } .site-name { font-size: 20px; }
    .user-balance { padding: 5px 12px; font-size: 11px; } .profile-icon { width: 34px; height: 34px; font-size: 16px; }
    .auth-buttons a { padding: 5px 16px; font-size: 12px; } .main-content { margin-top: 65px; }
    .notice-area { margin-left: 15px; margin-right: 15px; padding: 8px 16px; font-size: 11px; border-radius: 0 !important; }
    .slider-area { margin-left: 15px; margin-right: 15px; } .slider-box { height: 180px; border-radius: 6px; } .slider-item { height: 180px; }
    .category-filter { padding: 0 15px; gap: 8px; } .category-btn { padding: 8px 18px; font-size: 12px; }
    .products-container { padding: 0 15px; gap: 15px; } .product-card img { height: 160px; }
    .product-name { font-size: 16px; padding: 12px 10px 12px 10px; } 
    .product-tags { padding: 8px 10px 12px 10px; gap: 6px; } 
    .tag { font-size: 10px; padding: 4px; width: calc((100% - 12px) / 3); }
    .product-actions { padding: 0 10px 18px; gap: 10px; } .setup-btn, .buy-btn { padding: 10px 6px; font-size: 12px; }
    .stats-section { margin: 30px 15px; } .tab-btn { font-size: 14px; padding: 15px 0; }
    .support-btn { width: 45px; height: 45px; bottom: 75px; }
    .more-content { width: 100%; gap: 8px; } .footer-bottom { font-size: 11px; padding: 12px 2px; }
}
@media (min-width: 1400px) { .slider-box { height: 380px; } .slider-item { height: 380px; } .product-card img { height: 280px; } }
