        /* Core Animations */
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }

        @keyframes shine {
            0% { transform: translateX(-100%) rotate(45deg); }
            100% { transform: translateX(100%) rotate(45deg); }
        }

        /* Base Styles */
        body {
            min-height: 100vh;
            overflow-x: hidden;
            background-color: black;
            color: white;
        }

        /* Tool Card Styles */
        .tool-card {
            background: linear-gradient(145deg, rgba(0, 0, 0, 0.4), rgba(12, 12, 12, 0.8));
            backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            padding: 2rem;
            transition: all 0.3s ease;
            height: 500px; /* Fixed height for uniform sizing */
            display: flex;
            flex-direction: column;
            z-index: 1; /* Added z-index */
        }

        .tool-card:hover {
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
            z-index: 10; /* Ensure hovered card is above others */
        }

        .tool-image {
            width: 100%;
            height: 200px;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .tool-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        /* Tool content layout for uniform sizing */
        .tool-content {
            display: flex;
            flex-direction: column;
            flex: 1;
            justify-content: space-between;
            min-height: 0; /* Allow content to shrink properly */
        }

        .tool-badges {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .tool-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            line-height: 1.3;
            color: white;
        }

        .tool-description {
            font-size: 0.875rem;
            line-height: 1.5;
            color: #9ca3af;
            margin-bottom: 1rem;
            height: 3.75rem; /* Fixed height for 3 lines of text */
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            text-overflow: ellipsis;
            word-wrap: break-word;
            hyphens: auto;
        }

        .tool-footer {
            margin-top: auto;
        }

        .badge {
            background: rgba(59, 130, 246, 0.2);
            color: #60a5fa;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 500;
            border: 1px solid rgba(59, 130, 246, 0.3);
            white-space: nowrap;
        }

        /* Tool Tags */
        .tool-tags {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.75rem;
            flex-wrap: wrap;
        }

        .tag {
            background: rgba(107, 114, 128, 0.15);
            color: #9ca3af;
            padding: 0.25rem 0.5rem;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 500;
            border: 1px solid rgba(107, 114, 128, 0.25);
            white-space: nowrap;
            transition: all 0.2s ease;
        }

        .tag:hover {
            background: rgba(107, 114, 128, 0.25);
            border-color: rgba(107, 114, 128, 0.4);
            color: #d1d5db;
        }

        

        /* Platform Badge */
        .platform-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(0, 0, 0, 0.8);
            padding: 0.5rem 1rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Filter Buttons */
        .filter-btn {
            padding: 0.75rem 1.5rem;
            border-radius: 9999px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
            transition: all 0.3s ease;
        }

        .filter-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .filter-btn.active {
            background: rgba(163, 171, 185, 0.2);
            border-color:   rgba(163, 171, 185, 0.4);
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
        }

        /* Search Input */
        .search-input {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 9999px;
            padding: 1rem 1.5rem;
            padding-left: 3rem;
            width: 100%;
            color: white;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(59, 130, 246, 0.4);
            outline: none;
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
        }


        /* Responsive Design */
        @media (max-width: 1024px) {
            .tools-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .tools-grid {
                grid-template-columns: 1fr;
            }
            
            .filter-container {
                flex-direction: column;
                gap: 1rem;
            }
        }


        /* Platform Filter Styles */
        .platform-filters {
            display: flex;
            justify-content: space-between; /* Changed from center to space-between */
            align-items: center;
            gap: 1rem;
            margin: 2rem 0;
            padding: 0 1rem;
        }

        .platform-btn {
            padding: 0.75rem 1.5rem;
            background: rgba(30, 41, 59, 0.5);
            border: 1px solid rgba(148, 163, 184, 0.2);
            color: #e2e8f0;
            border-radius: 9999px;
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            cursor: pointer;
        }

        .platform-btn:hover {
            border-color: rgba(148, 163, 184, 0.4);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(148, 163, 184, 0.1);
        }

        .platform-btn.active {
            background: rgba(59, 130, 246, 0.2);
            border-color: rgba(59, 130, 246, 0.5);
            color: #ffffff;
            box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
        }

        /* Category Filter Styles */
        .category-filters {
            display: flex;
            justify-content: space-between; /* Changed from center to space-between */
            align-items: center;
            gap: 1rem;
            margin: 2rem 0;
            padding: 0 1rem;
        }

        .category-btn {
            padding: 0.5rem 1.5rem;
            background: rgba(30, 41, 59, 0.3);
            border: 1px solid rgba(148, 163, 184, 0.1);
            color: #e2e8f0;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .category-btn:hover {
            background: rgba(30, 41, 59, 0.5);
        }

        .category-btn.active {
            background: rgba(59, 130, 246, 0.2);
            border-color: rgba(59, 130, 246, 0.3);
        }

        

        

        .tool-image-container {
            position: relative;
            padding-top: 56.25%; /* 16:9 aspect ratio */
            background: rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        .tool-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .tool-card:hover .tool-image {
            transform: scale(1.05);
        }

        .tool-content {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 0; /* Allow content to shrink */
        }
        
        .tool-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            line-height: 1.4;
            color: white;
        }
        
        .tool-description {
            font-size: 0.875rem;
            line-height: 1.5;
            color: #9ca3af;
            margin-bottom: 1rem;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            text-overflow: ellipsis;
            flex-grow: 1;
            min-height: 0; /* Allow description to shrink */
        }
        
        .tool-footer {
            margin-top: auto;
            padding-top: 1rem;
            padding-bottom: 0.5rem;
            flex-shrink: 0; /* Prevent footer from shrinking */
        }

        .tool-badges {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .badge {
            padding: 0.25rem 0.75rem;
            background: rgba(57, 60, 64, 0.66);
            border: 1px solid rgba(59, 130, 246, 0.2);
            border-radius: 9999px;
            font-size: 0.75rem;
            color: #ffffff;
        }

        .badge.premium {
            background: rgba(234, 179, 8, 0.1);
            border-color: rgba(234, 179, 8, 0.2);
            color: #fcd34d;
        }

        /* Search Bar Enhancement */
        .search-container {
            position: relative;
            max-width: 600px;
            margin: 0 auto;
        }

        .search-input {
            width: 100%;
            padding: 1rem 1.5rem;
            padding-left: 3rem;
            background: rgba(30, 41, 59, 0.5);
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 9999px;
            color: white;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            background: rgba(30, 41, 59, 0.7);
            border-color: rgba(59, 130, 246, 0.4);
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
        }

        /* Hero Section Styles */
        .hero-section {
            padding: 8rem 0 3rem;
            background: black; /* Simplified background */
            position: relative;
        }

        /* Remove or modify the after pseudo-element that might be causing the shadow effect */
        .hero-section::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 200px;
            background: linear-gradient(to bottom, transparent, rgb(0, 0, 0));
            opacity: 0.7; /* Reduce the intensity of the gradient */
        }

        /* Ensure text is above the gradient and has no shadow */
        .hero-section > div {
            position: relative;
            z-index: 1;
        }

        /* Categories and Platform Section Refinements */
        .categories-section,
        .platform-section {
            padding: 2rem 0;
            background: rgba(17, 25, 40, 0.3);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .section-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .category-title {
            font-size: 0.75rem;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 0.2em;
            margin-bottom: 1.25rem;
            font-weight: 500;
        }

        .category-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            align-items: center;
        }

        .category-btn {
            padding: 0.5rem 1.25rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            font-size: 0.875rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.8);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
        }

        .category-btn:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: translateY(-1px);
        }

        .category-btn.active {
            background: rgba(59, 130, 246, 0.1);
            border-color: rgba(59, 130, 246, 0.3);
            color: #60a5fa;
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
        }

        /* Platform specific styles */
        .platform-section {
            background: rgba(17, 25, 40, 0.4); /* Slightly darker than categories */
        }

        .platform-section .category-btn {
            padding: 0.625rem 1.5rem;
            border-radius: 9999px; /* Make platform buttons rounded */
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section-container {
                padding: 0 1rem;
            }

            .category-list {
                gap: 0.5rem;
            }

            .category-btn {
                padding: 0.4rem 1rem;
                font-size: 0.8125rem;
            }
        }

        /* Tools Grid Styles */
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2.5rem;
            padding: 3rem 0;
            align-items: start; /* Ensure cards align to the top */
        }

        

        

        .tool-image-wrapper {
            position: relative;
            height: 200px; /* Fixed height for consistent image sizing */
            background: rgba(0, 0, 0, 0.4);
            overflow: hidden;
            flex-shrink: 0; /* Prevent image from shrinking */
            border-radius: 8px;
            margin-bottom: 1.5rem;
        }

        .tool-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .tool-content {
            padding: 1.75rem;
            display: flex;
            flex-direction: column;
            flex: 1;
            justify-content: space-between;
        }


        /* Enhanced Learn More Button */
        .learn-more-btn {
            width: 100%;
            padding: 0.875rem;
            background: rgba(59, 130, 246, 0.15);
            border: 1px solid rgba(59, 130, 246, 0.25);
            border-radius: 0.75rem;
            color: #60a5fa;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            margin: 0; /* Remove any default margins */
        }

        .learn-more-btn:hover {
            background: rgba(59, 130, 246, 0.25);
            border-color: rgba(59, 130, 246, 0.4);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
        }

        /* Ensure consistent button sizing in tool cards */
        .tool-footer div {
            height: 44px; /* Fixed height for consistent button sizing */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Ensure filtered cards maintain grid layout */
        .tool-card[style*="visibility: hidden"] {
            position: absolute !important;
            pointer-events: none !important;
        }

        .tool-card[style*="visibility: visible"] {
            position: relative !important;
            pointer-events: auto !important;
        }

        /* Filter Section Styles */
        .filter-section {
            background: rgba(0, 0, 0, 0.1);
            
            padding: 2rem 0;
            backdrop-filter: blur(3px);
        }

        .filter-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .filter-title {
            font-size: 0.875rem;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.6);
            letter-spacing: 0.1em;
            margin-bottom: 1.25rem;
            font-weight: 500;
        }

        .filter-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .filter-btn {
            padding: 0.75rem 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 0.5rem;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.875rem;
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .filter-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        

        /* Search Section */
        .search-section {
            background: rgba(17, 25, 40, 0.3);
            padding: 2rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .search-container {
            max-width: 600px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 1rem 1.5rem 1rem 3rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 0.5rem;
            color: white;
            font-size: 0.875rem;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(59, 130, 246, 0.4);
            outline: none;
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
        }

        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 1.25rem;
            height: 1.25rem;
            color: rgba(255, 255, 255, 0.5);
            pointer-events: none;
            z-index: 10;
        }

        /* Filter Box Styles */
        .filter-box {
            margin-bottom: 1rem;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            padding: 2rem;
        }

        .filter-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 200%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
            transition: 0.5s;
        }

        .filter-box:hover::before {
            left: 100%;
        }

        .filter-box:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
        }

        .filter-title {
            font-size: 1.1rem;
            font-weight: 500;
            color: white;
            margin-bottom: 1.5rem;
        }

        .filter-content {
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .filter-btn {
            padding: 0.625rem 1.25rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.875rem;
            transition: all 0.2s ease;
        }

        .filter-btn:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 255, 255, 0.2);
        }

        

        /* Search Box Specific Styles */
        .search-box .search-input {
            width: 100%;
            padding: 0.875rem 1rem 0.875rem 2.5rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            color: white;
            font-size: 0.875rem;
        }

        .search-box .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255, 255, 255, 0.5);
        }

        /* Results Line Styles */
        .results-line {
            padding: 1.25rem 0;
            background: rgba(0, 0, 0, 0.8);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: sticky;
            top: 80px;
            z-index: 40;
            backdrop-filter: blur(12px);
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .results-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 4rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .results-text {
            font-size: 0.9375rem;
            color: rgba(255, 255, 255, 0.7);
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        .results-text .font-medium {
            color: rgba(255, 255, 255, 1);
            font-weight: 500;
        }

        .sort-button {
            position: relative;
            z-index: 51;
        }

        /* Update the filters panel styles */
        .filters-panel {
            position: absolute;
            top: calc(100% + 0.5rem);
            right: 0;
            width: 95vw;
            max-width: 1450px;
            background: rgb(0, 0, 0);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            z-index: 50;
        }

        .filters-panel.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .filters-panel-content {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            max-height: 80vh;
            overflow-y: auto;
        }

        

        /* Responsive styles */
        @media (max-width: 1550px) {
            .filters-panel {
                width: calc((100vw - 60px) * 0.875);
                right: 30px;
            }
        }

        @media (max-width: 1200px) {
            .filters-panel {
                width: calc((100vw - 48px) * 0.875);
                right: 24px;
            }

            .filters-panel-content {
                padding: 1.5rem;
            }

            .filter-content {
                overflow-x: auto;
                flex-wrap: nowrap;
                padding-bottom: 0.5rem;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: thin;
            }

            .filter-btn {
                flex-shrink: 0;
                white-space: nowrap;
            }
        }

        @media (max-width: 768px) {
            .filters-panel {
                width: calc((100vw - 32px) * 0.875);
                right: 16px;
            }

            .filters-panel-content {
                padding: 1.25rem;
                max-height: 70vh;
            }

            .filter-section {
                padding-bottom: 1.5rem;
            }

            /* Custom scrollbar for webkit browsers */
            .filter-content::-webkit-scrollbar {
                height: 4px;
            }

            .filter-content::-webkit-scrollbar-track {
                background: rgba(255, 255, 255, 0.1);
                border-radius: 4px;
            }

            .filter-content::-webkit-scrollbar-thumb {
                background: rgba(255, 255, 255, 0.3);
                border-radius: 4px;
            }
        }

        @media (max-width: 480px) {
            .filters-panel {
                width: calc((100vw - 24px) * 0.875);
                right: 12px;
            }

            .filters-panel-content {
                padding: 1rem;
            }

            .filter-btn {
                padding: 0.4rem 1rem;
                font-size: 0.8125rem;
            }
        }
        

        /* Update existing container styles */
        .filters-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 3rem 4rem;
            position: relative;
            z-index: 10;
        }

        /* Update the tools container styles */
        .tools-container {
            max-width: 1600px;
            margin: -2rem auto 0;
            padding: 0 4rem;
            background: rgba(0, 0, 0, 1);
            backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            position: relative;
            overflow: hidden;
        }

        /* Update the light effect */
        .tools-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(
                circle at center,
                rgba(255, 255, 255, 0.15),
                transparent 70%
            );
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.6s ease-out;
        }

        /* Add class for when container is in view */
        .tools-container.in-view::before {
            opacity: 1;
            transform: scale(1);
        }

        /* Add this light effect style */
        .tools-container::after {
            content: '';
            position: absolute;
            top: -150%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(
                circle,
                rgba(255, 255, 255, 0.1) 0%,
                transparent 70%
            );
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .results-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 4rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        @media (max-width: 1700px) {
            .filters-container,
            .tools-container,
            .results-container {
                max-width: 1400px;
            }
        }

        @media (max-width: 1024px) {
            .filters-container,
            .tools-container {
                padding: 2rem;
            }

            .hero-section {
                padding: 10rem 0 4rem;
            }
        }

        @media (max-width: 768px) {
            .filters-container,
            .tools-container,
            .results-container {
                padding: 1.5rem;
            }

            .filter-box {
                padding: 1.5rem;
            }

            .tools-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 1.5rem;
            }
        }

        /* Reset Button Styles */
        .reset-button {
            position: absolute;
            right: 2.5rem;
            top: 50%;
            transform: translateY(-50%);
            padding: 0.5rem 1rem;
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 6px;
            color: rgb(252, 165, 165);
            font-size: 0.875rem;
            font-weight: 500;
            transition: all 0.2s ease;
            opacity: 0;
            pointer-events: none;
        }

        .reset-button.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .reset-button:hover {
            background: rgba(239, 68, 68, 0.25);
            border-color: rgba(239, 68, 68, 0.4);
            transform: translateY(-50%) translateY(-1px);
        }

        /* Update filter box to handle reset button */
        .filter-box {
            position: relative;
        }

        

        /* Tools Section Background */
        .tools-section-wrapper {
            width: 100%;
            padding: 1rem 0 3rem 0;
        }

        .tools-container {
            max-width: 1600px;
            margin: -2rem auto 0;
            padding: 0 4rem;
            background: rgba(0, 0, 0, 1);
            backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
        }

        @media (max-width: 768px) {
            .tools-section-wrapper {
                padding: 0.5rem 0 1.5rem 0;
            }
            
            .tools-container {
                margin: -1rem auto 0;
                padding: 0 1.5rem;
            }
        }

        /* Soon Badge Styles */
        .soon-badge {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.2));
            border: 1px solid rgba(59, 130, 246, 0.3);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-size: 0.65rem;
            font-weight: 600;
            color: #60a5fa;
            letter-spacing: 0.05em;
            margin-left: 0.5rem;
            vertical-align: middle;
            transition: all 0.2s ease;
        }

        .nav-link:hover .soon-badge {
            background: linear-gradient(90deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.3));
            border-color: rgba(59, 130, 246, 0.4);
            transform: translateY(-1px);
        }

        /* Optional: Add a subtle pulse animation */
        @keyframes subtle-pulse {
            0% { opacity: 0.8; }
            50% { opacity: 1; }
            100% { opacity: 0.8; }
        }

        .soon-badge {
            animation: subtle-pulse 2s infinite;
        }

        /* PhenCharting Banner Styles */
        .phencharting-wrapper {
            position: relative;
            display: inline-flex;
            align-items: center;
        }

        .phencharting-banner {
            position: absolute;
            top: -6px;
            right: -0px;
            background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(30, 30, 30, 0.9));
            border: 1px solid rgba(255, 255, 255, 0.15);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.6rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
            letter-spacing: 0.05em;
            animation: banner-float 3s ease-in-out infinite;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
        }

        .nav-link:hover + .phencharting-banner {
            background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(40, 40, 40, 1));
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
        }

        .text-glow {
            color: white;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.4),
                         0 0 40px rgba(255, 255, 255, 0.2);
        }

        @keyframes banner-float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-2px); }
        }

        /* Optional: Add this if you want to adjust the panel width on different screen sizes */
        @media (max-width: 1550px) {
            .filters-panel {
                width: calc((100vw - 60px) * 0.875);
                right: 30px;
            }
        }

        @media (max-width: 1200px) {
            .filters-panel {
                width: calc((100vw - 48px) * 0.875);
                right: 24px;
            }

            .filters-panel-content {
                padding: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .filters-panel {
                width: calc((100vw - 32px) * 0.875);
                right: 16px;
            }

            .filters-panel-content {
                padding: 1.25rem;
                max-height: 70vh;
            }

            .filter-section {
                padding-bottom: 1.5rem;
            }

            /* Custom scrollbar for webkit browsers */
            .filter-content::-webkit-scrollbar {
                height: 4px;
            }

            .filter-content::-webkit-scrollbar-track {
                background: rgba(255, 255, 255, 0.1);
                border-radius: 4px;
            }

            .filter-content::-webkit-scrollbar-thumb {
                background: rgba(255, 255, 255, 0.3);
                border-radius: 4px;
            }
        }

        @media (max-width: 480px) {
            .filters-panel {
                width: calc((100vw - 24px) * 0.875);
                right: 12px;
            }

            .filters-panel-content {
                padding: 1rem;
            }

            .filter-btn {
                padding: 0.4rem 1rem;
                font-size: 0.8125rem;
            }
        }

        /* Update the Dropdown Panel content */
        .filters-panel-content {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        

        .filter-section:last-child {
            padding-bottom: 0;
            border-bottom: none;
        }

        .filter-title {
            font-size: 0.875rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        

        .filter-btn {
            padding: 0.5rem 1.25rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.875rem;
            transition: all 0.2s ease;
        }

        .filter-btn:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 255, 255, 0.2);
        }

        

        .search-input {
            width: 100%;
            padding: 0.875rem 1rem 0.875rem 2.5rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            color: white;
            font-size: 0.875rem;
        }

        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255, 255, 255, 0.5);
            pointer-events: none;
        }

        .intro-section {
            padding: 2rem 0; /* Reduced from 4rem 0 */
        }

        .intro-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 4rem;
        }

        .intro-text {
            font-size: 1.125rem;
            line-height: 1.75;
            color: rgba(255, 255, 255, 0.8);
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            font-weight: 300;
            letter-spacing: 0.015em;
        }

        @media (max-width: 768px) {
            .intro-container {
                padding: 0 1.5rem;
            }
            
            .intro-text {
                font-size: 1rem;
                line-height: 1.6;
            }
        }


        .filter-section {
            position: relative;
        }
  

        .filter-btn {
            flex: 1;  /* Allow buttons to grow */
            min-width: max-content; /* Prevent text wrapping */
            text-align: center; /* Center the text */
            white-space: nowrap; /* Prevent text wrapping */
        }

        /* Mobile-specific adjustments */
        @media (max-width: 768px) {
            .filter-content {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
                gap: 0.5rem;
                width: 100%;
            }

            .filter-btn {
                width: 100%;
                min-width: 0; /* Allow buttons to shrink if needed */
                padding: 0.5rem 0.75rem;
                font-size: 0.875rem;
            }
        }

        /* Small mobile adjustments */
        @media (max-width: 480px) {
            .filter-content {
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            }

            .filter-btn {
                padding: 0.4rem 0.5rem;
                font-size: 0.8125rem;
            }
        }

        /* Add the light effect */
        .tools-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                180deg,
                transparent,
                rgba(255, 255, 255, 0.03),
                transparent
            );
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        /* Add the animation */
        @keyframes lightMove {
            0% {
                top: -200%;
            }
            100% {
                top: 100%;
            }
        }



        /* Update hover effect */
        

        /* Update the Learn More button style */
        .tool-card .inline-block {
            width: 100%;
            padding: 0.875rem;
            border-radius: 8px;
            background: linear-gradient(145deg, rgb(6, 6, 6), rgb(1, 1, 1));
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
            text-align: center;
            transition: all 0.3s ease;
        }

        .tool-card .inline-block:hover {
            background: linear-gradient(145deg, rgb(24, 24, 24), rgb(15, 15, 15));
            border-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        /* Remove all duplicate styles and keep these consolidated versions */

        /* Tools Container Styles */
        .tools-container {
            max-width: 1600px;
            margin: -2rem auto 0;
            padding: 0 4rem;
            background: rgba(0, 0, 0, 1);
            backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            position: relative;
            overflow: hidden;
        }

        

        

        /* Learn More Button Style */


        /* Responsive Styles */
        @media (max-width: 1700px) {
            .tools-container {
                max-width: 1400px;
            }
        }

        @media (max-width: 768px) {
            .tools-container {
                padding: 0 1.5rem;
                margin: -1rem auto 0;
            }
        }

        /* Add container for the filter buttons */
        .filter-buttons-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .category-filters, .platform-filters {
                flex-direction: column;
                gap: 1rem;
            }

            .filter-buttons-group {
                width: 100%;
                justify-content: center;
            }

            .reset-btn {
                width: 100%;
                text-align: center;
            }
        }

        /* Update the section title container styles */
        .section-title-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .category-title {
            margin-bottom: 0; /* Remove bottom margin since it's now handled by container */
        }

        /* Adjust responsive behavior */
        @media (max-width: 768px) {
            .reset-btn {
                top: -30px; /* Less offset on mobile */
                right: 10px;
            }
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section-title-container {
                flex-direction: row; /* Keep horizontal layout on mobile */
                padding: 0 1rem;
            }
        }

        /* Update reset button styles to include visibility states */
        .reset-btn {
            padding: 0.5rem 1rem;
            background: rgba(220, 38, 38, 0.1);
            border: 1px solid rgba(220, 38, 38, 0.3);
            color: rgb(248, 113, 113);
            border-radius: 6px;
            font-size: 0.875rem;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
            opacity: 0;
            pointer-events: none;
        }

        .reset-btn.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .reset-btn:hover {
            background: rgba(220, 38, 38, 0.2);
            border-color: rgba(220, 38, 38, 0.4);
        }

        @media (max-width: 768px) {
            .reset-btn {
                margin-top: -2rem;
                width: auto;
            }
        }

        /* Add styles for results line transition */
        .results-line {
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .mobile-menu.active ~ .results-line {
            opacity: 0;
            visibility: hidden;
        }

        /* Largest screens first */
        @media (max-width: 1700px) {
            .filters-container,
            .tools-container,
            .results-container {
                max-width: 1400px;
            }
        }

        @media (max-width: 1536px) {
            /* Navigation */
            .logo-section {
                margin-left: -6rem;
            }
            
            .auth-buttons {
                margin-right: -4rem;
            }
        }

        @media (max-width: 1440px) {
            /* Navigation */
            .logo-section {
                margin-left: -1rem;
            }
            
            .auth-buttons {
                margin-right: 4rem;
            }

            .nav-links {
                gap: 2rem;
            }
        }

        @media (max-width: 1024px) {

            /* Containers */
            .filters-container,
            .tools-container {
                padding: 2rem;
            }

            .hero-section {
                padding: 10rem 0 4rem;
            }
        }

        @media (max-width: 768px) {
            /* Containers */
            .filters-container,
            .tools-container,
            .results-container {
                padding: 1.5rem;
            }

            .filter-box {
                padding: 1.5rem;
            }
        }

        @media (max-width: 640px) {
            /* Footer */
            .footer-content {
                padding: 0 1rem;
                gap: 1.5rem;
            }
            
            .disclaimer-text {
                font-size: 0.52rem;
                text-align: left;
            }
            
            .logo-footer {
                width: 70px;
            }

            /* Filter buttons */
            .filter-btn {
                padding: 0.4rem 1rem;
                font-size: 0.8125rem;
            }
        }

        /* Update the tool-card and tool-content styles */
        .tool-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .tool-content {
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            padding: 1.75rem;
        }

        /* Add this new style for the description wrapper */
        .tool-description {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        /* Update the button container style */
        .tool-content a {
            margin-top: auto; /* This pushes the button to the bottom */
        }

        /* Modal Styles */
        .modal-backdrop {
            cursor: pointer;
        }

        /* Modal close button */
        .modal-content button {
            position: absolute;
            top: 1rem;
            right: 1rem;
            z-index: 50;
            transition: all 0.2s ease;
        }

        .modal-content button:hover {
            transform: scale(1.1);
            opacity: 1;
        }

        /* Modal content scale effect */
        .modal-content {
            transform-origin: center;
            transition: transform 0.3s ease;
            position: relative;
        }

        .modal-content:hover {
            transform: scale(1.02);
        }

        /* Add these styles for the modal image container */
        .modal-content .w-full.md\:w-1/:first-child {
            height: 100%;
            display: flex;
            align-items: center;
        }

        .modal-content .w-full.md\:w-1/:first-child img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0.5rem;
        }

        /* Update the modal content container */
        .modal-content .flex.flex-col.md\:flex-row {
            min-height: 500px; /* Adjust this value as needed */
        }
    
