.breadcrumb { background: #2a2a2a; padding: 15px 20px; border-radius: 10px; margin-bottom: 25px; color: #b0b0b0; }
.breadcrumb a { color: #5fb834; text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: #7ed957; }
.breadcrumb span { margin: 0 8px; }
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; margin-top: 30px; }
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.category-card { background: #2a2a2a; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); text-decoration: none; color: inherit; display: flex; flex-direction: row; position: relative; height: 175px; }
.category-card .item-tooltip { display: none; }
.category-badge { position: absolute; top: 15px; right: 15px; background: #1e1e1e; color: #b0b0b0; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; z-index: 10; }
.category-card .item-image { width: 175px; height: 175px; aspect-ratio: unset; object-fit: cover; flex-shrink: 0; }
.category-card .item-content { flex: 1; padding: 25px 30px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.category-card .item-name { font-size: 24px; margin-bottom: 15px; }
.category-card .item-description { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.category-card .item-meta { display: none; }
.topics-button { position: absolute; bottom: 25px; right: 30px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #5fb834; color: white; text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 14px; transition: all 0.3s ease; }
.topics-button:hover { background: #7ed957; transform: translateX(3px); }
.topics-button i { font-size: 12px; }
.item-card { background: #2a2a2a; border-radius: 12px; padding: 0; overflow: visible; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); text-decoration: none; color: inherit; display: flex; flex-direction: column; aspect-ratio: 1 / 1; position: relative; }
.item-card:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); }
.item-tooltip { position: absolute; top: -45px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.95); color: white; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 1000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }
.item-tooltip::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid rgba(0, 0, 0, 0.95); }
.item-card:hover .item-tooltip { opacity: 1; }
.item-card-inner { border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.item-image { width: 100%; height: 100%; object-fit: cover; background: #1e1e1e; }
.item-content { display: none; }
.item-name { font-size: 20px; font-weight: 600; color: #5fb834; margin-bottom: 12px; }
.item-short { display: none; }
.item-description { color: #b0b0b0; line-height: 1.6; font-size: 14px; flex-grow: 1; }
.item-meta { display: none; }
.item-count { display: flex; align-items: center; gap: 6px; }
.item-count i { color: #5fb834; }
.no-items { text-align: center; padding: 60px 20px; background: #2a2a2a; border-radius: 12px; color: #b0b0b0; }
.no-items i { font-size: 64px; color: #404040; margin-bottom: 20px; }
.no-items h3 { color: #e0e0e0; margin-bottom: 10px; }
.error-message { background: #3d2020; border-left: 4px solid #e85d75; padding: 20px; border-radius: 8px; color: #e0e0e0; margin-bottom: 20px; }
.error-message i { color: #e85d75; margin-right: 10px; }

.unverified-section { margin-top: 50px; }
.unverified-section .section-header { margin-bottom: 10px; }
.unverified-section .section-header h2 { font-size: 22px; font-weight: 600; color: #f5a623; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.unverified-section .section-header h2 i { font-size: 18px; }
.unverified-section .section-header p { color: #888; font-size: 14px; margin: 0; }
.unverified-section .items-grid { margin-top: 20px; }
.topic-search-section { margin-top: 30px; margin-bottom: -10px; }
.topic-search-container { position: relative; max-width: 500px; }
.search-input-wrapper { position: relative; }
.search-input-wrapper .search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #888; font-size: 16px; pointer-events: none; }
.topic-search-container input[type="text"] { width: 100%; padding: 14px 15px 14px 45px; border: 1px solid #404040; border-radius: 8px; background-color: #1a1a1a; color: #e0e0e0; font-size: 15px; font-family: inherit; transition: border-color 0.2s, background-color 0.2s; }
.topic-search-container input[type="text"]:focus { outline: none; border-color: #5fb834; background-color: #222; }
.topic-search-container input[type="text"]::placeholder { color: #888; }
.topic-results { position: absolute; top: 100%; left: 0; right: 0; background: #1a1a1a; border: 1px solid #404040; border-top: none; border-radius: 0 0 8px 8px; max-height: 350px; overflow-y: auto; z-index: 1000; display: none; scrollbar-width: none; -ms-overflow-style: none; }
.topic-results::-webkit-scrollbar { display: none; }
.topic-results.active { display: block; }
.topic-result-item { padding: 12px 15px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: background-color 0.2s; border-bottom: 1px solid #2a2a2a; text-decoration: none; color: inherit; }
.topic-result-item:last-child { border-bottom: none; }
.topic-result-item:hover { background-color: #2a2a2a; }
.topic-result-image { width: 45px; height: 45px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.topic-result-info { flex: 1; min-width: 0; }
.topic-result-name { color: #e0e0e0; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topic-result-category { color: #888; font-size: 13px; margin-top: 2px; }
.topic-result-badge { padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.topic-result-badge.verified { background: rgba(95, 184, 52, 0.2); color: #5fb834; }
.topic-result-badge.pending { background: rgba(245, 166, 35, 0.2); color: #f5a623; }
.topic-results-empty { padding: 20px; text-align: center; color: #888; font-size: 14px; }
.topic-results-loading { padding: 20px; text-align: center; color: #888; font-size: 14px; }
.topic-results-loading i { margin-right: 8px; }

@media (max-width: 1200px) {
    .items-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .items-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 15px; }
    .categories-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .breadcrumb { padding: 12px 15px; font-size: 14px; }
    .items-grid { grid-template-columns: 1fr; gap: 12px; }
    .item-card { aspect-ratio: unset; height: 80px; flex-direction: row; overflow: hidden; }
    .item-card:hover { transform: none; }
    .item-card-inner { flex-direction: row; }
    .item-card .item-image { width: 80px; height: 80px; flex-shrink: 0; }
    .item-card .item-content { display: flex; flex-direction: column; justify-content: center; padding: 0 15px; }
    .item-card .item-name { display: block; font-size: 15px; margin-bottom: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .item-tooltip { display: none !important; }
    .category-card { height: auto; min-height: 140px; position: relative; }
    .category-card .item-image { width: 140px; height: 140px; }
    .category-card .item-content { padding: 15px; padding-bottom: 50px; display: block; }
    .category-card .item-name { font-size: 18px; text-align: left; color: #5fb834; }
    .category-card .item-description { font-size: 13px; margin-bottom: 10px; }
    .topics-button { position: absolute; bottom: 15px; right: 15px; margin-top: 0; }
    .category-badge { top: 10px; right: 10px; font-size: 12px; padding: 5px 10px; }
    .unverified-section { margin-top: 40px; }
    .unverified-section .section-header h2 { font-size: 18px; }
    .unverified-section .section-header p { font-size: 13px; }
}

@media (max-width: 768px) {
    .topic-search-container { max-width: 100%; }
}

@media (max-width: 480px) {
    .breadcrumb { padding: 10px 12px; font-size: 13px; margin-bottom: 15px; }
    .items-grid { grid-template-columns: 1fr; gap: 10px; }
    .item-card { height: 70px; }
    .item-card .item-image { width: 70px; height: 70px; }
    .item-card .item-content { padding: 0 12px; }
    .item-card .item-name { font-size: 14px; }
    .category-card { min-height: 120px; }
    .category-card .item-image { width: 120px; height: 120px; }
    .category-card .item-content { padding: 12px; padding-bottom: 50px; display: block; }
    .category-card .item-name { font-size: 16px; margin-bottom: 8px; }
    .category-card .item-description { font-size: 12px; }
    .topics-button { bottom: 12px; right: 12px; }
    .no-items { padding: 40px 15px; }
    .no-items i { font-size: 48px; }
    .no-items h3 { font-size: 18px; }
    .no-items p { font-size: 14px; }
    .topic-search-section { margin-top: 20px; }
    .topic-search-container input[type="text"] { padding: 12px 12px 12px 40px; font-size: 14px; }
    .search-input-wrapper .search-icon { left: 12px; font-size: 14px; }
    .unverified-section { margin-top: 30px; }
    .unverified-section .section-header h2 { font-size: 16px; }
}
