* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
            min-height: 100vh;
            color: white;
        }
        
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
        /* Header */
        header {
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(168, 85, 247, 0.3);
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            background: linear-gradient(45deg, #a855f7, #ec4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-decoration: none;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }
        
        nav a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        nav a:hover {
            color: #a855f7;
        }
        
        /* Main content */
        .page-header {
            text-align: center;
            padding: 3rem 0;
        }
        
        .page-header h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #60a5fa, #a855f7, #ec4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .page-header h2 {
            font-size: 1.5rem;
            color: #d1d5db;
            margin-bottom: 1rem;
        }
        
        .page-header p {
            font-size: 1.125rem;
            color: #9ca3af;
        }
        
        /* Search and filters */
        .search-filters {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .search-box {
            position: relative;
            max-width: 400px;
            margin: 0 auto;
        }
        
        .search-box input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.5rem;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 0.5rem;
            color: white;
            font-size: 1rem;
        }
        
        .search-box input:focus {
            outline: none;
            border-color: #a855f7;
            background: rgba(0, 0, 0, 0.6);
        }
        
        .search-icon {
            position: absolute;
            left: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            width: 1.25rem;
            height: 1.25rem;
        }
        
        .filter-buttons {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        
        .filter-btn {
            padding: 0.5rem 1rem;
            border: 1px solid rgba(168, 85, 247, 0.3);
            background: rgba(0, 0, 0, 0.4);
            color: white;
            border-radius: 2rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .filter-btn:hover {
            background: rgba(0, 0, 0, 0.6);
        }
        
        .filter-btn.active {
            background: #a855f7;
            box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
        }
        
        /* Plugin grid */
        .plugin-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .plugin-card {
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 1rem;
            padding: 1.5rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .plugin-card:hover {
            transform: translateY(-4px);
            border-color: #a855f7;
            background: rgba(0, 0, 0, 0.6);
            box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
        }
        
        .plugin-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 1rem;
        }
        
        .plugin-title {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            transition: color 0.3s;
        }
        
        .plugin-card:hover .plugin-title {
            color: #a855f7;
        }
        
        .status-badges {
            display: flex;
            gap: 0.25rem;
        }
        
        .verified { color: #10b981; }
        .warning { color: #f59e0b; }
        
        .plugin-dev {
            color: #9ca3af;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }
        
        .plugin-description {
            color: #d1d5db;
            font-size: 0.875rem;
            margin-bottom: 1rem;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .plugin-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .category-badge {
            padding: 0.25rem 0.5rem;
            border-radius: 1rem;
            font-size: 0.75rem;
            text-transform: capitalize;
        }
        
        .category-instrument { background: rgba(59, 130, 246, 0.3); color: #93c5fd; }
        .category-fx { background: rgba(34, 197, 94, 0.3); color: #86efac; }
        .category-utility { background: rgba(249, 115, 22, 0.3); color: #fdba74; }
        .category-analysis { background: rgba(168, 85, 247, 0.3); color: #c084fc; }
        
        .platform-badges {
            display: flex;
            gap: 0.25rem;
            font-size: 0.75rem;
            color: #9ca3af;
        }
        
        /* Modal */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            z-index: 1000;
        }
        
        .modal {
            background: #1e293b;
            border-radius: 1rem;
            max-width: 42rem;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .modal-header {
            padding: 1.5rem;
            border-bottom: 1px solid #374151;
            display: flex;
            justify-content: space-between;
            align-items: start;
        }
        
        .modal-title {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }
        
        .close-btn {
            background: none;
            border: none;
            color: #9ca3af;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 0.5rem;
            transition: all 0.3s;
        }
        
        .close-btn:hover {
            background: #374151;
            color: white;
        }
        
        .modal-content {
            padding: 1.5rem;
        }
        
        .modal-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .modal-field h3 {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .modal-badges {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        
        .modal-badge {
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            font-size: 0.75rem;
        }
        
        .badge-blue { background: rgba(59, 130, 246, 0.3); color: #93c5fd; }
        .badge-green { background: rgba(34, 197, 94, 0.3); color: #86efac; }
        .badge-yellow { background: rgba(249, 115, 22, 0.3); color: #fdba74; }
        
        .modal-description {
            color: #d1d5db;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }
        
        .modal-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .btn-primary {
            background: #a855f7;
            color: white;
        }
        
        .btn-primary:hover {
            background: #9333ea;
        }
        
        .btn-secondary {
            background: #374151;
            color: white;
        }
        
        .btn-secondary:hover {
            background: #4b5563;
        }
        
        .loading, .no-results {
            text-align: center;
            padding: 2rem;
            color: #9ca3af;
        }
        
        /* Mode switcher */
        .mode-switcher-container {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
        }
        
        .mode-switcher-buttons {
            display: flex;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 0.75rem;
            padding: 0.25rem;
            gap: 0.25rem;
        }
        
        .mode-switcher {
            padding: 0.5rem 1rem;
            border: none;
            background: transparent;
            color: white;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.875rem;
        }
        
        .mode-switcher:hover {
            background: rgba(168, 85, 247, 0.2);
        }
        
        .mode-switcher.active {
            background: #a855f7;
            box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
        }
        
        .mode-switcher span {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin: 2rem 0 4rem 0;
            padding: 2rem 1rem;
            flex-wrap: wrap;
        }
        
        .pagination button {
            padding: 0.5rem 1rem;
            border: 1px solid rgba(168, 85, 247, 0.3);
            background: rgba(0, 0, 0, 0.4);
            color: white;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .pagination button:hover:not(:disabled) {
            background: rgba(168, 85, 247, 0.2);
            border-color: #a855f7;
        }
        
        .pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .pagination button.active {
            background: #a855f7;
        }
        
        .pagination-info {
            color: #9ca3af;
            font-size: 0.9rem;
            margin: 0 1rem;
        }
        
        /* Challenge Mode */
        .challenge-mode {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .challenge-header {
            background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 1rem;
            padding: 2rem;
            margin-bottom: 2rem;
        }
        
        .challenge-header h2 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #a855f7, #ec4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .challenge-selections {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .challenge-section h3 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: #d1d5db;
        }
        
        .challenge-actions {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .regenerate-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: #a855f7;
            color: white;
            border: none;
            border-radius: 0.5rem;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .regenerate-btn:hover {
            background: #9333ea;
        }
        
        .browse-all-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: rgba(0, 0, 0, 0.4);
            color: white;
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 0.5rem;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
            text-decoration: none;
        }
        
        .browse-all-btn:hover {
            background: rgba(168, 85, 247, 0.2);
            border-color: #a855f7;
        }
        
        @media (max-width: 768px) {
            .challenge-selections {
                grid-template-columns: 1fr;
            }
            
            .plugin-grid.paginated {
                grid-template-columns: 1fr;
            }
        }

        /* Modal layout styles */
        .modal.modal-centered {
            max-width: 600px;
            width: 90vw;
        }

        .modal.modal-with-media {
            max-width: 1200px;
            width: 95vw;
            max-height: 90vh;
        }

        .modal.modal-with-media .modal-content {
            display: flex;
            gap: 24px;
            height: 100%;
            overflow: hidden;
        }

        .modal-media {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }

        .modal-info {
            flex: 1;
            min-width: 0;
            overflow-y: auto;
            padding-right: 8px;
        }

        .modal-centered .modal-content {
            display: block;
        }

        /* Media carousel styles */
        .media-carousel {
            position: relative;
            width: 100%;
            height: 400px;
            border-radius: 12px;
            overflow: hidden;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
        }

        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-slide.active {
            opacity: 1;
        }

        .carousel-slide img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 8px;
        }

        .carousel-slide iframe {
            width: 100%;
            height: 100%;
            border-radius: 8px;
        }

        .carousel-controls {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            display: flex;
            justify-content: space-between;
            padding: 0 16px;
            pointer-events: none;
        }

        .carousel-btn {
            background: rgba(0, 0, 0, 0.7);
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            transition: all 0.2s ease;
            pointer-events: all;
        }

        .carousel-btn:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: scale(1.1);
        }

        .carousel-indicators {
            position: absolute;
            bottom: 16px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
        }

        .carousel-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .carousel-indicator.active {
            background: white;
            transform: scale(1.2);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .modal.modal-with-media {
                width: 98vw;
                max-height: 95vh;
            }

            .modal.modal-with-media .modal-content {
                flex-direction: column;
                gap: 16px;
            }

            .media-carousel {
                height: 250px;
            }

            .modal-info {
                padding-right: 0;
            }
        }

        /* Scrollbar styling for modal info */
        .modal-info::-webkit-scrollbar {
            width: 6px;
        }

        .modal-info::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 3px;
        }

        .modal-info::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }

        .modal-info::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }