* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #2c3e50;
      color: #ecf0f1;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .header {
      background: #34495e;
      padding: 12px 32px;
      display: flex;
      align-items: center;
      gap: 24px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      position: sticky;
      top: 0;
      z-index: 100;
      justify-content: space-between;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: white;
      font-size: 20px;
      font-weight: 600;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, #ff6b6b, #ff8787);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }

    .search-container {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 500px;
    }

    .search-container input {
      width: 100%;
      padding: 10px 16px 10px 40px;
      background: #2c3e50;
      border: 1px solid #445566;
      border-radius: 8px;
      color: #ecf0f1;
      font-size: 14px;
    }

    .search-container input::placeholder {
      color: #95a5a6;
    }

    .search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: #95a5a6;
      font-size: 16px;
    }

    .header-icons {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-left: auto;
    }

    .icon-btn {
      background: none;
      border: none;
      color: #ecf0f1;
      font-size: 22px;
      cursor: pointer;
      position: relative;
      padding: 8px;
      transition: all 0.3s ease;
    }

    .icon-btn:hover {
      color: #ff6b6b;
    }

    .notification-badge {
      position: absolute;
      top: 4px;
      right: 4px;
      background: #ff6b6b;
      color: white;
      font-size: 10px;
      font-weight: bold;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .sell-btn {
      background: linear-gradient(135deg, #ff6b6b, #ff5252);
      color: white;
      border: none;
      padding: 10px 24px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 14px;
    }

    .sell-btn:hover {
      background: linear-gradient(135deg, #ff5252, #ff3838);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    }

    .menu-toggle {
      font-size: 24px;
      cursor: pointer;
      color: white;
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      background: rgba(255, 107, 107, 0.1);
      border-radius: 8px;
      min-width: 40px;
      min-height: 40px;
    }

    .menu-toggle:hover {
      background: rgba(255, 107, 107, 0.2);
      transform: scale(1.05);
    }

    /* Hero Banner */
    .hero-banner {
      background: linear-gradient(135deg, rgba(52, 73, 94, 0.9), rgba(44, 62, 80, 0.95)), 
                  url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23ff6b6b" opacity="0.1" width="1200" height="400"/></svg>');
      background-size: cover;
      padding: 60px 32px;
      text-align: center;
      margin: 0 auto;
      max-width: 1400px;
      border-radius: 16px;
      margin-top: 24px;
      margin-bottom: 32px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    .hero-banner h1 {
      font-size: 48px;
      font-weight: 700;
      margin-bottom: 16px;
      color: white;
    }

    .hero-banner p {
      font-size: 18px;
      color: #bdc3c7;
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.6;
    }

    .sparkle-icon {
      color: #ffd700;
      margin-right: 8px;
    }

    /* Category Pills */
    .category-pills {
      display: flex;
      gap: 12px;
      padding: 0 32px;
      margin-bottom: 32px;
      overflow-x: auto;
      max-width: 1400px;
      margin-left: auto;
      margin-right: auto;
    }

    .pill {
      background: #34495e;
      color: #ecf0f1;
      padding: 10px 20px;
      border-radius: 20px;
      border: 1px solid #445566;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .pill:hover {
      background: #3d566e;
      border-color: #ff6b6b;
    }

    .pill.active {
      background: linear-gradient(135deg, #ff6b6b, #ff5252);
      border-color: #ff6b6b;
      color: white;
    }

    /* Main Content */
    .main-content {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 32px 60px;
      width: 100%;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }

    .section-title {
      font-size: 28px;
      font-weight: 700;
      color: #ecf0f1;
    }

    .item-count {
      color: #95a5a6;
      font-size: 16px;
    }

    /* Stats Grid */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      margin-bottom: 40px;
    }

    .stat-card {
      background: #34495e;
      padding: 24px;
      border-radius: 12px;
      text-align: center;
      border: 1px solid #445566;
      transition: all 0.3s ease;
    }

    .stat-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(255, 107, 107, 0.2);
      border-color: #ff6b6b;
    }

    .stat-number {
      font-size: 32px;
      font-weight: bold;
      color: #ff6b6b;
      margin-bottom: 8px;
    }

    .stat-label {
      color: #bdc3c7;
      font-size: 14px;
    }

    /* Items Grid */
    .items-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 24px;
      margin-bottom: 40px;
    }

    .item-card {
      background: #34495e;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid #445566;
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;
    }

    .item-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
      border-color: #ff6b6b;
    }

    .item-image {
      width: 100%;
      height: 280px;
      object-fit: cover;
      background: linear-gradient(135deg, #3d566e, #2c3e50);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 64px;
    }

    .item-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: linear-gradient(135deg, #ffa500, #ff8c00);
      color: white;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
    }

    .item-badge.good {
      background: linear-gradient(135deg, #f39c12, #e67e22);
    }

    .item-badge.vintage {
      background: linear-gradient(135deg, #e67e22, #d35400);
    }

    .favorite-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(10px);
      border: none;
      color: white;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      transition: all 0.3s ease;
    }

    .favorite-btn:hover {
      background: rgba(255, 107, 107, 0.9);
      transform: scale(1.1);
    }

    .item-content {
      padding: 20px;
    }

    .item-title {
      font-size: 18px;
      font-weight: 600;
      color: #ecf0f1;
      margin-bottom: 8px;
    }

    .item-meta {
      color: #95a5a6;
      font-size: 14px;
      margin-bottom: 12px;
    }

    .item-actions {
      display: flex;
      gap: 8px;
      margin-top: 12px;
    }

    .action-btn {
      flex: 1;
      padding: 10px;
      border: none;
      border-radius: 8px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 13px;
    }

    .like-btn {
      background: #3d566e;
      color: #ecf0f1;
    }

    .like-btn:hover {
      background: #ff6b6b;
      color: white;
    }

    .comment-btn {
      background: #3d566e;
      color: #ecf0f1;
    }

    .comment-btn:hover {
      background: #ffa500;
      color: white;
    }

    .chat-btn {
      background: linear-gradient(135deg, #ff6b6b, #ff5252);
      color: white;
    }

    .chat-btn:hover {
      background: linear-gradient(135deg, #ff5252, #ff3838);
    }

    /* Comment Section */
    .comment-section {
      padding: 16px 20px 20px;
      border-top: 1px solid #445566;
      display: none;
      background: #2c3e50;
    }

    .comment-input {
      width: 70%;
      padding: 10px 14px;
      background: #34495e;
      border: 1px solid #445566;
      border-radius: 8px;
      color: #ecf0f1;
      font-size: 13px;
      margin-right: 8px;
    }

    .submit-comment {
      padding: 10px 18px;
      background: #ff6b6b;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 500;
      font-size: 13px;
    }

    .comments {
      margin-top: 12px;
    }

    .comments p {
      background: #34495e;
      padding: 10px 12px;
      border-radius: 8px;
      margin: 6px 0;
      font-size: 13px;
      color: #bdc3c7;
    }

    /* Chat Modal */
    .chat-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(8px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    .chat-modal-content {
      background: #34495e;
      border-radius: 16px;
      padding: 32px;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }

    .modal-title {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 20px;
      color: #ecf0f1;
    }

    .chat-messages {
      height: 300px;
      overflow-y: auto;
      background: #2c3e50;
      border-radius: 12px;
      padding: 16px;
      margin-bottom: 16px;
      border: 1px solid #445566;
    }

    .chat-input {
      width: 100%;
      padding: 12px 16px;
      background: #2c3e50;
      border: 1px solid #445566;
      border-radius: 8px;
      color: #ecf0f1;
      font-size: 14px;
      margin-bottom: 16px;
    }

    .modal-buttons {
      display: flex;
      gap: 12px;
      justify-content: flex-end;
    }

    .modal-buttons button {
      padding: 10px 24px;
      border: none;
      border-radius: 8px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .send-button {
      background: linear-gradient(135deg, #ff6b6b, #ff5252);
      color: white;
    }

    .send-button:hover {
      background: linear-gradient(135deg, #ff5252, #ff3838);
    }

    .close-button {
      background: #3d566e;
      color: #ecf0f1;
    }

    .close-button:hover {
      background: #4a6b8a;
    }

    .hidden {
      display: none !important;
    }

    /* Footer */
    .footer {
      background: #34495e;
      padding: 40px 32px 20px;
      margin-top: auto;
      border-top: 1px solid #445566;
    }

    .footer-content {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 32px;
      margin-bottom: 24px;
    }

    .footer-section h3 {
      color: #ff6b6b;
      font-size: 16px;
      margin-bottom: 12px;
      font-weight: 600;
    }

    .footer-section p,
    .footer-section a {
      color: #95a5a6;
      font-size: 14px;
      line-height: 1.8;
      text-decoration: none;
    }

    .footer-section a:hover {
      color: #ff6b6b;
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section ul li {
      margin-bottom: 8px;
    }

    .footer-bottom {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid #445566;
      color: #7f8c8d;
      font-size: 13px;
    }

    /* Side Menu */
    .side-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 280px;
      height: 100vh;
      background: #34495e;
      z-index: 200;
      padding: 24px;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3);
      overflow-y: auto;
      display: flex;
      flex-direction: column;
    }

    .side-menu.active {
      transform: translateX(0);
    }

    .menu-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 32px;
    }

    .menu-close {
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      padding: 4px;
    }

    .menu-main-content {
      flex-grow: 1;
    }

    .menu-main-content a,
    .menu-bottom-section a {
      display: block;
      padding: 14px 16px;
      color: #bdc3c7;
      text-decoration: none;
      border-radius: 8px;
      margin-bottom: 8px;
      transition: all 0.3s ease;
      font-size: 15px;
    }

    .menu-main-content a:hover,
    .menu-bottom-section a:hover {
      background: #3d566e;
      color: #ff6b6b;
      transform: translateX(4px);
    }

    .menu-bottom-section {
      margin-top: auto;
      padding-top: 24px;
      border-top: 1px solid #445566;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
      width: 10px;
    }

    ::-webkit-scrollbar-track {
      background: #2c3e50;
    }

    ::-webkit-scrollbar-thumb {
      background: #ff6b6b;
      border-radius: 5px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: #ff5252;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
      }

      .header-icons {
        gap: 12px;
      }

      .search-container {
        display: none;
      }

      .hero-banner {
        padding: 40px 20px;
      }

      .hero-banner h1 {
        font-size: 32px;
      }

      .category-pills {
        padding: 0 16px;
      }

      .main-content {
        padding: 0 16px 40px;
      }

      .items-grid {
        grid-template-columns: 1fr;
      }

      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 480px) {
      .header {
        padding: 12px 16px;
      }

      .sell-btn {
        padding: 8px 16px;
        font-size: 13px;
      }

      .hero-banner h1 {
        font-size: 28px;
      }

      .stats-grid {
        grid-template-columns: 1fr;
      }
    }