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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    background: #e74c3c;
    color: white;
    padding: 10px 16px;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
}

.get-listed-btn {
    background: #4a5568;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.get-listed-btn:hover {
    background: #2d3748;
}

.search-icon-btn,
.menu-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 8px;
}

/* Main Content */
.main-content {
    padding: 30px 0;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: #e74c3c;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* Page Header */
.page-header {
    margin-bottom: 50px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
}

.page-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
}

/* Category Sections */
.category-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 1.8rem;
    color: #4ecdc4;
    margin-bottom: 30px;
    font-weight: 600;
    border-bottom: 2px solid #4ecdc4;
    padding-bottom: 10px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #4ecdc4;
}

.category-item.featured {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border: none;
}

.category-item.featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.3);
}

.category-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.category-count {
    font-weight: bold;
    color: #666;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 15px;
    min-width: 50px;
    text-align: center;
}

.category-item.featured .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Search and Filter */
.search-filter {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #4ecdc4;
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .category-item {
        padding: 12px 15px;
    }

    .category-name {
        font-size: 0.9rem;
    }

    .category-count {
        font-size: 0.8rem;
        padding: 3px 10px;
    }

    .nav-menu {
        gap: 10px;
    }

    .search-icon-btn,
    .menu-toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-description {
        font-size: 0.9rem;
    }

    .category-item {
        padding: 10px 12px;
    }
}

/* Tablet View */
@media (min-width: 769px) and (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4ecdc4;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #44a08d;
    transform: translateY(-2px);
}

/* Category Stats */
.category-stats {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    padding: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #4ecdc4;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Highlight Animation */
@keyframes highlight {
    0% {
        background-color: transparent;
    }

    50% {
        background-color: rgba(78, 205, 196, 0.1);
    }

    100% {
        background-color: transparent;
    }
}

.category-item.highlight {
    animation: highlight 1s ease-in-out;
}


/* Footer */
.footer {
    background: #f8f9fa;
    color: #333;
    padding: 60px 0 20px;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-column h4 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: #e74c3c;
}

.support-section {
    margin-top: 40px;
}

.support-section p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

.btn-support {
    background: #27ae60;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    font-size: 0.95rem;
}

.btn-support:hover {
    background: #219a52;
}

.footer-brand {
    padding-left: 40px;
}

.footer-logo .logo-text {
    background: #6c757d;
    color: white;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
}

.footer-description {
    margin: 25px 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e9ecef;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.social-link:hover {
    background: #e74c3c;
    color: white;
}

.footer-stats {
    border-top: 1px solid #e9ecef;
    padding-top: 40px;
    margin-bottom: 40px;
}

.footer-stats h4 {
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 800px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 25px;
    text-align: left;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom a {
    color: #666;
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: #e74c3c;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .footer-brand {
        padding-left: 0;
    }

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

    .stat-item {
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

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

    .stat-number {
        font-size: 1.8rem;
    }
}