* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Tahoma, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; }
.header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-content { max-width: 1400px; margin: 0 auto; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: white; }
.logo-text h1 { font-size: 24px; color: #667eea; }
.nav-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn { padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.btn-secondary { background: white; color: #667eea; border: 2px solid #667eea; }
.container { max-width: 1400px; margin: 0 auto; padding: 20px; }
.hero { background: white; border-radius: 20px; padding: 50px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin-bottom: 30px; }
.hero h2 { font-size: 38px; margin-bottom: 15px; }
.search-box { display: flex; gap: 10px; max-width: 900px; margin: 30px auto 0; }
.search-box input, .search-box select { flex: 1; padding: 15px; border: 2px solid #e0e0e0; border-radius: 12px; font-size: 16px; }
.search-box button { padding: 15px 30px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 40px 0; }
.stat-card { background: white; padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.stat-number { font-size: 48px; font-weight: bold; color: #667eea; }
.section-title { text-align: center; font-size: 32px; color: white; margin: 50px 0 30px; }
.categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 50px; }
.category-card { background: white; padding: 30px; border-radius: 15px; text-align: center; cursor: pointer; box-shadow: 0 5px 20px rgba(0,0,0,0.1); transition: 0.3s; }
.category-card:hover { transform: translateY(-10px); }
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 25px; }
.listing-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.1); transition: 0.3s; }
.listing-card:hover { transform: translateY(-5px); }
.listing-image { height: 200px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.listing-image img { width: 100%; height: 100%; object-fit: cover; }
.listing-content { padding: 20px; }
.listing-badge { display: inline-block; padding: 5px 15px; background: #667eea; color: white; border-radius: 20px; font-size: 12px; margin-bottom: 10px; }
.listing-title { font-size: 20px; font-weight: bold; margin: 10px 0; }
.listing-info { display: flex; justify-content: space-between; background: #f8f9fa; padding: 15px; border-radius: 10px; margin: 15px 0; }
.listing-price { font-size: 24px; font-weight: bold; color: #667eea; }
.listing-actions { display: flex; gap: 10px; margin-top: 15px; }
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); align-items: center; justify-content: center; z-index: 2000; }
.modal.active { display: flex; }
.modal-content { background: white; padding: 40px; border-radius: 20px; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.close-btn { background: none; border: none; font-size: 32px; cursor: pointer; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 2px solid #e0e0e0; border-radius: 10px; font-size: 16px; }
.hidden { display: none !important; }
.admin-panel { background: white; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); overflow: hidden; }
.admin-header { background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 30px; text-align: center; }
.admin-tabs { display: flex; }
.admin-tab { flex: 1; padding: 20px; text-align: center; background: white; border: none; font-weight: bold; cursor: pointer; }
.admin-tab.active { background: #667eea; color: white; }
.admin-content { padding: 30px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.admin-stat-card { padding: 25px; border-radius: 15px; text-align: center; border: 3px solid #667eea; background: #f0f8ff; }
@media (max-width: 768px) {
    .search-box { flex-direction: column; }
    .nav-buttons { justify-content: center; }
    .listings-grid { grid-template-columns: 1fr; }
}