* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  background: #0a0e14;
  color: #e0e0e0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

#bg-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 15px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 15px;
  border-bottom: 1px solid rgba(0,255,136,0.15);
  margin-bottom: 20px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon svg {
  filter: drop-shadow(0 0 10px rgba(0,255,136,0.4));
}

.logo-text h1 {
  font-size: 28px;
  font-weight: 700;
  color: #00ff88;
  text-shadow: 0 0 20px rgba(0,255,136,0.3);
  letter-spacing: 4px;
}

.logo-text p {
  font-size: 13px;
  color: #888;
  letter-spacing: 6px;
  margin-top: 2px;
}

.admin-link {
  color: #555;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s;
}
.admin-link:hover { color: #00ff88; }

/* Announcement */
.announcement {
  background: linear-gradient(135deg, rgba(0,255,136,0.08), rgba(0,200,255,0.05));
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(0,255,136,0.1); }
  50% { box-shadow: 0 0 15px rgba(0,255,136,0.15); }
}

.announcement-text {
  font-size: 14px;
  color: #aaa;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: #999;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  user-select: none;
}

.category-tab:hover {
  border-color: rgba(0,255,136,0.3);
  color: #ccc;
}

.category-tab.active {
  background: linear-gradient(135deg, rgba(0,255,136,0.15), rgba(0,255,136,0.05));
  border-color: #00ff88;
  color: #00ff88;
  box-shadow: 0 0 15px rgba(0,255,136,0.1);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.menu-card {
  background: linear-gradient(145deg, rgba(20,28,40,0.95), rgba(15,20,30,0.95));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 22px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, #00ff88, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.menu-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,255,136,0.2);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.menu-card:hover::before { opacity: 1; }

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2a3a, #0d1520);
  border: 2px solid rgba(0,255,136,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}

.card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  flex: 1;
}

.card-name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.online {
  background: #00ff88;
  box-shadow: 0 0 6px rgba(0,255,136,0.5);
}
.status-dot.offline {
  background: #555;
}

.card-price {
  font-size: 22px;
  font-weight: 700;
  color: #ff8c00;
  text-align: right;
}

.card-price span {
  font-size: 12px;
  color: #888;
  font-weight: 400;
}

.card-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 14px;
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.12);
  color: #00cc6a;
}

/* Contact */
.contact-section {
  background: linear-gradient(145deg, rgba(20,28,40,0.9), rgba(15,20,30,0.9));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 25px;
  margin-bottom: 30px;
  text-align: center;
}

.contact-section h3 {
  color: #00ff88;
  font-size: 18px;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.contact-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-label {
  background: rgba(0,255,136,0.1);
  color: #00ff88;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.contact-value {
  color: #ccc;
  font-size: 15px;
  letter-spacing: 1px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0;
  color: #444;
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* No items */
.no-items {
  text-align: center;
  padding: 60px 20px;
  color: #555;
  font-size: 15px;
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 600px) {
  .logo-text h1 { font-size: 22px; letter-spacing: 2px; }
  .logo-text p { font-size: 11px; letter-spacing: 3px; }
  .menu-grid { grid-template-columns: 1fr; }
  .contact-items { gap: 20px; }
}
